aboutsummaryrefslogtreecommitdiff
path: root/map
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-05-09 17:44:37 +0200
committerAstatin <[email protected]>2025-05-09 17:44:37 +0200
commitb0f9e2e6d53983faa9d213b40d2bd6a23473e134 (patch)
treee8bf5eedd762203972afa10c6be79692767a3d2f /map
parent507a9876b85f47ff81cc9150bea858eec064ba05 (diff)
Refactoring the animations/directions + entities turn function with macros + finishing froge
Diffstat (limited to 'map')
-rw-r--r--map/objects.gbasm16
1 files changed, 12 insertions, 4 deletions
diff --git a/map/objects.gbasm b/map/objects.gbasm
index 7cdd5c4..a89a88d 100644
--- a/map/objects.gbasm
+++ b/map/objects.gbasm
@@ -258,8 +258,10 @@ Heal_Attack_Box_Action:
LD $mem_requested_mode, A
LD $mem_current_mode, A
LD A, $mem_bunny_direction
- AND $07
+ RES 3, A
LD $mem_bunny_direction, A
+ LD A, $00
+ LD $mem_bunny_animation, A
LD A, $mem_map_loading_flags
SET 5, A
RES 3, A
@@ -280,8 +282,10 @@ Freeze_Attack_Box_Action:
LD $mem_requested_mode, A
LD $mem_current_mode, A
LD A, $mem_bunny_direction
- AND $07
+ RES 3, A
LD $mem_bunny_direction, A
+ LD A, $00
+ LD $mem_bunny_animation, A
LD A, $mem_map_loading_flags
SET 5, A
RES 3, A
@@ -302,8 +306,10 @@ Earcopter_Attack_Box_Action:
LD $mem_requested_mode, A
LD $mem_current_mode, A
LD A, $mem_bunny_direction
- AND $07
+ RES 3, A
LD $mem_bunny_direction, A
+ LD A, $00
+ LD $mem_bunny_animation, A
LD A, $mem_map_loading_flags
SET 5, A
RES 3, A
@@ -324,8 +330,10 @@ Fimsh_Attack_Box_Action:
LD $mem_requested_mode, A
LD $mem_current_mode, A
LD A, $mem_bunny_direction
- AND $07
+ RES 3, A
LD $mem_bunny_direction, A
+ LD A, $00
+ LD $mem_bunny_animation, A
LD A, $mem_map_loading_flags
SET 5, A
RES 3, A