From 4b02238d88af30c98b2f8d44e5200fb80b04bcad Mon Sep 17 00:00:00 2001 From: Astatin Date: Wed, 7 May 2025 17:01:22 +0200 Subject: I was adding the frog and then broke everything to fix the viewport thingy --- entity/display.gbasm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'entity/display.gbasm') 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 -- cgit v1.2.3-70-g09d2