diff options
Diffstat (limited to 'entity/bunny.gbasm')
-rw-r--r-- | entity/bunny.gbasm | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/entity/bunny.gbasm b/entity/bunny.gbasm index 8870dcc..72d6631 100644 --- a/entity/bunny.gbasm +++ b/entity/bunny.gbasm @@ -9,6 +9,18 @@ Move_Bunny: LD A, $00 LD $mem_bunny_status_tile, A + .Reset_Blinking_flag: + LD A, $mem_map_loading_flags + BIT 3, A + JR Z, =.Reset_Blinking_flag.end + LD A, $mem_moving_animation_step + CP $00 + JR NZ, =.Reset_Blinking_flag.end + LD A, $mem_bunny_flags + RES 3, A + LD $mem_bunny_flags, A + .Reset_Blinking_flag.end: + .Finish_unfreeze: LD A, $mem_moving_animation_step CP $00 @@ -216,18 +228,6 @@ Move_Bunny: LD $mem_map_loading_flags, A .Start_action_or_movement.end: - .Reset_Blinking_flag: - LD A, $mem_map_loading_flags - BIT 3, A - JR Z, =.Reset_Blinking_flag.end - LD A, $mem_moving_animation_step - CP $00 - JR NZ, =.Reset_Blinking_flag.end - LD A, $mem_bunny_flags - RES 3, A - LD $mem_bunny_flags, A - .Reset_Blinking_flag.end: - .Delayed_Attack: LD A, $mem_moving_animation_step CP $08 |