2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2015-11-26 21:22:14 -08:00
|
|
|
const VERMILIONPORT_SAILOR1
|
|
|
|
const VERMILIONPORT_SAILOR2
|
|
|
|
const VERMILIONPORT_SUPER_NERD
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
VermilionPort_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2018-02-01 09:40:58 -08:00
|
|
|
scene_script .DummyScene0 ; SCENE_DEFAULT
|
|
|
|
scene_script .LeaveFastShip ; SCENE_VERMILIONPORT_LEAVE_SHIP
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_NEWMAP, .FlyPoint
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene0:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.LeaveFastShip:
|
2019-03-10 13:39:31 -07:00
|
|
|
prioritysjump .LeaveFastShipScript
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.FlyPoint:
|
2015-06-25 22:30:16 -07:00
|
|
|
setflag ENGINE_FLYPOINT_VERMILION
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.LeaveFastShipScript:
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x74ef3
|
2015-11-26 21:22:14 -08:00
|
|
|
appear VERMILIONPORT_SAILOR1
|
2018-02-01 09:40:58 -08:00
|
|
|
setscene SCENE_DEFAULT
|
2015-07-18 12:46:38 -07:00
|
|
|
setevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1
|
|
|
|
setevent EVENT_FAST_SHIP_CABINS_SE_SSE_GENTLEMAN
|
|
|
|
setevent EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP
|
|
|
|
clearevent EVENT_OLIVINE_PORT_PASSAGE_POKEFAN_M
|
2015-07-20 00:51:52 -07:00
|
|
|
setevent EVENT_FAST_SHIP_FIRST_TIME
|
2018-01-24 07:46:49 -08:00
|
|
|
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
2015-07-23 09:59:19 -07:00
|
|
|
blackoutmod VERMILION_CITY
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-03-01 14:17:08 -08:00
|
|
|
VermilionPortSailorAtGangwayScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-01-24 07:46:49 -08:00
|
|
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
2018-02-03 19:37:08 -08:00
|
|
|
iftrue VermilionPortAlreadyRodeScript
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortDepartingText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject VERMILIONPORT_SAILOR1, DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 10
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear VERMILIONPORT_SAILOR1
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x74ef1
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2018-01-24 08:17:05 -08:00
|
|
|
special FadeOutPalettes
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-07-18 12:46:38 -07:00
|
|
|
setevent EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
|
|
|
|
clearevent EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
|
2013-09-24 00:48:58 -07:00
|
|
|
clearevent EVENT_BEAT_POKEMANIAC_ETHAN
|
|
|
|
clearevent EVENT_BEAT_BURGLAR_COREY
|
|
|
|
clearevent EVENT_BEAT_BUG_CATCHER_KEN
|
|
|
|
clearevent EVENT_BEAT_GUITARIST_CLYDE
|
|
|
|
clearevent EVENT_BEAT_POKEFANM_JEREMY
|
|
|
|
clearevent EVENT_BEAT_POKEFANF_GEORGIA
|
|
|
|
clearevent EVENT_BEAT_SAILOR_KENNETH
|
|
|
|
clearevent EVENT_BEAT_TEACHER_SHIRLEY
|
|
|
|
clearevent EVENT_BEAT_SCHOOLBOY_NATE
|
|
|
|
clearevent EVENT_BEAT_SCHOOLBOY_RICKY
|
2015-07-11 23:00:17 -07:00
|
|
|
setevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
|
2015-11-26 21:22:14 -08:00
|
|
|
appear VERMILIONPORT_SAILOR1
|
2018-02-01 09:40:58 -08:00
|
|
|
setmapscene FAST_SHIP_1F, SCENE_FASTSHIP1F_ENTER_SHIP
|
2018-01-09 15:45:25 -08:00
|
|
|
warp FAST_SHIP_1F, 25, 1
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-03 19:37:08 -08:00
|
|
|
VermilionPortAlreadyRodeScript:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortCantBoardText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-03 19:37:08 -08:00
|
|
|
VermilionPortWalkUpToShipScript:
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject VERMILIONPORT_SAILOR2, RIGHT
|
2018-01-24 07:46:49 -08:00
|
|
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
2018-02-03 19:37:08 -08:00
|
|
|
iftrue .skip
|
2018-01-24 07:46:49 -08:00
|
|
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
|
2018-02-03 19:37:08 -08:00
|
|
|
iftrue .skip
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, LEFT
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_WEEKDAY
|
2018-02-25 17:39:54 -08:00
|
|
|
ifequal MONDAY, .NextShipWednesday
|
|
|
|
ifequal TUESDAY, .NextShipWednesday
|
|
|
|
ifequal THURSDAY, .NextShipSunday
|
|
|
|
ifequal FRIDAY, .NextShipSunday
|
|
|
|
ifequal SATURDAY, .NextShipSunday
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortAskBoardingText
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2018-02-03 19:37:08 -08:00
|
|
|
iffalse VermilionPortNotRidingMoveAwayScript
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortAskTicketText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
checkitem S_S_TICKET
|
2018-02-03 19:37:08 -08:00
|
|
|
iffalse .NoTicket
|
|
|
|
writetext VermilionPortSSTicketText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-01-24 07:46:49 -08:00
|
|
|
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x74ef8
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump VermilionPortSailorAtGangwayScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-03 19:37:08 -08:00
|
|
|
.NoTicket:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortNoTicketText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x74ef5
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-03 19:37:08 -08:00
|
|
|
.NextShipWednesday:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortSailMondayText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x74ef5
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-03 19:37:08 -08:00
|
|
|
.NextShipSunday:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortSailSundayText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x74ef5
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-03 19:37:08 -08:00
|
|
|
.skip:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-03 19:37:08 -08:00
|
|
|
VermilionPortNotRidingScript:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortComeAgainText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-03 19:37:08 -08:00
|
|
|
VermilionPortNotRidingMoveAwayScript:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortComeAgainText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x74ef5
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
VermilionPortSailorScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-01-24 07:46:49 -08:00
|
|
|
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
2018-02-03 19:37:08 -08:00
|
|
|
iftrue VermilionPortAlreadyRodeScript
|
2019-03-10 12:31:59 -07:00
|
|
|
readvar VAR_WEEKDAY
|
2018-02-02 18:09:17 -08:00
|
|
|
ifequal MONDAY, .NextShipWednesday
|
|
|
|
ifequal TUESDAY, .NextShipWednesday
|
|
|
|
ifequal THURSDAY, .NextShipSunday
|
|
|
|
ifequal FRIDAY, .NextShipSunday
|
|
|
|
ifequal SATURDAY, .NextShipSunday
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortAskBoardingText
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2018-02-03 19:37:08 -08:00
|
|
|
iffalse VermilionPortNotRidingScript
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortAskTicketText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
checkitem S_S_TICKET
|
2018-01-23 20:40:25 -08:00
|
|
|
iffalse .NoTicket
|
2018-02-03 19:37:08 -08:00
|
|
|
writetext VermilionPortSSTicketText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2018-01-24 07:46:49 -08:00
|
|
|
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x74efe
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump VermilionPortSailorAtGangwayScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-23 20:40:25 -08:00
|
|
|
.NoTicket:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortNoTicketText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-23 20:40:25 -08:00
|
|
|
.NextShipWednesday:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortSailMondayText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-23 20:40:25 -08:00
|
|
|
.NextShipSunday:
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortSailSundayText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
VermilionPortSuperNerdScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2019-10-20 15:24:17 -07:00
|
|
|
writetext VermilionPortSuperNerdText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
VermilionPortHiddenIron:
|
2018-01-23 09:59:21 -08:00
|
|
|
hiddenitem IRON, EVENT_VERMILION_PORT_HIDDEN_IRON
|
2016-04-10 11:42:14 -07:00
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x74ef1:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x74ef3:
|
2016-05-14 10:46:14 -07:00
|
|
|
step UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x74ef5:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
turn_head LEFT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x74ef8:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-06-25 22:30:16 -07:00
|
|
|
MovementData_0x74efe:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionPortDepartingText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "We're departing"
|
|
|
|
line "soon. Please get"
|
|
|
|
cont "on board."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionPortCantBoardText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Sorry. You can't"
|
|
|
|
line "board now."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionPortAskBoardingText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Welcome to FAST"
|
|
|
|
line "SHIP S.S.AQUA."
|
|
|
|
|
|
|
|
para "Will you be board-"
|
|
|
|
line "ing today?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionPortAskTicketText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "May I see your"
|
|
|
|
line "S.S.TICKET?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionPortComeAgainText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "We hope to see you"
|
|
|
|
line "again!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-03 19:37:08 -08:00
|
|
|
VermilionPortSSTicketText:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> flashed"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "the S.S.TICKET."
|
|
|
|
|
|
|
|
para "That's it."
|
|
|
|
line "Thank you!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionPortNoTicketText:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> tried to"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "show the S.S."
|
|
|
|
cont "TICKET…"
|
|
|
|
|
|
|
|
para "…But no TICKET!"
|
|
|
|
|
|
|
|
para "Sorry!"
|
|
|
|
line "You may board only"
|
|
|
|
|
|
|
|
para "if you have an"
|
|
|
|
line "S.S.TICKET."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionPortSailMondayText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The FAST SHIP will"
|
|
|
|
line "sail on Wednesday."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionPortSailSundayText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The FAST SHIP will"
|
|
|
|
line "sail next Sunday."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2019-10-20 15:24:17 -07:00
|
|
|
VermilionPortSuperNerdText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You came from"
|
|
|
|
line "JOHTO?"
|
|
|
|
|
|
|
|
para "I hear many rare"
|
|
|
|
line "#MON live over"
|
|
|
|
cont "there."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
VermilionPort_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_warp_events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 9, 5, VERMILION_PORT_PASSAGE, 5
|
|
|
|
warp_event 7, 17, FAST_SHIP_1F, 1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2018-02-25 17:39:54 -08:00
|
|
|
coord_event 7, 11, SCENE_DEFAULT, VermilionPortWalkUpToShipScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 16, 13, BGEVENT_ITEM, VermilionPortHiddenIron
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2018-03-01 14:17:08 -08:00
|
|
|
object_event 7, 17, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionPortSailorAtGangwayScript, EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
|
2018-02-28 14:47:31 -08:00
|
|
|
object_event 6, 11, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionPortSailorScript, -1
|
|
|
|
object_event 11, 11, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VermilionPortSuperNerdScript, -1
|