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
|
MauvilleCity_BikeShop_MapScripts:: @ 8156795
.byte 0
MauvilleCity_BikeShop_EventScript_156796:: @ 8156796
lock
faceplayer
checkflag FLAG_RECEIVED_BIKE
goto_if_eq MauvilleCity_BikeShop_EventScript_15686E
checkflag FLAG_DECLINED_BIKE
goto_if_eq MauvilleCity_BikeShop_EventScript_1567D1
msgbox MauvilleCity_BikeShop_Text_180F9F, 4
msgbox MauvilleCity_BikeShop_Text_181016, 5
compare RESULT, 1
goto_if_eq MauvilleCity_BikeShop_EventScript_156824
compare RESULT, 0
goto_if_eq MauvilleCity_BikeShop_EventScript_156817
end
MauvilleCity_BikeShop_EventScript_1567D1:: @ 81567D1
msgbox MauvilleCity_BikeShop_Text_181016, 5
compare RESULT, 1
goto_if_eq MauvilleCity_BikeShop_EventScript_156824
compare RESULT, 0
goto_if_eq MauvilleCity_BikeShop_EventScript_156817
end
MauvilleCity_BikeShop_EventScript_1567F0:: @ 81567F0
message MauvilleCity_BikeShop_Text_1810B1
waitmessage
multichoice 21, 8, 12, 1
switch RESULT
case 0, MauvilleCity_BikeShop_EventScript_15682D
case 1, MauvilleCity_BikeShop_EventScript_156847
end
MauvilleCity_BikeShop_EventScript_156817:: @ 8156817
setflag FLAG_DECLINED_BIKE
msgbox MauvilleCity_BikeShop_Text_181067, 4
release
end
MauvilleCity_BikeShop_EventScript_156824:: @ 8156824
setflag FLAG_RECEIVED_BIKE
goto MauvilleCity_BikeShop_EventScript_1567F0
end
MauvilleCity_BikeShop_EventScript_15682D:: @ 815682D
msgbox MauvilleCity_BikeShop_Text_181332, 4
giveitem_std ITEM_MACH_BIKE
goto MauvilleCity_BikeShop_EventScript_156861
end
MauvilleCity_BikeShop_EventScript_156847:: @ 8156847
msgbox MauvilleCity_BikeShop_Text_18134A, 4
giveitem_std ITEM_ACRO_BIKE
goto MauvilleCity_BikeShop_EventScript_156861
end
MauvilleCity_BikeShop_EventScript_156861:: @ 8156861
msgbox MauvilleCity_BikeShop_Text_181362, 4
special SwapRegisteredBike
release
end
MauvilleCity_BikeShop_EventScript_15686E:: @ 815686E
msgbox MauvilleCity_BikeShop_Text_1813A0, 5
compare RESULT, 1
goto_if_eq MauvilleCity_BikeShop_EventScript_15688D
compare RESULT, 0
goto_if_eq MauvilleCity_BikeShop_EventScript_1568BF
end
MauvilleCity_BikeShop_EventScript_15688D:: @ 815688D
msgbox MauvilleCity_BikeShop_Text_1813D4, 4
checkitem ITEM_ACRO_BIKE, 1
compare RESULT, 1
goto_if_eq MauvilleCity_BikeShop_EventScript_1568C9
checkitem ITEM_MACH_BIKE, 1
compare RESULT, 1
goto_if_eq MauvilleCity_BikeShop_EventScript_1568EA
msgbox MauvilleCity_BikeShop_Text_181498, 4
release
end
MauvilleCity_BikeShop_EventScript_1568BF:: @ 81568BF
msgbox MauvilleCity_BikeShop_Text_181469, 4
release
end
MauvilleCity_BikeShop_EventScript_1568C9:: @ 81568C9
incrementgamestat GAME_STAT_TRADED_BIKES
msgbox MauvilleCity_BikeShop_Text_181439, 4
takeitem ITEM_ACRO_BIKE, 1
giveitem_std ITEM_MACH_BIKE
goto MauvilleCity_BikeShop_EventScript_156861
end
MauvilleCity_BikeShop_EventScript_1568EA:: @ 81568EA
incrementgamestat GAME_STAT_TRADED_BIKES
msgbox MauvilleCity_BikeShop_Text_181408, 4
takeitem ITEM_MACH_BIKE, 1
giveitem_std ITEM_ACRO_BIKE
goto MauvilleCity_BikeShop_EventScript_156861
end
MauvilleCity_BikeShop_EventScript_15690B:: @ 815690B
msgbox MauvilleCity_BikeShop_Text_181568, 2
end
MauvilleCity_BikeShop_EventScript_156914:: @ 8156914
message MauvilleCity_BikeShop_Text_1815EA
waitmessage
goto MauvilleCity_BikeShop_EventScript_156920
end
MauvilleCity_BikeShop_EventScript_156920:: @ 8156920
multichoice 0, 0, 43, 0
switch RESULT
case 0, MauvilleCity_BikeShop_EventScript_156962
case 1, MauvilleCity_BikeShop_EventScript_15696E
case 2, MauvilleCity_BikeShop_EventScript_15697A
case 3, MauvilleCity_BikeShop_EventScript_156986
case 127, MauvilleCity_BikeShop_EventScript_156986
end
MauvilleCity_BikeShop_EventScript_156962:: @ 8156962
message MauvilleCity_BikeShop_Text_18162C
waitmessage
goto MauvilleCity_BikeShop_EventScript_156920
end
MauvilleCity_BikeShop_EventScript_15696E:: @ 815696E
message MauvilleCity_BikeShop_Text_1816F5
waitmessage
goto MauvilleCity_BikeShop_EventScript_156920
end
MauvilleCity_BikeShop_EventScript_15697A:: @ 815697A
message MauvilleCity_BikeShop_Text_1817BF
waitmessage
goto MauvilleCity_BikeShop_EventScript_156920
end
MauvilleCity_BikeShop_EventScript_156986:: @ 8156986
release
end
MauvilleCity_BikeShop_EventScript_156988:: @ 8156988
message MauvilleCity_BikeShop_Text_181892
waitmessage
goto MauvilleCity_BikeShop_EventScript_156994
end
MauvilleCity_BikeShop_EventScript_156994:: @ 8156994
multichoice 0, 0, 44, 0
switch RESULT
case 0, MauvilleCity_BikeShop_EventScript_1569D6
case 1, MauvilleCity_BikeShop_EventScript_1569E2
case 2, MauvilleCity_BikeShop_EventScript_1569EE
case 3, MauvilleCity_BikeShop_EventScript_1569FA
case 127, MauvilleCity_BikeShop_EventScript_1569FA
end
MauvilleCity_BikeShop_EventScript_1569D6:: @ 81569D6
message MauvilleCity_BikeShop_Text_1818D4
waitmessage
goto MauvilleCity_BikeShop_EventScript_156994
end
MauvilleCity_BikeShop_EventScript_1569E2:: @ 81569E2
message MauvilleCity_BikeShop_Text_18199A
waitmessage
goto MauvilleCity_BikeShop_EventScript_156994
end
MauvilleCity_BikeShop_EventScript_1569EE:: @ 81569EE
message MauvilleCity_BikeShop_Text_181A3D
waitmessage
goto MauvilleCity_BikeShop_EventScript_156994
end
MauvilleCity_BikeShop_EventScript_1569FA:: @ 81569FA
release
end
|