pokeemerald/data/maps/SlateportCity_Harbor/scripts.inc

564 lines
19 KiB
PHP
Raw Normal View History

.set LOCALID_CAPT_STERN, 4
.set LOCALID_SS_TIDAL, 5
.set LOCALID_GRUNT, 6
.set LOCALID_ARCHIE, 7
.set LOCALID_SUBMARINE, 8
2017-11-10 02:21:31 +01:00
SlateportCity_Harbor_MapScripts:: @ 820C97D
map_script MAP_SCRIPT_ON_TRANSITION, SlateportCity_Harbor_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
SlateportCity_Harbor_OnTransition: @ 820C983
setescapewarp MAP_SLATEPORT_CITY, 255, 28, 13
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_1, 0
2019-02-22 10:18:43 +01:00
compare VAR_SLATEPORT_HARBOR_STATE, 1
2019-11-09 09:07:32 +01:00
call_if_eq SlateportCity_Harbor_EventScript_ReadyAquaEscapeScene
call_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_ShowSSTidal
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_ShowSSTidal:: @ 820C9A5
2018-10-18 21:28:59 +02:00
clearflag FLAG_HIDE_SLATEPORT_CITY_HARBOR_SS_TIDAL
2017-11-10 02:21:31 +01:00
return
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_ReadyAquaEscapeScene:: @ 820C9A9
2020-08-21 00:02:00 +02:00
savebgm MUS_ENCOUNTER_AQUA
setobjectxyperm LOCALID_CAPT_STERN, 12, 13
setobjectmovementtype LOCALID_CAPT_STERN, MOVEMENT_TYPE_FACE_LEFT
2018-10-18 21:28:59 +02:00
setflag FLAG_HIDE_SLATEPORT_CITY_HARBOR_PATRONS
2017-11-10 02:21:31 +01:00
return
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_AquaEscapeTrigger0:: @ 820C9BB
2017-11-10 02:21:31 +01:00
lockall
setvar VAR_0x8008, 0
2019-11-09 09:07:32 +01:00
goto SlateportCity_Harbor_EventScript_AquaEscapeScene
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_AquaEscapeTrigger1:: @ 820C9C7
2017-11-10 02:21:31 +01:00
lockall
setvar VAR_0x8008, 1
2019-11-09 09:07:32 +01:00
goto SlateportCity_Harbor_EventScript_AquaEscapeScene
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_AquaEscapeTrigger2:: @ 820C9D3
2017-11-10 02:21:31 +01:00
lockall
setvar VAR_0x8008, 2
2019-11-09 09:07:32 +01:00
goto SlateportCity_Harbor_EventScript_AquaEscapeScene
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_AquaEscapeTrigger3:: @ 820C9DF
2017-11-10 02:21:31 +01:00
lockall
setvar VAR_0x8008, 3
applymovement OBJ_EVENT_ID_PLAYER, SlateportCity_Harbor_Movement_PlayerWalkUp
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-09 09:07:32 +01:00
goto SlateportCity_Harbor_EventScript_AquaEscapeScene
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_AquaEscapeScene:: @ 820C9F5
applymovement LOCALID_ARCHIE, Common_Movement_WalkInPlaceFastestDown
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement LOCALID_GRUNT, Common_Movement_WalkInPlaceFastestDown
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestUp
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_ArchieYouAgainHideoutInLilycove, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement LOCALID_GRUNT, SlateportCity_Harbor_Movement_AquaBoardSub
applymovement LOCALID_ARCHIE, SlateportCity_Harbor_Movement_AquaBoardSub
applymovement LOCALID_SUBMARINE, SlateportCity_Harbor_Movement_SubmarineExit
2017-11-10 02:21:31 +01:00
waitmovement 0
removeobject LOCALID_GRUNT
removeobject LOCALID_ARCHIE
removeobject LOCALID_SUBMARINE
2019-02-22 10:18:43 +01:00
setvar VAR_SLATEPORT_HARBOR_STATE, 2
2019-01-02 22:12:43 +01:00
setflag FLAG_MET_TEAM_AQUA_HARBOR
2021-02-14 22:38:39 +01:00
setflag FLAG_HIDE_LILYCOVE_MOTEL_SCOTT
compare VAR_0x8008, 0
2019-11-09 09:07:32 +01:00
call_if_eq SlateportCity_Harbor_EventScript_SternApproachPlayer0
compare VAR_0x8008, 1
2019-11-09 09:07:32 +01:00
call_if_eq SlateportCity_Harbor_EventScript_SternApproachPlayer1
compare VAR_0x8008, 2
2019-11-09 09:07:32 +01:00
call_if_eq SlateportCity_Harbor_EventScript_SternApproachPlayer
compare VAR_0x8008, 3
2019-11-09 09:07:32 +01:00
call_if_eq SlateportCity_Harbor_EventScript_SternApproachPlayer
msgbox SlateportCity_Harbor_Text_CaptSternWhyStealMySubmarine, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
setflag FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_1_BLOCKING_ENTRANCE
setflag FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_2_BLOCKING_ENTRANCE
copyobjectxytoperm LOCALID_CAPT_STERN
setobjectmovementtype LOCALID_CAPT_STERN, MOVEMENT_TYPE_FACE_RIGHT
2017-11-10 02:21:31 +01:00
releaseall
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_SternApproachPlayer0:: @ 820CA89
applymovement LOCALID_CAPT_STERN, SlateportCity_Harbor_Movement_SternApproachPlayer0
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestDown
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_SternApproachPlayer1:: @ 820CA9E
applymovement LOCALID_CAPT_STERN, SlateportCity_Harbor_Movement_SternApproachPlayer1
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_SternApproachPlayer:: @ 820CAB3
applymovement LOCALID_CAPT_STERN, SlateportCity_Harbor_Movement_SternApproachPlayer
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFastestRight
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Movement_AquaBoardSub: @ 820CAC8
delay_16
delay_16
jump_up
set_invisible
2017-11-10 02:21:31 +01:00
step_end
2019-11-09 09:07:32 +01:00
@ Unused, Archie instead shares above identical movement script with Grunt
SlateportCity_Harbor_Movement_ArchieBoardSub: @ 820CACD
delay_16
delay_16
jump_up
set_invisible
step_end
2017-11-10 02:21:31 +01:00
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Movement_SubmarineExit: @ 820CAD2
delay_16
delay_16
delay_16
delay_16
walk_right
walk_right
walk_right
walk_fast_right
walk_fast_right
walk_fast_right
walk_fast_right
walk_fast_right
walk_fast_right
2017-11-10 02:21:31 +01:00
step_end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Movement_SternApproachPlayer0: @ 820CAE0
walk_left
walk_left
walk_left
walk_left
walk_up
2017-11-10 02:21:31 +01:00
step_end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Movement_SternApproachPlayer1: @ 820CAE6
walk_left
walk_left
walk_up
walk_left
2017-11-10 02:21:31 +01:00
step_end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Movement_SternApproachPlayer: @ 820CAEB
walk_left
walk_left
walk_left
2017-11-10 02:21:31 +01:00
step_end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Movement_PlayerWalkUp: @ 820CAEF
walk_up
2017-11-10 02:21:31 +01:00
step_end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_FerryAttendant:: @ 820CAF1
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-09 09:07:32 +01:00
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_AskForTicket
msgbox SlateportCity_Harbor_Text_FerryServiceUnavailable, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_AskForTicket:: @ 820CB06
msgbox SlateportCity_Harbor_Text_MayISeeYourTicket, MSGBOX_DEFAULT
message SlateportCity_Harbor_Text_FlashedTicketWhereTo
2017-11-10 02:21:31 +01:00
waitmessage
2019-11-09 09:07:32 +01:00
goto SlateportCity_Harbor_EventScript_ChooseDestination
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_ChooseDestination:: @ 820CB1A
goto_if_set FLAG_MET_SCOTT_ON_SS_TIDAL, SlateportCity_Harbor_EventScript_ChooseDestinationWithBattleFrontier
2019-09-20 00:31:09 +02:00
multichoicedefault 18, 8, MULTI_SSTIDAL_SLATEPORT_NO_BF, 2, 0
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-09 09:07:32 +01:00
case 0, SlateportCity_Harbor_EventScript_Lilycove
case 1, SlateportCity_Harbor_EventScript_CancelDestinationSelect
case MULTI_B_PRESSED, SlateportCity_Harbor_EventScript_CancelDestinationSelect
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_ChooseDestinationWithBattleFrontier:: @ 820CB50
2019-09-20 00:31:09 +02:00
multichoicedefault 17, 6, MULTI_SSTIDAL_SLATEPORT_WITH_BF, 2, 0
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-09 09:07:32 +01:00
case 0, SlateportCity_Harbor_EventScript_Lilycove
case 1, SlateportCity_Harbor_EventScript_BattleFrontier
case 2, SlateportCity_Harbor_EventScript_CancelDestinationSelect
case MULTI_B_PRESSED, SlateportCity_Harbor_EventScript_CancelDestinationSelect
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
@ Unused. Should be impossible for player to reach Ferry without having received SS Tidal ticket
SlateportCity_Harbor_EventScript_NoTicket:: @ 820CB88
msgbox SlateportCity_Harbor_Text_YouMustHaveTicket, MSGBOX_DEFAULT
release
end
2017-11-10 02:21:31 +01:00
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_Lilycove:: @ 820CB92
msgbox SlateportCity_Harbor_Text_LilycoveItIs, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-11-09 09:07:32 +01:00
goto_if_eq SlateportCity_Harbor_EventScript_ChooseNewDestination
2019-11-08 09:37:46 +01:00
setvar VAR_SS_TIDAL_STATE, SS_TIDAL_BOARD_SLATEPORT
2019-11-09 09:07:32 +01:00
call SlateportCity_Harbor_EventScript_BoardFerry
warp MAP_SS_TIDAL_CORRIDOR, 255, 1, 10
2017-11-10 02:21:31 +01:00
waitstate
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_BattleFrontier:: @ 820CBBA
msgbox SlateportCity_Harbor_Text_BattleFrontierItIs, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-11-09 09:07:32 +01:00
goto_if_eq SlateportCity_Harbor_EventScript_ChooseNewDestination
call SlateportCity_Harbor_EventScript_BoardFerry
warp MAP_BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67
2017-11-10 02:21:31 +01:00
waitstate
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_ChooseNewDestination:: @ 820CBDD
message SlateportCity_Harbor_Text_WhereWouldYouLikeToGo
2017-11-10 02:21:31 +01:00
waitmessage
2019-11-09 09:07:32 +01:00
goto SlateportCity_Harbor_EventScript_ChooseDestination
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_BoardFerry:: @ 820CBE9
msgbox SlateportCity_Harbor_Text_PleaseBoardFerry, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
2019-10-06 19:55:30 +02:00
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFastestUp
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 30
hideobjectat VAR_LAST_TALKED, MAP_SLATEPORT_CITY_HARBOR
2019-10-07 06:14:10 +02:00
compare VAR_FACING, DIR_NORTH
2019-11-09 09:07:32 +01:00
call_if_eq SlateportCity_Harbor_EventScript_BoardFerryNorth
2019-10-07 06:14:10 +02:00
compare VAR_FACING, DIR_EAST
2019-11-09 09:07:32 +01:00
call_if_eq SlateportCity_Harbor_EventScript_BoardFerryEast
2017-11-10 02:21:31 +01:00
delay 30
hideobjectat OBJ_EVENT_ID_PLAYER, 0
setvar VAR_0x8004, LOCALID_SS_TIDAL
call Common_EventScript_FerryDepart
2017-11-10 02:21:31 +01:00
return
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_CancelDestinationSelect:: @ 820CC2D
msgbox SlateportCity_Harbor_Text_SailAnotherTime, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_BoardFerryEast:: @ 820CC37
applymovement OBJ_EVENT_ID_PLAYER, SlateportCity_Harbor_Movement_BoardFerryEast
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_BoardFerryNorth:: @ 820CC42
applymovement OBJ_EVENT_ID_PLAYER, SlateportCity_Harbor_Movement_BoardFerryNorth
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Movement_BoardFerryEast: @ 820CC4D
walk_right
walk_in_place_fastest_up
2017-11-10 02:21:31 +01:00
step_end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Movement_BoardFerryNorth: @ 820CC50
walk_up
2017-11-10 02:21:31 +01:00
step_end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_Sailor:: @ 820CC52
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-09 09:07:32 +01:00
goto_if_unset FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_SailorNoAbnormalWeather
2017-11-10 02:21:31 +01:00
setvar VAR_0x8004, 0
2019-11-09 09:07:32 +01:00
call_if_set FLAG_DEFEATED_KYOGRE, SlateportCity_Harbor_EventScript_CountDefeatedLegendary
call_if_set FLAG_DEFEATED_GROUDON, SlateportCity_Harbor_EventScript_CountDefeatedLegendary
compare VAR_0x8004, 2 @ Defeated both
goto_if_eq SlateportCity_Harbor_EventScript_SailorNoAbnormalWeather
msgbox SlateportCity_Harbor_Text_AbnormalWeather, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_SailorNoAbnormalWeather:: @ 820CC89
msgbox SlateportCity_Harbor_Text_LoveToGoDeepUnderwaterSomeday, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_CountDefeatedLegendary:: @ 820CC93
2017-11-10 02:21:31 +01:00
addvar VAR_0x8004, 1
return
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_FatMan:: @ 820CC99
msgbox SlateportCity_Harbor_Text_SubTooSmallForMe, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_CaptStern:: @ 820CCA2
2017-11-10 02:21:31 +01:00
lock
faceplayer
2019-11-09 09:07:32 +01:00
goto_if_set FLAG_BADGE07_GET, SlateportCity_Harbor_EventScript_CaptSternFerryOrScannerComment
goto_if_set FLAG_EVIL_TEAM_ESCAPED_STERN_SPOKE, SlateportCity_Harbor_EventScript_NeedDive
goto_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, SlateportCity_Harbor_EventScript_TeamAquaLeftNeedDive
2019-02-22 10:18:43 +01:00
compare VAR_SLATEPORT_HARBOR_STATE, 2
2019-11-09 09:07:32 +01:00
goto_if_eq SlateportCity_Harbor_EventScript_WhyStealSubmarine
msgbox SlateportCity_Harbor_Text_SameThugsTriedToRobAtMuseum, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
2017-11-10 02:21:31 +01:00
waitmovement 0
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_WhyStealSubmarine:: @ 820CCDF
msgbox SlateportCity_Harbor_Text_CaptSternWhyStealMySubmarine, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_TeamAquaLeftNeedDive:: @ 820CCE9
2019-01-02 22:12:43 +01:00
setflag FLAG_EVIL_TEAM_ESCAPED_STERN_SPOKE
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_TeamAquaLeftNeedDive, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_NeedDive:: @ 820CCF6
msgbox SlateportCity_Harbor_Text_NeedDiveToCatchSub, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_CaptSternFerryOrScannerComment:: @ 820CD00
2018-05-19 18:02:43 +02:00
compare VAR_TEMP_1, 1
2019-11-09 09:07:32 +01:00
goto_if_eq SlateportCity_Harbor_EventScript_TradedScanner
2017-11-10 02:21:31 +01:00
checkitem ITEM_SCANNER, 1
2019-11-09 09:07:32 +01:00
compare VAR_RESULT, TRUE
goto_if_eq SlateportCity_Harbor_EventScript_AskToTradeScanner
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_FerryFinished
msgbox SlateportCity_Harbor_Text_WontBeLongBeforeWeFinishFerry, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_FerryFinished:: @ 820CD2E
msgbox SlateportCity_Harbor_Text_FinishedMakingFerry, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_AskToTradeScanner:: @ 820CD38
message SlateportCity_Harbor_Text_WouldYouTradeScanner
2017-11-10 02:21:31 +01:00
waitmessage
2019-11-09 09:07:32 +01:00
goto SlateportCity_Harbor_EventScript_ChooseScannerTrade
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_ChooseScannerTrade:: @ 820CD44
2019-09-19 06:56:51 +02:00
multichoice 0, 0, MULTI_STERN_DEEPSEA, 0
2017-11-10 02:21:31 +01:00
switch VAR_RESULT
2019-11-09 09:07:32 +01:00
case 0, SlateportCity_Harbor_EventScript_DeepSeaTooth
case 1, SlateportCity_Harbor_EventScript_DeepSeaScale
case 2, SlateportCity_Harbor_EventScript_DeclineTrade
case MULTI_B_PRESSED, SlateportCity_Harbor_EventScript_DeclineTrade
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_DeepSeaTooth:: @ 820CD7B
msgbox SlateportCity_Harbor_Text_TradeForDeepSeaTooth, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-11-09 09:07:32 +01:00
goto_if_eq SlateportCity_Harbor_EventScript_ChooseDifferentTrade
giveitem ITEM_DEEP_SEA_TOOTH
2019-11-09 09:07:32 +01:00
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
removeitem ITEM_SCANNER
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_HandedScannerToStern, MSGBOX_DEFAULT
2019-01-02 22:12:43 +01:00
setflag FLAG_EXCHANGED_SCANNER
2019-11-09 09:07:32 +01:00
goto SlateportCity_Harbor_EventScript_TradedScanner
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_DeepSeaScale:: @ 820CDBB
msgbox SlateportCity_Harbor_Text_TradeForDeepSeaScale, MSGBOX_YESNO
2019-11-02 17:34:53 +01:00
compare VAR_RESULT, NO
2019-11-09 09:07:32 +01:00
goto_if_eq SlateportCity_Harbor_EventScript_ChooseDifferentTrade
giveitem ITEM_DEEP_SEA_SCALE
2019-11-09 09:07:32 +01:00
compare VAR_RESULT, FALSE
goto_if_eq Common_EventScript_ShowBagIsFull
removeitem ITEM_SCANNER
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_HandedScannerToStern, MSGBOX_DEFAULT
2019-01-02 22:12:43 +01:00
setflag FLAG_EXCHANGED_SCANNER
2019-11-09 09:07:32 +01:00
goto SlateportCity_Harbor_EventScript_TradedScanner
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_DeclineTrade:: @ 820CDFB
msgbox SlateportCity_Harbor_Text_IfYouWantToTradeLetMeKnow, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_ChooseDifferentTrade:: @ 820CE05
message SlateportCity_Harbor_Text_WhichOneDoYouWant
2017-11-10 02:21:31 +01:00
waitmessage
2019-11-09 09:07:32 +01:00
goto SlateportCity_Harbor_EventScript_ChooseScannerTrade
2017-11-10 02:21:31 +01:00
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_EventScript_TradedScanner:: @ 820CE11
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_1, 1
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_ThisWillHelpResearch, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_FerryServiceUnavailable: @ 820CE20
2017-11-10 02:21:31 +01:00
.string "I beg your pardon?\n"
2018-12-07 16:41:08 +01:00
.string "You're looking for a ship?\p"
.string "I'm sorry, the ferry service isn't\n"
2017-11-10 02:21:31 +01:00
.string "available at present…$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_MayISeeYourTicket: @ 820CE87
2017-11-10 02:21:31 +01:00
.string "Hello, are you here for the ferry?\n"
.string "May I see your TICKET?$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_YouMustHaveTicket: @ 820CEC1
2018-12-07 16:41:08 +01:00
.string "{PLAYER} doesn't have the TICKET…\p"
.string "I'm terribly sorry.\p"
.string "You must have a TICKET to board\n"
.string "the ferry.$"
2017-11-10 02:21:31 +01:00
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_FlashedTicketWhereTo: @ 820CF1C
2017-11-10 02:21:31 +01:00
.string "{PLAYER} flashed the TICKET.\p"
2018-12-07 16:41:08 +01:00
.string "Perfect! That's all you need!\p"
2017-11-10 02:21:31 +01:00
.string "And where would you like to go?$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_SailAnotherTime: @ 820CF71
2017-11-10 02:21:31 +01:00
.string "Please sail with us another time!$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_LilycoveItIs: @ 820CF93
2017-11-10 02:21:31 +01:00
.string "LILYCOVE CITY it is, then!$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_BattleFrontierItIs: @ 820CFAE
2017-11-10 02:21:31 +01:00
.string "BATTLE FRONTIER it is, then!$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_PleaseBoardFerry: @ 820CFCB
2017-11-10 02:21:31 +01:00
.string "Please board the ferry and wait for\n"
.string "departure.$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_WhereWouldYouLikeToGo: @ 820CFFA
2017-11-10 02:21:31 +01:00
.string "Then, where would you like to go?$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_LoveToGoDeepUnderwaterSomeday: @ 820D01C
2017-11-10 02:21:31 +01:00
.string "A journey to the bottom of the sea…\n"
2018-12-07 16:41:08 +01:00
.string "I wonder what it'd be like?\p"
.string "I'd love to go deep underwater like\n"
2017-11-10 02:21:31 +01:00
.string "that someday.$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_AbnormalWeather: @ 820D08E
2017-11-10 02:21:31 +01:00
.string "For a ship to sail safely, we need to\n"
.string "know about the weather!\p"
.string "Speaking of weather, I heard something\n"
.string "from a guy at the WEATHER INSTITUTE.\p"
.string "He was saying abnormal weather has\n"
.string "been reported all over the place!\p"
.string "You should visit the WEATHER INSTITUTE\n"
.string "and ask around!$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_SubTooSmallForMe: @ 820D194
2017-11-10 02:21:31 +01:00
.string "I wanted to go with CAPT. STERN on\n"
.string "the ocean floor exploration.\p"
2018-12-07 16:41:08 +01:00
.string "But the sub's too small for me.\p"
.string "If I squeezed in, there wouldn't be\n"
2017-11-10 02:21:31 +01:00
.string "any room for the CAPTAIN…$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_SameThugsTriedToRobAtMuseum: @ 820D232
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: Those thugs…\p"
2018-12-07 16:41:08 +01:00
.string "They're the same lot who tried to rob\n"
2017-11-10 02:21:31 +01:00
.string "the DEVON GOODS at the MUSEUM.$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_ArchieYouAgainHideoutInLilycove: @ 820D291
2017-11-10 02:21:31 +01:00
.string "ARCHIE: Oh?\n"
.string "Not you again…\p"
.string "You are tenacious to track us here,\n"
.string "that much I will give you.\p"
.string "But now…\n"
.string "No one can stop us! No one!\p"
.string "Or, will you follow us back to our\n"
.string "HIDEOUT in LILYCOVE CITY?\p"
.string "Fwahahahaha…$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_CaptSternWhyStealMySubmarine: @ 820D35A
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: Why…\p"
.string "Why would TEAM AQUA steal my\n"
.string "SUBMARINE EXPLORER 1?\p"
2018-12-07 16:41:08 +01:00
.string "They can't be after the slumbering\n"
2017-11-10 02:21:31 +01:00
.string "POKéMON at the bottom of the sea…\p"
.string "But even if I were to chase them,\n"
2018-12-07 16:41:08 +01:00
.string "I don't stand a chance against them…$"
2017-11-10 02:21:31 +01:00
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_TeamAquaLeftNeedDive: @ 820D42B
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: Oh, {PLAYER}{KUN}…\p"
.string "Okay… So TEAM AQUA left before you\n"
.string "could stop them…\p"
2018-12-07 16:41:08 +01:00
.string "Oh, no, don't blame yourself.\n"
.string "You're not responsible for this.\p"
2017-11-10 02:21:31 +01:00
.string "Trying to catch a submarine…\n"
2018-12-07 16:41:08 +01:00
.string "It's impossible for most people.\p"
2017-11-10 02:21:31 +01:00
.string "You would need a POKéMON that knows\n"
.string "how to DIVE…\p"
.string "Perhaps if you went out to\n"
.string "MOSSDEEP CITY…\p"
.string "A lot of divers live out there, so\n"
.string "someone might teach you…$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_NeedDiveToCatchSub: @ 820D58A
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: Trying to catch a\n"
2018-12-07 16:41:08 +01:00
.string "submarine… It's impossible.\p"
2017-11-10 02:21:31 +01:00
.string "You would need a POKéMON that knows\n"
.string "how to DIVE…\p"
.string "Perhaps if you went out to\n"
.string "MOSSDEEP CITY…\p"
.string "A lot of divers live out there, so\n"
.string "someone might teach you…$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_WontBeLongBeforeWeFinishFerry: @ 820D65C
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: Oh, yes.\n"
.string "MR. BRINEY came to our SHIPYARD.\p"
2018-12-07 16:41:08 +01:00
.string "It won't be long now before we finish\n"
2017-11-10 02:21:31 +01:00
.string "making the ferry!$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_FinishedMakingFerry: @ 820D6CB
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: {PLAYER}{KUN}!\p"
.string "We finally finished making the ferry\n"
.string "S.S. TIDAL!\p"
2018-12-07 16:41:08 +01:00
.string "We couldn't have done it without\n"
2017-11-10 02:21:31 +01:00
.string "your friend MR. BRINEY.\p"
.string "Please go for a short cruise on it!$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_WouldYouTradeScanner: @ 820D76C
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: Oh?\n"
.string "{PLAYER}{KUN}, that item you have…\p"
2018-12-07 16:41:08 +01:00
.string "That's a SCANNER! That would sure\n"
2017-11-10 02:21:31 +01:00
.string "help us on our explorations.\p"
.string "{PLAYER}{KUN}, would you trade your\n"
.string "SCANNER for something?\p"
.string "Like, say, a DEEPSEATOOTH or\n"
.string "a DEEPSEASCALE that I have?$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_IfYouWantToTradeLetMeKnow: @ 820D841
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: Are you certain?\n"
2018-12-07 16:41:08 +01:00
.string "It's useless to you, {PLAYER}{KUN}…\p"
2017-11-10 02:21:31 +01:00
.string "Well, okay, then. If you want to trade\n"
.string "your SCANNER, let me know.$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_TradeForDeepSeaTooth: @ 820D8BC
2018-12-07 16:41:08 +01:00
.string "CAPT. STERN: So you'll trade it for\n"
2017-11-10 02:21:31 +01:00
.string "my DEEPSEATOOTH?$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_TradeForDeepSeaScale: @ 820D8F1
2018-12-07 16:41:08 +01:00
.string "CAPT. STERN: So you'll trade it for\n"
2017-11-10 02:21:31 +01:00
.string "my DEEPSEASCALE?$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_WhichOneDoYouWant: @ 820D926
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: Which one do you want?$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_HandedScannerToStern: @ 820D94A
2017-11-10 02:21:31 +01:00
.string "{PLAYER} handed the SCANNER to\n"
.string "CAPT. STERN.$"
2019-11-09 09:07:32 +01:00
SlateportCity_Harbor_Text_ThisWillHelpResearch: @ 820D970
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: Thanks, {PLAYER}{KUN}!\n"
.string "This will help our research a lot!$"