pokeemerald/data/maps/Route110_TrickHousePuzzle6/scripts.inc

88 lines
3.1 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, Route110_TrickHousePuzzle6_OnTransition
2019-11-06 23:57:45 +01:00
map_script MAP_SCRIPT_ON_WARP_INTO_MAP_TABLE, Route110_TrickHousePuzzle6_OnWarp
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_OnTransition:
special RotatingGate_InitPuzzle
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_OnWarp:
2019-11-06 23:57:45 +01:00
map_script_2 VAR_TEMP_0, VAR_TEMP_0, Route110_TrickHousePuzzle6_EventScript_InitPuzzle
2017-11-10 02:21:31 +01:00
.2byte 0
2023-08-04 20:17:28 +02:00
@ NOTE: This rotating gate puzzle makes use of VAR_TEMP_0 - VAR_TEMP_5
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_EventScript_InitPuzzle::
2018-02-14 00:58:22 +01:00
special RotatingGate_InitPuzzleAndGraphics
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_EventScript_Scroll::
2017-11-10 02:21:31 +01:00
lockall
goto_if_eq VAR_TRICK_HOUSE_PUZZLE_6_STATE, 0, Route110_TrickHousePuzzle6_EventScript_FoundScroll
2019-11-06 23:57:45 +01:00
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_EventScript_FoundScroll::
2019-02-22 10:18:43 +01:00
setvar VAR_TRICK_HOUSE_PUZZLE_6_STATE, 1
2019-11-06 23:57:45 +01:00
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_EventScript_Sophia::
2019-11-06 23:57:45 +01:00
trainerbattle_single TRAINER_SOPHIA, Route110_TrickHousePuzzle6_Text_SophiaIntro, Route110_TrickHousePuzzle6_Text_SophiaDefeat
msgbox Route110_TrickHousePuzzle6_Text_SophiaPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_EventScript_Benny::
2019-11-06 23:57:45 +01:00
trainerbattle_single TRAINER_BENNY, Route110_TrickHousePuzzle6_Text_BennyIntro, Route110_TrickHousePuzzle6_Text_BennyDefeat
msgbox Route110_TrickHousePuzzle6_Text_BennyPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_EventScript_Sebastian::
2019-11-06 23:57:45 +01:00
trainerbattle_single TRAINER_SEBASTIAN, Route110_TrickHousePuzzle6_Text_SebastianIntro, Route110_TrickHousePuzzle6_Text_SebastianDefeat
msgbox Route110_TrickHousePuzzle6_Text_SebastianPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_Text_WroteSecretCodeLockOpened:
.string "{PLAYER} wrote down the secret code\n"
.string "on the door.\p"
.string "“TRICK MASTER is my life.”\n"
.string "… … … … … … … …\p"
.string "The lock clicked open!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_Text_SophiaIntro:
2017-11-10 02:21:31 +01:00
.string "When I heard there was a strange\n"
.string "house, I had to check it out.$"
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_Text_SophiaDefeat:
2018-12-07 16:41:08 +01:00
.string "I've discovered a tough TRAINER!$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_Text_SophiaPostBattle:
2018-12-07 16:41:08 +01:00
.string "I'm sure having a good time checking\n"
2017-11-10 02:21:31 +01:00
.string "this place out.\p"
2018-12-07 16:41:08 +01:00
.string "It's a challenge I've found worth\n"
2017-11-10 02:21:31 +01:00
.string "repeating!$"
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_Text_BennyIntro:
2017-11-10 02:21:31 +01:00
.string "Maybe I could get my BIRD POKéMON\n"
.string "to fly over the wall…$"
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_Text_BennyDefeat:
2017-11-10 02:21:31 +01:00
.string "Gwaaah! I blew it!$"
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_Text_BennyPostBattle:
2017-11-10 02:21:31 +01:00
.string "Ehehehe… I guess I lost because\n"
.string "I was trying to cheat.$"
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_Text_SebastianIntro:
2018-12-07 16:41:08 +01:00
.string "I'm getting dizzy from these rotating\n"
2017-11-10 02:21:31 +01:00
.string "doors…$"
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_Text_SebastianDefeat:
2018-12-07 16:41:08 +01:00
.string "Everything's spinning around and\n"
.string "around. I can't take this anymore…$"
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
Route110_TrickHousePuzzle6_Text_SebastianPostBattle:
2018-12-07 16:41:08 +01:00
.string "You don't seem to be affected at all.\n"
2017-11-10 02:21:31 +01:00
.string "Or do you have your poker face on?$"