pokeemerald/data/maps/SlateportCity_Harbor/scripts.inc

547 lines
18 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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, SlateportCity_Harbor_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_OnTransition:
setescapewarp MAP_SLATEPORT_CITY, 28, 13
2018-05-19 18:02:43 +02:00
setvar VAR_TEMP_1, 0
call_if_eq VAR_SLATEPORT_HARBOR_STATE, 1, SlateportCity_Harbor_EventScript_ReadyAquaEscapeScene
2019-11-09 09:07:32 +01:00
call_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_ShowSSTidal
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_ShowSSTidal::
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_ReadyAquaEscapeScene::
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_AquaEscapeTrigger0::
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_AquaEscapeTrigger1::
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_AquaEscapeTrigger2::
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_AquaEscapeTrigger3::
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_AquaEscapeScene::
applymovement LOCALID_ARCHIE, Common_Movement_WalkInPlaceFasterDown
2017-11-10 02:21:31 +01:00
waitmovement 0
applymovement LOCALID_GRUNT, Common_Movement_WalkInPlaceFasterDown
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterUp
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
call_if_eq VAR_0x8008, 0, SlateportCity_Harbor_EventScript_SternApproachPlayer0
call_if_eq VAR_0x8008, 1, SlateportCity_Harbor_EventScript_SternApproachPlayer1
call_if_eq VAR_0x8008, 2, SlateportCity_Harbor_EventScript_SternApproachPlayer
call_if_eq VAR_0x8008, 3, SlateportCity_Harbor_EventScript_SternApproachPlayer
2019-11-09 09:07:32 +01:00
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_SternApproachPlayer0::
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_WalkInPlaceFasterDown
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_SternApproachPlayer1::
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_WalkInPlaceFasterRight
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_SternApproachPlayer::
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_WalkInPlaceFasterRight
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Movement_AquaBoardSub:
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Movement_ArchieBoardSub:
delay_16
delay_16
jump_up
set_invisible
step_end
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Movement_SubmarineExit:
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Movement_SternApproachPlayer0:
walk_left
walk_left
walk_left
walk_left
walk_up
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Movement_SternApproachPlayer1:
walk_left
walk_left
walk_up
walk_left
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Movement_SternApproachPlayer:
walk_left
walk_left
walk_left
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Movement_PlayerWalkUp:
walk_up
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_FerryAttendant::
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_AskForTicket::
2019-11-09 09:07:32 +01:00
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_ChooseDestination::
2019-11-09 09:07:32 +01:00
goto_if_set FLAG_MET_SCOTT_ON_SS_TIDAL, SlateportCity_Harbor_EventScript_ChooseDestinationWithBattleFrontier
2021-03-31 06:35:56 +02:00
multichoicedefault 18, 8, MULTI_SSTIDAL_SLATEPORT_NO_BF, 2, FALSE
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_ChooseDestinationWithBattleFrontier::
2021-03-31 06:35:56 +02:00
multichoicedefault 17, 6, MULTI_SSTIDAL_SLATEPORT_WITH_BF, 2, FALSE
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_NoTicket::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_YouMustHaveTicket, MSGBOX_DEFAULT
release
end
2017-11-10 02:21:31 +01:00
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_Lilycove::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_LilycoveItIs, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, 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, 1, 10
2017-11-10 02:21:31 +01:00
waitstate
release
end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_BattleFrontier::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_BattleFrontierItIs, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, SlateportCity_Harbor_EventScript_ChooseNewDestination
2019-11-09 09:07:32 +01:00
call SlateportCity_Harbor_EventScript_BoardFerry
warp MAP_BATTLE_FRONTIER_OUTSIDE_WEST, 19, 67
2017-11-10 02:21:31 +01:00
waitstate
release
end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_ChooseNewDestination::
2019-11-09 09:07:32 +01:00
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_BoardFerry::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_PleaseBoardFerry, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
closemessage
applymovement VAR_LAST_TALKED, Common_Movement_WalkInPlaceFasterUp
2017-11-10 02:21:31 +01:00
waitmovement 0
delay 30
hideobjectat VAR_LAST_TALKED, MAP_SLATEPORT_CITY_HARBOR
call_if_eq VAR_FACING, DIR_NORTH, SlateportCity_Harbor_EventScript_BoardFerryNorth
call_if_eq VAR_FACING, DIR_EAST, 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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_CancelDestinationSelect::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_SailAnotherTime, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_BoardFerryEast::
applymovement OBJ_EVENT_ID_PLAYER, SlateportCity_Harbor_Movement_BoardFerryEast
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_BoardFerryNorth::
applymovement OBJ_EVENT_ID_PLAYER, SlateportCity_Harbor_Movement_BoardFerryNorth
2017-11-10 02:21:31 +01:00
waitmovement 0
return
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Movement_BoardFerryEast:
walk_right
walk_in_place_faster_up
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Movement_BoardFerryNorth:
walk_up
2017-11-10 02:21:31 +01:00
step_end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_Sailor::
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
goto_if_eq VAR_0x8004, 2, SlateportCity_Harbor_EventScript_SailorNoAbnormalWeather @ Defeated both
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_AbnormalWeather, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_SailorNoAbnormalWeather::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_LoveToGoDeepUnderwaterSomeday, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_CountDefeatedLegendary::
2017-11-10 02:21:31 +01:00
addvar VAR_0x8004, 1
return
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_FatMan::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_SubTooSmallForMe, MSGBOX_NPC
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_CaptStern::
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
goto_if_eq VAR_SLATEPORT_HARBOR_STATE, 2, SlateportCity_Harbor_EventScript_WhyStealSubmarine
2019-11-09 09:07:32 +01:00
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_WhyStealSubmarine::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_CaptSternWhyStealMySubmarine, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_TeamAquaLeftNeedDive::
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_NeedDive::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_NeedDiveToCatchSub, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_CaptSternFerryOrScannerComment::
goto_if_eq VAR_TEMP_1, 1, SlateportCity_Harbor_EventScript_TradedScanner
2021-08-05 18:46:11 +02:00
checkitem ITEM_SCANNER
goto_if_eq VAR_RESULT, TRUE, SlateportCity_Harbor_EventScript_AskToTradeScanner
2019-11-09 09:07:32 +01:00
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_FerryFinished::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_FinishedMakingFerry, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_AskToTradeScanner::
2019-11-09 09:07:32 +01:00
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_ChooseScannerTrade::
2021-03-31 06:35:56 +02:00
multichoice 0, 0, MULTI_STERN_DEEPSEA, FALSE
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_DeepSeaTooth::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_TradeForDeepSeaTooth, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, SlateportCity_Harbor_EventScript_ChooseDifferentTrade
giveitem ITEM_DEEP_SEA_TOOTH
goto_if_eq VAR_RESULT, FALSE, 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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_DeepSeaScale::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_TradeForDeepSeaScale, MSGBOX_YESNO
goto_if_eq VAR_RESULT, NO, SlateportCity_Harbor_EventScript_ChooseDifferentTrade
giveitem ITEM_DEEP_SEA_SCALE
goto_if_eq VAR_RESULT, FALSE, 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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_DeclineTrade::
2019-11-09 09:07:32 +01:00
msgbox SlateportCity_Harbor_Text_IfYouWantToTradeLetMeKnow, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_ChooseDifferentTrade::
2019-11-09 09:07:32 +01:00
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_EventScript_TradedScanner::
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_FerryServiceUnavailable:
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…$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_MayISeeYourTicket:
2017-11-10 02:21:31 +01:00
.string "Hello, are you here for the ferry?\n"
.string "May I see your TICKET?$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_YouMustHaveTicket:
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_FlashedTicketWhereTo:
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?$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_SailAnotherTime:
2017-11-10 02:21:31 +01:00
.string "Please sail with us another time!$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_LilycoveItIs:
2017-11-10 02:21:31 +01:00
.string "LILYCOVE CITY it is, then!$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_BattleFrontierItIs:
2017-11-10 02:21:31 +01:00
.string "BATTLE FRONTIER it is, then!$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_PleaseBoardFerry:
2017-11-10 02:21:31 +01:00
.string "Please board the ferry and wait for\n"
.string "departure.$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_WhereWouldYouLikeToGo:
2017-11-10 02:21:31 +01:00
.string "Then, where would you like to go?$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_LoveToGoDeepUnderwaterSomeday:
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.$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_AbnormalWeather:
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!$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_SubTooSmallForMe:
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…$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_SameThugsTriedToRobAtMuseum:
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.$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_ArchieYouAgainHideoutInLilycove:
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…$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_CaptSternWhyStealMySubmarine:
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
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_TeamAquaLeftNeedDive:
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…$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_NeedDiveToCatchSub:
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…$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_WontBeLongBeforeWeFinishFerry:
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!$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_FinishedMakingFerry:
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!$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_WouldYouTradeScanner:
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?$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_IfYouWantToTradeLetMeKnow:
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.$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_TradeForDeepSeaTooth:
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?$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_TradeForDeepSeaScale:
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?$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_WhichOneDoYouWant:
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: Which one do you want?$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_HandedScannerToStern:
2017-11-10 02:21:31 +01:00
.string "{PLAYER} handed the SCANNER to\n"
.string "CAPT. STERN.$"
2021-07-20 21:18:31 +02:00
SlateportCity_Harbor_Text_ThisWillHelpResearch:
2017-11-10 02:21:31 +01:00
.string "CAPT. STERN: Thanks, {PLAYER}{KUN}!\n"
.string "This will help our research a lot!$"