pokeemerald/data/maps/FortreeCity_House2/scripts.inc

82 lines
2.7 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
FortreeCity_House2_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
FortreeCity_House2_EventScript_HiddenPowerGiver::
2017-11-10 02:21:31 +01:00
lock
faceplayer
goto_if_set FLAG_RECEIVED_TM_HIDDEN_POWER, FortreeCity_House2_EventScript_ExplainHiddenPower
2019-11-07 20:49:52 +01:00
call_if_unset FLAG_MET_HIDDEN_POWER_GIVER, FortreeCity_House2_EventScript_Greeting
msgbox FortreeCity_House2_Text_CoinInWhichHand, MSGBOX_DEFAULT
2021-03-31 06:35:56 +02:00
multichoice 21, 8, MULTI_RIGHTLEFT, TRUE
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-07 20:49:52 +01:00
case 1, FortreeCity_House2_EventScript_WrongGuess
msgbox FortreeCity_House2_Text_CorrectTryAgainWhichHand, MSGBOX_DEFAULT
2021-03-31 06:35:56 +02:00
multichoice 21, 8, MULTI_RIGHTLEFT, TRUE
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-07 20:49:52 +01:00
case 1, FortreeCity_House2_EventScript_WrongGuess
msgbox FortreeCity_House2_Text_CorrectTryAgainWhichHand2, MSGBOX_DEFAULT
2021-03-31 06:35:56 +02:00
multichoice 21, 8, MULTI_RIGHTLEFT, TRUE
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-07 20:49:52 +01:00
case 0, FortreeCity_House2_EventScript_WrongGuess
msgbox FortreeCity_House2_Text_YourHiddenPowerHasAwoken, MSGBOX_DEFAULT
giveitem ITEM_TM_HIDDEN_POWER
goto_if_eq VAR_RESULT, 0, Common_EventScript_ShowBagIsFull
setflag FLAG_RECEIVED_TM_HIDDEN_POWER
2019-11-07 20:49:52 +01:00
msgbox FortreeCity_House2_Text_ExplainHiddenPower, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
FortreeCity_House2_EventScript_Greeting::
2019-11-07 20:49:52 +01:00
msgbox FortreeCity_House2_Text_HiddenPowersArousedByNature, MSGBOX_DEFAULT
2019-01-02 22:12:43 +01:00
setflag FLAG_MET_HIDDEN_POWER_GIVER
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
FortreeCity_House2_EventScript_ExplainHiddenPower::
2019-11-07 20:49:52 +01:00
msgbox FortreeCity_House2_Text_ExplainHiddenPower, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
FortreeCity_House2_EventScript_WrongGuess::
2019-11-07 20:49:52 +01:00
msgbox FortreeCity_House2_Text_YouGuessedWrong, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
FortreeCity_House2_Text_HiddenPowersArousedByNature:
2017-11-10 02:21:31 +01:00
.string "People… POKéMON…\p"
.string "Their hidden powers are aroused by\n"
.string "living in natural environments…$"
2021-07-20 21:18:31 +02:00
FortreeCity_House2_Text_CoinInWhichHand:
2017-11-10 02:21:31 +01:00
.string "Let this old woman see if your hidden\n"
.string "power has awoken…\p"
.string "I hold a coin in my hand.\p"
.string "Now, tell me, have I palmed it in\n"
.string "the right hand? Or in the left?$"
2021-07-20 21:18:31 +02:00
FortreeCity_House2_Text_CorrectTryAgainWhichHand:
2017-11-10 02:21:31 +01:00
.string "Oh! Yes, correct!\p"
.string "We shall try again.\p"
.string "In which hand have I palmed the coin?\n"
.string "The right or left?$"
2021-07-20 21:18:31 +02:00
FortreeCity_House2_Text_CorrectTryAgainWhichHand2:
2017-11-10 02:21:31 +01:00
.string "Oh! Yes, correct!\p"
.string "We shall try again.\p"
.string "In which hand have I palmed the coin?\n"
.string "The right or left?$"
2021-07-20 21:18:31 +02:00
FortreeCity_House2_Text_YourHiddenPowerHasAwoken:
2017-11-10 02:21:31 +01:00
.string "Oh! Splendid!\n"
.string "Your hidden power has awoken!\p"
.string "Here, take this and awaken the hidden\n"
.string "power of your POKéMON.$"
2021-07-20 21:18:31 +02:00
FortreeCity_House2_Text_ExplainHiddenPower:
2017-11-10 02:21:31 +01:00
.string "HIDDEN POWER is a move that changes\n"
.string "with the POKéMON.$"
2021-07-20 21:18:31 +02:00
FortreeCity_House2_Text_YouGuessedWrong:
2017-11-10 02:21:31 +01:00
.string "No, too bad.\n"
.string "You guessed wrong.$"