Files
pokeruby/data/maps/MossdeepCity/scripts.inc
T
2020-05-06 14:48:14 -04:00

91 lines
2.3 KiB
ObjectPascal
Vendored

MossdeepCity_MapScripts:: @ 814CF92
map_script MAP_SCRIPT_ON_TRANSITION, MossdeepCity_MapScript1_14CF98
.byte 0
MossdeepCity_MapScript1_14CF98:: @ 814CF98
clearflag FLAG_MOSSDEEP_GYM_SWITCH_1
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, Common_EventScript_SetLegendaryWeather
end
MossdeepCity_EventScript_14CFAE:: @ 814CFAE
msgbox MossdeepCity_Text_169266, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFB7:: @ 814CFB7
msgbox MossdeepCity_Text_1692A1, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFC0:: @ 814CFC0
msgbox MossdeepCity_Text_1691F2, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFC9:: @ 814CFC9
msgbox MossdeepCity_Text_169370, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFD2:: @ 814CFD2
msgbox MossdeepCity_Text_169314, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFDB:: @ 814CFDB
msgbox MossdeepCity_Text_1694DA, MSGBOX_NPC
end
MossdeepCity_EventScript_14CFE4:: @ 814CFE4
msgbox MossdeepCity_Text_1695D3, MSGBOX_SIGN
end
MossdeepCity_EventScript_14CFED:: @ 814CFED
msgbox MossdeepCity_Text_1695E6, MSGBOX_SIGN
end
MossdeepCity_EventScript_14CFF6:: @ 814CFF6
msgbox MossdeepCity_Text_16962F, MSGBOX_SIGN
end
MossdeepCity_EventScript_14CFFF:: @ 814CFFF
msgbox MossdeepCity_Text_16965C, MSGBOX_SIGN
end
MossdeepCity_EventScript_14D008:: @ 814D008
setflag FLAG_VISITED_MOSSDEEP_CITY
setvar VAR_TEMP_1, 1
end
MossdeepCity_EventScript_14D011:: @ 814D011
lock
faceplayer
msgbox MossdeepCity_Text_16944E, MSGBOX_DEFAULT
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
waitmovement 0
release
end
MossdeepCity_EventScript_14D027:: @ 814D027
lock
faceplayer
goto_if_set FLAG_RECEIVED_KINGS_ROCK, MossdeepCity_EventScript_14D069
msgbox MossdeepCity_Text_1690A9, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq MossdeepCity_EventScript_14D073
msgbox MossdeepCity_Text_169117, MSGBOX_DEFAULT
giveitem ITEM_KINGS_ROCK
compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_KINGS_ROCK
release
end
MossdeepCity_EventScript_14D069:: @ 814D069
msgbox MossdeepCity_Text_16916F, MSGBOX_DEFAULT
release
end
MossdeepCity_EventScript_14D073:: @ 814D073
msgbox MossdeepCity_Text_1691A7, MSGBOX_DEFAULT
release
end