aboutsummaryrefslogtreecommitdiff
path: root/entity/bunny.gbasm
diff options
context:
space:
mode:
Diffstat (limited to 'entity/bunny.gbasm')
-rw-r--r--entity/bunny.gbasm6
1 files changed, 4 insertions, 2 deletions
diff --git a/entity/bunny.gbasm b/entity/bunny.gbasm
index e5106e2..7d5a5d0 100644
--- a/entity/bunny.gbasm
+++ b/entity/bunny.gbasm
@@ -100,10 +100,12 @@ Move_Bunny:
CP $0f
JP NZ, =End_movement.end
LD A, $mem_bunny_direction
- BIT 3, A
+ LD D, A
+ AND $07
+ BIT 3, D
+ LD $mem_bunny_direction, A
JR Z, =End_movement.end
- LD D, A
LD A, $mem_bunny_x
LD B, A
LD A, $mem_bunny_y