tumbledemerald-legacy/data/maps/Route110_TrickHousePuzzle4/scripts.inc

71 lines
2.4 KiB
PHP

Route110_TrickHousePuzzle4_MapScripts::
.byte 0
Route110_TrickHousePuzzle4_EventScript_Scroll::
lockall
goto_if_eq VAR_TRICK_HOUSE_PUZZLE_4_STATE, 0, Route110_TrickHousePuzzle4_EventScript_FoundScroll
goto Route110_TrickHousePuzzle_EventScript_ReadScrollAgain
end
Route110_TrickHousePuzzle4_EventScript_FoundScroll::
setvar VAR_TRICK_HOUSE_PUZZLE_4_STATE, 1
goto Route110_TrickHousePuzzle_EventScript_FoundScroll
end
Route110_TrickHousePuzzle4_EventScript_Cora::
trainerbattle_single TRAINER_CORA, Route110_TrickHousePuzzle4_Text_CoraIntro, Route110_TrickHousePuzzle4_Text_CoraDefeat
msgbox Route110_TrickHousePuzzle4_Text_CoraPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_EventScript_Yuji::
trainerbattle_single TRAINER_YUJI, Route110_TrickHousePuzzle4_Text_YujiIntro, Route110_TrickHousePuzzle4_Text_YujiDefeat
msgbox Route110_TrickHousePuzzle4_Text_YujiPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_EventScript_Paula::
trainerbattle_single TRAINER_PAULA, Route110_TrickHousePuzzle4_Text_PaulaIntro, Route110_TrickHousePuzzle4_Text_PaulaDefeat
msgbox Route110_TrickHousePuzzle4_Text_PaulaPostBattle, MSGBOX_AUTOCLOSE
end
Route110_TrickHousePuzzle4_Text_WroteSecretCodeLockOpened:
.string "{PLAYER} wrote down the secret code\n"
.string "on the door.\p"
.string "“Trick Master is cool.”\n"
.string "… … … … … … … …\p"
.string "The lock clicked open!$"
Route110_TrickHousePuzzle4_Text_CoraIntro:
.string "It's too much bother to think this out.\n"
.string "I only wanted to battle!$"
Route110_TrickHousePuzzle4_Text_CoraDefeat:
.string "Even though I lost, I still like battling\n"
.string "the best!$"
Route110_TrickHousePuzzle4_Text_CoraPostBattle:
.string "Wouldn't you agree? You would go\n"
.string "anywhere if Trainers were there.$"
Route110_TrickHousePuzzle4_Text_YujiIntro:
.string "Heh! Boulders like this, I can brush\n"
.string "aside with one finger!$"
Route110_TrickHousePuzzle4_Text_YujiDefeat:
.string "I can push boulders, but I can't solve\n"
.string "the puzzle…$"
Route110_TrickHousePuzzle4_Text_YujiPostBattle:
.string "It's not good enough to be brawny…\n"
.string "You have to use your head. Be brainy!$"
Route110_TrickHousePuzzle4_Text_PaulaIntro:
.string "The Trick House is getting trickier,\n"
.string "isn't it?$"
Route110_TrickHousePuzzle4_Text_PaulaDefeat:
.string "Aaak!$"
Route110_TrickHousePuzzle4_Text_PaulaPostBattle:
.string "Has anyone made it to the end?$"