pokeemerald/data/maps/Route108/scripts.inc
2018-06-20 19:54:21 -05:00

54 lines
1.5 KiB
PHP

Route108_MapScripts:: @ 81EE689
.byte 0
Route108_EventScript_1EE68A:: @ 81EE68A
trainerbattle 0, TRAINER_JEROME, 0, Route108_Text_296D10, Route108_Text_296D3C
msgbox Route108_Text_296D6E, 6
end
Route108_EventScript_1EE6A1:: @ 81EE6A1
trainerbattle 0, TRAINER_MATTHEW, 0, Route108_Text_296DAF, Route108_Text_296DEA
msgbox Route108_Text_296E03, 6
end
Route108_EventScript_1EE6B8:: @ 81EE6B8
trainerbattle 0, TRAINER_TARA, 0, Route108_Text_296E33, Route108_Text_296E71
msgbox Route108_Text_296E7A, 6
end
Route108_EventScript_1EE6CF:: @ 81EE6CF
trainerbattle 0, TRAINER_MISSY, 0, Route108_Text_296EC7, Route108_Text_296EFC
msgbox Route108_Text_296F2A, 6
end
Route108_EventScript_1EE6E6:: @ 81EE6E6
trainerbattle 0, TRAINER_CAROLINA, 0, Route108_Text_297094, Route108_Text_2970D7
msgbox Route108_Text_2970F0, 6
end
Route108_EventScript_1EE6FD:: @ 81EE6FD
trainerbattle 2, TRAINER_CORY_1, 0, Route108_Text_296F5D, Route108_Text_296F93, Route108_EventScript_1EE729
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_eq Route108_EventScript_1EE748
msgbox Route108_Text_296FB0, 4
release
end
Route108_EventScript_1EE729:: @ 81EE729
special sub_80B4808
waitmovement 0
msgbox Route108_Text_296FD8, 4
setvar VAR_0x8004, 740
special SetMatchCallRegisteredFlag
setorcopyvar VAR_0x8000, 740
callstd 8
release
end
Route108_EventScript_1EE748:: @ 81EE748
trainerbattle 5, TRAINER_CORY_1, 0, Route108_Text_297011, Route108_Text_297036
msgbox Route108_Text_297059, 6
end