summaryrefslogtreecommitdiff
path: root/maps/GoldenrodHappinessRater.asm
blob: 018ff14f8daebb0f1b89c854d3ae4a36676d41f6 (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
GoldenrodHappinessRater_MapScriptHeader: ; 0x54951
	; trigger count
	db 0

	; callback count
	db 0
; 0x54953

TeacherScript_0x54953: ; 0x54953
	faceplayer
	loadfont
	special $0059
	2writetext UnknownText_0x549a3
	keeptextopen
	if_greater_than $f9, UnknownScript_0x54973
	if_greater_than $c7, UnknownScript_0x54979
	if_greater_than $95, UnknownScript_0x5497f
	if_greater_than $63, UnknownScript_0x54985
	if_greater_than $31, UnknownScript_0x5498b
	2jump UnknownScript_0x54991
; 0x54973

UnknownScript_0x54973: ; 0x54973
	2writetext UnknownText_0x549fc
	closetext
	loadmovesprites
	end
; 0x54979

UnknownScript_0x54979: ; 0x54979
	2writetext UnknownText_0x54a2c
	closetext
	loadmovesprites
	end
; 0x5497f

UnknownScript_0x5497f: ; 0x5497f
	2writetext UnknownText_0x54a5a
	closetext
	loadmovesprites
	end
; 0x54985

UnknownScript_0x54985: ; 0x54985
	2writetext UnknownText_0x54a8e
	closetext
	loadmovesprites
	end
; 0x5498b

UnknownScript_0x5498b: ; 0x5498b
	2writetext UnknownText_0x54a9f
	closetext
	loadmovesprites
	end
; 0x54991

UnknownScript_0x54991: ; 0x54991
	2writetext UnknownText_0x54ad1
	closetext
	loadmovesprites
	end
; 0x54997

PokefanMScript_0x54997: ; 0x54997
	jumptextfaceplayer UnknownText_0x54b04
; 0x5499a

TwinScript_0x5499a: ; 0x5499a
	jumptextfaceplayer UnknownText_0x54b67
; 0x5499d

MapGoldenrodHappinessRaterSignpost1Script: ; 0x5499d
	jumpstd $0001
; 0x549a0

MapGoldenrodHappinessRaterSignpost2Script: ; 0x549a0
	jumpstd $000c
; 0x549a3

UnknownText_0x549a3: ; 0x549a3
	text "If you treat your"
	line "#MON nicely,"

	para "they will love you"
	line "in return."

	para "Oh? Let me see"
	line "your @"
	text_from_ram $d099
	text "…"
	done
; 0x549fc

UnknownText_0x549fc: ; 0x549fc
	text "It looks really"
	line "happy! It must"
	cont "love you a lot."
	done
; 0x54a2c

UnknownText_0x54a2c: ; 0x54a2c
	text "I get the feeling"
	line "that it really"
	cont "trusts you."
	done
; 0x54a5a

UnknownText_0x54a5a: ; 0x54a5a
	text "It's friendly to-"
	line "ward you. It looks"
	cont "sort of happy."
	done
; 0x54a8e

UnknownText_0x54a8e: ; 0x54a8e
	text "It's quite cute."
	done
; 0x54a9f

UnknownText_0x54a9f: ; 0x54a9f
	text "You should treat"
	line "it better. It's"
	cont "not used to you."
	done
; 0x54ad1

UnknownText_0x54ad1: ; 0x54ad1
	text "It doesn't seem to"
	line "like you at all."
	cont "It looks mean."
	done
; 0x54b04

UnknownText_0x54b04: ; 0x54b04
	text "I keep losing in"
	line "battles, and my"

	para "#MON end up"
	line "fainting…"

	para "Maybe that's why"
	line "my #MON don't"
	cont "like me much…"
	done
; 0x54b67

UnknownText_0x54b67: ; 0x54b67
	text "When I use an item"
	line "on my #MON, it"
	cont "acts really glad!"
	done
; 0x54b9c

GoldenrodHappinessRater_MapEventHeader: ; 0x54b9c
	; filler
	db 0, 0

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

	; xy triggers
	db 0

	; signposts
	db 3
	signpost 1, 0, $0, MapGoldenrodHappinessRaterSignpost1Script
	signpost 1, 1, $0, MapGoldenrodHappinessRaterSignpost1Script
	signpost 1, 7, $0, MapGoldenrodHappinessRaterSignpost2Script

	; people-events
	db 3
	person_event SPRITE_TEACHER, 8, 6, $6, $0, 255, 255, $90, 0, TeacherScript_0x54953, $ffff
	person_event SPRITE_POKEFAN_M, 7, 9, $8, $0, 255, 255, $0, 0, PokefanMScript_0x54997, $ffff
	person_event SPRITE_TWIN, 10, 9, $5, $1, 255, 255, $a0, 0, TwinScript_0x5499a, $ffff
; 0x54be2