aboutsummaryrefslogtreecommitdiff
path: root/entity/actions.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/actions.gbasm
parentf4197f6117b7cc16873fca749c0dcb838577a7e5 (diff)
Did a bunch of things I honestly don't remember everything but now basic attack is broken
Diffstat (limited to 'entity/actions.gbasm')
-rw-r--r--entity/actions.gbasm16
1 files changed, 14 insertions, 2 deletions
diff --git a/entity/actions.gbasm b/entity/actions.gbasm
index d6977e9..11951e6 100644
--- a/entity/actions.gbasm
+++ b/entity/actions.gbasm
@@ -55,6 +55,13 @@ Entity_Action:
RET
Update_Animation_Steps:
+ LD A, $mem_blinking_animation_counter
+ DEC A
+ CP $ff
+ JR Z, =.Skip_blinking_update
+ LD $mem_blinking_animation_counter, A
+ .Skip_blinking_update:
+
LD A, $mem_map_loading_flags
BIT 3, A
JR Z, =.update_mode
@@ -112,7 +119,7 @@ Turn_Jump_table:
NOP
; 03
- JP =Frog_Turn
+ JP =Cat_Turn
NOP
; 04
@@ -202,5 +209,10 @@ Enemy_Interaction:
LD A, (HL)
DEC A
DAA
- LD (HL), A
+ LD (HL+), A
+
+ SET 3, (HL)
+ LD A, $24
+ LD $mem_blinking_animation_counter, A
+
RET