aboutsummaryrefslogtreecommitdiff
path: root/map
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 /map
parente322573ecc55a821506e5313e3b9994e1b58745e (diff)
Fix fimshes and give them a placeholder items to drop
Diffstat (limited to 'map')
-rw-r--r--map/objects.gbasm30
1 files changed, 30 insertions, 0 deletions
diff --git a/map/objects.gbasm b/map/objects.gbasm
index 159caf5..bb3a35a 100644
--- a/map/objects.gbasm
+++ b/map/objects.gbasm
@@ -182,6 +182,10 @@ Object_Interaction_Jump_table:
JP =Earcopter_Attack_Box_Action
NOP
+ ; 07
+ JP =Fimsh_Attack_Box_Action
+ NOP
+
Stairs_Action:
LD A, $enum_dungeon_generation_mode
LD $mem_current_mode, A
@@ -298,6 +302,32 @@ Earcopter_Attack_Box_Action:
.LEARN_ATTACK $04
.END
+Fimsh_Attack_Box_Action:
+ LD (HL), $00
+
+ .START_SCRIPT =.Script
+
+ LD A, $enum_dungeon_dialogue_mode
+ LD $mem_requested_mode, A
+ LD $mem_current_mode, A
+ LD A, $mem_bunny_direction
+ AND $07
+ LD $mem_bunny_direction, A
+ LD A, $mem_map_loading_flags
+ SET 5, A
+ LD $mem_map_loading_flags, A
+
+ CALL =Fix_Bunny_screen
+
+ RET
+
+ .Script:
+ .TEXT =fimsh_eegg_1t =fimsh_eegg_1b
+ .TEXT =fimsh_eegg_2t =Empty
+ .TEXT =fimsh_eegg_3t =fimsh_eegg_3b
+ .TEXT =fimsh_eegg_4t =Empty
+ .END
+
Restore_EP_Action:
LD A, $mem_bunny_mana
ADD $15