summaryrefslogtreecommitdiff
path: root/maps/GoldenrodBillsHouse.asm
blob: f3356b3f88527ab9fb5684db2febb83bb28fbdc8 (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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
GoldenrodBillsHouse_MapScriptHeader: ; 0x54be2
	; trigger count
	db 0

	; callback count
	db 0
; 0x54be4

UnknownScript_0x54be4: ; 0x54be4
	faceplayer
	loadfont
	checkbit1 $004f
	iftrue UnknownScript_0x54c1f
	2writetext UnknownText_0x54c74
	yesorno
	iffalse UnknownScript_0x54c19
	2writetext UnknownText_0x54d3f
	keeptextopen
	waitbutton
	checkcode $1
	if_equal $6, UnknownScript_0x54c13
	2writetext UnknownText_0x54dae
	playsound $0002
	waitbutton
	givepoke EEVEE, 20, 0, 0
	setbit1 $004f
	2writetext UnknownText_0x54dc1
	closetext
	loadmovesprites
	end
; 0x54c13

UnknownScript_0x54c13: ; 0x54c13
	2writetext UnknownText_0x54e02
	closetext
	loadmovesprites
	end
; 0x54c19

UnknownScript_0x54c19: ; 0x54c19
	2writetext UnknownText_0x54e2d
	closetext
	loadmovesprites
	end
; 0x54c1f

UnknownScript_0x54c1f: ; 0x54c1f
	2writetext UnknownText_0x54e42
	closetext
	loadmovesprites
	end
; 0x54c25

UnknownScript_0x54c25: ; 0x54c25
	faceplayer
	loadfont
	checkbit1 $0712
	iffalse UnknownScript_0x54c33
	2writetext UnknownText_0x54ea8
	closetext
	loadmovesprites
	end
; 0x54c33

UnknownScript_0x54c33: ; 0x54c33
	2writetext UnknownText_0x54f4e
	closetext
	loadmovesprites
	end
; 0x54c39

UnknownScript_0x54c39: ; 0x54c39
	faceplayer
	loadfont
	checkcellnum $3
	iftrue UnknownScript_0x54c58
	2writetext UnknownText_0x54f9e
	askforphonenumber $3
	if_equal $1, UnknownScript_0x54c64
	if_equal $2, UnknownScript_0x54c5e
	waitbutton
	addcellnum $3
	2writetext UnknownText_0x54fd9
	playsound $0093
	waitbutton
	keeptextopen
UnknownScript_0x54c58: ;0x54c58
	2writetext UnknownText_0x55069
	closetext
	loadmovesprites
	end
; 0x54c5e

UnknownScript_0x54c5e: ; 0x54c5e
	2writetext UnknownText_0x54ff3
	closetext
	loadmovesprites
	end
; 0x54c64

UnknownScript_0x54c64: ; 0x54c64
	2writetext UnknownText_0x55046
	keeptextopen
	2jump UnknownScript_0x54c5e
; 0x54c6b

MapGoldenrodBillsHouseSignpost1Script: ; 0x54c6b
	jumpstd $0002
; 0x54c6e

MapGoldenrodBillsHouseSignpost0Script: ; 0x54c6e
	jumpstd $0003
; 0x54c71

MapGoldenrodBillsHouseSignpost2Script: ; 0x54c71
	jumpstd $000c
; 0x54c74

UnknownText_0x54c74: ; 0x54c74
	db $0, "BILL: Hi, ", $52, "!", $4f
	db "Do us a favor and", $55
	db "take this EEVEE.", $51
	db "It came over when", $4f
	db "I was adjusting", $55
	db "the TIME CAPSULE.", $51
	db "Someone has to", $4f
	db "take care of it,", $51
	db "but I don't like", $4f
	db "being outside.", $51
	db "Can I count on you", $4f
	db "to play with it,", $55
	db $52, "?", $57
; 0x54d3f

UnknownText_0x54d3f: ; 0x54d3f
	db $0, "BILL: I knew you'd", $4f
	db "come through!", $51
	db "Way to go! You're", $4f
	db "the real deal!", $51
	db "OK, I'm counting", $4f
	db "on you.", $51
	db "Take good care of", $4f
	db "it!", $57
; 0x54dae

UnknownText_0x54dae: ; 0x54dae
	db $0, $52, " received", $4f
	db "EEVEE!", $57
; 0x54dc1

UnknownText_0x54dc1: ; 0x54dc1
	db $0, "BILL: PROF.ELM", $4f
	db "claims EEVEE may", $51
	db "evolve in new and", $4f
	db "unknown ways.", $57
; 0x54e02

UnknownText_0x54e02: ; 0x54e02
	db $0, "Whoa, wait. You", $4f
	db "can't carry any", $55
	db "more #MON.", $57
; 0x54e2d

UnknownText_0x54e2d: ; 0x54e2d
	db $0, "Oh… Now what to", $4f
	db "do?", $57
; 0x54e42

UnknownText_0x54e42: ; 0x54e42
	db $0, "BILL: My pop, he", $4f
	db "won't work. All he", $51
	db "does is goof off", $4f
	db "all day long.", $51
	db "He's getting to be", $4f
	db "a real headache…", $57
; 0x54ea8

UnknownText_0x54ea8: ; 0x54ea8
	db $0, "Oh, you collect", $4f
	db "#MON? My son", $55
	db "BILL is an expert.", $51
	db "He just got called", $4f
	db "to the #MON", $51
	db "CENTER in ECRUTEAK", $4f
	db "CITY.", $51
	db "My husband went", $4f
	db "off to the GAME", $51
	db "CORNER without", $4f
	db "being called…", $57
; 0x54f4e

UnknownText_0x54f4e: ; 0x54f4e
	db $0, "My husband was", $4f
	db "once known as a", $51
	db "#MANIAC.", $4f
	db "BILL must have", $51
	db "taken after his", $4f
	db "father.", $57
; 0x54f9e

UnknownText_0x54f9e: ; 0x54f9e
	db $0, "Are you a trainer?", $51
	db "I've got a useful", $4f
	db "phone number for", $55
	db "you.", $57
; 0x54fd9

UnknownText_0x54fd9: ; 0x54fd9
	db $0, $52, " recorded", $4f
	db "BILL's number.", $57
; 0x54ff3

UnknownText_0x54ff3: ; 0x54ff3
	db $0, "My brother made", $4f
	db "the PC #MON", $55
	db "storage system.", $51
	db "I was going to", $4f
	db "give you BILL's", $55
	db "number…", $57
; 0x55046

UnknownText_0x55046: ; 0x55046
	db $0, "You can't record", $4f
	db "any more numbers.", $57
; 0x55069

UnknownText_0x55069: ; 0x55069
	db $0, "My big brother", $4f
	db "BILL made the PC", $51
	db "#MON storage", $4f
	db "system.", $57
; 0x5509f

GoldenrodBillsHouse_MapEventHeader: ; 0x5509f
	; filler
	db 0, 0

	; warps
	db 2
	warp_def $7, $2, 4, GROUP_GOLDENROD_CITY, MAP_GOLDENROD_CITY
	warp_def $7, $3, 4, GROUP_GOLDENROD_CITY, MAP_GOLDENROD_CITY

	; xy triggers
	db 0

	; signposts
	db 3
	signpost 1, 0, $0, MapGoldenrodBillsHouseSignpost0Script
	signpost 1, 1, $0, MapGoldenrodBillsHouseSignpost1Script
	signpost 1, 7, $0, MapGoldenrodBillsHouseSignpost2Script

	; people-events
	db 3
	person_event $8, 7, 6, $9, $0, 255, 255, $0, 0, UnknownScript_0x54be4, $0712
	person_event $2e, 7, 9, $6, $0, 255, 255, $0, 0, UnknownScript_0x54c25, $ffff
	person_event $26, 8, 9, $2, $11, 255, 255, $a0, 0, UnknownScript_0x54c39, $ffff
; 0x550e5