summaryrefslogtreecommitdiff
path: root/data/maps/ShoalCave_LowTideLowerRoom/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/ShoalCave_LowTideLowerRoom/scripts.inc')
-rw-r--r--data/maps/ShoalCave_LowTideLowerRoom/scripts.inc42
1 files changed, 21 insertions, 21 deletions
diff --git a/data/maps/ShoalCave_LowTideLowerRoom/scripts.inc b/data/maps/ShoalCave_LowTideLowerRoom/scripts.inc
index 8492afe5b..2cbf8138d 100644
--- a/data/maps/ShoalCave_LowTideLowerRoom/scripts.inc
+++ b/data/maps/ShoalCave_LowTideLowerRoom/scripts.inc
@@ -1,60 +1,60 @@
ShoalCave_LowTideLowerRoom_MapScripts:: @ 8237156
- map_script MAP_SCRIPT_ON_LOAD, ShoalCave_LowTideLowerRoom_MapScript1_23715C
+ map_script MAP_SCRIPT_ON_LOAD, ShoalCave_LowTideLowerRoom_OnLoad
.byte 0
-ShoalCave_LowTideLowerRoom_MapScript1_23715C: @ 823715C
- call ShoalCave_LowTideLowerRoom_EventScript_237162
+ShoalCave_LowTideLowerRoom_OnLoad: @ 823715C
+ call ShoalCave_LowTideLowerRoom_EventScript_SetShoalItemMetatiles
end
-ShoalCave_LowTideLowerRoom_EventScript_237162:: @ 8237162
- goto_if_set FLAG_RECEIVED_SHOAL_SALT_4, ShoalCave_LowTideLowerRoom_EventScript_237175
- setmetatile 18, 2, 856, 1
+ShoalCave_LowTideLowerRoom_EventScript_SetShoalItemMetatiles:: @ 8237162
+ goto_if_set FLAG_RECEIVED_SHOAL_SALT_4, ShoalCave_LowTideLowerRoom_EventScript_SetShoalItemMetatilesEnd
+ setmetatile 18, 2, METATILE_Cave_ShoalCave_DirtPile_Large, 1
return
-ShoalCave_LowTideLowerRoom_EventScript_237175:: @ 8237175
+ShoalCave_LowTideLowerRoom_EventScript_SetShoalItemMetatilesEnd:: @ 8237175
return
-ShoalCave_LowTideLowerRoom_EventScript_237176:: @ 8237176
+ShoalCave_LowTideLowerRoom_EventScript_ShoalSalt4:: @ 8237176
lockall
- goto_if_set FLAG_RECEIVED_SHOAL_SALT_4, ShoalCave_LowTideLowerRoom_EventScript_2371A8
+ goto_if_set FLAG_RECEIVED_SHOAL_SALT_4, ShoalCave_LowTideLowerRoom_EventScript_ReceivedShoalSalt
giveitem_std ITEM_SHOAL_SALT
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
- setmetatile 18, 2, 858, 0
+ setmetatile 18, 2, METATILE_Cave_ShoalCave_DirtPile_Small, 0
special DrawWholeMapView
setflag FLAG_RECEIVED_SHOAL_SALT_4
releaseall
end
-ShoalCave_LowTideLowerRoom_EventScript_2371A8:: @ 82371A8
- msgbox ShoalCave_LowTideLowerRoom_Text_2A8169, MSGBOX_DEFAULT
+ShoalCave_LowTideLowerRoom_EventScript_ReceivedShoalSalt:: @ 82371A8
+ msgbox ShoalCave_Text_WasShoalSaltNowNothing, MSGBOX_DEFAULT
releaseall
end
-ShoalCave_LowTideLowerRoom_EventScript_2371B2:: @ 82371B2
+ShoalCave_LowTideLowerRoom_EventScript_BlackBelt:: @ 82371B2
lock
faceplayer
- goto_if_set FLAG_RECEIVED_FOCUS_BAND, ShoalCave_LowTideLowerRoom_EventScript_2371E1
- msgbox ShoalCave_LowTideLowerRoom_Text_2371EB, MSGBOX_DEFAULT
+ goto_if_set FLAG_RECEIVED_FOCUS_BAND, ShoalCave_LowTideLowerRoom_EventScript_ReceivedFocusBand
+ msgbox ShoalCave_LowTideLowerRoom_Text_CanOvercomeColdWithFocus, MSGBOX_DEFAULT
giveitem_std ITEM_FOCUS_BAND
- compare VAR_RESULT, 0
+ compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_FOCUS_BAND
release
end
-ShoalCave_LowTideLowerRoom_EventScript_2371E1:: @ 82371E1
- msgbox ShoalCave_LowTideLowerRoom_Text_23728D, MSGBOX_DEFAULT
+ShoalCave_LowTideLowerRoom_EventScript_ReceivedFocusBand:: @ 82371E1
+ msgbox ShoalCave_LowTideLowerRoom_Text_EverythingStartsWithFocus, MSGBOX_DEFAULT
release
end
-ShoalCave_LowTideLowerRoom_Text_2371EB: @ 82371EB
+ShoalCave_LowTideLowerRoom_Text_CanOvercomeColdWithFocus: @ 82371EB
.string "The penetrating cold around these\n"
.string "parts is an impediment to training.\p"
.string "But with focus, one can overcome!\p"
.string "With this FOCUS BAND, buckle down and\n"
.string "withstand the cold!$"
-ShoalCave_LowTideLowerRoom_Text_23728D: @ 823728D
+ShoalCave_LowTideLowerRoom_Text_EverythingStartsWithFocus: @ 823728D
.string "Everything starts with focus!$"