summaryrefslogtreecommitdiff
path: root/data/maps/ThreeIsland_Port/scripts.inc
blob: 0a664b07d6365c2674019106f90add3fe37374a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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