pokeemerald/data/maps/RustboroCity_Flat2_2F/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

40 lines
1.1 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.

RustboroCity_Flat2_2F_MapScripts:: @ 8215FD7
.byte 0
RustboroCity_Flat2_2F_EventScript_215FD8:: @ 8215FD8
msgbox RustboroCity_Flat2_2F_Text_21601A, MSGBOX_NPC
end
RustboroCity_Flat2_2F_EventScript_215FE1:: @ 8215FE1
lock
faceplayer
checkflag FLAG_0x0D5
goto_eq RustboroCity_Flat2_2F_EventScript_216010
msgbox RustboroCity_Flat2_2F_Text_21605A, MSGBOX_DEFAULT
giveitem_std ITEM_PREMIER_BALL
compare VAR_RESULT, 0
goto_eq RustboroCity_Flat2_2F_EventScript_272054
setflag FLAG_0x0D5
release
end
RustboroCity_Flat2_2F_EventScript_216010:: @ 8216010
msgbox RustboroCity_Flat2_2F_Text_2160BD, MSGBOX_DEFAULT
release
end
RustboroCity_Flat2_2F_Text_21601A: @ 821601A
.string "Way back in the old days, DEVON was just\n"
.string "a teeny, tiny company.$"
RustboroCity_Flat2_2F_Text_21605A: @ 821605A
.string "My daddys working at the CORPORATION.\p"
.string "My daddy made this!\n"
.string "But I cant use it, so you can have it.$"
RustboroCity_Flat2_2F_Text_2160BD: @ 82160BD
.string "My daddys working at the CORPORATION.\p"
.string "When I grow up, Im going to work for\n"
.string "DEVON, too.$"