summaryrefslogtreecommitdiff
path: root/data/maps/MossdeepCity/scripts.inc
blob: 470c956305862f6450066c924f2452e2642737fa (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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