summaryrefslogtreecommitdiff
path: root/data/maps/MossdeepCity/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/MossdeepCity/scripts.inc')
-rw-r--r--data/maps/MossdeepCity/scripts.inc38
1 files changed, 19 insertions, 19 deletions
diff --git a/data/maps/MossdeepCity/scripts.inc b/data/maps/MossdeepCity/scripts.inc
index d34944bb6..470c95630 100644
--- a/data/maps/MossdeepCity/scripts.inc
+++ b/data/maps/MossdeepCity/scripts.inc
@@ -1,5 +1,5 @@
MossdeepCity_MapScripts:: @ 814CF92
- map_script 3, MossdeepCity_MapScript1_14CF98
+ map_script MAP_SCRIPT_ON_TRANSITION, MossdeepCity_MapScript1_14CF98
.byte 0
MossdeepCity_MapScript1_14CF98:: @ 814CF98
@@ -7,47 +7,47 @@ MossdeepCity_MapScript1_14CF98:: @ 814CF98
clearflag FLAG_MOSSDEEP_GYM_SWITCH_2
clearflag FLAG_MOSSDEEP_GYM_SWITCH_3
clearflag FLAG_MOSSDEEP_GYM_SWITCH_4
- call_if_set FLAG_SYS_WEATHER_CTRL, MossdeepCity_EventScript_1A02C1
+ call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetLegendaryWeather
end
MossdeepCity_EventScript_14CFAE:: @ 814CFAE
- msgbox MossdeepCity_Text_169266, 2
+ msgbox MossdeepCity_Text_169266, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFB7:: @ 814CFB7
- msgbox MossdeepCity_Text_1692A1, 2
+ msgbox MossdeepCity_Text_1692A1, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFC0:: @ 814CFC0
- msgbox MossdeepCity_Text_1691F2, 2
+ msgbox MossdeepCity_Text_1691F2, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFC9:: @ 814CFC9
- msgbox MossdeepCity_Text_169370, 2
+ msgbox MossdeepCity_Text_169370, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFD2:: @ 814CFD2
- msgbox MossdeepCity_Text_169314, 2
+ msgbox MossdeepCity_Text_169314, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFDB:: @ 814CFDB
- msgbox MossdeepCity_Text_1694DA, 2
+ msgbox MossdeepCity_Text_1694DA, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFE4:: @ 814CFE4
- msgbox MossdeepCity_Text_1695D3, 3
+ msgbox MossdeepCity_Text_1695D3, MSGBOX_SIGN
end
MossdeepCity_EventScript_14CFED:: @ 814CFED
- msgbox MossdeepCity_Text_1695E6, 3
+ msgbox MossdeepCity_Text_1695E6, MSGBOX_SIGN
end
MossdeepCity_EventScript_14CFF6:: @ 814CFF6
- msgbox MossdeepCity_Text_16962F, 3
+ msgbox MossdeepCity_Text_16962F, MSGBOX_SIGN
end
MossdeepCity_EventScript_14CFFF:: @ 814CFFF
- msgbox MossdeepCity_Text_16965C, 3
+ msgbox MossdeepCity_Text_16965C, MSGBOX_SIGN
end
MossdeepCity_EventScript_14D008:: @ 814D008
@@ -58,8 +58,8 @@ MossdeepCity_EventScript_14D008:: @ 814D008
MossdeepCity_EventScript_14D011:: @ 814D011
lock
faceplayer
- msgbox MossdeepCity_Text_16944E, 4
- applymovement VAR_LAST_TALKED, MossdeepCity_Movement_1A083D
+ msgbox MossdeepCity_Text_16944E, MSGBOX_DEFAULT
+ applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
@@ -71,20 +71,20 @@ MossdeepCity_EventScript_14D027:: @ 814D027
msgbox MossdeepCity_Text_1690A9, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq MossdeepCity_EventScript_14D073
- msgbox MossdeepCity_Text_169117, 4
- giveitem_std ITEM_KINGS_ROCK
+ msgbox MossdeepCity_Text_169117, MSGBOX_DEFAULT
+ giveitem ITEM_KINGS_ROCK
compare VAR_RESULT, 0
- goto_if_eq MossdeepCity_EventScript_1A029B
+ goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_KINGS_ROCK
release
end
MossdeepCity_EventScript_14D069:: @ 814D069
- msgbox MossdeepCity_Text_16916F, 4
+ msgbox MossdeepCity_Text_16916F, MSGBOX_DEFAULT
release
end
MossdeepCity_EventScript_14D073:: @ 814D073
- msgbox MossdeepCity_Text_1691A7, 4
+ msgbox MossdeepCity_Text_1691A7, MSGBOX_DEFAULT
release
end