From: Lukas Krickl Date: Mon, 11 Aug 2025 15:54:38 +0000 (+0200) Subject: defs: fixed player rt macros X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=09b1ad7fc38df8b3f8ac4751da9048e585bb9905;p=gbrg%2F.git defs: fixed player rt macros --- diff --git a/src/defs.s b/src/defs.s index a282bc9..fa23635 100644 --- a/src/defs.s +++ b/src/defs.s @@ -165,14 +165,14 @@ ; actor runtime values - ; last collision with actor - ; set during unit_collision_woth_any_other -.de act_rt_collided_with, 2 ; last collision flags .de act_rt_collision_cf, 1 ; last collision tile position .de act_rt_collision_pos_y, 1 .de act_rt_collision_pos_x, 1 + ; last collision with actor + ; set during unit_collision_woth_any_other +.de act_rt_collided_with, 2 ; sub-tile drawing vars ; during this animation the actor is already technically in its new diff --git a/src/macros.inc b/src/macros.inc index 03a62c5..e3c2580 100644 --- a/src/macros.inc +++ b/src/macros.inc @@ -182,7 +182,9 @@ .db $3 ; y pos .db $4 ; x pos .db $5 ; p0 - + + ; act rt collision cf, pos y, pos x + .db 0, 0, 0 ; act_rt_collided_with dw 0 .db 0 ; act_rt_sub_tile