summaryrefslogtreecommitdiff
path: root/data/scripts/maps/EverGrandeCity_PhoebesRoom.inc
blob: b838cc25bd79ad2bf9f84023e6533752d0916dd6 (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
EverGrandeCity_PhoebesRoom_MapScripts:: @ 8228174
	map_script 1, EverGrandeCity_PhoebesRoom_MapScript1_2281AA
	map_script 4, EverGrandeCity_PhoebesRoom_MapScript2_228184
	map_script 2, EverGrandeCity_PhoebesRoom_MapScript2_228193
	.byte 0

EverGrandeCity_PhoebesRoom_MapScript2_228184: @ 8228184
	map_script_2 VAR_0x4001, 0, EverGrandeCity_PhoebesRoom_EventScript_22818E
	.2byte 0

EverGrandeCity_PhoebesRoom_EventScript_22818E:: @ 822818E
	turnobject 255, 2
	end

EverGrandeCity_PhoebesRoom_MapScript2_228193: @ 8228193
	map_script_2 VAR_0x409C, 1, EverGrandeCity_PhoebesRoom_EventScript_22819D
	.2byte 0

EverGrandeCity_PhoebesRoom_EventScript_22819D:: @ 822819D
	lockall
	call EverGrandeCity_PhoebesRoom_EventScript_272475
	setvar VAR_0x409C, 2
	releaseall
	end

EverGrandeCity_PhoebesRoom_MapScript1_2281AA: @ 82281AA
	checkflag FLAG_0x4FC
	call_if 1, EverGrandeCity_PhoebesRoom_EventScript_2281BF
	compare VAR_0x409C, 2
	call_if 1, EverGrandeCity_PhoebesRoom_EventScript_2281C5
	end

EverGrandeCity_PhoebesRoom_EventScript_2281BF:: @ 82281BF
	call EverGrandeCity_PhoebesRoom_EventScript_2724BC
	return

EverGrandeCity_PhoebesRoom_EventScript_2281C5:: @ 82281C5
	call EverGrandeCity_PhoebesRoom_EventScript_27255F
	return

EverGrandeCity_PhoebesRoom_EventScript_2281CB:: @ 82281CB
	lock
	faceplayer
	checkflag FLAG_0x4FC
	goto_eq EverGrandeCity_PhoebesRoom_EventScript_2281F2
	playbgm MUS_SITENNOU, 0
	msgbox EverGrandeCity_PhoebesRoom_Text_22820E, 4
	trainerbattle 3, TRAINER_PHOEBE, 0, EverGrandeCity_PhoebesRoom_Text_228325
	goto EverGrandeCity_PhoebesRoom_EventScript_2281FC
	end

EverGrandeCity_PhoebesRoom_EventScript_2281F2:: @ 82281F2
	msgbox EverGrandeCity_PhoebesRoom_Text_228343, 4
	release
	end

EverGrandeCity_PhoebesRoom_EventScript_2281FC:: @ 82281FC
	setflag FLAG_0x4FC
	call EverGrandeCity_PhoebesRoom_EventScript_2723F8
	msgbox EverGrandeCity_PhoebesRoom_Text_228343, 4
	release
	end

EverGrandeCity_PhoebesRoom_Text_22820E: @ 822820E
	.string "Ahahaha!\p"
	.string "I’m PHOEBE of the ELITE FOUR.\n"
	.string "I did my training on MT. PYRE.\p"
	.string "While I trained, I gained the ability\n"
	.string "to commune with GHOST-type POKéMON.\p"
	.string "Yes, the bond I developed with POKéMON\n"
	.string "is extremely tight.\p"
	.string "So, come on, just try and see if you can\n"
	.string "even inflict damage on my POKéMON!$"

EverGrandeCity_PhoebesRoom_Text_228325: @ 8228325
	.string "Oh, darn.\n"
	.string "I’ve gone and lost.$"

EverGrandeCity_PhoebesRoom_Text_228343: @ 8228343
	.string "There’s a definite bond between you\n"
	.string "and your POKéMON, too.\p"
	.string "I didn’t recognize it, so it’s only\n"
	.string "natural that I lost.\p"
	.string "Yup, I’d like to see how far your bond\n"
	.string "will carry you.\p"
	.string "Go ahead, move on to the next room.$"