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
|
BattleTower_Outside_MapScripts:: @ 8160156
map_script MAP_SCRIPT_ON_TRANSITION, BattleTower_Outside_MapScript1_16015C
.byte 0
BattleTower_Outside_MapScript1_16015C:: @ 816015C
setflag FLAG_LANDMARK_BATTLE_TOWER
setvar VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0
setflag FLAG_HIDE_REPORTER_BATTLE_TOWER
end
BattleTower_Outside_EventScript_160168:: @ 8160168
lock
faceplayer
msgbox BattleTower_Outside_Text_199D06, MSGBOX_DEFAULT
checkitem ITEM_SS_TICKET, 1
compare VAR_RESULT, 0
goto_if_eq BattleTower_Outside_EventScript_1601C6
message BattleTower_Outside_Text_199D9D
waitmessage
goto BattleTower_Outside_EventScript_16018E
end
BattleTower_Outside_EventScript_16018E:: @ 816018E
multichoicedefault 21, 6, 53, 2, 0
switch VAR_RESULT
case 0, BattleTower_Outside_EventScript_1601D0
case 1, BattleTower_Outside_EventScript_1601FB
case 2, BattleTower_Outside_EventScript_160250
case 127, BattleTower_Outside_EventScript_160250
end
BattleTower_Outside_EventScript_1601C6:: @ 81601C6
msgbox BattleTower_Outside_Text_199D40, MSGBOX_DEFAULT
release
end
BattleTower_Outside_EventScript_1601D0:: @ 81601D0
msgbox BattleTower_Outside_Text_199DF2, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleTower_Outside_EventScript_160226
msgbox BattleTower_Outside_Text_199E4B, MSGBOX_DEFAULT
call BattleTower_Outside_EventScript_160232
warp MAP_SLATEPORT_CITY_HARBOR, 255, 8, 11
waitstate
release
end
BattleTower_Outside_EventScript_1601FB:: @ 81601FB
msgbox BattleTower_Outside_Text_199E0E, MSGBOX_YESNO
compare VAR_RESULT, NO
goto_if_eq BattleTower_Outside_EventScript_160226
msgbox BattleTower_Outside_Text_199E4B, MSGBOX_DEFAULT
call BattleTower_Outside_EventScript_160232
warp MAP_LILYCOVE_CITY_HARBOR, 255, 8, 11
waitstate
release
end
BattleTower_Outside_EventScript_160226:: @ 8160226
message BattleTower_Outside_Text_199E7A
waitmessage
goto BattleTower_Outside_EventScript_16018E
end
BattleTower_Outside_EventScript_160232:: @ 8160232
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestDown
waitmovement 0
delay 30
hideobjectat 5, MAP_BATTLE_TOWER_OUTSIDE
setvar VAR_0x8004, 4
call Common_EventScript_FerryDepartIsland
return
BattleTower_Outside_EventScript_160250:: @ 8160250
msgbox BattleTower_Outside_Text_199E29, MSGBOX_DEFAULT
release
end
BattleTower_Outside_EventScript_16025A:: @ 816025A
msgbox BattleTower_Outside_Text_199C6F, MSGBOX_SIGN
end
BattleTower_Outside_EventScript_160263:: @ 8160263
msgbox BattleTower_Outside_Text_199CA4, MSGBOX_NPC
end
BattleTower_Outside_EventScript_16026C:: @ 816026C
msgbox BattleTower_Outside_Text_199E9C, MSGBOX_NPC
end
BattleTower_Outside_EventScript_160275:: @ 8160275
msgbox BattleTower_Outside_Text_199ED4, MSGBOX_NPC
end
|