pokeemerald/data/maps/RustboroCity_Flat2_2F/scripts.inc
2019-01-02 21:12:43 +00:00

39 lines
1.1 KiB
PHP

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
goto_if_set FLAG_RECEIVED_PREMIER_BALL_RUSTBORO, RustboroCity_Flat2_2F_EventScript_216010
msgbox RustboroCity_Flat2_2F_Text_21605A, MSGBOX_DEFAULT
giveitem_std ITEM_PREMIER_BALL
compare VAR_RESULT, 0
goto_if_eq RustboroCity_Flat2_2F_EventScript_272054
setflag FLAG_RECEIVED_PREMIER_BALL_RUSTBORO
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 daddy's working at the CORPORATION.\p"
.string "My daddy made this!\n"
.string "But I can't use it, so you can have it.$"
RustboroCity_Flat2_2F_Text_2160BD: @ 82160BD
.string "My daddy's working at the CORPORATION.\p"
.string "When I grow up, I'm going to work for\n"
.string "DEVON, too.$"