summaryrefslogtreecommitdiff
path: root/data/scripts/maps/EverGrandeCity_HallOfFame.inc
blob: 5cb4ee7fd804c6b8f7f09a7bcf4601259ceb5265 (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
91
92
93
94
95
96
97
98
99
EverGrandeCity_HallOfFame_MapScripts:: @ 822982C
	map_script 2, EverGrandeCity_HallOfFame_MapScript2_229846
	map_script 4, EverGrandeCity_HallOfFame_MapScript2_229837
	.byte 0

EverGrandeCity_HallOfFame_MapScript2_229837: @ 8229837
	map_script_2 VAR_0x4001, 0, EverGrandeCity_HallOfFame_EventScript_229841
	.2byte 0

EverGrandeCity_HallOfFame_EventScript_229841:: @ 8229841
	turnobject 255, 2
	end

EverGrandeCity_HallOfFame_MapScript2_229846: @ 8229846
	map_script_2 VAR_0x4001, 0, EverGrandeCity_HallOfFame_EventScript_229850
	.2byte 0

EverGrandeCity_HallOfFame_EventScript_229850:: @ 8229850
	lockall
	applymovement 1, EverGrandeCity_HallOfFame_Movement_229901
	applymovement 255, EverGrandeCity_HallOfFame_Movement_229901
	waitmovement 0
	applymovement 1, EverGrandeCity_HallOfFame_Movement_2725A8
	applymovement 255, EverGrandeCity_HallOfFame_Movement_2725A4
	waitmovement 0
	msgbox EverGrandeCity_HallOfFame_Text_22990E, 4
	closemessage
	applymovement 1, EverGrandeCity_HallOfFame_Movement_229908
	applymovement 255, EverGrandeCity_HallOfFame_Movement_229908
	waitmovement 0
	delay 20
	applymovement 1, EverGrandeCity_HallOfFame_Movement_2725A8
	applymovement 255, EverGrandeCity_HallOfFame_Movement_2725A4
	waitmovement 0
	msgbox EverGrandeCity_HallOfFame_Text_2299A3, 4
	closemessage
	applymovement 1, EverGrandeCity_HallOfFame_Movement_2725A6
	applymovement 255, EverGrandeCity_HallOfFame_Movement_2725A6
	waitmovement 0
	delay 20
	dofieldeffect 62
	waitfieldeffect 62
	delay 40
	setvar VAR_0x4001, 1
	call EverGrandeCity_HallOfFame_EventScript_2717C1
	checkplayergender
	compare VAR_RESULT, 0
	goto_eq EverGrandeCity_HallOfFame_EventScript_2298E9
	compare VAR_RESULT, 1
	goto_eq EverGrandeCity_HallOfFame_EventScript_2298F5
	end

EverGrandeCity_HallOfFame_EventScript_2298E9:: @ 82298E9
	setrespawn 1
	fadescreenspeed 1, 24
	special GameClear
	waitstate
	releaseall
	end

EverGrandeCity_HallOfFame_EventScript_2298F5:: @ 82298F5
	setrespawn 2
	fadescreenspeed 1, 24
	special GameClear
	waitstate
	releaseall
	end

EverGrandeCity_HallOfFame_Movement_229901: @ 8229901
	step_up
	step_up
	step_up
	step_up
	step_up
	step_up
	step_end

EverGrandeCity_HallOfFame_Movement_229908: @ 8229908
	step_up
	step_up
	step_up
	step_up
	step_up
	step_end

EverGrandeCity_HallOfFame_Text_22990E: @ 822990E
	.string "WALLACE: This room…\p"
	.string "This is where we keep records of\n"
	.string "POKéMON that prevailed through\l"
	.string "harsh battles.\p"
	.string "It is here that the LEAGUE CHAMPIONS\n"
	.string "are honored.$"

EverGrandeCity_HallOfFame_Text_2299A3: @ 82299A3
	.string "WALLACE: Come on, let’s record your\n"
	.string "name as a TRAINER who triumphed over\l"
	.string "the POKéMON LEAGUE, and the names of\l"
	.string "the partners who battled with you.$"