mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
c557ac61ae
* 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
40 lines
1.1 KiB
PHP
40 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
|
||
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 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.$"
|
||
|