pokeemerald/data/maps/BattleFrontier_BattlePalaceCorridor/scripts.inc

158 lines
4.8 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
BattleFrontier_BattlePalaceCorridor_MapScripts:: @ 824F4A3
2019-02-22 08:28:32 +01:00
map_script MAP_SCRIPT_ON_FRAME_TABLE, BattleFrontier_BattlePalaceCorridor_MapScript2_24F4A9
2017-11-10 02:21:31 +01:00
.byte 0
BattleFrontier_BattlePalaceCorridor_MapScript2_24F4A9: @ 824F4A9
2018-05-19 18:02:43 +02:00
map_script_2 VAR_TEMP_0, 0, BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3
2017-11-10 02:21:31 +01:00
.2byte 0
BattleFrontier_BattlePalaceCorridor_EventScript_24F4B3:: @ 824F4B3
delay 16
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5B8
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5B8
2017-11-10 02:21:31 +01:00
waitmovement 0
lockall
palace_getcomment
compare VAR_RESULT, 0
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F58B
compare VAR_RESULT, 1
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F594
compare VAR_RESULT, 2
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F59D
compare VAR_RESULT, 3
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6
compare VAR_RESULT, 4
2018-12-22 03:32:45 +01:00
call_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF
2017-11-10 02:21:31 +01:00
closemessage
2019-11-24 22:58:40 +01:00
frontier_get FRONTIER_DATA_LVL_MODE
compare VAR_RESULT, FRONTIER_LVL_OPEN
2018-12-22 02:28:24 +01:00
goto_if_eq BattleFrontier_BattlePalaceCorridor_EventScript_24F553
2017-11-10 02:21:31 +01:00
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5BD
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5C4
2017-11-10 02:21:31 +01:00
waitmovement 0
opendoor 6, 3
waitdooranim
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5DA
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D9
2017-11-10 02:21:31 +01:00
waitmovement 0
closedoor 6, 3
waitdooranim
goto BattleFrontier_BattlePalaceCorridor_EventScript_24F581
BattleFrontier_BattlePalaceCorridor_EventScript_24F553:: @ 824F553
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5CB
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D2
2017-11-10 02:21:31 +01:00
waitmovement 0
opendoor 10, 3
waitdooranim
applymovement 1, BattleFrontier_BattlePalaceCorridor_Movement_24F5DA
applymovement EVENT_OBJ_ID_PLAYER, BattleFrontier_BattlePalaceCorridor_Movement_24F5D9
2017-11-10 02:21:31 +01:00
waitmovement 0
closedoor 10, 3
waitdooranim
BattleFrontier_BattlePalaceCorridor_EventScript_24F581:: @ 824F581
warp MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM, 255, 7, 4
2017-11-10 02:21:31 +01:00
waitstate
end
BattleFrontier_BattlePalaceCorridor_EventScript_24F58B:: @ 824F58B
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F5DD, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattlePalaceCorridor_EventScript_24F594:: @ 824F594
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F65B, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattlePalaceCorridor_EventScript_24F59D:: @ 824F59D
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F718, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattlePalaceCorridor_EventScript_24F5A6:: @ 824F5A6
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F78C, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattlePalaceCorridor_EventScript_24F5AF:: @ 824F5AF
msgbox BattleFrontier_BattlePalaceCorridor_Text_24F7D4, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
return
BattleFrontier_BattlePalaceCorridor_Movement_24F5B8: @ 824F5B8
walk_up
walk_up
walk_up
walk_up
2017-11-10 02:21:31 +01:00
step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5BD: @ 824F5BD
walk_up
walk_up
walk_left
walk_left
walk_up
walk_up
2017-11-10 02:21:31 +01:00
step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5C4: @ 824F5C4
walk_up
walk_up
walk_up
walk_left
walk_left
walk_up
2017-11-10 02:21:31 +01:00
step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5CB: @ 824F5CB
walk_up
walk_right
walk_right
walk_up
walk_up
walk_up
2017-11-10 02:21:31 +01:00
step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5D2: @ 824F5D2
walk_up
walk_up
walk_right
walk_right
walk_up
walk_up
2017-11-10 02:21:31 +01:00
step_end
BattleFrontier_BattlePalaceCorridor_Movement_24F5D9: @ 824F5D9
walk_up
2017-11-10 02:21:31 +01:00
BattleFrontier_BattlePalaceCorridor_Movement_24F5DA: @ 824F5DA
walk_up
set_invisible
2017-11-10 02:21:31 +01:00
step_end
BattleFrontier_BattlePalaceCorridor_Text_24F5DD: @ 824F5DD
.string "People and POKéMON, they are but\n"
.string "the same…\p"
.string "Their individual nature makes them\n"
.string "good at certain things, and not good\l"
.string "at others.$"
BattleFrontier_BattlePalaceCorridor_Text_24F65B: @ 824F65B
.string "Rather than trying to make a POKéMON\n"
.string "do what it dislikes, try to let it do\l"
.string "what it likes and is good at doing.\p"
2018-12-07 16:41:08 +01:00
.string "Put yourself in the POKéMON's position\n"
2017-11-10 02:21:31 +01:00
.string "and consider what moves it would like.$"
BattleFrontier_BattlePalaceCorridor_Text_24F718: @ 824F718
2018-12-07 16:41:08 +01:00
.string "A POKéMON's nature is a remarkable\n"
2017-11-10 02:21:31 +01:00
.string "thing…\p"
.string "Some POKéMON behave in a completely\n"
.string "different way when they are cornered.$"
BattleFrontier_BattlePalaceCorridor_Text_24F78C: @ 824F78C
.string "Are you beginning to understand how\n"
2018-12-07 16:41:08 +01:00
.string "a POKéMON's nature makes it behave?$"
2017-11-10 02:21:31 +01:00
BattleFrontier_BattlePalaceCorridor_Text_24F7D4: @ 824F7D4
.string "Ah… I see a strong, heartfelt bond\n"
.string "between you and your POKéMON…$"