mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 12:07:38 +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
45 lines
1.4 KiB
PHP
45 lines
1.4 KiB
PHP
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 "I’m investigating this ship on behalf\n"
|
||
.string "of CAPT. STERN.\p"
|
||
.string "He also asked me to find a SCANNER,\n"
|
||
.string "but I haven’t had any success…$"
|
||
|
||
AbandonedShip_CaptainsOffice_Text_23889D: @ 823889D
|
||
.string "Oh! That’s 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.$"
|
||
|