pokeemerald/data/maps/MossdeepCity_House3/scripts.inc
Melody c557ac61ae adds constants, cleans up callstd and msgbox code
* adds some constants for standard script names and messagebox types
* replaces some callstd calls with msgbox calls where equivalent
* replaces msgbox and callstd calls using raw digits with versions that use the constants
2018-12-02 03:37:46 -05:00

53 lines
1.5 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.

MossdeepCity_House3_MapScripts:: @ 82225C2
.byte 0
MossdeepCity_House3_EventScript_2225C3:: @ 82225C3
lock
faceplayer
checkflag FLAG_0x098
goto_eq MossdeepCity_House3_EventScript_222602
msgbox MossdeepCity_House3_Text_222616, MSGBOX_YESNO
compare VAR_RESULT, 0
goto_eq MossdeepCity_House3_EventScript_22260C
msgbox MossdeepCity_House3_Text_2226B6, MSGBOX_DEFAULT
giveitem_std ITEM_SUPER_ROD
setflag FLAG_0x098
msgbox MossdeepCity_House3_Text_2226F0, MSGBOX_DEFAULT
release
end
MossdeepCity_House3_EventScript_222602:: @ 8222602
msgbox MossdeepCity_House3_Text_222751, MSGBOX_DEFAULT
release
end
MossdeepCity_House3_EventScript_22260C:: @ 822260C
msgbox MossdeepCity_House3_Text_222733, MSGBOX_DEFAULT
release
end
MossdeepCity_House3_Text_222616: @ 8222616
.string "Hey there, TRAINER!\n"
.string "A SUPER ROD really is super!\p"
.string "Say all you want, but this baby can\n"
.string "catch POKéMON off the seafloor!\p"
.string "What do you think?\n"
.string "You want it, dont you?$"
MossdeepCity_House3_Text_2226B6: @ 82226B6
.string "You bet, you bet!\n"
.string "After all, a SUPER ROD is really super!$"
MossdeepCity_House3_Text_2226F0: @ 82226F0
.string "If theres any water, try dropping in\n"
.string "your ROD and see what bites!$"
MossdeepCity_House3_Text_222733: @ 8222733
.string "Hunh?\n"
.string "Dont you like to fish?$"
MossdeepCity_House3_Text_222751: @ 8222751
.string "Go after the seafloor POKéMON with\n"
.string "your SUPER ROD.$"