I forgot the offset 🤦

This commit is contained in:
KikooDX 2020-05-15 15:07:34 +02:00
parent f2ba0edfca
commit ce115178b5
6 changed files with 2 additions and 6 deletions

BIN
JTMM.g3a

Binary file not shown.

View File

@ -70,8 +70,8 @@ int *start_y, int tp_positions[])
dimage(x + DRAW_OFFSET_X, y + DRAW_OFFSET_Y, &img_semi_solid);
break;
case '^':
dsubimage(x, y, &img_elevator,
(step % img_elevator_frame_count) * 16, 0, 16, 16, DIMAGE_NONE);
dsubimage(x + DRAW_OFFSET_X, y + DRAW_OFFSET_Y, &img_elevator,
((step / 2) % img_elevator_frame_count) * 16, 0, 16, 16, DIMAGE_NONE);
break;
case 'S':
erase_tile(x, y, level);

@ -1 +0,0 @@
Subproject commit af20f5e9ded2be850703a8b07269fee7f33a361c

@ -1 +0,0 @@
Subproject commit 3884bf688a2526b87560c8be1b23833272d25656

@ -1 +0,0 @@
Subproject commit b503afee3096bd4aff1053e369e15802d78c3483

@ -1 +0,0 @@
Subproject commit c1a625dbbfc86dff55db13cb2769542073f70a83