summaryrefslogtreecommitdiff
path: root/maps/EcruteakPokeCenter1F.asm
blob: 66acfaa9c72099ce95c43a29d367fe8a75569897 (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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
EcruteakPokeCenter1F_MapScriptHeader:
.MapTriggers:
	db 2

	; triggers
	dw UnknownScript_0x98e5f, $0000
	dw UnknownScript_0x98e63, $0000

.MapCallbacks:
	db 0

UnknownScript_0x98e5f:
	priorityjump UnknownScript_0x98e64
	end

UnknownScript_0x98e63:
	end

UnknownScript_0x98e64:
	pause 30
	playsound SFX_EXIT_BUILDING
	appear $6
	waitbutton
	applymovement $6, MovementData_0x98ec5
	applymovement PLAYER, MovementData_0x98ed4
	spriteface $2, UP
	pause 10
	spriteface $2, DOWN
	pause 30
	spriteface $2, UP
	pause 10
	spriteface $2, DOWN
	pause 20
	spriteface $6, DOWN
	pause 10
	loadfont
	writetext UnknownText_0x98ed8
	keeptextopen
	jump UnknownScript_0x98e95

UnknownScript_0x98e95:
	writetext UnknownText_0x98f22
	closetext
	loadmovesprites
	spriteface PLAYER, DOWN
	applymovement $6, MovementData_0x98ece
	playsound SFX_EXIT_BUILDING
	disappear $6
	clearevent EVENT_MET_BILL
	setflag ENGINE_TIME_CAPSULE
	dotrigger $1
	waitbutton
	end

NurseScript_0x98eb0:
	jumpstd pokecenternurse

PokefanMScript_0x98eb3:
	special Function10630f
	iftrue UnknownScript_0x98ebc
	jumptextfaceplayer UnknownText_0x99155

UnknownScript_0x98ebc:
	jumptextfaceplayer UnknownText_0x991aa

CooltrainerFScript_0x98ebf:
	jumptextfaceplayer UnknownText_0x99240

GymGuyScript_0x98ec2:
	jumptextfaceplayer UnknownText_0x99286

MovementData_0x98ec5:
	step_up
	step_up
	step_up
	step_up
	step_right
	step_right
	step_right
	turn_head_up
	step_end

MovementData_0x98ece:
	step_right
	step_down
	step_down
	step_down
	step_down
	step_end

MovementData_0x98ed4:
	step_up
	step_up
	step_up
	step_end

UnknownText_0x98ed8:
	text "Hi, I'm BILL. And"
	line "who are you?"

	para "Hmm, <PLAYER>, huh?"
	line "You've come at the"
	cont "right time."
	done

UnknownText_0x98f22:
	text "I just finished"
	line "adjustments on my"
	cont "TIME CAPSULE."

	para "You know that"
	line "#MON can be"
	cont "traded, right?"

	para "My TIME CAPSULE"
	line "was developed to"

	para "enable trades with"
	line "the past."

	para "But you can't send"
	line "anything that"

	para "didn't exist in"
	line "the past."

	para "If you did, the PC"
	line "in the past would"
	cont "have a breakdown."

	para "So you have to"
	line "remove anything"

	para "that wasn't around"
	line "in the past."

	para "Put simply, no"
	line "sending new moves"

	para "or new #MON in"
	line "the TIME CAPSULE."

	para "Don't you worry."
	line "I'm done with the"
	cont "adjustments."

	para "Tomorrow, TIME"
	line "CAPSULES will be"

	para "running at all"
	line "#MON CENTERS."

	para "I have to hurry on"
	line "back to GOLDENROD"
	cont "and see my folks."

	para "Buh-bye!"
	done

UnknownText_0x99155:
	text "The way the KIMONO"
	line "GIRLS dance is"

	para "marvelous. Just"
	line "like the way they"
	cont "use their #MON."
	done

UnknownText_0x991aa:
	text "You must be hoping"
	line "to battle more"

	para "people, right?"
	line "There's apparently"

	para "some place where"
	line "trainers gather."

	para "Where, you ask?"

	para "It's a little past"
	line "OLIVINE CITY."
	done

UnknownText_0x99240:
	text "MORTY, the GYM"
	line "LEADER, is soooo"
	cont "cool."

	para "His #MON are"
	line "really tough too."
	done

UnknownText_0x99286:
	text "LAKE OF RAGE…"

	para "The appearance of"
	line "a GYARADOS swarm…"

	para "I smell a conspir-"
	line "acy. I know it!"
	done

EcruteakPokeCenter1F_MapEventHeader:
	; filler
	db 0, 0

.Warps:
	db 3
	warp_def $7, $3, 6, ECRUTEAK_CITY
	warp_def $7, $4, 6, ECRUTEAK_CITY
	warp_def $7, $0, 1, POKECENTER_2F

.XYTriggers:
	db 0

.Signposts:
	db 0

.PersonEvents:
	db 5
	person_event SPRITE_NURSE, 1, 3, $6, 0, 0, -1, -1, 0, 0, 0, NurseScript_0x98eb0, -1
	person_event SPRITE_POKEFAN_M, 6, 7, $a, 0, 0, -1, -1, 0, 0, 0, PokefanMScript_0x98eb3, -1
	person_event SPRITE_COOLTRAINER_F, 4, 1, $3, 0, 0, -1, -1, 0, 0, 0, CooltrainerFScript_0x98ebf, -1
	person_event SPRITE_GYM_GUY, 1, 7, $6, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, GymGuyScript_0x98ec2, -1
	person_event SPRITE_BILL, 7, 0, $9, 0, 0, -1, -1, 0, 0, 0, ObjectEvent, EVENT_ECRUTEAK_POKE_CENTER_BILL