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
|
Route123_MapScripts:: @ 8151C53
map_script MAP_SCRIPT_ON_TRANSITION, Route123_MapScript1_151C59
.byte 0
Route123_MapScript1_151C59:: @ 8151C59
special SetRoute123Weather
end
Route123_EventScript_151C5D:: @ 8151C5D
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM19, Route123_EventScript_151CAC
msgbox Route123_Text_171D83, MSGBOX_DEFAULT
special IsGrassTypeInParty
compare VAR_RESULT, 0
goto_if_eq Route123_EventScript_151CAA
msgbox Route123_Text_171DC2, MSGBOX_DEFAULT
giveitem ITEM_TM19_GIGA_DRAIN
compare VAR_RESULT, 0
goto_if_eq Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM19
msgbox Route123_Text_171E34, MSGBOX_DEFAULT
release
end
Route123_EventScript_151CAA:: @ 8151CAA
release
end
Route123_EventScript_151CAC:: @ 8151CAC
msgbox Route123_Text_171E34, MSGBOX_DEFAULT
release
end
Route123_EventScript_151CB6:: @ 8151CB6
msgbox Route123_Text_171E76, MSGBOX_SIGN
end
Route123_EventScript_151CBF:: @ 8151CBF
msgbox Route123_Text_171E8E, MSGBOX_SIGN
end
Route123_EventScript_151CC8:: @ 8151CC8
msgbox Route123_Text_171EBC, MSGBOX_SIGN
end
Route123_EventScript_151CD1:: @ 8151CD1
trainerbattle_single TRAINER_WENDY, Route123_Text_1BFF6A, Route123_Text_1BFFA2
msgbox Route123_Text_1BFFC1, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151CE8:: @ 8151CE8
trainerbattle_single TRAINER_CLYDE, Route123_Text_1BFFF0, Route123_Text_1C0057
msgbox Route123_Text_1C0075, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151CFF:: @ 8151CFF
trainerbattle_single TRAINER_VIOLET, Route123_Text_1C009E, Route123_Text_1C00D4
msgbox Route123_Text_1C0100, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151D16:: @ 8151D16
trainerbattle_single TRAINER_CAMERON_1, Route123_Text_1C013F, Route123_Text_1C01A3
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route123_EventScript_151D3D
msgbox Route123_Text_1C01B1, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151D3D:: @ 8151D3D
trainerbattle_rematch TRAINER_CAMERON_1, Route123_Text_1C01F9, Route123_Text_1C0240
msgbox Route123_Text_1C024E, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151D54:: @ 8151D54
trainerbattle_single TRAINER_JACKI_1, Route123_Text_1C028C, Route123_Text_1C0303
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route123_EventScript_151D7B
msgbox Route123_Text_1C030F, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151D7B:: @ 8151D7B
trainerbattle_rematch TRAINER_JACKI_1, Route123_Text_1C0351, Route123_Text_1C0380
msgbox Route123_Text_1C038C, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151D92:: @ 8151D92
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_1C03CB, Route123_Text_1C040E, Route123_Text_1C0462
msgbox Route123_Text_1C0423, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151DAD:: @ 8151DAD
trainerbattle_double TRAINER_MIU_AND_YUKI, Route123_Text_1C049C, Route123_Text_1C04CD, Route123_Text_1C0519
msgbox Route123_Text_1C04E3, MSGBOX_AUTOCLOSE
end
Route123_EventScript_151DC8:: @ 8151DC8
trainerbattle_single TRAINER_KINDRA, Route123_Text_1C0554, Route123_Text_1C059F
msgbox Route123_Text_1C05BC, MSGBOX_AUTOCLOSE
end
|