pokeemerald/data/maps/EverGrandeCity_HallOfFame/scripts.inc

100 lines
3.2 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
EverGrandeCity_HallOfFame_MapScripts:: @ 822982C
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
2019-11-07 19:26:53 +01:00
EverGrandeCity_HallOfFame_OnWarp: @ 8229837
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_HallOfFame_EventScript_TurnPlayerNorth
2017-11-10 02:21:31 +01:00
.2byte 0
2019-11-07 19:26:53 +01:00
EverGrandeCity_HallOfFame_EventScript_TurnPlayerNorth:: @ 8229841
2019-09-16 05:47:07 +02:00
turnobject EVENT_OBJ_ID_PLAYER, DIR_NORTH
2017-11-10 02:21:31 +01:00
end
2019-11-07 19:26:53 +01:00
EverGrandeCity_HallOfFame_OnFrame: @ 8229846
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_HallOfFame_EventScript_EnterHallOfFame
2017-11-10 02:21:31 +01:00
.2byte 0
2019-11-07 19:26:53 +01:00
EverGrandeCity_HallOfFame_EventScript_EnterHallOfFame:: @ 8229850
2017-11-10 02:21:31 +01:00
lockall
2019-11-07 19:26:53 +01:00
applymovement 1, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame1
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame1
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-10-06 19:55:30 +02:00
applymovement 1, Common_Movement_WalkInPlaceFastestRight
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
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
2019-11-07 19:26:53 +01:00
applymovement 1, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame2
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame2
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 20
2019-10-06 19:55:30 +02:00
applymovement 1, Common_Movement_WalkInPlaceFastestRight
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestLeft
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
2019-10-06 19:55:30 +02:00
applymovement 1, Common_Movement_WalkInPlaceFastestUp
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 20
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
compare VAR_RESULT, MALE
2019-11-07 19:26:53 +01:00
goto_if_eq EverGrandeCity_HallOfFame_EventScript_GameClearMale
compare VAR_RESULT, FEMALE
2019-11-07 19:26:53 +01:00
goto_if_eq EverGrandeCity_HallOfFame_EventScript_GameClearFemale
2017-11-10 02:21:31 +01:00
end
2019-11-07 19:26:53 +01:00
EverGrandeCity_HallOfFame_EventScript_GameClearMale:: @ 82298E9
setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F
2017-11-10 02:21:31 +01:00
fadescreenspeed 1, 24
special GameClear
2017-11-10 02:21:31 +01:00
waitstate
releaseall
end
2019-11-07 19:26:53 +01:00
EverGrandeCity_HallOfFame_EventScript_GameClearFemale:: @ 82298F5
setrespawn HEAL_LOCATION_LITTLEROOT_TOWN_MAYS_HOUSE_2F
2017-11-10 02:21:31 +01:00
fadescreenspeed 1, 24
special GameClear
2017-11-10 02:21:31 +01:00
waitstate
releaseall
end
2019-11-07 19:26:53 +01:00
EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame1: @ 8229901
walk_up
walk_up
walk_up
walk_up
walk_up
walk_up
2017-11-10 02:21:31 +01:00
step_end
2019-11-07 19:26:53 +01:00
EverGrandeCity_HallOfFame_Movement_WalkIntoHallOfFame2: @ 8229908
walk_up
walk_up
walk_up
walk_up
walk_up
2017-11-10 02:21:31 +01:00
step_end
2019-11-07 19:26:53 +01:00
EverGrandeCity_HallOfFame_Text_HereWeHonorLeagueChampions: @ 822990E
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.$"
2019-11-07 19:26:53 +01:00
EverGrandeCity_HallOfFame_Text_LetsRecordYouAndYourPartnersNames: @ 82299A3
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.$"