aboutsummaryrefslogtreecommitdiff
path: root/entity/fimsh.gbasm
diff options
context:
space:
mode:
authorAstatin <[email protected]>2025-05-02 14:07:14 +0200
committerAstatin <[email protected]>2025-05-02 14:07:14 +0200
commitf51e51ebdfc71a429fd1a4ef359f9d8ce52fb1d2 (patch)
tree6a9fbde65c0ac14e4b87c463343187d1428ecd2f /entity/fimsh.gbasm
parente322573ecc55a821506e5313e3b9994e1b58745e (diff)
Fix fimshes and give them a placeholder items to drop
Diffstat (limited to 'entity/fimsh.gbasm')
-rw-r--r--entity/fimsh.gbasm52
1 files changed, 1 insertions, 51 deletions
diff --git a/entity/fimsh.gbasm b/entity/fimsh.gbasm
index 9368c2b..49c4f53 100644
--- a/entity/fimsh.gbasm
+++ b/entity/fimsh.gbasm
@@ -35,7 +35,7 @@ Fimsh_Turn:
PUSH DE
LD D, $6C
- LD E, $05
+ LD E, $07
CALL =Spawn_object
POP DE
@@ -82,56 +82,6 @@ Fimsh_Turn:
BIT 0, (HL)
JP NZ, =.Skip_turn
- .Start_action_or_movement:
- LD A, $mem_moving_animation_step
- CP $00
- JP NZ, =.Start_action_or_movement.end
-
- LD A, L
- AND $f0
- OR $07
- LD L, A
- RES 3, (HL)
-
- LD A, $mem_bunny_status
- CP $01
- JR Z, =.Run_away
- CP $04
- JR Z, =.Run_away
-
- .Try_Freeze_Attack:
- LD A, L
- AND $f0
- ADD $09
- LD L, A
- XOR A
- CP (HL)
- JR Z, =.Try_Walking
-
- CALL =Check_player_next_to
- LD A, E
- CP $00
- JR Z, =.Try_Walking
- CALL =Freeze_Enemy_Attack
-
- LD A, L
- AND $f0
- ADD $09
- LD L, A
-
- DEC (HL)
-
- JR =.Start_action_or_movement.end
-
- .Run_away:
- CALL =Walking_Away
-
- JR =.Start_action_or_movement.end
-
- .Try_Walking:
- CALL =Walking
- .Start_action_or_movement.end:
-
.End_movement:
LD A, $mem_moving_animation_step
CP $0f