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
|
Route124_MapScripts:: @ 81F656C
map_script MAP_SCRIPT_ON_TRANSITION, Route124_OnTransition
.byte 0
Route124_OnTransition: @ 81F6572
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetAbnormalWeather
end
Route124_EventScript_HuntersHouseSign:: @ 81F657C
msgbox Route124_Text_HuntersHouse, MSGBOX_SIGN
end
Route124_EventScript_Spencer:: @ 81F6585
trainerbattle_single TRAINER_SPENCER, Route124_Text_SpencerIntro, Route124_Text_SpencerDefeat
msgbox Route124_Text_SpencerPostBattle, MSGBOX_AUTOCLOSE
end
Route124_EventScript_Roland:: @ 81F659C
trainerbattle_single TRAINER_ROLAND, Route124_Text_RolandIntro, Route124_Text_RolandDefeat
msgbox Route124_Text_RolandPostBattle, MSGBOX_AUTOCLOSE
end
Route124_EventScript_Jenny:: @ 81F65B3
trainerbattle_single TRAINER_JENNY_1, Route124_Text_JennyIntro, Route124_Text_JennyDefeat, Route124_EventScript_RegisterJenny
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq Route124_EventScript_RematchJenny
msgbox Route124_Text_JennyPostBattle, MSGBOX_DEFAULT
release
end
Route124_EventScript_RegisterJenny:: @ 81F65DF
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route124_Text_JennyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_JENNY_1
release
end
Route124_EventScript_RematchJenny:: @ 81F65FE
trainerbattle_rematch TRAINER_JENNY_1, Route124_Text_JennyRematchIntro, Route124_Text_JennyRematchDefeat
msgbox Route124_Text_JennyPostRematch, MSGBOX_AUTOCLOSE
end
Route124_EventScript_Grace:: @ 81F6615
trainerbattle_single TRAINER_GRACE, Route124_Text_GraceIntro, Route124_Text_GraceDefeat
msgbox Route124_Text_GracePostBattle, MSGBOX_AUTOCLOSE
end
Route124_EventScript_Chad:: @ 81F662C
trainerbattle_single TRAINER_CHAD, Route124_Text_ChadIntro, Route124_Text_ChadDefeat
msgbox Route124_Text_ChadPostBattle, MSGBOX_AUTOCLOSE
end
Route124_EventScript_Lila:: @ 81F6643
trainerbattle_double TRAINER_LILA_AND_ROY_1, Route124_Text_LilaIntro, Route124_Text_LilaDefeat, Route124_Text_LilaNotEnoughMons, Route124_EventScript_RegisterLila
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq Route124_EventScript_RematchLila
msgbox Route124_Text_LilaPostBattle, MSGBOX_DEFAULT
release
end
Route124_EventScript_RegisterLila:: @ 81F6673
msgbox Route124_Text_LilaRoyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_LILA_AND_ROY_1
release
end
Route124_EventScript_RematchLila:: @ 81F668C
trainerbattle_rematch_double TRAINER_LILA_AND_ROY_1, Route124_Text_LilaRematchIntro, Route124_Text_LilaRematchDefeat, Route124_Text_LilaRematchNotEnoughMons
msgbox Route124_Text_LilaPostRematch, MSGBOX_AUTOCLOSE
end
Route124_EventScript_Roy:: @ 81F66A7
trainerbattle_double TRAINER_LILA_AND_ROY_1, Route124_Text_RoyIntro, Route124_Text_RoyDefeat, Route124_Text_RoyNotEnoughMons, Route124_EventScript_RegisterRoy
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, TRUE
goto_if_eq Route124_EventScript_RematchRoy
msgbox Route124_Text_RoyPostBattle, MSGBOX_DEFAULT
release
end
Route124_EventScript_RegisterRoy:: @ 81F66D7
msgbox Route124_Text_LilaRoyRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_LILA_AND_ROY_1
release
end
Route124_EventScript_RematchRoy:: @ 81F66F0
trainerbattle_rematch_double TRAINER_LILA_AND_ROY_1, Route124_Text_RoyRematchIntro, Route124_Text_RoyRematchDefeat, Route124_Text_RoyRematchNotEnoughMons
msgbox Route124_Text_RoyPostRematch, MSGBOX_AUTOCLOSE
end
Route124_EventScript_Declan:: @ 81F670B
trainerbattle_single TRAINER_DECLAN, Route124_Text_DeclanIntro, Route124_Text_DeclanDefeat
msgbox Route124_Text_DeclanPostBattle, MSGBOX_AUTOCLOSE
end
Route124_EventScript_Isabella:: @ 81F6722
trainerbattle_single TRAINER_ISABELLA, Route124_Text_IsabellaIntro, Route124_Text_IsabellaDefeat
msgbox Route124_Text_IsabellaPostBattle, MSGBOX_AUTOCLOSE
end
Route124_Text_HuntersHouse: @ 81F6739
.string "HUNTER'S HOUSE$"
|