2015-06-26 04:01:08 +00:00
|
|
|
VioletCity_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
2015-06-26 05:30:16 +00:00
|
|
|
dbw 5, .FlyPoint
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
.FlyPoint
|
|
|
|
setflag ENGINE_FLYPOINT_VIOLET
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
FisherScript_0x1a83bb:
|
2013-02-17 06:54:07 +00:00
|
|
|
applymovement $2, MovementData_0x1a8465
|
|
|
|
faceplayer
|
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a8473
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x1a83d1
|
2015-01-20 08:01:23 +00:00
|
|
|
jump UnknownScript_0x1a83cb
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x1a83cb:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a84ac
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x1a83d1:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a84cb
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_SHOW_ME_AROUND
|
2013-02-17 06:54:07 +00:00
|
|
|
follow $2, $0
|
|
|
|
applymovement $2, MovementData_0x1a842a
|
2015-06-27 06:24:55 +00:00
|
|
|
spriteface $0, UP
|
2013-02-17 06:54:07 +00:00
|
|
|
applymovement $2, MovementData_0x1a8465
|
|
|
|
stopfollow
|
2015-02-11 23:03:42 +00:00
|
|
|
special RestartMapMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a84f9
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $2, MovementData_0x1a8465
|
|
|
|
applymovement $2, MovementData_0x1a8463
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_ENTER_DOOR
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $2
|
2015-07-12 06:00:17 +00:00
|
|
|
clearevent EVENT_6CB
|
2013-02-17 06:54:07 +00:00
|
|
|
waitbutton
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
LassScript_0x1a8403:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x1a8529
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
SuperNerdScript_0x1a8406:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x1a8593
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
GrampsScript_0x1a8409:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x1a85ef
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
YoungsterScript_0x1a840c:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x1a8665
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
VioletCitySign:
|
|
|
|
jumptext VioletCitySignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
VioletGymSign:
|
|
|
|
jumptext VioletGymSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
SproutTowerSign:
|
|
|
|
jumptext SproutTowerSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
EarlsPokemonAcademySign:
|
|
|
|
jumptext EarlsPokemonAcademySignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
VioletCityPokeCenterSign:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd pokecentersign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
VioletCityMartSign:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd martsign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
ItemFragment_0x1a8421:
|
2013-02-17 06:54:07 +00:00
|
|
|
db PP_UP, 1
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
ItemFragment_0x1a8423:
|
2013-02-17 06:54:07 +00:00
|
|
|
db RARE_CANDY, 1
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
FruitTreeScript_0x1a8425:
|
2013-02-17 06:54:07 +00:00
|
|
|
fruittree $9
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MapVioletCitySignpostItem6:
|
2013-02-17 06:54:07 +00:00
|
|
|
dw $00b0
|
|
|
|
db HYPER_POTION
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1a842a:
|
2013-02-17 06:54:07 +00:00
|
|
|
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:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1a8465:
|
2013-02-17 06:54:07 +00:00
|
|
|
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:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Hello!"
|
|
|
|
line "You are trainer?"
|
|
|
|
|
|
|
|
para "Battle GYM LEADER,"
|
|
|
|
line "win you did?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a84ac:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Ooh, la la!"
|
|
|
|
line "Very indeed nice!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a84cb:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Is that so? Then"
|
|
|
|
line "study shall you!"
|
|
|
|
cont "Follow me!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a84f9:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Here, teacher I"
|
|
|
|
line "am. Good it is"
|
|
|
|
cont "you study here!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a8529:
|
2014-03-06 05:29:44 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a8593:
|
2014-03-06 05:29:44 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a85ef:
|
2014-03-06 05:29:44 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a8665:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I saw a wiggly"
|
|
|
|
line "tree up ahead!"
|
|
|
|
|
|
|
|
para "If you touch it,"
|
|
|
|
line "it squirms and"
|
|
|
|
cont "dances! Cool!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
VioletCitySignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "VIOLET CITY"
|
|
|
|
|
|
|
|
para "The City of"
|
|
|
|
line "Nostalgic Scents"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
VioletGymSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "VIOLET CITY"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: FALKNER"
|
|
|
|
|
|
|
|
para "The Elegant Master"
|
|
|
|
line "of Flying #MON"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
SproutTowerSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SPROUT TOWER"
|
|
|
|
|
|
|
|
para "Experience the"
|
|
|
|
line "Way of #MON"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
EarlsPokemonAcademySignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "EARL'S #MON"
|
|
|
|
line "ACADEMY"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
VioletCity_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 9
|
|
|
|
warp_def $11, $9, 2, GROUP_VIOLET_MART, MAP_VIOLET_MART
|
|
|
|
warp_def $11, $12, 1, GROUP_VIOLET_GYM, MAP_VIOLET_GYM
|
|
|
|
warp_def $11, $1e, 1, GROUP_EARLS_POKEMON_ACADEMY, MAP_EARLS_POKEMON_ACADEMY
|
|
|
|
warp_def $f, $3, 1, GROUP_VIOLET_NICKNAME_SPEECH_HOUSE, MAP_VIOLET_NICKNAME_SPEECH_HOUSE
|
|
|
|
warp_def $19, $1f, 1, GROUP_VIOLET_POKECENTER_1F, MAP_VIOLET_POKECENTER_1F
|
|
|
|
warp_def $1d, $15, 1, GROUP_VIOLET_ONIX_TRADE_HOUSE, MAP_VIOLET_ONIX_TRADE_HOUSE
|
|
|
|
warp_def $5, $17, 1, GROUP_SPROUT_TOWER_1F, MAP_SPROUT_TOWER_1F
|
|
|
|
warp_def $18, $27, 1, GROUP_ROUTE_31_VIOLET_GATE, MAP_ROUTE_31_VIOLET_GATE
|
|
|
|
warp_def $19, $27, 2, GROUP_ROUTE_31_VIOLET_GATE, MAP_ROUTE_31_VIOLET_GATE
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 7
|
2015-07-16 22:10:10 +00:00
|
|
|
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_ITEMIFSET, MapVioletCitySignpostItem6
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 8
|
2015-07-16 22:10:10 +00:00
|
|
|
person_event SPRITE_FISHER, 20, 17, DOWN << 2 | $3, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, FisherScript_0x1a83bb, EVENT_6CA
|
|
|
|
person_event SPRITE_LASS, 32, 32, DOWN << 2 | $2, $22, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, LassScript_0x1a8403, -1
|
|
|
|
person_event SPRITE_SUPER_NERD, 18, 28, DOWN << 2 | $2, $21, -1, -1, (PAL_OW_RED << 4) | $80, 0, SuperNerdScript_0x1a8406, -1
|
|
|
|
person_event SPRITE_GRAMPS, 24, 21, UP << 2 | $1, $1, -1, -1, $0, 0, GrampsScript_0x1a8409, -1
|
|
|
|
person_event SPRITE_YOUNGSTER, 22, 9, DOWN << 2 | $3, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, YoungsterScript_0x1a840c, -1
|
|
|
|
person_event SPRITE_FRUIT_TREE, 33, 18, DOWN << 2 | $1, $0, -1, -1, $0, 0, FruitTreeScript_0x1a8425, -1
|
|
|
|
person_event SPRITE_POKE_BALL, 5, 8, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x1a8421, EVENT_643
|
|
|
|
person_event SPRITE_POKE_BALL, 9, 39, DOWN << 2 | $1, $0, -1, -1, $1, 0, ItemFragment_0x1a8423, EVENT_644
|