pokefirered/data/maps/ThreeIsland_Port/scripts.inc
2020-02-27 12:51:23 -05:00

40 lines
1.0 KiB
PHP

ThreeIsland_Port_MapScripts:: @ 8168789
map_script MAP_SCRIPT_ON_TRANSITION, ThreeIsland_Port_OnTransition
.byte 0
ThreeIsland_Port_OnTransition:: @ 816878F
clearflag FLAG_SYS_PC_STORAGE_DISABLED
setflag FLAG_SEVII_DETOUR_FINISHED
end
ThreeIsland_Port_EventScript_Woman:: @ 8168796
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:: @ 81687B8
msgbox ThreeIsland_Port_Text_EverythingTurnedOutForBest
release
end
ThreeIsland_Port_EventScript_WomanBikersGone:: @ 81687C2
msgbox ThreeIsland_Port_Text_ThankGoodnessBikersGone
release
end
ThreeIsland_Port_EventScript_Biker1:: @ 81687CC
msgbox ThreeIsland_Port_Text_WereKantoRiderFederation, MSGBOX_NPC
end
ThreeIsland_Port_EventScript_Biker2:: @ 81687D5
lock
msgbox ThreeIsland_Port_Text_ForkOverMoney
release
end