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
|
MtEmber_Exterior_MapScripts:: @ 8163946
map_script 3, MtEmber_Exterior_MapScript1_163951
map_script 1, MtEmber_Exterior_MapScript2_163969
.byte 0
MtEmber_Exterior_MapScript1_163951:: @ 8163951
setworldmapflag FLAG_WORLD_MAP_MT_EMBER_EXTERIOR
compare_var_to_value VAR_0x407F, 2
call_if 1, EventScript_163960
end
EventScript_163960:: @ 8163960
setobjectmovementtype 2, 8
setobjectmovementtype 3, 8
return
MtEmber_Exterior_MapScript2_163969:: @ 8163969
compare_var_to_value VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4
call_if 4, EventScript_163975
end
EventScript_163975:: @ 8163975
setmetatile 42, 39, 838, 0
return
MtEmber_Exterior_EventScript_16397F:: @ 816397F
lock
checktrainerflag FLAG_0x219
goto_if_eq EventScript_16399E
compare_var_to_value VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4
goto_if_eq EventScript_1639A8
msgbox gUnknown_817A82A
release
end
EventScript_16399E:: @ 816399E
msgbox gUnknown_817AA3F
release
end
EventScript_1639A8:: @ 81639A8
applymovement 2, Movement_1A75E1
waitmovement 0
playbgm BGM_FRLG_SUSPICIOUS_EYE, 0
msgbox gUnknown_817AA06
trainerbattle 3, 537, 0, Text_17AA34
msgbox gUnknown_817AA3F
checktrainerflag FLAG_0x21A
goto_if_eq EventScript_1639DB
release
end
EventScript_1639DB:: @ 81639DB
msgbox gUnknown_817AAD7
closemessage
fadescreen 1
removeobject 2
removeobject 3
fadescreen 0
release
end
MtEmber_Exterior_EventScript_1639F0:: @ 81639F0
lock
faceplayer
checktrainerflag FLAG_0x21A
goto_if_eq EventScript_163A1B
compare_var_to_value VAR_MAP_SCENE_ONE_ISLAND_POKEMON_CENTER_1F, 4
goto_if_eq EventScript_163A25
msgbox gUnknown_817A88C
closemessage
applymovement 3, Movement_1A75E5
waitmovement 0
release
end
EventScript_163A1B:: @ 8163A1B
msgbox gUnknown_817AA99
release
end
EventScript_163A25:: @ 8163A25
playbgm BGM_FRLG_SUSPICIOUS_EYE, 0
msgbox gUnknown_817AA56
trainerbattle 3, 538, 0, Text_17AA8A
msgbox gUnknown_817AA99
checktrainerflag FLAG_0x219
goto_if_eq EventScript_1639DB
release
end
MtEmber_Exterior_EventScript_163A4E:: @ 8163A4E
lockall
textcolor 0
msgbox gUnknown_817A8B4
message Text_17A8EE
waitmessage
playse SE_PIN
applymovement 3, Movement_1A75D9
waitmovement 0
waitbuttonpress
msgbox gUnknown_817A970
applymovement 2, Movement_1A75ED
waitmovement 0
playse SE_PIN
applymovement 2, Movement_1A75DB
waitmovement 0
applymovement 2, Movement_1A75DD
waitmovement 0
applymovement 3, Movement_1A75ED
waitmovement 0
call EventScript_163960
msgbox gUnknown_817A9E1
setvar VAR_0x407F, 2
releaseall
end
MtEmber_Exterior_EventScript_163AB4:: @ 8163AB4
trainerbattle 0, 595, 0, Text_17AB73, Text_17ABAA
msgbox gUnknown_817ABD8, 6
end
MtEmber_Exterior_EventScript_163ACB:: @ 8163ACB
trainerbattle 0, 597, 0, Text_17AC55, Text_17AC82
msgbox gUnknown_817ACA2, 6
end
MtEmber_Exterior_EventScript_163AE2:: @ 8163AE2
trainerbattle 0, 592, 0, Text_17AD06, Text_17AD6B
msgbox gUnknown_817AD89, 6
end
|