aboutsummaryrefslogtreecommitdiff
path: root/entity/bunny.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2024-10-15 17:03:35 +0900
committerAstatin <[email protected]>2024-10-15 17:03:35 +0900
commitf5183a78e20deaa9a294250873f3b5ee5cedafa3 (patch)
treef426034fa307b2dabdca6980ec65a016653decc2 /entity/bunny.gbasm
parentb4beaa96c563d3af9e41c0801f9fbba9d1acdccd (diff)
Increase size of entities array
Diffstat (limited to 'entity/bunny.gbasm')
-rw-r--r--entity/bunny.gbasm8
1 files changed, 8 insertions, 0 deletions
diff --git a/entity/bunny.gbasm b/entity/bunny.gbasm
index c9a55c2..fa44530 100644
--- a/entity/bunny.gbasm
+++ b/entity/bunny.gbasm
@@ -109,4 +109,12 @@ Move_Bunny:
LD $mem_viewport_y, A
End_movement.end:
+ Check_End_Action:
+ LD A, $mem_bunny_direction
+ AND $f0
+ CP $10
+ JR NZ, =Check_End_Action.end
+
+ Check_End_Action.end:
+
RET