pokeemerald/data/maps/Route110_TrickHousePuzzle1/scripts.inc

80 lines
2.9 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Route110_TrickHousePuzzle1_MapScripts:: @ 826B90F
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
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_OnLoad: @ 826B915
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
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_EventScript_OpenDoor:: @ 826B921
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
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_EventScript_Scroll:: @ 826B92B
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
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_EventScript_FoundScroll:: @ 826B93D
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
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_EventScript_Sally:: @ 826B948
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
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_EventScript_Eddie:: @ 826B95F
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
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_EventScript_Robin:: @ 826B976
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
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_Text_WroteSecretCodeLockOpened:: @ 826B98D
.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
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_Text_SallyIntro: @ 826B9FB
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!$"
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_Text_SallyDefeat: @ 826BA3F
2017-11-10 02:21:31 +01:00
.string "Why are you so serious?$"
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_Text_SallyPostBattle: @ 826BA57
2017-11-10 02:21:31 +01:00
.string "I never get tired of hacking\n"
.string "and slashing!$"
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_Text_EddieIntro: @ 826BA82
2017-11-10 02:21:31 +01:00
.string "I wandered into this weird house\n"
.string "by accident…$"
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_Text_EddieDefeat: @ 826BAB0
2018-12-07 16:41:08 +01:00
.string "And now I've lost…$"
2017-11-10 02:21:31 +01:00
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_Text_EddiePostBattle: @ 826BAC3
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
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_Text_RobinIntro: @ 826BB10
2017-11-10 02:21:31 +01:00
.string "Just who is the TRICK MASTER?$"
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_Text_RobinDefeat: @ 826BB2E
2017-11-10 02:21:31 +01:00
.string "I lost while I was lost in thought!$"
2019-11-06 23:57:45 +01:00
Route110_TrickHousePuzzle1_Text_RobinPostBattle: @ 826BB52
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?$"