pokecrystal/maps/OlivinePort.asm

414 lines
8.6 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const OLIVINEPORT_SAILOR1
const OLIVINEPORT_SAILOR2
const OLIVINEPORT_SAILOR3
const OLIVINEPORT_FISHING_GURU1
const OLIVINEPORT_FISHING_GURU2
const OLIVINEPORT_YOUNGSTER
const OLIVINEPORT_COOLTRAINER_F
2015-07-10 08:45:35 +00:00
OlivinePort_MapScriptHeader:
.SceneScripts:
db 2
scene_script .DummyScene0
scene_script .LeaveFastShip
.MapCallbacks:
db 0
.DummyScene0:
end
.LeaveFastShip:
priorityjump .LeaveFastShipScript
end
.LeaveFastShipScript:
applymovement PLAYER, MovementData_0x74a32
2015-11-27 05:22:14 +00:00
appear OLIVINEPORT_SAILOR1
setscene $0
setevent EVENT_GAVE_KURT_APRICORNS
blackoutmod OLIVINE_CITY
end
2015-07-10 08:45:35 +00:00
SailorScript_0x748c0:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
checkevent EVENT_GAVE_KURT_APRICORNS
iftrue UnknownScript_0x74919
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74a55
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-11-27 05:22:14 +00:00
spriteface OLIVINEPORT_SAILOR1, DOWN
pause 10
playsound SFX_EXIT_BUILDING
2015-11-27 05:22:14 +00:00
disappear OLIVINEPORT_SAILOR1
2015-11-25 15:16:29 +00:00
waitsfx
applymovement PLAYER, MovementData_0x74a30
playsound SFX_EXIT_BUILDING
2018-01-02 16:13:57 +00:00
special Special_FadeOutPalettes
2015-11-25 15:16:29 +00:00
waitsfx
checkevent EVENT_FAST_SHIP_FIRST_TIME
iffalse UnknownScript_0x7490a
clearevent EVENT_FAST_SHIP_PASSENGERS_EASTBOUND
setevent EVENT_FAST_SHIP_PASSENGERS_WESTBOUND
2013-09-24 07:48:58 +00:00
clearevent EVENT_BEAT_COOLTRAINERM_SEAN
clearevent EVENT_BEAT_COOLTRAINERF_CAROL
clearevent EVENT_BEAT_GENTLEMAN_EDWARD
clearevent EVENT_BEAT_BEAUTY_CASSIE
clearevent EVENT_BEAT_PSYCHIC_RODNEY
clearevent EVENT_BEAT_SUPER_NERD_SHAWN
clearevent EVENT_BEAT_SAILOR_GARRETT
clearevent EVENT_BEAT_FISHER_JONAH
clearevent EVENT_BEAT_BLACKBELT_WAI
2015-07-10 08:45:35 +00:00
UnknownScript_0x7490a:
clearevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
2015-11-27 05:22:14 +00:00
appear OLIVINEPORT_SAILOR1
setmapscene FAST_SHIP_1F, $1
warp FAST_SHIP_1F, $19, $1
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x74919:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74a80
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x7491f:
2015-11-27 05:22:14 +00:00
spriteface OLIVINEPORT_SAILOR3, RIGHT
checkevent EVENT_GAVE_KURT_APRICORNS
iftrue UnknownScript_0x7498b
checkevent EVENT_RECEIVED_BALLS_FROM_KURT
iftrue UnknownScript_0x7498b
spriteface PLAYER, LEFT
2015-12-09 23:25:44 +00:00
opentext
checkevent EVENT_FAST_SHIP_FIRST_TIME
iffalse UnknownScript_0x7494e
checkcode VAR_WEEKDAY
if_equal SUNDAY, UnknownScript_0x74977
if_equal SATURDAY, UnknownScript_0x74977
if_equal TUESDAY, UnknownScript_0x74981
if_equal WEDNESDAY, UnknownScript_0x74981
if_equal THURSDAY, UnknownScript_0x74981
2015-07-10 08:45:35 +00:00
UnknownScript_0x7494e:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74a9c
yesorno
iffalse UnknownScript_0x74992
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74ada
2015-11-30 03:29:45 +00:00
buttonsound
checkitem S_S_TICKET
iffalse UnknownScript_0x7496d
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74b11
2015-11-25 15:16:29 +00:00
waitbutton
closetext
setevent EVENT_RECEIVED_BALLS_FROM_KURT
applymovement PLAYER, MovementData_0x74a37
2015-01-20 08:01:23 +00:00
jump SailorScript_0x748c0
2015-07-10 08:45:35 +00:00
UnknownScript_0x7496d:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74b41
2015-11-25 15:16:29 +00:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x74a34
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x74977:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74ba8
2015-11-25 15:16:29 +00:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x74a34
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x74981:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74bce
2015-11-25 15:16:29 +00:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x74a34
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x7498b:
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x7498c:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74af6
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x74992:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74af6
2015-11-25 15:16:29 +00:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x74a34
end
2015-07-10 08:45:35 +00:00
SailorScript_0x7499c:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
checkevent EVENT_GAVE_KURT_APRICORNS
iftrue UnknownScript_0x74919
checkevent EVENT_FAST_SHIP_FIRST_TIME
iffalse UnknownScript_0x749c0
checkcode VAR_WEEKDAY
if_equal SUNDAY, UnknownScript_0x749f2
if_equal SATURDAY, UnknownScript_0x749f2
if_equal TUESDAY, UnknownScript_0x749f8
if_equal WEDNESDAY, UnknownScript_0x749f8
if_equal THURSDAY, UnknownScript_0x749f8
2015-07-10 08:45:35 +00:00
UnknownScript_0x749c0:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74a9c
yesorno
iffalse UnknownScript_0x7498c
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74ada
2015-11-30 03:29:45 +00:00
buttonsound
checkitem S_S_TICKET
iffalse UnknownScript_0x749ec
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74b11
2015-11-25 15:16:29 +00:00
waitbutton
closetext
setevent EVENT_RECEIVED_BALLS_FROM_KURT
checkcode VAR_FACING
2015-11-27 18:06:43 +00:00
if_equal RIGHT, UnknownScript_0x749e5
applymovement PLAYER, MovementData_0x74a3f
2015-01-20 08:01:23 +00:00
jump SailorScript_0x748c0
2015-07-10 08:45:35 +00:00
UnknownScript_0x749e5:
applymovement PLAYER, MovementData_0x74a49
2015-01-20 08:01:23 +00:00
jump SailorScript_0x748c0
2015-07-10 08:45:35 +00:00
UnknownScript_0x749ec:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74b41
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x749f2:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74ba8
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x749f8:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74bce
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
OlivinePortSailorScript:
jumptextfaceplayer OlivinePortSailorText
2015-07-10 08:45:35 +00:00
FishingGuruScript_0x74a01:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74bf4
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-11-27 05:22:14 +00:00
spriteface OLIVINEPORT_FISHING_GURU1, UP
end
2015-07-10 08:45:35 +00:00
FishingGuruScript_0x74a0c:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74c35
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-11-27 05:22:14 +00:00
spriteface OLIVINEPORT_FISHING_GURU2, UP
end
2015-07-10 08:45:35 +00:00
YoungsterScript_0x74a17:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74c76
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-11-27 05:22:14 +00:00
spriteface OLIVINEPORT_YOUNGSTER, DOWN
end
2015-07-10 08:45:35 +00:00
CooltrainerFScript_0x74a22:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x74ca2
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-11-27 05:22:14 +00:00
spriteface OLIVINEPORT_COOLTRAINER_F, DOWN
end
OlivinePortHiddenProtein:
dwb EVENT_OLIVINE_PORT_HIDDEN_PROTEIN, PROTEIN
2015-07-10 08:45:35 +00:00
MovementData_0x74a30:
2016-05-14 17:46:14 +00:00
step DOWN
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x74a32:
2016-05-14 17:46:14 +00:00
step UP
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x74a34:
2016-05-14 17:46:14 +00:00
step RIGHT
turn_head LEFT
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x74a37:
2016-05-14 17:46:14 +00:00
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x74a3f:
2016-05-14 17:46:14 +00:00
step RIGHT
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step_end
2015-07-10 08:45:35 +00:00
MovementData_0x74a49:
2016-05-14 17:46:14 +00:00
step UP
step RIGHT
step RIGHT
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step DOWN
step_end
2015-07-10 08:45:35 +00:00
UnknownText_0x74a55:
text "We're departing"
line "soon. Please get"
cont "on board."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x74a80:
text "Sorry. You can't"
line "board now."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x74a9c:
text "Welcome to FAST"
line "SHIP S.S.AQUA."
para "Will you be board-"
line "ing today?"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x74ada:
text "May I see your"
line "S.S.TICKET?"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x74af6:
text "We hope to see you"
line "again!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x74b11:
text "<PLAYER> flashed"
line "the S.S.TICKET."
para "That's it."
line "Thank you!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x74b41:
text "<PLAYER> tried to"
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
2015-07-10 08:45:35 +00:00
UnknownText_0x74ba8:
text "The FAST SHIP will"
line "sail next Monday."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x74bce:
text "The FAST SHIP will"
line "sail next Friday."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x74bf4:
text "SHELLDER are easy"
line "to catch here."
para "They're kind of"
line "rare elsewhere."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x74c35:
text "How many RODS do"
line "you have?"
para "Different RODS"
line "catch different"
cont "#MON."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x74c76:
text "S.S.AQUA uses jets"
line "to skim over the"
cont "waves!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x74ca2:
text "There are lots of"
line "#MON in KANTO."
para "I wish I could go…"
done
2017-12-18 00:48:04 +00:00
OlivinePortSailorText:
text "We don't want you"
line "to fall into the"
para "sea, so you're not"
line "allowed in."
done
2015-07-10 08:45:35 +00:00
OlivinePort_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def 11, 7, 5, OLIVINE_PORT_PASSAGE
warp_def 7, 23, 1, FAST_SHIP_1F
.CoordEvents:
db 1
coord_event 7, 15, 0, UnknownScript_0x7491f
.BGEvents:
db 1
bg_event 1, 22, BGEVENT_ITEM, OlivinePortHiddenProtein
.ObjectEvents:
db 7
object_event 7, 23, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x748c0, EVENT_OLIVINE_PORT_SAILOR_AT_GANGWAY
object_event 7, 15, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivinePortSailorScript, EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME
object_event 6, 15, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x7499c, EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME
object_event 4, 14, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FishingGuruScript_0x74a01, EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME
object_event 13, 14, SPRITE_FISHING_GURU, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FishingGuruScript_0x74a0c, EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME
object_event 4, 15, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, YoungsterScript_0x74a17, EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME
object_event 11, 15, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CooltrainerFScript_0x74a22, EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME