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
|
Route108_MapScripts::
.byte 0
Route108_EventScript_Jerome::
trainerbattle_single TRAINER_JEROME, Route108_Text_JeromeIntro, Route108_Text_JeromeDefeated
msgbox Route108_Text_JeromePostBattle, MSGBOX_AUTOCLOSE
end
Route108_EventScript_Matthew::
trainerbattle_single TRAINER_MATTHEW, Route108_Text_MatthewIntro, Route108_Text_MatthewDefeated
msgbox Route108_Text_MatthewPostBattle, MSGBOX_AUTOCLOSE
end
Route108_EventScript_Tara::
trainerbattle_single TRAINER_TARA, Route108_Text_TaraIntro, Route108_Text_TaraDefeated
msgbox Route108_Text_TaraPostBattle, MSGBOX_AUTOCLOSE
end
Route108_EventScript_Missy::
trainerbattle_single TRAINER_MISSY, Route108_Text_MissyIntro, Route108_Text_MissyDefeated
msgbox Route108_Text_MissyPostBattle, MSGBOX_AUTOCLOSE
end
Route108_EventScript_Carolina::
trainerbattle_single TRAINER_CAROLINA, Route108_Text_CarolinaIntro, Route108_Text_CarolinaDefeated
msgbox Route108_Text_CarolinaPostBattle, MSGBOX_AUTOCLOSE
end
Route108_EventScript_Cory::
trainerbattle_single TRAINER_CORY_1, Route108_Text_CoryIntro, Route108_Text_CoryDefeated, Route108_EventScript_CoryRegisterMatchCallAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, Route108_EventScript_CoryRematch
msgbox Route108_Text_CoryPostBattle, MSGBOX_DEFAULT
release
end
Route108_EventScript_CoryRegisterMatchCallAfterBattle::
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route108_Text_CoryRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_CORY_1
release
end
Route108_EventScript_CoryRematch::
trainerbattle_rematch TRAINER_CORY_1, Route108_Text_CoryRematchIntro, Route108_Text_CoryRematchDefeated
msgbox Route108_Text_CoryRematchPostBattle, MSGBOX_AUTOCLOSE
end
|