2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_MapScripts::
|
2019-11-06 23:57:45 +01:00
|
|
|
map_script MAP_SCRIPT_ON_LOAD, Route110_TrickHousePuzzle1_OnLoad
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_OnLoad:
|
2019-02-22 10:18:43 +01:00
|
|
|
compare VAR_TRICK_HOUSE_PUZZLE_1_STATE, 2
|
2019-11-06 23:57:45 +01:00
|
|
|
goto_if_eq Route110_TrickHousePuzzle1_EventScript_OpenDoor
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_EventScript_OpenDoor::
|
2019-06-13 00:47:51 +02:00
|
|
|
setmetatile 13, 1, METATILE_TrickHousePuzzle_Stairs_Down, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_EventScript_Scroll::
|
2017-11-10 02:21:31 +01:00
|
|
|
lockall
|
2019-02-22 10:18:43 +01:00
|
|
|
compare VAR_TRICK_HOUSE_PUZZLE_1_STATE, 0
|
2019-11-06 23:57:45 +01:00
|
|
|
goto_if_eq Route110_TrickHousePuzzle1_EventScript_FoundScroll
|
|
|
|
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_EventScript_FoundScroll::
|
2019-02-22 10:18:43 +01:00
|
|
|
setvar VAR_TRICK_HOUSE_PUZZLE_1_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_TrickHousePuzzle1_EventScript_Sally::
|
2019-11-06 23:57:45 +01:00
|
|
|
trainerbattle_single TRAINER_SALLY, Route110_TrickHousePuzzle1_Text_SallyIntro, Route110_TrickHousePuzzle1_Text_SallyDefeat
|
|
|
|
msgbox Route110_TrickHousePuzzle1_Text_SallyPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_EventScript_Eddie::
|
2019-11-06 23:57:45 +01:00
|
|
|
trainerbattle_single TRAINER_EDDIE, Route110_TrickHousePuzzle1_Text_EddieIntro, Route110_TrickHousePuzzle1_Text_EddieDefeat
|
|
|
|
msgbox Route110_TrickHousePuzzle1_Text_EddiePostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_EventScript_Robin::
|
2019-11-06 23:57:45 +01:00
|
|
|
trainerbattle_single TRAINER_ROBIN, Route110_TrickHousePuzzle1_Text_RobinIntro, Route110_TrickHousePuzzle1_Text_RobinDefeat
|
|
|
|
msgbox Route110_TrickHousePuzzle1_Text_RobinPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_Text_WroteSecretCodeLockOpened::
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "{PLAYER} wrote down the secret code\n"
|
|
|
|
.string "on the door.\p"
|
|
|
|
.string "“TRICK MASTER is fabulous.”\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_TrickHousePuzzle1_Text_SallyIntro:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I'll hack and slash my way to victory\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "with the CUT we just learned!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_Text_SallyDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Why are you so serious?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_Text_SallyPostBattle:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "I never get tired of hacking\n"
|
|
|
|
.string "and slashing!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_Text_EddieIntro:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "I wandered into this weird house\n"
|
|
|
|
.string "by accident…$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_Text_EddieDefeat:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "And now I've lost…$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_Text_EddiePostBattle:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "I lost my way, I lost a battle, and I'm\n"
|
|
|
|
.string "now even more lost… I can't get out…$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_Text_RobinIntro:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Just who is the TRICK MASTER?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_Text_RobinDefeat:
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "I lost while I was lost in thought!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
Route110_TrickHousePuzzle1_Text_RobinPostBattle:
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "You're strong!\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "Just who are you?$"
|
|
|
|
|