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

45 lines
1.4 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.

AbandonedShip_CaptainsOffice_MapScripts:: @ 82387E1
.byte 0
AbandonedShip_CaptainsOffice_EventScript_2387E2:: @ 82387E2
lock
faceplayer
checkflag FLAG_TRADED_SCANNER_TO_STERN
goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A
checkitem ITEM_SCANNER, 1
compare VAR_RESULT, 1
goto_eq AbandonedShip_CaptainsOffice_EventScript_238810
checkflag FLAG_ITEM_ABANDONED_SHIP_HIDDEN_FLOOR_ROOM_4_SCANNER
goto_eq AbandonedShip_CaptainsOffice_EventScript_23881A
msgbox AbandonedShip_CaptainsOffice_Text_238824, MSGBOX_DEFAULT
release
end
AbandonedShip_CaptainsOffice_EventScript_238810:: @ 8238810
msgbox AbandonedShip_CaptainsOffice_Text_23889D, MSGBOX_DEFAULT
release
end
AbandonedShip_CaptainsOffice_EventScript_23881A:: @ 823881A
msgbox AbandonedShip_CaptainsOffice_Text_238918, MSGBOX_DEFAULT
release
end
AbandonedShip_CaptainsOffice_Text_238824: @ 8238824
.string "Im investigating this ship on behalf\n"
.string "of CAPT. STERN.\p"
.string "He also asked me to find a SCANNER,\n"
.string "but I havent had any success…$"
AbandonedShip_CaptainsOffice_Text_23889D: @ 823889D
.string "Oh! Thats a SCANNER!\p"
.string "Listen, can I get you to deliver that\n"
.string "to CAPT. STERN?\p"
.string "I want to investigate this ship a\n"
.string "little more.$"
AbandonedShip_CaptainsOffice_Text_238918: @ 8238918
.string "This ship is called S.S. CACTUS.\n"
.string "It seems to be from an earlier era.$"