aboutsummaryrefslogtreecommitdiff
path: root/entity/display.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-02-18 19:03:42 +0900
committerAstatin <[email protected]>2025-02-18 19:03:42 +0900
commit18d7d064daf704193f8dff6b2ef3ae68b7fc3aac (patch)
tree9af417ec9a09294edec8ca0e5ffbd146a0081b4b /entity/display.gbasm
parentf4197f6117b7cc16873fca749c0dcb838577a7e5 (diff)
Did a bunch of things I honestly don't remember everything but now basic attack is broken
Diffstat (limited to 'entity/display.gbasm')
-rw-r--r--entity/display.gbasm13
1 files changed, 7 insertions, 6 deletions
diff --git a/entity/display.gbasm b/entity/display.gbasm
index 69da0ab..75b1e29 100644
--- a/entity/display.gbasm
+++ b/entity/display.gbasm
@@ -103,21 +103,22 @@ Display_Entity:
.Moving_Animation.end:
.Blinking_Animation:
- LD A, D
+ LD A, L
AND $f0
- CP $50
- JR NZ, =.Blinking_Animation.end
+ OR $07
+ LD L, A
+ BIT 3, (HL)
+ JR Z, =.Blinking_Animation.end
- LD A, $mem_moving_animation_step
+ LD A, $mem_blinking_animation_counter
PUSH DE
LD E, A
LD A, $mem_loading_step
XOR E
POP DE
AND $02
- CP $00
+ CP $02
JP Z, =.skip
-
.Blinking_Animation.end: