pokecrystal-board/maps/OlivineCity.asm

333 lines
7.0 KiB
NASM
Raw Normal View History

OlivineCity_MapScriptHeader: ; 0x1a8820
; trigger count
db 2
; triggers
dw UnknownScript_0x1a882d, $0000
dw UnknownScript_0x1a882e, $0000
; callback count
db 1
; callbacks
dbw 5, UnknownScript_0x1a882f
; 0x1a882d
UnknownScript_0x1a882d: ; 0x1a882d
end
; 0x1a882e
UnknownScript_0x1a882e: ; 0x1a882e
end
; 0x1a882f
UnknownScript_0x1a882f: ; 0x1a882f
setbit2 $0047
return
; 0x1a8833
UnknownScript_0x1a8833: ; 0x1a8833
spriteface $0, $2
showemote $0, $0, 15
special $006a
pause 15
playsound $001f
appear $5
waitbutton
applymovement $5, MovementData_0x1a88d2
playmusic $001f
loadfont
2writetext UnknownText_0x1a88fa
closetext
loadmovesprites
applymovement $0, MovementData_0x1a88f4
spriteface $0, $3
applymovement $5, MovementData_0x1a88db
dotrigger $1
disappear $5
special $003d
variablesprite $5, $31
special $005e
end
; 0x1a886b
UnknownScript_0x1a886b: ; 0x1a886b
spriteface $0, $2
showemote $0, $0, 15
special $006a
pause 15
playsound $001f
appear $5
waitbutton
applymovement $5, MovementData_0x1a88d6
playmusic $001f
loadfont
2writetext UnknownText_0x1a88fa
closetext
loadmovesprites
applymovement $0, MovementData_0x1a88f7
spriteface $0, $3
applymovement $5, MovementData_0x1a88e8
disappear $5
dotrigger $1
special $003d
variablesprite $5, $31
special $005e
end
; 0x1a88a3
2013-07-12 14:06:11 -07:00
SailorScript_0x1a88a3: ; 0x1a88a3
jumptextfaceplayer UnknownText_0x1a8a58
; 0x1a88a6
2013-07-12 14:06:11 -07:00
StandingYoungsterScript_0x1a88a6: ; 0x1a88a6
faceplayer
loadfont
random $2
if_equal $0, UnknownScript_0x1a88b4
2writetext UnknownText_0x1a8b04
closetext
loadmovesprites
end
; 0x1a88b4
UnknownScript_0x1a88b4: ; 0x1a88b4
2writetext UnknownText_0x1a8b41
closetext
loadmovesprites
end
; 0x1a88ba
2013-07-12 14:06:11 -07:00
SailorScript_0x1a88ba: ; 0x1a88ba
jumptextfaceplayer UnknownText_0x1a8b71
; 0x1a88bd
MapOlivineCitySignpost0Script: ; 0x1a88bd
jumptext UnknownText_0x1a8bd0
; 0x1a88c0
MapOlivineCitySignpost1Script: ; 0x1a88c0
jumptext UnknownText_0x1a8c00
; 0x1a88c3
MapOlivineCitySignpost2Script: ; 0x1a88c3
jumptext UnknownText_0x1a8c1d
; 0x1a88c6
MapOlivineCitySignpost3Script: ; 0x1a88c6
jumptext UnknownText_0x1a8c60
; 0x1a88c9
MapOlivineCitySignpost4Script: ; 0x1a88c9
jumptext UnknownText_0x1a8c99
; 0x1a88cc
MapOlivineCitySignpost5Script: ; 0x1a88cc
jumpstd $0010
; 0x1a88cf
MapOlivineCitySignpost6Script: ; 0x1a88cf
jumpstd $0011
; 0x1a88d2
MovementData_0x1a88d2: ; 0x1a88d2
step_down
step_right
step_right
step_end
; 0x1a88d6
MovementData_0x1a88d6: ; 0x1a88d6
step_down
step_down
step_right
step_right
step_end
; 0x1a88db
MovementData_0x1a88db: ; 0x1a88db
step_right
step_right
step_right
step_right
step_right
step_right
step_up
step_up
step_up
step_up
step_up
step_up
step_end
; 0x1a88e8
MovementData_0x1a88e8: ; 0x1a88e8
step_right
step_right
step_right
step_right
step_right
step_right
step_up
step_up
step_up
step_up
step_up
step_end
; 0x1a88f4
MovementData_0x1a88f4: ; 0x1a88f4
step_down
turn_head_up
step_end
; 0x1a88f7
MovementData_0x1a88f7: ; 0x1a88f7
step_up
turn_head_down
step_end
; 0x1a88fa
UnknownText_0x1a88fa: ; 0x1a88fa
db $0, "…", $51
db "You again?", $51
db "There's no need to", $4f
db "panic. I don't", $51
db "bother with wimps", $4f
db "like you.", $51
db "Speaking of weak-", $4f
db "lings, the city's", $51
db "GYM LEADER isn't", $4f
db "here.", $51
db "Supposedly taking", $4f
db "care of a sick", $51
db "#MON at the", $4f
db "LIGHTHOUSE.", $51
db "Humph! Boo-hoo!", $4f
db "Just let sick", $55
db "#MON go!", $51
db "A #MON that", $4f
db "can't battle is", $55
db "worthless!", $51
db "Why don't you go", $4f
db "train at the", $55
db "LIGHTHOUSE?", $51
db "Who knows. It may", $4f
db "make you a bit", $55
db "less weak!", $57
; 0x1a8a58
UnknownText_0x1a8a58: ; 0x1a8a58
db $0, "Dark roads are", $4f
db "dangerous at", $55
db "night.", $51
db "But in the pitch-", $4f
db "black of night,", $51
db "the sea is even", $4f
db "more treacherous!", $51
db "Without the beacon", $4f
db "of the LIGHTHOUSE", $51
db "to guide it, no", $4f
db "ship can sail.", $57
; 0x1a8b04
UnknownText_0x1a8b04: ; 0x1a8b04
db $0, "That thing you", $4f
db "have--it's a #-", $55
db "GEAR, right? Wow,", $55
db "that's cool.", $57
; 0x1a8b41
UnknownText_0x1a8b41: ; 0x1a8b41
db $0, "Wow, you have a", $4f
db "#DEX!", $51
db "That is just so", $4f
db "awesome.", $57
; 0x1a8b71
UnknownText_0x1a8b71: ; 0x1a8b71
db $0, "The sea is sweet!", $51
db "Sunsets on the sea", $4f
db "are marvelous!", $51
db "Sing with me! ", $4f
db "Yo-ho! Blow the", $55
db "man down!…", $57
; 0x1a8bd0
UnknownText_0x1a8bd0: ; 0x1a8bd0
db $0, "OLIVINE CITY", $51
db "The Port Closest", $4f
db "to Foreign Lands", $57
; 0x1a8c00
UnknownText_0x1a8c00: ; 0x1a8c00
db $0, "OLIVINE PORT", $4f
db "FAST SHIP PIER", $57
; 0x1a8c1d
UnknownText_0x1a8c1d: ; 0x1a8c1d
db $0, "OLIVINE CITY", $4f
db "#MON GYM", $55
db "LEADER: JASMINE", $51
db "The Steel-Clad", $4f
db "Defense Girl", $57
; 0x1a8c60
UnknownText_0x1a8c60: ; 0x1a8c60
db $0, "OLIVINE LIGHTHOUSE", $4f
db "Also known as the", $55
db "GLITTER LIGHTHOUSE", $57
; 0x1a8c99
UnknownText_0x1a8c99: ; 0x1a8c99
db $0, "BATTLE TOWER AHEAD", $4f
db "Opening Now!", $57
; 0x1a8cba
UnknownText_0x1a8cba: ; 0x1a8cba
db $0, "BATTLE TOWER AHEAD", $57
; 0x1a8cce
OlivineCity_MapEventHeader: ; 0x1a8cce
; filler
db 0, 0
; warps
db 11
warp_def $15, $d, 1, GROUP_OLIVINE_POKECENTER_1F, MAP_OLIVINE_POKECENTER_1F
warp_def $b, $a, 1, GROUP_OLIVINE_GYM, MAP_OLIVINE_GYM
warp_def $b, $19, 1, GROUP_OLIVINE_VOLTORB_HOUSE, MAP_OLIVINE_VOLTORB_HOUSE
warp_def $0, $0, 1, GROUP_OLIVINE_HOUSE_BETA, MAP_OLIVINE_HOUSE_BETA
warp_def $b, $1d, 1, GROUP_OLIVINE_PUNISHMENT_SPEECH_HOUSE, MAP_OLIVINE_PUNISHMENT_SPEECH_HOUSE
warp_def $f, $d, 1, GROUP_OLIVINE_GOOD_ROD_HOUSE, MAP_OLIVINE_GOOD_ROD_HOUSE
warp_def $15, $7, 1, GROUP_OLIVINE_CAFE, MAP_OLIVINE_CAFE
warp_def $11, $13, 2, GROUP_OLIVINE_MART, MAP_OLIVINE_MART
warp_def $1b, $1d, 1, GROUP_OLIVINE_LIGHTHOUSE_1F, MAP_OLIVINE_LIGHTHOUSE_1F
warp_def $1b, $13, 1, GROUP_OLIVINE_PORT_PASSAGE, MAP_OLIVINE_PORT_PASSAGE
warp_def $1b, $14, 2, GROUP_OLIVINE_PORT_PASSAGE, MAP_OLIVINE_PORT_PASSAGE
; xy triggers
db 2
xy_trigger 0, $c, $d, $0, UnknownScript_0x1a8833, $0, $0
xy_trigger 0, $d, $d, $0, UnknownScript_0x1a886b, $0, $0
; signposts
db 7
signpost 11, 17, $0, MapOlivineCitySignpost0Script
signpost 24, 20, $0, MapOlivineCitySignpost1Script
signpost 11, 7, $0, MapOlivineCitySignpost2Script
signpost 28, 30, $0, MapOlivineCitySignpost3Script
signpost 23, 3, $0, MapOlivineCitySignpost4Script
signpost 21, 14, $0, MapOlivineCitySignpost5Script
signpost 17, 20, $0, MapOlivineCitySignpost6Script
; people-events
db 4
2013-07-12 14:06:11 -07:00
person_event SPRITE_SAILOR, 31, 30, $4, $10, 255, 255, $0, 0, SailorScript_0x1a88a3, $ffff
person_event SPRITE_STANDING_YOUNGSTER, 17, 24, $3, $0, 255, 255, $80, 0, StandingYoungsterScript_0x1a88a6, $ffff
person_event SPRITE_SAILOR, 25, 21, $2, $11, 255, 255, $0, 0, SailorScript_0x1a88ba, $ffff
person_event SPRITE_OLIVINE_RIVAL, 15, 14, $6, $0, 255, 255, $0, 0, ObjectEvent, $06c3
; 0x1a8d72