pokefirered/data/maps/PokemonLeague_HallOfFame/scripts.inc

55 lines
1.2 KiB
PHP

PokemonLeague_HallOfFame_MapScripts:: @ 8162D4C
map_script MAP_SCRIPT_ON_FRAME_TABLE, PokemonLeague_HallOfFame_OnFrame
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, PokemonLeague_HallOfFame_OnWarp
.byte 0
PokemonLeague_HallOfFame_OnWarp:: @ 8162D57
map_script_2 VAR_0x4001, 0, EventScript_162D61
.2byte 0
EventScript_162D61:: @ 8162D61
turnobject OBJ_EVENT_ID_PLAYER, 2
end
PokemonLeague_HallOfFame_OnFrame:: @ 8162D66
map_script_2 VAR_0x4001, 0, EventScript_162D70
.2byte 0
EventScript_162D70:: @ 8162D70
lockall
textcolor 0
applymovement OBJ_EVENT_ID_PLAYER, Movement_162DCD
waitmovement 0
applymovement 1, Movement_1A75E7
applymovement OBJ_EVENT_ID_PLAYER, Movement_1A75EB
waitmovement 0
delay 18
msgbox gUnknown_817922F
closemessage
applymovement 1, Movement_1A75E9
applymovement OBJ_EVENT_ID_PLAYER, Movement_1A75E9
waitmovement 0
delay 20
dofieldeffect 62
waitfieldeffect 62
delay 40
setvar VAR_0x4001, 1
call EventScript_1A651A
setrespawn SPAWN_PALLET_TOWN
fadescreenspeed 1, 24
special Special_HallOfFame
waitstate
releaseall
end
Movement_162DCD:: @ 8162DCD
step_11
step_11
step_11
step_11
step_11
step_11
step_11
step_11
step_end