summaryrefslogtreecommitdiff
path: root/maps/GoldenrodFlowerShop.asm
blob: 525df662669a32e8994af52bde327e10d0258f58 (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
GoldenrodFlowerShop_MapScriptHeader: ; 0x5535b
	; trigger count
	db 0

	; callback count
	db 0
; 0x5535d

TeacherScript_0x5535d: ; 0x5535d
	checkevent EVENT_FOUGHT_SUDOWOODO
	iftrue UnknownScript_0x5538f
	checkevent EVENT_GOT_SQUIRTBOTTLE
	iftrue UnknownScript_0x55399
	checkevent $00b9
	iffalse UnknownScript_0x5539f
	checkevent $00ba
	iffalse UnknownScript_0x5538f
	checkflag $001d
	iffalse UnknownScript_0x5539c
	faceplayer
	loadfont
	2writetext UnknownText_0x554c2
	keeptextopen
	verbosegiveitem SQUIRTBOTTLE, 1
	setevent EVENT_GOT_SQUIRTBOTTLE
	loadmovesprites
	setevent $0769
	clearevent $0768
	end
; 0x5538f

UnknownScript_0x5538f: ; 0x5538f
	spriteface $2, $2
	loadfont
	2writetext UnknownText_0x5552e
	closetext
	loadmovesprites
	end
; 0x55399

UnknownScript_0x55399: ; 0x55399
	jumptextfaceplayer UnknownText_0x5550d
; 0x5539c

UnknownScript_0x5539c: ; 0x5539c
	jumptextfaceplayer UnknownText_0x55463
; 0x5539f

UnknownScript_0x5539f: ; 0x5539f
	jumptextfaceplayer UnknownText_0x553d4
; 0x553a2

LassScript_0x553a2: ; 0x553a2
	faceplayer
	loadfont
	checkevent EVENT_FOUGHT_SUDOWOODO
	iftrue UnknownScript_0x553c5
	checkevent EVENT_GOT_SQUIRTBOTTLE
	iftrue UnknownScript_0x553bf
	2writetext UnknownText_0x55561
	closetext
	loadmovesprites
	setevent $00ba
	setevent $0768
	clearevent $0769
	end
; 0x553bf

UnknownScript_0x553bf: ; 0x553bf
	2writetext UnknownText_0x555e6
	closetext
	loadmovesprites
	end
; 0x553c5

UnknownScript_0x553c5: ; 0x553c5
	2writetext UnknownText_0x55604
	closetext
	loadmovesprites
	end
; 0x553cb

UnknownScript_0x553cb: ; 0x553cb
	jumpstd $0002
; 0x553ce

UnknownScript_0x553ce: ; 0x553ce
	jumpstd $0003
; 0x553d1

UnknownScript_0x553d1: ; 0x553d1
	jumpstd $000c
; 0x553d4

UnknownText_0x553d4: ; 0x553d4
	text "Have you seen that"
	line "wiggly tree that's"

	para "growing on ROUTE"
	line "36?"

	para "My little sister"
	line "got all excited"

	para "and went to see"
	line "it…"

	para "I'm worried… Isn't"
	line "it dangerous?"
	done
; 0x55463

UnknownText_0x55463: ; 0x55463
	text "Do you want to"
	line "borrow the water"

	para "bottle too?"
	line "I don't want you"

	para "doing anything"
	line "dangerous with it."
	done
; 0x554c2

UnknownText_0x554c2: ; 0x554c2
	text "Oh, you're better"
	line "than WHITNEY…"

	para "You'll be OK,"
	line "then. Here's the"
	cont "SQUIRTBOTTLE!"
	done
; 0x5550d

UnknownText_0x5550d: ; 0x5550d
	text "Don't do anything"
	line "too dangerous!"
	done
; 0x5552e

UnknownText_0x5552e: ; 0x5552e
	text "Lalala lalalala."
	line "Have plenty of"
	cont "water, my lovely!"
	done
; 0x55561

UnknownText_0x55561: ; 0x55561
	text "When I told my sis"
	line "about the jiggly"

	para "tree, she told me"
	line "it's dangerous."

	para "If I beat WHITNEY,"
	line "I wonder if she'll"

	para "lend me her water"
	line "bottle…"
	done
; 0x555e6

UnknownText_0x555e6: ; 0x555e6
	text "Wow, you beat"
	line "WHITNEY? Cool!"
	done
; 0x55604

UnknownText_0x55604: ; 0x55604
	text "So it really was a"
	line "#MON!"
	done
; 0x5561e

GoldenrodFlowerShop_MapEventHeader: ; 0x5561e
	; filler
	db 0, 0

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

	; xy triggers
	db 0

	; signposts
	db 0

	; people-events
	db 2
	person_event SPRITE_TEACHER, 8, 6, $9, $0, 255, 255, $0, 0, TeacherScript_0x5535d, $ffff
	person_event SPRITE_LASS, 10, 9, $2, $11, 255, 255, $90, 0, LassScript_0x553a2, $0768
; 0x55648