pokeemerald/data/maps/EverGrandeCity_HallOfFame/scripts.inc

100 lines
2.9 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
EverGrandeCity_HallOfFame_MapScripts:: @ 822982C
2019-02-22 08:28:32 +01:00
map_script MAP_SCRIPT_ON_FRAME_TABLE, EverGrandeCity_HallOfFame_MapScript2_229846
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, EverGrandeCity_HallOfFame_MapScript2_229837
2017-11-10 02:21:31 +01:00
.byte 0
EverGrandeCity_HallOfFame_MapScript2_229837: @ 8229837
2018-05-19 18:02:43 +02:00
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_HallOfFame_EventScript_229841
2017-11-10 02:21:31 +01:00
.2byte 0
EverGrandeCity_HallOfFame_EventScript_229841:: @ 8229841
turnobject EVENT_OBJ_ID_PLAYER, 2
2017-11-10 02:21:31 +01:00
end
EverGrandeCity_HallOfFame_MapScript2_229846: @ 8229846
2018-05-19 18:02:43 +02:00
map_script_2 VAR_TEMP_1, 0, EverGrandeCity_HallOfFame_EventScript_229850
2017-11-10 02:21:31 +01:00
.2byte 0
EverGrandeCity_HallOfFame_EventScript_229850:: @ 8229850
lockall
applymovement 1, EverGrandeCity_HallOfFame_Movement_229901
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_HallOfFame_Movement_229901
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement 1, Common_Movement_WalkInPlaceRight
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceLeft
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox EverGrandeCity_HallOfFame_Text_22990E, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement 1, EverGrandeCity_HallOfFame_Movement_229908
applymovement EVENT_OBJ_ID_PLAYER, EverGrandeCity_HallOfFame_Movement_229908
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 20
applymovement 1, Common_Movement_WalkInPlaceRight
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceLeft
2017-11-10 02:21:31 +01:00
waitmovement 0
msgbox EverGrandeCity_HallOfFame_Text_2299A3, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement 1, Common_Movement_WalkInPlaceUp
applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceUp
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 20
dofieldeffect 62
waitfieldeffect 62
delay 40
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_1, 1
2017-11-10 02:21:31 +01:00
call EverGrandeCity_HallOfFame_EventScript_2717C1
checkplayergender
compare VAR_RESULT, MALE
2018-12-22 02:28:24 +01:00
goto_if_eq EverGrandeCity_HallOfFame_EventScript_2298E9
compare VAR_RESULT, FEMALE
2018-12-22 02:28:24 +01:00
goto_if_eq EverGrandeCity_HallOfFame_EventScript_2298F5
2017-11-10 02:21:31 +01:00
end
EverGrandeCity_HallOfFame_EventScript_2298E9:: @ 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
EverGrandeCity_HallOfFame_EventScript_2298F5:: @ 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
EverGrandeCity_HallOfFame_Movement_229901: @ 8229901
walk_up
walk_up
walk_up
walk_up
walk_up
walk_up
2017-11-10 02:21:31 +01:00
step_end
EverGrandeCity_HallOfFame_Movement_229908: @ 8229908
walk_up
walk_up
walk_up
walk_up
walk_up
2017-11-10 02:21:31 +01:00
step_end
EverGrandeCity_HallOfFame_Text_22990E: @ 822990E
.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.$"
EverGrandeCity_HallOfFame_Text_2299A3: @ 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.$"