2020-07-24 13:49:26 +00:00
|
|
|
object_const_def
|
2022-08-11 01:24:56 +00:00
|
|
|
const VICTORYROAD_RIVAL
|
2015-11-27 05:22:14 +00:00
|
|
|
const VICTORYROAD_POKE_BALL1
|
|
|
|
const VICTORYROAD_POKE_BALL2
|
|
|
|
const VICTORYROAD_POKE_BALL3
|
|
|
|
const VICTORYROAD_POKE_BALL4
|
|
|
|
const VICTORYROAD_POKE_BALL5
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
VictoryRoad_MapScripts:
|
2020-07-24 13:49:26 +00:00
|
|
|
def_scene_scripts
|
2022-08-09 22:04:18 +00:00
|
|
|
scene_script VictoryRoadNoop1Scene, SCENE_VICTORYROAD_RIVAL_BATTLE
|
|
|
|
scene_script VictoryRoadNoop2Scene, SCENE_VICTORYROAD_NOOP
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_callbacks
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2022-08-09 22:04:18 +00:00
|
|
|
VictoryRoadNoop1Scene:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2022-08-09 22:04:18 +00:00
|
|
|
VictoryRoadNoop2Scene:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2018-02-26 01:39:54 +00:00
|
|
|
VictoryRoadRivalLeft:
|
2022-08-11 01:24:56 +00:00
|
|
|
moveobject VICTORYROAD_RIVAL, 18, 11
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject PLAYER, DOWN
|
2015-07-22 06:49:18 +00:00
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2018-01-24 16:17:05 +00:00
|
|
|
special FadeOutMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2022-08-11 01:24:56 +00:00
|
|
|
appear VICTORYROAD_RIVAL
|
|
|
|
applymovement VICTORYROAD_RIVAL, VictoryRoadRivalBattleApproachMovement1
|
2018-02-02 15:57:06 +00:00
|
|
|
scall VictoryRoadRivalNext
|
2022-08-11 01:24:56 +00:00
|
|
|
applymovement VICTORYROAD_RIVAL, VictoryRoadRivalBattleExitMovement1
|
|
|
|
disappear VICTORYROAD_RIVAL
|
2022-07-29 21:43:10 +00:00
|
|
|
setscene SCENE_VICTORYROAD_NOOP
|
2013-02-17 06:54:07 +00:00
|
|
|
playmapmusic
|
|
|
|
end
|
|
|
|
|
2018-02-26 01:39:54 +00:00
|
|
|
VictoryRoadRivalRight:
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject PLAYER, DOWN
|
2015-07-22 06:49:18 +00:00
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2018-01-24 16:17:05 +00:00
|
|
|
special FadeOutMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2022-08-11 01:24:56 +00:00
|
|
|
appear VICTORYROAD_RIVAL
|
|
|
|
applymovement VICTORYROAD_RIVAL, VictoryRoadRivalBattleApproachMovement2
|
2018-02-02 15:57:06 +00:00
|
|
|
scall VictoryRoadRivalNext
|
2022-08-11 01:24:56 +00:00
|
|
|
applymovement VICTORYROAD_RIVAL, VictoryRoadRivalBattleExitMovement2
|
|
|
|
disappear VICTORYROAD_RIVAL
|
2022-07-29 21:43:10 +00:00
|
|
|
setscene SCENE_VICTORYROAD_NOOP
|
2013-02-17 06:54:07 +00:00
|
|
|
playmapmusic
|
|
|
|
end
|
|
|
|
|
2018-02-02 15:57:06 +00:00
|
|
|
VictoryRoadRivalNext:
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject PLAYER, DOWN
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-02-02 15:57:06 +00:00
|
|
|
writetext VictoryRoadRivalBeforeText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-07-18 19:46:38 +00:00
|
|
|
setevent EVENT_RIVAL_VICTORY_ROAD
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_TOTODILE_FROM_ELM
|
2018-02-02 15:57:06 +00:00
|
|
|
iftrue .GotTotodile
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_CHIKORITA_FROM_ELM
|
2018-02-02 15:57:06 +00:00
|
|
|
iftrue .GotChikorita
|
|
|
|
winlosstext VictoryRoadRivalDefeatText, VictoryRoadRivalVictoryText
|
2022-08-11 01:24:56 +00:00
|
|
|
setlasttalked VICTORYROAD_RIVAL
|
2017-12-09 05:50:59 +00:00
|
|
|
loadtrainer RIVAL1, RIVAL1_5_TOTODILE
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .AfterBattle
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-02 15:57:06 +00:00
|
|
|
.GotTotodile:
|
|
|
|
winlosstext VictoryRoadRivalDefeatText, VictoryRoadRivalVictoryText
|
2022-08-11 01:24:56 +00:00
|
|
|
setlasttalked VICTORYROAD_RIVAL
|
2017-12-09 05:50:59 +00:00
|
|
|
loadtrainer RIVAL1, RIVAL1_5_CHIKORITA
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .AfterBattle
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-02 15:57:06 +00:00
|
|
|
.GotChikorita:
|
|
|
|
winlosstext VictoryRoadRivalDefeatText, VictoryRoadRivalVictoryText
|
2022-08-11 01:24:56 +00:00
|
|
|
setlasttalked VICTORYROAD_RIVAL
|
2017-12-09 05:50:59 +00:00
|
|
|
loadtrainer RIVAL1, RIVAL1_5_CYNDAQUIL
|
2013-02-17 06:54:07 +00:00
|
|
|
startbattle
|
2015-12-26 23:11:55 +00:00
|
|
|
dontrestartmapmusic
|
|
|
|
reloadmapafterbattle
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .AfterBattle
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-02 15:57:06 +00:00
|
|
|
.AfterBattle:
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_RIVAL_AFTER
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2018-02-02 15:57:06 +00:00
|
|
|
writetext VictoryRoadRivalAfterText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
VictoryRoadTMEarthquake:
|
|
|
|
itemball TM_EARTHQUAKE
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
VictoryRoadMaxRevive:
|
|
|
|
itemball MAX_REVIVE
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
VictoryRoadFullRestore:
|
|
|
|
itemball FULL_RESTORE
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
VictoryRoadFullHeal:
|
|
|
|
itemball FULL_HEAL
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
VictoryRoadHPUp:
|
|
|
|
itemball HP_UP
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
VictoryRoadHiddenMaxPotion:
|
2018-01-23 17:59:21 +00:00
|
|
|
hiddenitem MAX_POTION, EVENT_VICTORY_ROAD_HIDDEN_MAX_POTION
|
2016-04-10 18:42:14 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
VictoryRoadHiddenFullHeal:
|
2018-01-23 17:59:21 +00:00
|
|
|
hiddenitem FULL_HEAL, EVENT_VICTORY_ROAD_HIDDEN_FULL_HEAL
|
2016-04-10 18:42:14 +00:00
|
|
|
|
2020-06-22 21:25:42 +00:00
|
|
|
VictoryRoadRivalBattleApproachMovement1:
|
2016-05-14 17:46:14 +00:00
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step UP
|
|
|
|
step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2020-06-22 21:25:42 +00:00
|
|
|
VictoryRoadRivalBattleApproachMovement2:
|
2016-05-14 17:46:14 +00:00
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step LEFT
|
|
|
|
step UP
|
|
|
|
step UP
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2020-06-22 21:25:42 +00:00
|
|
|
VictoryRoadRivalBattleExitMovement1:
|
2016-05-14 17:46:14 +00:00
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2020-06-22 21:25:42 +00:00
|
|
|
VictoryRoadRivalBattleExitMovement2:
|
2016-05-14 17:46:14 +00:00
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2018-02-02 15:57:06 +00:00
|
|
|
VictoryRoadRivalBeforeText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hold it."
|
|
|
|
|
|
|
|
para "…Are you going to"
|
|
|
|
line "take the #MON"
|
|
|
|
cont "LEAGUE challenge?"
|
|
|
|
|
|
|
|
para "…Don't make me"
|
|
|
|
line "laugh."
|
|
|
|
|
|
|
|
para "You're so much"
|
|
|
|
line "weaker than I am."
|
|
|
|
|
|
|
|
para "I'm not like I was"
|
|
|
|
line "before."
|
|
|
|
|
|
|
|
para "I now have the"
|
|
|
|
line "best and strongest"
|
|
|
|
|
|
|
|
para "#MON with me."
|
|
|
|
line "I'm invincible!"
|
|
|
|
|
2015-06-28 04:59:17 +00:00
|
|
|
para "<PLAYER>!"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "I challenge you!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-02 15:57:06 +00:00
|
|
|
VictoryRoadRivalDefeatText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…I couldn't win…"
|
|
|
|
|
|
|
|
para "I gave it every-"
|
|
|
|
line "thing I had…"
|
|
|
|
|
|
|
|
para "What you possess,"
|
|
|
|
line "and what I lack…"
|
|
|
|
|
|
|
|
para "I'm beginning to"
|
|
|
|
line "understand what"
|
|
|
|
|
|
|
|
para "that dragon master"
|
|
|
|
line "said to me…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-02 15:57:06 +00:00
|
|
|
VictoryRoadRivalAfterText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…I haven't given up"
|
|
|
|
line "on becoming the"
|
|
|
|
cont "greatest trainer…"
|
|
|
|
|
|
|
|
para "I'm going to find"
|
|
|
|
line "out why I can't"
|
|
|
|
|
|
|
|
para "win and become"
|
|
|
|
line "stronger…"
|
|
|
|
|
|
|
|
para "When I do, I will"
|
|
|
|
line "challenge you."
|
|
|
|
|
|
|
|
para "And I'll beat you"
|
|
|
|
line "down with all my"
|
|
|
|
cont "power."
|
|
|
|
|
|
|
|
para "…Humph! You keep"
|
|
|
|
line "at it until then."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-02 15:57:06 +00:00
|
|
|
VictoryRoadRivalVictoryText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…Humph!"
|
|
|
|
|
|
|
|
para "When it comes down"
|
|
|
|
line "to it, nothing can"
|
|
|
|
cont "beat power."
|
|
|
|
|
|
|
|
para "I don't need any-"
|
|
|
|
line "thing else."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
VictoryRoad_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_warp_events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 9, 67, VICTORY_ROAD_GATE, 5
|
|
|
|
warp_event 1, 49, VICTORY_ROAD, 3
|
|
|
|
warp_event 1, 35, VICTORY_ROAD, 2
|
2018-02-02 02:54:00 +00:00
|
|
|
warp_event 13, 31, VICTORY_ROAD, 5
|
|
|
|
warp_event 13, 17, VICTORY_ROAD, 4
|
|
|
|
warp_event 17, 33, VICTORY_ROAD, 7
|
|
|
|
warp_event 17, 19, VICTORY_ROAD, 6
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 0, 11, VICTORY_ROAD, 9
|
|
|
|
warp_event 0, 27, VICTORY_ROAD, 8
|
|
|
|
warp_event 13, 5, ROUTE_23, 3
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_coord_events
|
2022-07-29 21:43:10 +00:00
|
|
|
coord_event 12, 8, SCENE_VICTORYROAD_RIVAL_BATTLE, VictoryRoadRivalLeft
|
|
|
|
coord_event 13, 8, SCENE_VICTORYROAD_RIVAL_BATTLE, VictoryRoadRivalRight
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_bg_events
|
2018-02-02 03:22:07 +00:00
|
|
|
bg_event 3, 29, BGEVENT_ITEM, VictoryRoadHiddenMaxPotion
|
|
|
|
bg_event 3, 65, BGEVENT_ITEM, VictoryRoadHiddenFullHeal
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2020-07-24 13:49:26 +00:00
|
|
|
def_object_events
|
2022-08-11 01:24:56 +00:00
|
|
|
object_event 18, 13, SPRITE_RIVAL, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_VICTORY_ROAD
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 3, 28, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VictoryRoadTMEarthquake, EVENT_VICTORY_ROAD_TM_EARTHQUAKE
|
2018-01-31 03:12:53 +00:00
|
|
|
object_event 12, 48, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VictoryRoadMaxRevive, EVENT_VICTORY_ROAD_MAX_REVIVE
|
|
|
|
object_event 18, 29, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VictoryRoadFullRestore, EVENT_VICTORY_ROAD_FULL_RESTORE
|
|
|
|
object_event 15, 48, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VictoryRoadFullHeal, EVENT_VICTORY_ROAD_FULL_HEAL
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 7, 38, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VictoryRoadHPUp, EVENT_VICTORY_ROAD_HP_UP
|