2017-11-10 02:21:31 +01:00
|
|
|
SlateportCity_Harbor_MapScripts:: @ 820C97D
|
|
|
|
map_script 3, SlateportCity_Harbor_MapScript1_20C983
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
SlateportCity_Harbor_MapScript1_20C983: @ 820C983
|
2018-06-15 05:00:09 +02:00
|
|
|
setescapewarp MAP_SLATEPORT_CITY, 255, 28, 13
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 0
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x40A0, 1
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq SlateportCity_Harbor_EventScript_20C9A9
|
|
|
|
call_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_20C9A5
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20C9A5:: @ 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
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20C9A9:: @ 820C9A9
|
2017-12-22 08:46:19 +01:00
|
|
|
savebgm MUS_AQA_0
|
2017-11-10 02:21:31 +01:00
|
|
|
setobjectxyperm 4, 12, 13
|
2019-01-20 17:11:45 +01:00
|
|
|
setobjectmovementtype 4, 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
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20C9BB:: @ 820C9BB
|
|
|
|
lockall
|
|
|
|
setvar VAR_0x8008, 0
|
|
|
|
goto SlateportCity_Harbor_EventScript_20C9F5
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20C9C7:: @ 820C9C7
|
|
|
|
lockall
|
|
|
|
setvar VAR_0x8008, 1
|
|
|
|
goto SlateportCity_Harbor_EventScript_20C9F5
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20C9D3:: @ 820C9D3
|
|
|
|
lockall
|
|
|
|
setvar VAR_0x8008, 2
|
|
|
|
goto SlateportCity_Harbor_EventScript_20C9F5
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20C9DF:: @ 820C9DF
|
|
|
|
lockall
|
|
|
|
setvar VAR_0x8008, 3
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_20CAEF
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
goto SlateportCity_Harbor_EventScript_20C9F5
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20C9F5:: @ 820C9F5
|
|
|
|
applymovement 7, SlateportCity_Harbor_Movement_2725AA
|
|
|
|
waitmovement 0
|
|
|
|
applymovement 6, SlateportCity_Harbor_Movement_2725AA
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_2725A6
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D291, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
applymovement 6, SlateportCity_Harbor_Movement_20CAC8
|
|
|
|
applymovement 7, SlateportCity_Harbor_Movement_20CAC8
|
|
|
|
applymovement 8, SlateportCity_Harbor_Movement_20CAD2
|
|
|
|
waitmovement 0
|
|
|
|
removeobject 6
|
|
|
|
removeobject 7
|
|
|
|
removeobject 8
|
|
|
|
setvar VAR_0x40A0, 2
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_MET_TEAM_AQUA_HARBOR
|
2018-10-18 04:07:23 +02:00
|
|
|
setflag FLAG_HIDE_LILCOVE_MOTEL_SCOTT
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8008, 0
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq SlateportCity_Harbor_EventScript_20CA89
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8008, 1
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq SlateportCity_Harbor_EventScript_20CA9E
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8008, 2
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq SlateportCity_Harbor_EventScript_20CAB3
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8008, 3
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq SlateportCity_Harbor_EventScript_20CAB3
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D35A, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
2018-10-18 04:07:23 +02:00
|
|
|
setflag FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_1_BLOCKING_ENTRANCE
|
|
|
|
setflag FLAG_HIDE_AQUA_HIDEOUT_1F_GRUNT_2_BLOCKING_ENTRANCE
|
2017-11-10 02:21:31 +01:00
|
|
|
moveobjectoffscreen 4
|
2019-01-20 17:11:45 +01:00
|
|
|
setobjectmovementtype 4, MOVEMENT_TYPE_FACE_RIGHT
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CA89:: @ 820CA89
|
|
|
|
applymovement 4, SlateportCity_Harbor_Movement_20CAE0
|
|
|
|
waitmovement 0
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_2725AA
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CA9E:: @ 820CA9E
|
|
|
|
applymovement 4, SlateportCity_Harbor_Movement_20CAE6
|
|
|
|
waitmovement 0
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_2725A8
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CAB3:: @ 820CAB3
|
|
|
|
applymovement 4, SlateportCity_Harbor_Movement_20CAEB
|
|
|
|
waitmovement 0
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_2725A8
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Movement_20CAC8: @ 820CAC8
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
jump_up
|
|
|
|
set_invisible
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
2017-11-10 08:36:41 +01:00
|
|
|
SlateportCity_Harbor_Movement_20CACD: @ 820CACD
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_16
|
|
|
|
delay_16
|
|
|
|
jump_up
|
|
|
|
set_invisible
|
2017-11-10 08:36:41 +01:00
|
|
|
step_end
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
SlateportCity_Harbor_Movement_20CAD2: @ 820CAD2
|
2018-06-14 01:19:19 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Movement_20CAE0: @ 820CAE0
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Movement_20CAE6: @ 820CAE6
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_up
|
|
|
|
walk_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Movement_20CAEB: @ 820CAEB
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_left
|
|
|
|
walk_left
|
|
|
|
walk_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Movement_20CAEF: @ 820CAEF
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CAF1:: @ 820CAF1
|
|
|
|
lock
|
|
|
|
faceplayer
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_20CB06
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20CE20, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CB06:: @ 820CB06
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20CE87, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
message SlateportCity_Harbor_Text_20CF1C
|
|
|
|
waitmessage
|
|
|
|
goto SlateportCity_Harbor_EventScript_20CB1A
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CB1A:: @ 820CB1A
|
2019-01-02 22:12:43 +01:00
|
|
|
goto_if_set FLAG_MET_SCOTT_ON_SS_TIDAL, SlateportCity_Harbor_EventScript_20CB50
|
2017-11-10 02:21:31 +01:00
|
|
|
multichoicedefault 18, 8, 56, 2, 0
|
|
|
|
switch VAR_RESULT
|
|
|
|
case 0, SlateportCity_Harbor_EventScript_20CB92
|
|
|
|
case 1, SlateportCity_Harbor_EventScript_20CC2D
|
|
|
|
case 127, SlateportCity_Harbor_EventScript_20CC2D
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CB50:: @ 820CB50
|
|
|
|
multichoicedefault 17, 6, 52, 2, 0
|
|
|
|
switch VAR_RESULT
|
|
|
|
case 0, SlateportCity_Harbor_EventScript_20CB92
|
|
|
|
case 1, SlateportCity_Harbor_EventScript_20CBBA
|
|
|
|
case 2, SlateportCity_Harbor_EventScript_20CC2D
|
|
|
|
case 127, SlateportCity_Harbor_EventScript_20CC2D
|
|
|
|
end
|
|
|
|
|
2017-11-10 08:36:41 +01:00
|
|
|
SlateportCity_Harbor_EventScript_20CB88:: @ 820CB88
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20CEC1, MSGBOX_DEFAULT
|
2017-11-10 08:36:41 +01:00
|
|
|
release
|
|
|
|
end
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CB92:: @ 820CB92
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20CF93, MSGBOX_YESNO
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq SlateportCity_Harbor_EventScript_20CBDD
|
2018-08-08 10:37:12 +02:00
|
|
|
setvar VAR_PORTHOLE_STATE, 1
|
2017-11-10 02:21:31 +01:00
|
|
|
call SlateportCity_Harbor_EventScript_20CBE9
|
2018-06-15 05:00:09 +02:00
|
|
|
warp MAP_SS_TIDAL_CORRIDOR, 255, 1, 10
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CBBA:: @ 820CBBA
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20CFAE, MSGBOX_YESNO
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq SlateportCity_Harbor_EventScript_20CBDD
|
2017-11-10 02:21:31 +01:00
|
|
|
call SlateportCity_Harbor_EventScript_20CBE9
|
2018-06-15 05:00:09 +02:00
|
|
|
warp MAP_BATTLE_FRONTIER_OUTSIDE_WEST, 255, 19, 67
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CBDD:: @ 820CBDD
|
|
|
|
message SlateportCity_Harbor_Text_20CFFA
|
|
|
|
waitmessage
|
|
|
|
goto SlateportCity_Harbor_EventScript_20CB1A
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CBE9:: @ 820CBE9
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20CFCB, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
applymovement VAR_LAST_TALKED, SlateportCity_Harbor_Movement_2725A6
|
|
|
|
waitmovement 0
|
|
|
|
delay 30
|
2018-06-15 05:00:09 +02:00
|
|
|
hideobjectat VAR_LAST_TALKED, MAP_SLATEPORT_CITY_HARBOR
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_FACING, 2
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq SlateportCity_Harbor_EventScript_20CC42
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_FACING, 4
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq SlateportCity_Harbor_EventScript_20CC37
|
2017-11-10 02:21:31 +01:00
|
|
|
delay 30
|
2018-12-24 22:31:24 +01:00
|
|
|
hideobjectat EVENT_OBJ_ID_PLAYER, MAP_PETALBURG_CITY
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8004, 5
|
|
|
|
call SlateportCity_Harbor_EventScript_2721E2
|
|
|
|
return
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CC2D:: @ 820CC2D
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20CF71, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CC37:: @ 820CC37
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_20CC4D
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CC42:: @ 820CC42
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, SlateportCity_Harbor_Movement_20CC50
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
return
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Movement_20CC4D: @ 820CC4D
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_right
|
|
|
|
walk_in_place_fastest_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Movement_20CC50: @ 820CC50
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CC52:: @ 820CC52
|
|
|
|
lock
|
|
|
|
faceplayer
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_unset FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_20CC89
|
2017-11-10 02:21:31 +01:00
|
|
|
setvar VAR_0x8004, 0
|
2019-01-02 22:12:43 +01:00
|
|
|
call_if_set FLAG_DEFEATED_KYOGRE, SlateportCity_Harbor_EventScript_20CC93
|
|
|
|
call_if_set FLAG_DEFEATED_GROUDON, SlateportCity_Harbor_EventScript_20CC93
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x8004, 2
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq SlateportCity_Harbor_EventScript_20CC89
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D08E, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CC89:: @ 820CC89
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D01C, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CC93:: @ 820CC93
|
|
|
|
addvar VAR_0x8004, 1
|
|
|
|
return
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CC99:: @ 820CC99
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D194, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CCA2:: @ 820CCA2
|
|
|
|
lock
|
|
|
|
faceplayer
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_set FLAG_BADGE07_GET, SlateportCity_Harbor_EventScript_20CD00
|
2019-01-02 22:12:43 +01:00
|
|
|
goto_if_set FLAG_EVIL_TEAM_ESCAPED_STERN_SPOKE, SlateportCity_Harbor_EventScript_20CCF6
|
|
|
|
goto_if_set FLAG_TEAM_AQUA_ESCAPED_IN_SUBMARINE, SlateportCity_Harbor_EventScript_20CCE9
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x40A0, 2
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq SlateportCity_Harbor_EventScript_20CCDF
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D232, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
applymovement VAR_LAST_TALKED, SlateportCity_Harbor_Movement_2725A2
|
|
|
|
waitmovement 0
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CCDF:: @ 820CCDF
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D35A, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CCE9:: @ 820CCE9
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_EVIL_TEAM_ESCAPED_STERN_SPOKE
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D42B, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CCF6:: @ 820CCF6
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D58A, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CD00:: @ 820CD00
|
2018-05-19 18:02:43 +02:00
|
|
|
compare VAR_TEMP_1, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq SlateportCity_Harbor_EventScript_20CE11
|
2017-11-10 02:21:31 +01:00
|
|
|
checkitem ITEM_SCANNER, 1
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq SlateportCity_Harbor_EventScript_20CD38
|
|
|
|
goto_if_set FLAG_SYS_GAME_CLEAR, SlateportCity_Harbor_EventScript_20CD2E
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D65C, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CD2E:: @ 820CD2E
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D6CB, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CD38:: @ 820CD38
|
|
|
|
message SlateportCity_Harbor_Text_20D76C
|
|
|
|
waitmessage
|
|
|
|
goto SlateportCity_Harbor_EventScript_20CD44
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CD44:: @ 820CD44
|
|
|
|
multichoice 0, 0, 46, 0
|
|
|
|
switch VAR_RESULT
|
|
|
|
case 0, SlateportCity_Harbor_EventScript_20CD7B
|
|
|
|
case 1, SlateportCity_Harbor_EventScript_20CDBB
|
|
|
|
case 2, SlateportCity_Harbor_EventScript_20CDFB
|
|
|
|
case 127, SlateportCity_Harbor_EventScript_20CDFB
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CD7B:: @ 820CD7B
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D8BC, MSGBOX_YESNO
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq SlateportCity_Harbor_EventScript_20CE05
|
2017-11-10 02:21:31 +01:00
|
|
|
giveitem_std ITEM_DEEP_SEA_TOOTH
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq SlateportCity_Harbor_EventScript_272054
|
2017-11-10 02:21:31 +01:00
|
|
|
takeitem ITEM_SCANNER, 1
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D94A, MSGBOX_DEFAULT
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_EXCHANGED_SCANNER
|
2017-11-10 02:21:31 +01:00
|
|
|
goto SlateportCity_Harbor_EventScript_20CE11
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CDBB:: @ 820CDBB
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D8F1, MSGBOX_YESNO
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq SlateportCity_Harbor_EventScript_20CE05
|
2017-11-10 02:21:31 +01:00
|
|
|
giveitem_std ITEM_DEEP_SEA_SCALE
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq SlateportCity_Harbor_EventScript_272054
|
2017-11-10 02:21:31 +01:00
|
|
|
takeitem ITEM_SCANNER, 1
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D94A, MSGBOX_DEFAULT
|
2019-01-02 22:12:43 +01:00
|
|
|
setflag FLAG_EXCHANGED_SCANNER
|
2017-11-10 02:21:31 +01:00
|
|
|
goto SlateportCity_Harbor_EventScript_20CE11
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CDFB:: @ 820CDFB
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D841, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CE05:: @ 820CE05
|
|
|
|
message SlateportCity_Harbor_Text_20D926
|
|
|
|
waitmessage
|
|
|
|
goto SlateportCity_Harbor_EventScript_20CD44
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_EventScript_20CE11:: @ 820CE11
|
2018-05-19 18:02:43 +02:00
|
|
|
setvar VAR_TEMP_1, 1
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox SlateportCity_Harbor_Text_20D970, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20CE20: @ 820CE20
|
|
|
|
.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…$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20CE87: @ 820CE87
|
|
|
|
.string "Hello, are you here for the ferry?\n"
|
|
|
|
.string "May I see your TICKET?$"
|
|
|
|
|
2017-11-10 08:36:41 +01:00
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20CEC1: @ 820CEC1
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "{PLAYER} doesn't have the TICKET…\p"
|
|
|
|
.string "I'm terribly sorry.\p"
|
2017-11-10 08:36:41 +01:00
|
|
|
.string "You must have a TICKET to board\n"
|
|
|
|
.string "the ferry.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20CF1C: @ 820CF1C
|
|
|
|
.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?$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20CF71: @ 820CF71
|
|
|
|
.string "Please sail with us another time!$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20CF93: @ 820CF93
|
|
|
|
.string "LILYCOVE CITY it is, then!$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20CFAE: @ 820CFAE
|
|
|
|
.string "BATTLE FRONTIER it is, then!$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20CFCB: @ 820CFCB
|
|
|
|
.string "Please board the ferry and wait for\n"
|
|
|
|
.string "departure.$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20CFFA: @ 820CFFA
|
|
|
|
.string "Then, where would you like to go?$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D01C: @ 820D01C
|
|
|
|
.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.$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D08E: @ 820D08E
|
|
|
|
.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!$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D194: @ 820D194
|
|
|
|
.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…$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D232: @ 820D232
|
|
|
|
.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.$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D291: @ 820D291
|
|
|
|
.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…$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D35A: @ 820D35A
|
|
|
|
.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
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D42B: @ 820D42B
|
|
|
|
.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…$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D58A: @ 820D58A
|
|
|
|
.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…$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D65C: @ 820D65C
|
|
|
|
.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!$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D6CB: @ 820D6CB
|
|
|
|
.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!$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D76C: @ 820D76C
|
|
|
|
.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?$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D841: @ 820D841
|
|
|
|
.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.$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D8BC: @ 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?$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D8F1: @ 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?$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D926: @ 820D926
|
|
|
|
.string "CAPT. STERN: Which one do you want?$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D94A: @ 820D94A
|
|
|
|
.string "{PLAYER} handed the SCANNER to\n"
|
|
|
|
.string "CAPT. STERN.$"
|
|
|
|
|
|
|
|
SlateportCity_Harbor_Text_20D970: @ 820D970
|
|
|
|
.string "CAPT. STERN: Thanks, {PLAYER}{KUN}!\n"
|
|
|
|
.string "This will help our research a lot!$"
|