pokecrystal-board/maps/FastShip1F.asm

321 lines
6.2 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const FASTSHIP1F_SAILOR1
const FASTSHIP1F_SAILOR2
const FASTSHIP1F_SAILOR3
const FASTSHIP1F_GENTLEMAN
2015-07-10 01:45:35 -07:00
FastShip1F_MapScriptHeader:
.MapTriggers:
db 3
maptrigger .DummyTrigger0
maptrigger .EnterFastShip
maptrigger .DummyTrigger2
.MapCallbacks:
db 0
.DummyTrigger0:
end
.EnterFastShip:
priorityjump .EnterFastShipScript
end
.DummyTrigger2:
end
.EnterFastShipScript:
2015-11-26 21:22:14 -08:00
applymovement FASTSHIP1F_SAILOR1, MovementData_0x7520e
applymovement PLAYER, MovementData_0x75217
2015-11-26 21:22:14 -08:00
applymovement FASTSHIP1F_SAILOR1, MovementData_0x75211
pause 30
playsound SFX_BOAT
earthquake 30
blackoutmod FAST_SHIP_CABINS_SW_SSW_NW
clearevent EVENT_FAST_SHIP_HAS_ARRIVED
checkevent EVENT_FAST_SHIP_FIRST_TIME
2015-11-16 13:01:45 -08:00
iftrue .SkipGrandpa
dotrigger $2
end
2015-11-16 13:01:45 -08:00
.SkipGrandpa:
dotrigger $0
end
2015-07-10 01:45:35 -07:00
SailorScript_0x75160:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
checkevent EVENT_FAST_SHIP_HAS_ARRIVED
iftrue .Arrived
2015-07-10 05:08:03 -07:00
checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
iftrue .Olivine
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7523b
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.Olivine:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7529b
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.Arrived:
2015-07-10 05:08:03 -07:00
checkevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
iftrue ._Olivine
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x754be
2015-11-25 07:16:29 -08:00
waitbutton
closetext
scall .LetThePlayerOut
playsound SFX_EXIT_BUILDING
2015-11-26 18:05:32 -08:00
special FadeOutPalettes
2015-11-25 07:16:29 -08:00
waitsfx
setevent EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
domaptrigger VERMILION_PORT, $1
warp VERMILION_PORT, $7, $11
end
._Olivine:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7548d
2015-11-25 07:16:29 -08:00
waitbutton
closetext
scall .LetThePlayerOut
playsound SFX_EXIT_BUILDING
2015-11-26 18:05:32 -08:00
special FadeOutPalettes
2015-11-25 07:16:29 -08:00
waitsfx
setevent EVENT_OLIVINE_PORT_SAILOR_AT_GANGWAY
domaptrigger OLIVINE_PORT, $1
warp OLIVINE_PORT, $7, $17
end
.LetThePlayerOut:
checkcode VAR_FACING
if_equal RIGHT, .YouAreFacingRight
2015-11-26 21:22:14 -08:00
applymovement FASTSHIP1F_SAILOR1, MovementData_0x7520e
applymovement PLAYER, MovementData_0x75235
end
.YouAreFacingRight:
2015-11-26 21:22:14 -08:00
applymovement FASTSHIP1F_SAILOR1, MovementData_0x75214
applymovement PLAYER, MovementData_0x75238
end
2015-07-10 01:45:35 -07:00
SailorScript_0x751d0:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
checkevent EVENT_FAST_SHIP_FIRST_TIME
iftrue .Vermilion
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x752f9
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.Vermilion:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7534f
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 16:48:04 -08:00
FastShip1FSailorScript:
jumptextfaceplayer FastShip1FSailorText
2015-11-16 13:01:45 -08:00
WorriedGrandpaTriggerRight:
2015-11-26 21:22:14 -08:00
moveperson FASTSHIP1F_GENTLEMAN, $14, $6
2015-11-16 13:01:45 -08:00
WorriedGrandpaTriggerLeft:
2015-11-26 21:22:14 -08:00
appear FASTSHIP1F_GENTLEMAN
applymovement FASTSHIP1F_GENTLEMAN, MovementData_0x7521b
playsound SFX_TACKLE
applymovement PLAYER, MovementData_0x7522e
2015-11-26 21:22:14 -08:00
applymovement FASTSHIP1F_GENTLEMAN, MovementData_0x75220
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x75412
2015-11-25 07:16:29 -08:00
waitbutton
closetext
spriteface PLAYER, RIGHT
2015-11-26 21:22:14 -08:00
applymovement FASTSHIP1F_GENTLEMAN, MovementData_0x75222
disappear FASTSHIP1F_GENTLEMAN
dotrigger $0
end
2015-07-10 01:45:35 -07:00
MovementData_0x7520e:
2016-05-14 10:46:14 -07:00
slow_step LEFT
turn_head RIGHT
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x75211:
2016-05-14 10:46:14 -07:00
slow_step RIGHT
turn_head DOWN
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x75214:
2016-05-14 10:46:14 -07:00
slow_step DOWN
turn_head UP
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x75217:
2016-05-14 10:46:14 -07:00
step DOWN
step DOWN
turn_head DOWN
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x7521b:
2016-05-14 10:46:14 -07:00
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x75220:
2016-05-14 10:46:14 -07:00
step RIGHT
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x75222:
2016-05-14 10:46:14 -07:00
big_step DOWN
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step RIGHT
big_step DOWN
big_step DOWN
big_step DOWN
big_step DOWN
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x7522e:
2016-05-14 10:46:14 -07:00
big_step RIGHT
turn_head LEFT
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x75231:
2016-05-14 10:46:14 -07:00
step UP
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x75233:
2016-05-14 10:46:14 -07:00
step DOWN
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x75235:
2016-05-14 10:46:14 -07:00
step UP
step UP
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x75238:
2016-05-14 10:46:14 -07:00
step RIGHT
step UP
step_end
2015-07-10 01:45:35 -07:00
UnknownText_0x7523b:
text "FAST SHIP S.S.AQUA"
line "is en route to"
cont "VERMILION CITY."
para "We will make an"
line "announcement when"
cont "we arrive."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7529b:
text "FAST SHIP S.S.AQUA"
line "is en route to"
cont "OLIVINE CITY."
para "We will make an"
line "announcement when"
cont "we arrive."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x752f9:
text "Here's your cabin."
para "If your #MON"
line "are hurt, take a"
cont "nap in the bed."
para "That will heal"
line "them."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7534f:
text "Here's your cabin."
para "You can heal your"
line "#MON by taking"
cont "a nap in the bed."
para "The ship will"
line "arrive while"
cont "you're sleeping."
done
2017-12-17 16:48:04 -08:00
FastShip1FSailorText:
text "The passengers are"
line "all trainers."
para "They're all itch-"
line "ing to battle in"
cont "their cabins."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x75412:
text "Whoa! Excuse me."
line "I was in a hurry!"
para "My granddaughter"
line "is missing!"
para "She's just a wee"
line "girl. If you see"
para "her, please let me"
line "know!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x7548d:
text "FAST SHIP S.S.AQUA"
line "has arrived in"
cont "OLIVINE CITY."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x754be:
text "FAST SHIP S.S.AQUA"
line "has arrived in"
cont "VERMILION CITY."
done
2015-07-10 01:45:35 -07:00
FastShip1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 12
2015-11-16 13:01:45 -08:00
warp_def $1, $19, -1, FAST_SHIP_1F
warp_def $8, $1b, 1, FAST_SHIP_CABINS_NNW_NNE_NE
warp_def $8, $17, 2, FAST_SHIP_CABINS_NNW_NNE_NE
warp_def $8, $13, 3, FAST_SHIP_CABINS_NNW_NNE_NE
warp_def $8, $f, 1, FAST_SHIP_CABINS_SW_SSW_NW
warp_def $f, $f, 2, FAST_SHIP_CABINS_SW_SSW_NW
warp_def $f, $13, 4, FAST_SHIP_CABINS_SW_SSW_NW
warp_def $f, $17, 1, FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN
warp_def $f, $1b, 3, FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN
warp_def $d, $3, 5, FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN
warp_def $c, $6, 1, FAST_SHIP_B1F
warp_def $e, $1e, 2, FAST_SHIP_B1F
.XYTriggers:
db 2
xy_trigger 2, $6, $18, WorriedGrandpaTriggerLeft
xy_trigger 2, $6, $19, WorriedGrandpaTriggerRight
.Signposts:
db 0
.PersonEvents:
db 4
person_event SPRITE_SAILOR, 2, 25, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, SailorScript_0x75160, -1
person_event SPRITE_SAILOR, 7, 14, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, SailorScript_0x751d0, -1
2017-12-17 16:48:04 -08:00
person_event SPRITE_SAILOR, 17, 22, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, 0, PERSONTYPE_SCRIPT, 0, FastShip1FSailorScript, -1
person_event SPRITE_GENTLEMAN, 6, 19, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_FAST_SHIP_1F_GENTLEMAN