pokecrystal/maps/CeruleanCity.asm

310 lines
5.9 KiB
NASM
Raw Normal View History

2015-06-26 04:01:08 +00:00
CeruleanCity_MapScriptHeader:
; trigger count
db 0
; callback count
db 1
; callbacks
2015-06-26 04:01:08 +00:00
dbw 5, .Callback
2015-06-26 04:01:08 +00:00
.Callback
2013-09-24 07:51:42 +00:00
setflag $0038
return
2015-06-26 04:01:08 +00:00
CooltrainerMScript_0x184009:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x184017
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1840bc
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x184017:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x184144
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
SuperNerdScript_0x18401d:
jumptextfaceplayer UnknownText_0x1841a8
2015-06-26 04:01:08 +00:00
CeruleanCitySlowbro:
loadfont
2015-06-26 04:01:08 +00:00
writetext CeruleanCitySlowbroText
cry SLOWBRO
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
CooltrainerFScript_0x18402a:
faceplayer
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1841fa
closetext
loadmovesprites
spriteface $5, $2
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x184229
closetext
loadmovesprites
loadfont
2015-06-26 04:01:08 +00:00
writetext CeruleanCitySlowbroText
cry SLOWBRO
closetext
loadmovesprites
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18424b
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
FisherScript_0x18404a:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x184058
2013-09-24 07:48:58 +00:00
checkevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
iftrue UnknownScript_0x18405e
2015-06-26 04:01:08 +00:00
UnknownScript_0x184058:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18424e
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x18405e:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x184275
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
YoungsterScript_0x184064:
faceplayer
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1842a9
closetext
loadmovesprites
2013-09-24 07:48:58 +00:00
checkevent $00fa
iffalse UnknownScript_0x184072
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x184072:
waitbutton
playsound SFX_SECOND_PART_OF_ITEMFINDER
waitbutton
playsound SFX_TRANSACTION
waitbutton
playsound SFX_SECOND_PART_OF_ITEMFINDER
waitbutton
playsound SFX_TRANSACTION
waitbutton
playsound SFX_SECOND_PART_OF_ITEMFINDER
waitbutton
playsound SFX_TRANSACTION
waitbutton
playsound SFX_SECOND_PART_OF_ITEMFINDER
waitbutton
playsound SFX_TRANSACTION
waitbutton
showemote $0, $7, 15
spriteface $7, $2
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1842ee
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
CeruleanCitySign:
jumptext CeruleanCitySignText
2015-06-26 04:01:08 +00:00
CeruleanGymSign:
jumptext CeruleanGymSignText
2015-06-26 04:01:08 +00:00
CeruleanBikeShopSign:
jumptext CeruleanBikeShopSignText
2015-06-26 04:01:08 +00:00
CeruleanPoliceSign:
jumptext CeruleanPoliceSignText
2015-06-26 04:01:08 +00:00
CeruleanCapeSign:
jumptext CeruleanCapeSignText
2015-06-26 04:01:08 +00:00
CeruleanLockedDoor:
jumptext CeruleanLockedDoorText
2015-06-26 04:01:08 +00:00
CeruleanCityPokeCenterSign:
2015-06-23 21:02:58 +00:00
jumpstd pokecentersign
2015-06-26 04:01:08 +00:00
CeruleanCityMartSign:
2015-06-23 21:02:58 +00:00
jumpstd martsign
2015-06-26 04:01:08 +00:00
MapCeruleanCitySignpostItem8:
dw $00fa
db BERSERK_GENE
2015-06-26 04:01:08 +00:00
UnknownText_0x1840bc:
text "KANTO's POWER"
line "PLANT?"
para "It's near the end"
line "of ROUTE 9, the"
para "road that heads"
line "east from here."
para "I think there was"
line "an accident of"
cont "some sort there."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x184144:
text "You're collecting"
line "every single kind"
cont "of #MON?"
para "That must be quite"
line "a challenge, but"
cont "it sounds fun too."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1841a8:
text "The CAPE in the"
line "north is a good"
para "place for dates."
line "Girls like it!"
done
2015-06-26 04:01:08 +00:00
CeruleanCitySlowbroText:
text "SLOWBRO: Yarah?"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1841fa:
text "My SLOWBRO and I"
line "make an awesome"
cont "combination!"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x184229:
text "SLOWBRO, show me"
line "your CONFUSION!"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x18424b:
text "…"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x18424e:
text "I'm a huge fan of"
line "CERULEAN GYM's"
cont "MISTY."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x184275:
text "I saw this shady"
line "guy go off toward"
cont "CERULEAN's CAPE."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1842a9:
text "There used to be a"
line "cave here that had"
para "horribly powerful"
line "#MON in it."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1842ee:
text "Ayuh?"
para "My ITEMFINDER is"
line "responding…"
done
2015-06-26 04:01:08 +00:00
CeruleanCitySignText:
text "CERULEAN CITY"
para "A Mysterious Blue"
line "Aura Surrounds It"
done
2015-06-26 04:01:08 +00:00
CeruleanGymSignText:
text "CERULEAN CITY"
line "#MON GYM"
cont "LEADER: MISTY"
para "The Tomboyish"
line "Mermaid"
done
2015-06-26 04:01:08 +00:00
CeruleanBikeShopSignText:
text "There's a notice"
line "here…"
para "The BIKE SHOP has"
line "moved to GOLDENROD"
cont "CITY in JOHTO…"
done
2015-06-26 04:01:08 +00:00
CeruleanPoliceSignText:
text "There's a notice"
line "here…"
para "Stamp out thievery"
line "and make the city"
para "a friendlier, more"
line "cheerful place!"
para "CERULEAN POLICE"
done
2015-06-26 04:01:08 +00:00
CeruleanCapeSignText:
text "CERULEAN CAPE"
line "AHEAD"
done
2015-06-26 04:01:08 +00:00
CeruleanLockedDoorText:
text "It's locked…"
done
2015-06-26 04:01:08 +00:00
CeruleanCity_MapEventHeader:
; filler
db 0, 0
; warps
db 6
warp_def $f, $7, 1, GROUP_CERULEAN_GYM_BADGE_SPEECH_HOUSE, MAP_CERULEAN_GYM_BADGE_SPEECH_HOUSE
warp_def $11, $1c, 1, GROUP_CERULEAN_POLICE_STATION, MAP_CERULEAN_POLICE_STATION
warp_def $13, $d, 1, GROUP_CERULEAN_TRADE_SPEECH_HOUSE, MAP_CERULEAN_TRADE_SPEECH_HOUSE
warp_def $15, $13, 1, GROUP_CERULEAN_POKECENTER_1F, MAP_CERULEAN_POKECENTER_1F
warp_def $17, $1e, 1, GROUP_CERULEAN_GYM, MAP_CERULEAN_GYM
warp_def $1d, $19, 2, GROUP_CERULEAN_MART, MAP_CERULEAN_MART
; xy triggers
db 0
; signposts
db 9
2015-06-26 04:01:08 +00:00
signpost 23, 23, $0, CeruleanCitySign
signpost 25, 27, $0, CeruleanGymSign
signpost 29, 11, $0, CeruleanBikeShopSign
signpost 17, 25, $0, CeruleanPoliceSign
signpost 7, 23, $0, CeruleanCapeSign
signpost 29, 14, $0, CeruleanLockedDoor
signpost 21, 20, $0, CeruleanCityPokeCenterSign
signpost 29, 26, $0, CeruleanCityMartSign
signpost 12, 2, $7, MapCeruleanCitySignpostItem8
; people-events
db 6
2013-07-12 21:06:11 +00:00
person_event SPRITE_COOLTRAINER_M, 27, 19, $2, $22, 255, 255, $90, 0, CooltrainerMScript_0x184009, $ffff
person_event SPRITE_SUPER_NERD, 19, 27, $2, $11, 255, 255, $90, 0, SuperNerdScript_0x18401d, $ffff
2015-06-26 04:01:08 +00:00
person_event SPRITE_SLOWPOKE, 28, 24, $1, $0, 255, 255, $0, 0, CeruleanCitySlowbro, $ffff
2013-07-12 21:06:11 +00:00
person_event SPRITE_COOLTRAINER_F, 28, 25, $8, $0, 255, 255, $a0, 0, CooltrainerFScript_0x18402a, $ffff
person_event SPRITE_FISHER, 30, 34, $5, $1, 255, 255, $80, 0, FisherScript_0x18404a, $ffff
person_event SPRITE_YOUNGSTER, 16, 10, $3, $1, 255, 255, $80, 0, YoungsterScript_0x184064, $ffff