pokeemerald/data/maps/SlateportCity_House1/scripts.inc
2018-08-08 01:37:12 -07:00

122 lines
3.7 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

SlateportCity_House1_MapScripts:: @ 8209AA4
.byte 0
SlateportCity_House1_EventScript_209AA5:: @ 8209AA5
lock
faceplayer
msgbox SlateportCity_House1_Text_209B8E, 5
compare VAR_RESULT, 1
goto_eq SlateportCity_House1_EventScript_209AC6
compare VAR_RESULT, 0
goto_eq SlateportCity_House1_EventScript_209AE9
end
SlateportCity_House1_EventScript_209AC6:: @ 8209AC6
msgbox SlateportCity_House1_Text_209BFF, 4
special sub_81B94B0
waitstate
compare VAR_0x8004, 255
goto_if 5, SlateportCity_House1_EventScript_209AF3
compare VAR_0x8004, 255
goto_eq SlateportCity_House1_EventScript_209AE9
end
SlateportCity_House1_EventScript_209AE9:: @ 8209AE9
msgbox SlateportCity_House1_Text_209D42, 4
release
end
SlateportCity_House1_EventScript_209AF3:: @ 8209AF3
specialvar VAR_RESULT, ScriptGetPartyMonSpecies
compare VAR_RESULT, 412
goto_eq SlateportCity_House1_EventScript_209B46
special TV_CopyNicknameToStringVar1AndEnsureTerminated
special TV_CheckMonOTIDEqualsPlayerID
compare VAR_RESULT, 1
goto_eq SlateportCity_House1_EventScript_209B50
specialvar VAR_RESULT, MonOTNameMatchesPlayer
special TV_CopyNicknameToStringVar1AndEnsureTerminated
compare VAR_RESULT, 1
goto_eq SlateportCity_House1_EventScript_209B50
msgbox SlateportCity_House1_Text_209C2B, 5
compare VAR_RESULT, 1
goto_eq SlateportCity_House1_EventScript_209B5A
compare VAR_RESULT, 0
goto_eq SlateportCity_House1_EventScript_209AE9
end
SlateportCity_House1_EventScript_209B46:: @ 8209B46
msgbox SlateportCity_House1_Text_209E74, 4
release
end
SlateportCity_House1_EventScript_209B50:: @ 8209B50
msgbox SlateportCity_House1_Text_209DF0, 4
release
end
SlateportCity_House1_EventScript_209B5A:: @ 8209B5A
msgbox SlateportCity_House1_Text_209CA4, 4
call SlateportCity_House1_EventScript_2723DD
specialvar VAR_RESULT, TV_PutNameRaterShowOnTheAirIfNicnkameChanged
special TV_CopyNicknameToStringVar1AndEnsureTerminated
compare VAR_RESULT, 1
goto_eq SlateportCity_House1_EventScript_209B84
msgbox SlateportCity_House1_Text_209D5E, 4
release
end
SlateportCity_House1_EventScript_209B84:: @ 8209B84
msgbox SlateportCity_House1_Text_209CD4, 4
release
end
SlateportCity_House1_Text_209B8E: @ 8209B8E
.string "Hi, hi! Im the NAME RATER!\n"
.string "Im the fortune-teller of names!\p"
.string "I shall be pleased to rate your\n"
.string "POKéMONs nickname.$"
SlateportCity_House1_Text_209BFF: @ 8209BFF
.string "Which POKéMONs nickname should\n"
.string "I critique?$"
SlateportCity_House1_Text_209C2B: @ 8209C2B
.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?$"
SlateportCity_House1_Text_209CA4: @ 8209CA4
.string "Ah, good. Then, what shall the new\n"
.string "nickname be?$"
SlateportCity_House1_Text_209CD4: @ 8209CD4
.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!$"
SlateportCity_House1_Text_209D42: @ 8209D42
.string "I see.\n"
.string "Do come visit again.$"
SlateportCity_House1_Text_209D5E: @ 8209D5E
.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!$"
SlateportCity_House1_Text_209DF0: @ 8209DF0
.string "Hmmm… {STR_VAR_1} it is!\p"
.string "This is a magnificent nickname!\n"
.string "It is impeccably beyond reproach!\p"
.string "Youll do well to cherish your\n"
.string "{STR_VAR_1} now and beyond.$"
SlateportCity_House1_Text_209E74: @ 8209E74
.string "Now, now.\n"
.string "That is merely an EGG!$"