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
|
LittlerootTown_MaysHouse_2F_MapScripts:: @ 8152A50
map_script 3, LittlerootTown_MaysHouse_2F_MapScript1_152A5B
map_script 4, LittlerootTown_MaysHouse_2F_MapScript2_152A86
.byte 0
LittlerootTown_MaysHouse_2F_MapScript1_152A5B:: @ 8152A5B
checkflag 130
callif 0, LittlerootTown_MaysHouse_2F_EventScript_152A7A
compare 0x4092, 4
callif 1, LittlerootTown_MaysHouse_2F_EventScript_1B6950
call LittlerootTown_MaysHouse_2F_EventScript_1A2F3D
setvar 0x4089, 0
end
LittlerootTown_MaysHouse_2F_EventScript_152A7A:: @ 8152A7A
movespriteperm 1, 7, 2
spritebehave 1, 7
return
LittlerootTown_MaysHouse_2F_MapScript2_152A86:: @ 8152A86
map_script_2 0x4089, 0, LittlerootTown_MaysHouse_2F_EventScript_152A90
.2byte 0
LittlerootTown_MaysHouse_2F_EventScript_152A90:: @ 8152A90
checkgender
compare RESULT, 1
jumpeq LittlerootTown_MaysHouse_2F_EventScript_1A2F68
end
LittlerootTown_BrendansHouse_2F_EventScript_152A9D:: @ 8152A9D
LittlerootTown_MaysHouse_2F_EventScript_152A9D:: @ 8152A9D
lockall
checkflag 292
jumpeq LittlerootTown_BrendansHouse_2F_EventScript_152BB5
checkgender
compare RESULT, 0
callif 1, LittlerootTown_BrendansHouse_2F_EventScript_152AD4
compare RESULT, 1
callif 1, LittlerootTown_BrendansHouse_2F_EventScript_152B4A
playsfx 9
disappear LAST_TALKED
setvar 0x408d, 3
setvar 0x4050, 1
playmusicbattle 0
fadedefault
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_152AD4:: @ 8152AD4
msgbox LittlerootTown_BrendansHouse_2F_Text_17337E, 4
playmusic 415, 1
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_1A0839
waitmove 0
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_1A0833
waitmove 0
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_1A0835
waitmove 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1733AF, 4
closebutton
compare FACING, 4
callif 1, LittlerootTown_BrendansHouse_2F_EventScript_152B29
compare FACING, 2
callif 1, LittlerootTown_BrendansHouse_2F_EventScript_152B34
compare FACING, 3
callif 1, LittlerootTown_BrendansHouse_2F_EventScript_152B3F
return
LittlerootTown_BrendansHouse_2F_EventScript_152B29:: @ 8152B29
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_152C11
waitmove 0
return
LittlerootTown_BrendansHouse_2F_EventScript_152B34:: @ 8152B34
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_152C1C
waitmove 0
return
LittlerootTown_BrendansHouse_2F_EventScript_152B3F:: @ 8152B3F
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_152C1C
waitmove 0
return
LittlerootTown_BrendansHouse_2F_EventScript_152B4A:: @ 8152B4A
msgbox LittlerootTown_BrendansHouse_2F_Text_1735C9, 4
playmusic 421, 1
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_1A0839
waitmove 0
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_1A0833
waitmove 0
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_1A0835
waitmove 0
msgbox LittlerootTown_BrendansHouse_2F_Text_1735FC, 4
closebutton
compare FACING, 4
callif 1, LittlerootTown_BrendansHouse_2F_EventScript_152B9F
compare FACING, 2
callif 1, LittlerootTown_BrendansHouse_2F_EventScript_152B9F
compare FACING, 3
callif 1, LittlerootTown_BrendansHouse_2F_EventScript_152BAA
return
LittlerootTown_BrendansHouse_2F_EventScript_152B9F:: @ 8152B9F
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_152C30
waitmove 0
return
LittlerootTown_BrendansHouse_2F_EventScript_152BAA:: @ 8152BAA
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_152C25
waitmove 0
return
LittlerootTown_BrendansHouse_2F_EventScript_152BB5:: @ 8152BB5
move LAST_TALKED, LittlerootTown_BrendansHouse_2F_Movement_1A0839
waitmove 0
checkgender
compare RESULT, 0
callif 1, LittlerootTown_BrendansHouse_2F_EventScript_152BDB
compare RESULT, 1
callif 1, LittlerootTown_BrendansHouse_2F_EventScript_152BED
setflag 293
releaseall
end
LittlerootTown_BrendansHouse_2F_EventScript_152BDB:: @ 8152BDB
checkflag 293
jumpeq LittlerootTown_BrendansHouse_2F_EventScript_152BFF
msgbox LittlerootTown_BrendansHouse_2F_Text_1737AE, 4
return
LittlerootTown_BrendansHouse_2F_EventScript_152BED:: @ 8152BED
checkflag 293
jumpeq LittlerootTown_BrendansHouse_2F_EventScript_152C08
msgbox LittlerootTown_BrendansHouse_2F_Text_1738F2, 4
return
LittlerootTown_BrendansHouse_2F_EventScript_152BFF:: @ 8152BFF
msgbox LittlerootTown_BrendansHouse_2F_Text_173883, 4
return
LittlerootTown_BrendansHouse_2F_EventScript_152C08:: @ 8152C08
msgbox LittlerootTown_BrendansHouse_2F_Text_1739CC, 4
return
LittlerootTown_BrendansHouse_2F_Movement_152C11:: @ 8152C11
step_down
step_left
step_left
step_left
step_left
step_left
step_left
step_up
step_up
step_13
step_end
LittlerootTown_BrendansHouse_2F_Movement_152C1C:: @ 8152C1C
step_left
step_left
step_left
step_left
step_left
step_left
step_up
step_13
step_end
LittlerootTown_BrendansHouse_2F_Movement_152C25:: @ 8152C25
step_down
step_right
step_right
step_right
step_right
step_right
step_right
step_up
step_up
step_13
step_end
LittlerootTown_BrendansHouse_2F_Movement_152C30:: @ 8152C30
step_right
step_right
step_right
step_right
step_right
step_right
step_up
step_13
step_end
gUnknown_08152C39:: @ 8152C39
LittlerootTown_MaysHouse_2F_EventScript_152C39:: @ 8152C39
lockall
checkgender
compare RESULT, 0
jumpeq LittlerootTown_MaysHouse_2F_EventScript_152C52
compare RESULT, 1
jumpeq LittlerootTown_MaysHouse_2F_EventScript_152C5C
end
LittlerootTown_MaysHouse_2F_EventScript_152C52:: @ 8152C52
msgbox LittlerootTown_MaysHouse_2F_Text_1A100C, 4
releaseall
end
LittlerootTown_MaysHouse_2F_EventScript_152C5C:: @ 8152C5C
setvar 0x8004, 2
special 214
playsfx SE_PC_ON
msgbox LittlerootTown_MaysHouse_2F_Text_1A10D6, 4
special 249
waitstate
releaseall
end
gUnknown_08152C75:: @ 8152C75
setvar 0x8004, 2
playsfx SE_PC_OFF
special 215
releaseall
end
|