pokecrystal/maps/VioletCity.asm

322 lines
6.7 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const VIOLETCITY_FISHER
const VIOLETCITY_LASS
const VIOLETCITY_SUPER_NERD
const VIOLETCITY_GRAMPS
const VIOLETCITY_YOUNGSTER
const VIOLETCITY_FRUIT_TREE
const VIOLETCITY_POKE_BALL1
const VIOLETCITY_POKE_BALL2
2015-06-26 04:01:08 +00:00
VioletCity_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 1
; callbacks
2015-06-26 05:30:16 +00:00
dbw 5, .FlyPoint
2015-06-26 05:30:16 +00:00
.FlyPoint
setflag ENGINE_FLYPOINT_VIOLET
return
2015-06-26 04:01:08 +00:00
FisherScript_0x1a83bb:
2015-11-27 05:22:14 +00:00
applymovement VIOLETCITY_FISHER, MovementData_0x1a8465
faceplayer
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a8473
yesorno
iffalse UnknownScript_0x1a83d1
2015-01-20 08:01:23 +00:00
jump UnknownScript_0x1a83cb
2015-06-26 04:01:08 +00:00
UnknownScript_0x1a83cb:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a84ac
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x1a83d1:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a84cb
2015-11-25 15:16:29 +00:00
waitbutton
closetext
playmusic MUSIC_SHOW_ME_AROUND
2015-11-27 05:22:14 +00:00
follow VIOLETCITY_FISHER, PLAYER
applymovement VIOLETCITY_FISHER, MovementData_0x1a842a
spriteface PLAYER, UP
2015-11-27 05:22:14 +00:00
applymovement VIOLETCITY_FISHER, MovementData_0x1a8465
stopfollow
special RestartMapMusic
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a84f9
2015-11-25 15:16:29 +00:00
waitbutton
closetext
2015-11-27 05:22:14 +00:00
applymovement VIOLETCITY_FISHER, MovementData_0x1a8465
applymovement VIOLETCITY_FISHER, MovementData_0x1a8463
playsound SFX_ENTER_DOOR
2015-11-27 05:22:14 +00:00
disappear VIOLETCITY_FISHER
clearevent EVENT_EARLS_ACADEMY_EARL
2015-11-25 15:16:29 +00:00
waitsfx
end
2015-06-26 04:01:08 +00:00
LassScript_0x1a8403:
jumptextfaceplayer UnknownText_0x1a8529
2015-06-26 04:01:08 +00:00
SuperNerdScript_0x1a8406:
jumptextfaceplayer UnknownText_0x1a8593
2015-06-26 04:01:08 +00:00
GrampsScript_0x1a8409:
jumptextfaceplayer UnknownText_0x1a85ef
2015-06-26 04:01:08 +00:00
YoungsterScript_0x1a840c:
jumptextfaceplayer UnknownText_0x1a8665
2015-06-26 04:01:08 +00:00
VioletCitySign:
jumptext VioletCitySignText
2015-06-26 04:01:08 +00:00
VioletGymSign:
jumptext VioletGymSignText
2015-06-26 04:01:08 +00:00
SproutTowerSign:
jumptext SproutTowerSignText
2015-06-26 04:01:08 +00:00
EarlsPokemonAcademySign:
jumptext EarlsPokemonAcademySignText
2015-06-26 04:01:08 +00:00
VioletCityPokeCenterSign:
2015-06-23 21:02:58 +00:00
jumpstd pokecentersign
2015-06-26 04:01:08 +00:00
VioletCityMartSign:
2015-06-23 21:02:58 +00:00
jumpstd martsign
2015-06-26 04:01:08 +00:00
ItemFragment_0x1a8421:
db PP_UP, 1
2015-06-26 04:01:08 +00:00
ItemFragment_0x1a8423:
db RARE_CANDY, 1
2015-06-26 04:01:08 +00:00
FruitTreeScript_0x1a8425:
2015-11-18 15:42:42 +00:00
fruittree FRUITTREE_VIOLET_CITY
2015-06-26 04:01:08 +00:00
MapVioletCitySignpostItem6:
dwb EVENT_VIOLET_CITY_HIDDEN_HYPER_POTION, HYPER_POTION
2015-06-26 04:01:08 +00:00
MovementData_0x1a842a:
big_step_down
big_step_down
turn_head_down
turn_head_left
turn_head_up
turn_head_right
turn_head_down
turn_head_left
turn_head_up
turn_head_right
big_step_right
big_step_right
big_step_right
big_step_right
big_step_right
big_step_right
big_step_right
big_step_right
big_step_right
turn_head_right
turn_head_down
turn_head_left
turn_head_up
turn_head_right
turn_head_down
turn_head_left
turn_head_up
turn_head_right
turn_head_down
big_step_down
turn_head_down
turn_head_left
turn_head_up
turn_head_right
turn_head_down
turn_head_left
turn_head_up
turn_head_right
big_step_right
big_step_right
big_step_right
big_step_right
big_step_right
big_step_right
big_step_right
big_step_right
turn_head_right
turn_head_down
turn_head_left
turn_head_up
turn_head_right
turn_head_down
turn_head_left
turn_head_up
big_step_up
turn_head_down
step_end
2015-06-26 04:01:08 +00:00
MovementData_0x1a8463:
step_up
step_end
2015-06-26 04:01:08 +00:00
MovementData_0x1a8465:
turn_head_down
turn_head_left
turn_head_up
turn_head_right
turn_head_down
turn_head_left
turn_head_up
turn_head_right
turn_head_down
turn_head_left
turn_head_up
turn_head_right
turn_head_down
step_end
2015-06-26 04:01:08 +00:00
UnknownText_0x1a8473:
text "Hello!"
line "You are trainer?"
para "Battle GYM LEADER,"
line "win you did?"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1a84ac:
text "Ooh, la la!"
line "Very indeed nice!"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1a84cb:
text "Is that so? Then"
line "study shall you!"
cont "Follow me!"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1a84f9:
text "Here, teacher I"
line "am. Good it is"
cont "you study here!"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1a8529:
text "Ghosts are rumored"
line "to appear in"
cont "SPROUT TOWER."
para "They said normal-"
line "type #MON moves"
para "had no effect on"
line "ghosts."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1a8593:
text "Hey, you're a"
line "#MON trainer?"
para "If you beat the"
line "GYM LEADER here,"
para "you'll be ready"
line "for prime time!"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1a85ef:
text "FALKNER, from the"
line "VIOLET #MON"
para "GYM, is a fine"
line "trainer!"
para "He inherited his"
line "father's gym and"
para "has done a great"
line "job with it."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1a8665:
text "I saw a wiggly"
line "tree up ahead!"
para "If you touch it,"
line "it squirms and"
cont "dances! Cool!"
done
2015-06-26 04:01:08 +00:00
VioletCitySignText:
text "VIOLET CITY"
para "The City of"
line "Nostalgic Scents"
done
2015-06-26 04:01:08 +00:00
VioletGymSignText:
text "VIOLET CITY"
line "#MON GYM"
cont "LEADER: FALKNER"
para "The Elegant Master"
line "of Flying #MON"
done
2015-06-26 04:01:08 +00:00
SproutTowerSignText:
text "SPROUT TOWER"
para "Experience the"
line "Way of #MON"
done
2015-06-26 04:01:08 +00:00
EarlsPokemonAcademySignText:
text "EARL'S #MON"
line "ACADEMY"
done
2015-06-26 04:01:08 +00:00
VioletCity_MapEventHeader:
; filler
db 0, 0
.Warps:
db 9
warp_def $11, $9, 2, VIOLET_MART
warp_def $11, $12, 1, VIOLET_GYM
warp_def $11, $1e, 1, EARLS_POKEMON_ACADEMY
warp_def $f, $3, 1, VIOLET_NICKNAME_SPEECH_HOUSE
warp_def $19, $1f, 1, VIOLET_POKECENTER_1F
warp_def $1d, $15, 1, VIOLET_ONIX_TRADE_HOUSE
warp_def $5, $17, 1, SPROUT_TOWER_1F
warp_def $18, $27, 1, ROUTE_31_VIOLET_GATE
warp_def $19, $27, 2, ROUTE_31_VIOLET_GATE
.XYTriggers:
db 0
.Signposts:
db 7
signpost 20, 24, SIGNPOST_READ, VioletCitySign
signpost 17, 15, SIGNPOST_READ, VioletGymSign
signpost 8, 24, SIGNPOST_READ, SproutTowerSign
signpost 17, 27, SIGNPOST_READ, EarlsPokemonAcademySign
signpost 25, 32, SIGNPOST_READ, VioletCityPokeCenterSign
signpost 17, 10, SIGNPOST_READ, VioletCityMartSign
signpost 14, 37, SIGNPOST_ITEM, MapVioletCitySignpostItem6
.PersonEvents:
db 8
person_event SPRITE_FISHER, 16, 13, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, FisherScript_0x1a83bb, EVENT_VIOLET_CITY_EARL
person_event SPRITE_LASS, 28, 28, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, LassScript_0x1a8403, -1
person_event SPRITE_SUPER_NERD, 14, 24, SPRITEMOVEDATA_WANDER, 2, 1, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, SuperNerdScript_0x1a8406, -1
person_event SPRITE_GRAMPS, 20, 17, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, GrampsScript_0x1a8409, -1
person_event SPRITE_YOUNGSTER, 18, 5, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, YoungsterScript_0x1a840c, -1
person_event SPRITE_FRUIT_TREE, 29, 14, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, FruitTreeScript_0x1a8425, -1
person_event SPRITE_POKE_BALL, 1, 4, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x1a8421, EVENT_VIOLET_CITY_PP_UP
person_event SPRITE_POKE_BALL, 5, 35, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMFRAGMENT, 0, ItemFragment_0x1a8423, EVENT_VIOLET_CITY_RARE_CANDY