2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_MapScripts::
|
2019-11-09 09:07:32 +01:00
|
|
|
.byte 0
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_EventScript_NameRater::
|
2019-11-09 09:07:32 +01:00
|
|
|
lock
|
|
|
|
faceplayer
|
|
|
|
msgbox SlateportCity_NameRatersHouse_Text_PleasedToRateMonNickname, MSGBOX_YESNO
|
|
|
|
compare VAR_RESULT, YES
|
|
|
|
goto_if_eq SlateportCity_NameRatersHouse_EventScript_ChooseMonToRate
|
|
|
|
compare VAR_RESULT, NO
|
|
|
|
goto_if_eq SlateportCity_NameRatersHouse_EventScript_DeclineNameRate
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_EventScript_ChooseMonToRate::
|
2019-11-09 09:07:32 +01:00
|
|
|
msgbox SlateportCity_NameRatersHouse_Text_CritiqueWhichMonNickname, MSGBOX_DEFAULT
|
|
|
|
special ChoosePartyMon
|
|
|
|
waitstate
|
|
|
|
compare VAR_0x8004, 255
|
|
|
|
goto_if_ne SlateportCity_NameRatersHouse_EventScript_RateMonNickname
|
|
|
|
compare VAR_0x8004, 255
|
|
|
|
goto_if_eq SlateportCity_NameRatersHouse_EventScript_DeclineNameRate
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_EventScript_DeclineNameRate::
|
2019-11-09 09:07:32 +01:00
|
|
|
msgbox SlateportCity_NameRatersHouse_Text_DoVisitAgain, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_EventScript_RateMonNickname::
|
2019-11-09 09:07:32 +01:00
|
|
|
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
|
|
|
|
compare VAR_RESULT, SPECIES_EGG
|
|
|
|
goto_if_eq SlateportCity_NameRatersHouse_EventScript_CantRateEgg
|
|
|
|
special BufferMonNickname
|
|
|
|
special IsMonOTIDNotPlayers
|
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq SlateportCity_NameRatersHouse_EventScript_PlayerNotMonsOT
|
|
|
|
specialvar VAR_RESULT, MonOTNameNotPlayer
|
|
|
|
special BufferMonNickname
|
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq SlateportCity_NameRatersHouse_EventScript_PlayerNotMonsOT
|
|
|
|
msgbox SlateportCity_NameRatersHouse_Text_FineNameSuggestBetterOne, MSGBOX_YESNO
|
|
|
|
compare VAR_RESULT, YES
|
|
|
|
goto_if_eq SlateportCity_NameRatersHouse_EventScript_ChangeNickname
|
|
|
|
compare VAR_RESULT, NO
|
|
|
|
goto_if_eq SlateportCity_NameRatersHouse_EventScript_DeclineNameRate
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_EventScript_CantRateEgg::
|
2019-11-09 09:07:32 +01:00
|
|
|
msgbox SlateportCity_NameRatersHouse_Text_ThatIsMerelyAnEgg, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_EventScript_PlayerNotMonsOT::
|
2019-11-09 09:07:32 +01:00
|
|
|
msgbox SlateportCity_NameRatersHouse_Text_MagnificentName, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_EventScript_ChangeNickname::
|
2019-11-09 09:07:32 +01:00
|
|
|
msgbox SlateportCity_NameRatersHouse_Text_WhatShallNewNameBe, MSGBOX_DEFAULT
|
|
|
|
call Common_EventScript_NameReceivedPartyMon
|
|
|
|
specialvar VAR_RESULT, TryPutNameRaterShowOnTheAir
|
|
|
|
special BufferMonNickname
|
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq SlateportCity_NameRatersHouse_EventScript_NewNameDifferent
|
|
|
|
msgbox SlateportCity_NameRatersHouse_Text_NameNoDifferentYetSuperior, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_EventScript_NewNameDifferent::
|
2019-11-09 09:07:32 +01:00
|
|
|
msgbox SlateportCity_NameRatersHouse_Text_MonShallBeKnownAsName, MSGBOX_DEFAULT
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_Text_PleasedToRateMonNickname:
|
2019-11-09 09:07:32 +01:00
|
|
|
.string "Hi, hi! I'm the NAME RATER!\n"
|
|
|
|
.string "I'm the fortune-teller of names!\p"
|
|
|
|
.string "I shall be pleased to rate your\n"
|
|
|
|
.string "POKéMON's nickname.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_Text_CritiqueWhichMonNickname:
|
2019-11-09 09:07:32 +01:00
|
|
|
.string "Which POKéMON's nickname should\n"
|
|
|
|
.string "I critique?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_Text_FineNameSuggestBetterOne:
|
2019-11-09 09:07:32 +01:00
|
|
|
.string "Hmmm… {STR_VAR_1}, is it? That is\n"
|
|
|
|
.string "quite a fine name you bestowed.\p"
|
|
|
|
.string "But! What say you, if I were to\n"
|
|
|
|
.string "suggest a slightly better name?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_Text_WhatShallNewNameBe:
|
2019-11-09 09:07:32 +01:00
|
|
|
.string "Ah, good. Then, what shall the new\n"
|
|
|
|
.string "nickname be?$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_Text_MonShallBeKnownAsName:
|
2019-11-09 09:07:32 +01:00
|
|
|
.string "Done! From now on, this POKéMON\n"
|
|
|
|
.string "shall be known as {STR_VAR_1}!\p"
|
|
|
|
.string "It is a better name than before!\n"
|
|
|
|
.string "How fortunate for you!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_Text_DoVisitAgain:
|
2019-11-09 09:07:32 +01:00
|
|
|
.string "I see.\n"
|
|
|
|
.string "Do come visit again.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_Text_NameNoDifferentYetSuperior:
|
2019-11-09 09:07:32 +01:00
|
|
|
.string "Done! From now on, this POKéMON\n"
|
|
|
|
.string "shall be known as {STR_VAR_1}!\p"
|
|
|
|
.string "It looks no different from before,\n"
|
|
|
|
.string "and yet, this is vastly superior!\p"
|
|
|
|
.string "How fortunate for you!$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_Text_MagnificentName:
|
2019-11-09 09:07:32 +01:00
|
|
|
.string "Hmmm… {STR_VAR_1} it is!\p"
|
|
|
|
.string "This is a magnificent nickname!\n"
|
|
|
|
.string "It is impeccably beyond reproach!\p"
|
|
|
|
.string "You'll do well to cherish your\n"
|
|
|
|
.string "{STR_VAR_1} now and beyond.$"
|
|
|
|
|
2021-07-20 21:18:31 +02:00
|
|
|
SlateportCity_NameRatersHouse_Text_ThatIsMerelyAnEgg:
|
2019-11-09 09:07:32 +01:00
|
|
|
.string "Now, now.\n"
|
|
|
|
.string "That is merely an EGG!$"
|
|
|
|
|