2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_WALLY_ENTRANCE, 4
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_MapScripts::
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, VictoryRoad_1F_OnTransition
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_OnTransition:
|
2019-02-22 10:18:43 +01:00
|
|
|
compare VAR_VICTORY_ROAD_1F_STATE, 1
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq VictoryRoad_1F_EventScript_SetEntranceWallyPos1
|
2019-02-22 10:18:43 +01:00
|
|
|
compare VAR_VICTORY_ROAD_1F_STATE, 2
|
2019-11-07 02:38:53 +01:00
|
|
|
call_if_eq VictoryRoad_1F_EventScript_SetEntranceWallyPos2
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_SetEntranceWallyPos1::
|
2020-06-21 07:56:57 +02:00
|
|
|
setobjectxyperm LOCALID_WALLY_ENTRANCE, 2, 24
|
|
|
|
setobjectmovementtype LOCALID_WALLY_ENTRANCE, MOVEMENT_TYPE_FACE_DOWN
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_SetEntranceWallyPos2::
|
2020-06-21 07:56:57 +02:00
|
|
|
setobjectxyperm LOCALID_WALLY_ENTRANCE, 3, 24
|
|
|
|
setobjectmovementtype LOCALID_WALLY_ENTRANCE, MOVEMENT_TYPE_FACE_DOWN
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_WallyBattleTrigger1::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
|
|
|
setvar VAR_0x8008, 1
|
2020-06-21 07:56:57 +02:00
|
|
|
addobject LOCALID_WALLY_ENTRANCE
|
|
|
|
applymovement LOCALID_WALLY_ENTRANCE, VictoryRoad_1F_Movement_WallyApproachPlayer1
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-07 02:38:53 +01:00
|
|
|
goto VictoryRoad_1F_EventScript_WallyEntranceBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_WallyBattleTrigger2::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
|
|
|
setvar VAR_0x8008, 2
|
2020-06-21 07:56:57 +02:00
|
|
|
addobject LOCALID_WALLY_ENTRANCE
|
|
|
|
applymovement LOCALID_WALLY_ENTRANCE, VictoryRoad_1F_Movement_WallyApproachPlayer2
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-07 02:38:53 +01:00
|
|
|
goto VictoryRoad_1F_EventScript_WallyEntranceBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_WallyEntranceBattle::
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-07 02:38:53 +01:00
|
|
|
msgbox VictoryRoad_1F_Text_WallyNotGoingToLoseAnymore, MSGBOX_DEFAULT
|
2019-12-26 04:39:06 +01:00
|
|
|
trainerbattle_no_intro TRAINER_WALLY_VR_1, VictoryRoad_1F_Text_WallyEntranceDefeat
|
2019-11-07 02:38:53 +01:00
|
|
|
msgbox VictoryRoad_1F_Text_WallyPostEntranceBattle, MSGBOX_DEFAULT
|
2018-10-19 03:32:21 +02:00
|
|
|
clearflag FLAG_HIDE_VICTORY_ROAD_ENTRANCE_WALLY
|
2020-06-21 07:56:57 +02:00
|
|
|
copyobjectxytoperm LOCALID_WALLY_ENTRANCE
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_DEFEATED_WALLY_VICTORY_ROAD
|
2019-02-22 10:18:43 +01:00
|
|
|
copyvar VAR_VICTORY_ROAD_1F_STATE, VAR_0x8008
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Movement_WallyApproachPlayer1:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Movement_WallyApproachPlayer2:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
@ This Wally appears near the entrance once his battle is triggered and remains there until the Hall of Fame is entered
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_EntranceWally::
|
2019-11-07 02:38:53 +01:00
|
|
|
msgbox VictoryRoad_1F_Text_WallyPostEntranceBattle, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-07 02:38:53 +01:00
|
|
|
@ This Wally appears and remains at the exit after the Hall of Fame is entered
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_ExitWally::
|
2019-12-26 04:39:06 +01:00
|
|
|
trainerbattle_single TRAINER_WALLY_VR_2, VictoryRoad_1F_Text_WallyIntro, VictoryRoad_1F_Text_WallyDefeat
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2019-11-07 02:38:53 +01:00
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq VictoryRoad_1F_EventScript_RematchWally
|
|
|
|
msgbox VictoryRoad_1F_Text_WallyPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_RematchWally::
|
2019-12-26 04:39:06 +01:00
|
|
|
trainerbattle_rematch TRAINER_WALLY_VR_2, VictoryRoad_1F_Text_WallyIntro, VictoryRoad_1F_Text_WallyDefeat
|
2019-11-07 02:38:53 +01:00
|
|
|
msgbox VictoryRoad_1F_Text_WallyPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_Edgar::
|
2019-11-07 02:38:53 +01:00
|
|
|
trainerbattle_single TRAINER_EDGAR, VictoryRoad_1F_Text_EdgarIntro, VictoryRoad_1F_Text_EdgarDefeat
|
|
|
|
msgbox VictoryRoad_1F_Text_EdgarPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_Albert::
|
2019-11-07 02:38:53 +01:00
|
|
|
trainerbattle_single TRAINER_ALBERT, VictoryRoad_1F_Text_AlbertIntro, VictoryRoad_1F_Text_AlbertDefeat
|
|
|
|
msgbox VictoryRoad_1F_Text_AlbertPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_Hope::
|
2019-11-07 02:38:53 +01:00
|
|
|
trainerbattle_single TRAINER_HOPE, VictoryRoad_1F_Text_HopeIntro, VictoryRoad_1F_Text_HopeDefeat
|
|
|
|
msgbox VictoryRoad_1F_Text_HopePostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_Quincy::
|
2019-11-07 02:38:53 +01:00
|
|
|
trainerbattle_single TRAINER_QUINCY, VictoryRoad_1F_Text_QuincyIntro, VictoryRoad_1F_Text_QuincyDefeat
|
|
|
|
msgbox VictoryRoad_1F_Text_QuincyPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_EventScript_Katelynn::
|
2019-11-07 02:38:53 +01:00
|
|
|
trainerbattle_single TRAINER_KATELYNN, VictoryRoad_1F_Text_KatelynnIntro, VictoryRoad_1F_Text_KatelynnDefeat
|
|
|
|
msgbox VictoryRoad_1F_Text_KatelynnPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_WallyNotGoingToLoseAnymore:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "WALLY: Hi! {PLAYER}!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I bet you're surprised to see me here!\p"
|
|
|
|
.string "I made it all the way here, and it's\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "all thanks to you!\p"
|
|
|
|
.string "{PLAYER}, losing to you that time\n"
|
|
|
|
.string "made me stronger!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "But I'm not going to lose anymore!\p"
|
|
|
|
.string "I'm going to win! For the POKéMON who\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "gave me courage and strength!\p"
|
|
|
|
.string "Okay… Here I come!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_WallyEntranceDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Wow!\n"
|
|
|
|
.string "{PLAYER}, you are strong, after all!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_WallyPostEntranceBattle:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "WALLY: I couldn't beat you today,\n"
|
|
|
|
.string "{PLAYER}, but one of these days, I'll\l"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "catch up to you!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_WallyIntro:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "WALLY: Hi! {PLAYER}!\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I've gotten stronger since that last\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "time! I wanted to show you, {PLAYER}!\p"
|
|
|
|
.string "Okay… Here I come!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_WallyDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Wow!\n"
|
|
|
|
.string "{PLAYER}, you are strong, after all!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_WallyPostBattle:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "WALLY: I couldn't beat you this time,\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "too… But one of these days, {PLAYER},\l"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'm going to catch up to you…\p"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "And challenge the POKéMON LEAGUE!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_EdgarIntro:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I've made it this far a couple times,\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "but the last stretch is so long…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_EdgarDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "My dream ends here again…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_EdgarPostBattle:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "You've made it this far. Keep the\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "momentum going and become the\l"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "CHAMPION! If anyone can, it's you!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_AlbertIntro:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I didn't come all this way to lose now.\n"
|
|
|
|
.string "That possibility doesn't exist!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_AlbertDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Impossible…\n"
|
|
|
|
.string "I lost?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_AlbertPostBattle:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "I lost here…\p"
|
|
|
|
.string "That means I lack the qualifications\n"
|
|
|
|
.string "to become the CHAMPION…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_HopeIntro:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "This seemingly infinite and harsh road\n"
|
|
|
|
.string "lives up to its name of VICTORY.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_HopeDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Your battle style is fantastic…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_HopePostBattle:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "You seem to have the potential for\n"
|
|
|
|
.string "becoming the CHAMPION.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_QuincyIntro:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "What is the VICTORY ROAD?\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'll tell you if you win!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_QuincyDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Okay!\n"
|
|
|
|
.string "Well done!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_QuincyPostBattle:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Getting through here safely--that's\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "the final test for any TRAINER aiming\l"
|
|
|
|
.string "to become the POKéMON CHAMPION.\p"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "That's why it's called the VICTORY\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "ROAD.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_KatelynnIntro:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "I have nothing to say to anyone\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "that's come this far. Come on!$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_KatelynnDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "This is a disgrace…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
VictoryRoad_1F_Text_KatelynnPostBattle:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Humph, go right on ahead.\n"
|
|
|
|
.string "See if I care.$"
|