2020-06-21 07:56:57 +02:00
|
|
|
.set LOCALID_WALLACE, 1
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EverGrandeCity_HallOfFame_MapScripts::
|
2019-11-07 19:26:53 +01:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, EverGrandeCity_HallOfFame_OnFrame
|
|
|
|
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_HallOfFame_OnWarp
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EverGrandeCity_HallOfFame_OnWarp:
|
2019-11-07 19:26:53 +01:00
|
|
|
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_HallOfFame_EventScript_TurnPlayerNorth
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EverGrandeCity_HallOfFame_EventScript_TurnPlayerNorth::
|
2019-11-21 05:12:51 +01:00
|
|
|
turnobject OBJ_EVENT_ID_PLAYER, DIR_NORTH
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EverGrandeCity_HallOfFame_OnFrame:
|
2019-11-07 19:26:53 +01:00
|
|
|
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_HallOfFame_EventScript_EnterHallOfFame
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EverGrandeCity_HallOfFame_EventScript_EnterHallOfFame::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WALLACE, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame1
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame1
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2021-11-04 19:22:28 +01:00
|
|
|
applymovement LOCALID_WALLACE, Common_Movement_WalkInPlaceFasterRight
|
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterLeft
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-07 19:26:53 +01:00
|
|
|
msgbox EverGrandeCity_HallOfFame_Text_HereWeHonorLeagueChampions, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2020-06-21 07:56:57 +02:00
|
|
|
applymovement LOCALID_WALLACE, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame2
|
2019-11-21 05:12:51 +01:00
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame2
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 20
|
2021-11-04 19:22:28 +01:00
|
|
|
applymovement LOCALID_WALLACE, Common_Movement_WalkInPlaceFasterRight
|
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterLeft
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-07 19:26:53 +01:00
|
|
|
msgbox EverGrandeCity_HallOfFame_Text_LetsRecordYouAndYourPartnersNames, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2021-11-04 19:22:28 +01:00
|
|
|
applymovement LOCALID_WALLACE, Common_Movement_WalkInPlaceFasterUp
|
|
|
|
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterUp
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
delay 20
|
2019-04-05 05:26:53 +02:00
|
|
|
dofieldeffect FLDEFF_HALL_OF_FAME_RECORD
|
|
|
|
waitfieldeffect FLDEFF_HALL_OF_FAME_RECORD
|
2017-11-10 02:21:31 +01:00
|
|
|
delay 40
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 1
|
2019-11-07 19:26:53 +01:00
|
|
|
call EverGrandeCity_HallOfFame_EventScript_SetGameClearFlags
|
2017-11-10 02:21:31 +01:00
|
|
|
checkplayergender
|
2021-11-19 05:06:30 +01:00
|
|
|
goto_if_eq VAR_RESULT, MALE, EverGrandeCity_HallOfFame_EventScript_GameClearMale
|
|
|
|
goto_if_eq VAR_RESULT, FEMALE, EverGrandeCity_HallOfFame_EventScript_GameClearFemale
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EverGrandeCity_HallOfFame_EventScript_GameClearMale::
|
2018-08-10 16:45:15 +02:00
|
|
|
setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F
|
2019-12-15 17:42:50 +01:00
|
|
|
fadescreenspeed FADE_TO_BLACK, 24
|
2017-12-28 09:09:11 +01:00
|
|
|
special GameClear
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EverGrandeCity_HallOfFame_EventScript_GameClearFemale::
|
2018-08-10 16:45:15 +02:00
|
|
|
setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE_2F
|
2019-12-15 17:42:50 +01:00
|
|
|
fadescreenspeed FADE_TO_BLACK, 24
|
2017-12-28 09:09:11 +01:00
|
|
|
special GameClear
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame1:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame2:
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EverGrandeCity_HallOfFame_Text_HereWeHonorLeagueChampions:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "WALLACE: This room…\p"
|
|
|
|
.string "This is where we keep records of\n"
|
|
|
|
.string "POKéMON that prevailed through\l"
|
|
|
|
.string "harsh battles.\p"
|
|
|
|
.string "It is here that the LEAGUE CHAMPIONS\n"
|
|
|
|
.string "are honored.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
EverGrandeCity_HallOfFame_Text_LetsRecordYouAndYourPartnersNames:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "WALLACE: Come on, let's record your\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "name as a TRAINER who triumphed over\l"
|
|
|
|
.string "the POKéMON LEAGUE, and the names of\l"
|
|
|
|
.string "the partners who battled with you.$"
|
|
|
|
|