pokecrystal-board/maps/VermilionPort.asm

323 lines
6.5 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const VERMILIONPORT_SAILOR1
const VERMILIONPORT_SAILOR2
const VERMILIONPORT_SUPER_NERD
VermilionPort_MapScripts:
.SceneScripts:
db 2
scene_script .DummyScene0
scene_script .LeaveFastShip
.MapCallbacks:
db 1
callback MAPCALLBACK_NEWMAP, .FlyPoint
.DummyScene0:
end
.LeaveFastShip:
priorityjump .LeaveFastShipScript
end
.FlyPoint:
2015-06-25 22:30:16 -07:00
setflag ENGINE_FLYPOINT_VERMILION
return
.LeaveFastShipScript:
applymovement PLAYER, MovementData_0x74ef3
2015-11-26 21:22:14 -08:00
appear VERMILIONPORT_SAILOR1
setscene 0
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
setevent EVENT_FAST_SHIP_FIRST_TIME
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
blackoutmod VERMILION_CITY
end
2015-06-25 22:30:16 -07:00
SailorScript_0x74dc4:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iftrue UnknownScript_0x74e1a
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74f06
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
spriteface VERMILIONPORT_SAILOR1, DOWN
pause 10
playsound SFX_EXIT_BUILDING
2015-11-26 21:22:14 -08:00
disappear VERMILIONPORT_SAILOR1
2015-11-25 07:16:29 -08:00
waitsfx
applymovement PLAYER, MovementData_0x74ef1
playsound SFX_EXIT_BUILDING
special FadeOutPalettes
2015-11-25 07:16:29 -08:00
waitsfx
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
setevent EVENT_FAST_SHIP_DESTINATION_OLIVINE
2015-11-26 21:22:14 -08:00
appear VERMILIONPORT_SAILOR1
setmapscene FAST_SHIP_1F, 1
warp FAST_SHIP_1F, 25, 1
end
2015-06-25 22:30:16 -07:00
UnknownScript_0x74e1a:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74f31
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 22:30:16 -07:00
UnknownScript_0x74e20:
2015-11-26 21:22:14 -08:00
spriteface VERMILIONPORT_SAILOR2, RIGHT
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iftrue UnknownScript_0x74e86
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
iftrue UnknownScript_0x74e86
spriteface PLAYER, LEFT
2015-12-09 15:25:44 -08:00
opentext
checkcode VAR_WEEKDAY
if_equal MONDAY, UnknownScript_0x74e72
if_equal TUESDAY, UnknownScript_0x74e72
if_equal THURSDAY, UnknownScript_0x74e7c
if_equal FRIDAY, UnknownScript_0x74e7c
if_equal SATURDAY, UnknownScript_0x74e7c
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74f4d
yesorno
iffalse UnknownScript_0x74e8d
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74f8b
2015-11-29 19:29:45 -08:00
buttonsound
checkitem S_S_TICKET
iffalse UnknownScript_0x74e68
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74fc2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
applymovement PLAYER, MovementData_0x74ef8
2015-01-20 00:01:23 -08:00
jump SailorScript_0x74dc4
2015-06-25 22:30:16 -07:00
UnknownScript_0x74e68:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74ff2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x74ef5
end
2015-06-25 22:30:16 -07:00
UnknownScript_0x74e72:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x75059
2015-11-25 07:16:29 -08:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x74ef5
end
2015-06-25 22:30:16 -07:00
UnknownScript_0x74e7c:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x75080
2015-11-25 07:16:29 -08:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x74ef5
end
2015-06-25 22:30:16 -07:00
UnknownScript_0x74e86:
end
2015-06-25 22:30:16 -07:00
UnknownScript_0x74e87:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74fa7
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 22:30:16 -07:00
UnknownScript_0x74e8d:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74fa7
2015-11-25 07:16:29 -08:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x74ef5
end
2015-06-25 22:30:16 -07:00
SailorScript_0x74e97:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
checkevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
iftrue UnknownScript_0x74e1a
checkcode VAR_WEEKDAY
if_equal MONDAY, UnknownScript_0x74eda
if_equal TUESDAY, UnknownScript_0x74eda
if_equal THURSDAY, UnknownScript_0x74ee0
if_equal FRIDAY, UnknownScript_0x74ee0
if_equal SATURDAY, UnknownScript_0x74ee0
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74f4d
yesorno
iffalse UnknownScript_0x74e87
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74f8b
2015-11-29 19:29:45 -08:00
buttonsound
checkitem S_S_TICKET
iffalse UnknownScript_0x74ed4
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74fc2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
setevent EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
applymovement PLAYER, MovementData_0x74efe
2015-01-20 00:01:23 -08:00
jump SailorScript_0x74dc4
2015-06-25 22:30:16 -07:00
UnknownScript_0x74ed4:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x74ff2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 22:30:16 -07:00
UnknownScript_0x74eda:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x75059
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 22:30:16 -07:00
UnknownScript_0x74ee0:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x75080
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 22:30:16 -07:00
SuperNerdScript_0x74ee6:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x750a6
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
VermilionPortHiddenIron:
hiddenitem IRON, EVENT_VERMILION_PORT_HIDDEN_IRON
2015-06-25 22:30:16 -07:00
MovementData_0x74ef1:
2016-05-14 10:46:14 -07:00
step DOWN
step_end
2015-06-25 22:30:16 -07:00
MovementData_0x74ef3:
2016-05-14 10:46:14 -07:00
step UP
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
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
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
step_end
2015-06-25 22:30:16 -07:00
UnknownText_0x74f06:
text "We're departing"
line "soon. Please get"
cont "on board."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x74f31:
text "Sorry. You can't"
line "board now."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x74f4d:
text "Welcome to FAST"
line "SHIP S.S.AQUA."
para "Will you be board-"
line "ing today?"
done
2015-06-25 22:30:16 -07:00
UnknownText_0x74f8b:
text "May I see your"
line "S.S.TICKET?"
done
2015-06-25 22:30:16 -07:00
UnknownText_0x74fa7:
text "We hope to see you"
line "again!"
done
2015-06-25 22:30:16 -07:00
UnknownText_0x74fc2:
text "<PLAYER> flashed"
line "the S.S.TICKET."
para "That's it."
line "Thank you!"
done
2015-06-25 22:30:16 -07:00
UnknownText_0x74ff2:
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-06-25 22:30:16 -07:00
UnknownText_0x75059:
text "The FAST SHIP will"
line "sail on Wednesday."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x75080:
text "The FAST SHIP will"
line "sail next Sunday."
done
2015-06-25 22:30:16 -07:00
UnknownText_0x750a6:
text "You came from"
line "JOHTO?"
para "I hear many rare"
line "#MON live over"
cont "there."
done
VermilionPort_MapEvents:
; filler
db 0, 0
.Warps:
db 2
warp_def 9, 5, 5, VERMILION_PORT_PASSAGE
warp_def 7, 17, 1, FAST_SHIP_1F
.CoordEvents:
db 1
coord_event 7, 11, 0, UnknownScript_0x74e20
.BGEvents:
db 1
bg_event 16, 13, BGEVENT_ITEM, VermilionPortHiddenIron
.ObjectEvents:
db 3
object_event 7, 17, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x74dc4, EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY
object_event 6, 11, SPRITE_SAILOR, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SailorScript_0x74e97, -1
object_event 11, 11, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, SuperNerdScript_0x74ee6, -1