diff options
Diffstat (limited to 'entity/bunny.gbasm')
-rw-r--r-- | entity/bunny.gbasm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/entity/bunny.gbasm b/entity/bunny.gbasm index 3804b6a..40cd047 100644 --- a/entity/bunny.gbasm +++ b/entity/bunny.gbasm @@ -16,6 +16,13 @@ Move_Bunny: LD A, $mem_bunny_direction AND $07 LD $mem_bunny_direction, A + + LD A, $mem_bunny_status_clear_turn_counter + DEC A + CP $00 + LD $mem_bunny_status_clear_turn_counter, A + JR Z, =.Unfreeze + CALL =RNG_Step CP $55 JP NC, =.Skip_turn @@ -27,6 +34,7 @@ Move_Bunny: CP $55 JP NC, =.Skip_turn + .Unfreeze: LD A, $00 LD $mem_bunny_status, A LD A, $mem_bunny_flags |