pokefirered/data/maps/ThreeIsland_Port/scripts.inc
2022-06-24 21:10:48 -04:00

40 lines
1002 B
PHP

ThreeIsland_Port_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, ThreeIsland_Port_OnTransition
.byte 0
ThreeIsland_Port_OnTransition::
clearflag FLAG_SYS_PC_STORAGE_DISABLED
setflag FLAG_SEVII_DETOUR_FINISHED
end
ThreeIsland_Port_EventScript_Woman::
lock
faceplayer
compare VAR_MAP_SCENE_TWO_ISLAND_JOYFUL_GAME_CORNER, 2
goto_if_ge ThreeIsland_Port_EventScript_WomanLostelleFound
compare VAR_MAP_SCENE_THREE_ISLAND, 4
goto_if_ge ThreeIsland_Port_EventScript_WomanBikersGone
msgbox ThreeIsland_Port_Text_IllCallThePolice
release
end
ThreeIsland_Port_EventScript_WomanLostelleFound::
msgbox ThreeIsland_Port_Text_EverythingTurnedOutForBest
release
end
ThreeIsland_Port_EventScript_WomanBikersGone::
msgbox ThreeIsland_Port_Text_ThankGoodnessBikersGone
release
end
ThreeIsland_Port_EventScript_Biker1::
msgbox ThreeIsland_Port_Text_WereKantoRiderFederation, MSGBOX_NPC
end
ThreeIsland_Port_EventScript_Biker2::
lock
msgbox ThreeIsland_Port_Text_ForkOverMoney
release
end