aboutsummaryrefslogtreecommitdiff
path: root/entity/display.gbasm
diff options
context:
space:
mode:
Diffstat (limited to 'entity/display.gbasm')
-rw-r--r--entity/display.gbasm9
1 files changed, 9 insertions, 0 deletions
diff --git a/entity/display.gbasm b/entity/display.gbasm
index 42f4740..0a38755 100644
--- a/entity/display.gbasm
+++ b/entity/display.gbasm
@@ -152,7 +152,16 @@ Display_Entity:
CP $30
JR NZ, =.SuperJump_Animation.end
+ PUSH BC
+ LD A, $mem_moving_animation_step
+ CPL
+ INC A
+ LD B, A
LD A, $mem_moving_animation_step
+ SLA A
+ AND $0f
+ ADD B
+ POP BC
CP $00
JR Z, =.SuperJump_Animation.end
.ADD_A_TO_DIRECTION_BC