aboutsummaryrefslogtreecommitdiff
path: root/entity/display.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-05-07 17:01:22 +0200
committerAstatin <[email protected]>2025-05-07 17:01:22 +0200
commit4b02238d88af30c98b2f8d44e5200fb80b04bcad (patch)
treed69861ff5fe1ebed41f9697335948bde512f10f4 /entity/display.gbasm
parent7284cc51dedb4f77fe6c1fa1da735b52609b1d4d (diff)
I was adding the frog and then broke everything to fix the viewport thingy
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