2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
2016-04-07 04:59:45 +00:00
|
|
|
const VIOLETCITY_EARL
|
2015-11-27 05:22:14 +00:00
|
|
|
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:
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.MapCallbacks:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
2016-01-06 12:44:50 +00:00
|
|
|
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.FlyPoint:
|
2015-06-26 05:30:16 +00:00
|
|
|
setflag ENGINE_FLYPOINT_VIOLET
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
VioletCityEarlScript:
|
2016-04-07 04:59:45 +00:00
|
|
|
applymovement VIOLETCITY_EARL, VioletCitySpinningEarl_MovementData
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-17 02:57:42 +00:00
|
|
|
writetext Text_EarlAsksIfYouBeatFalkner
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2015-12-17 02:57:42 +00:00
|
|
|
iffalse .FollowEarl
|
|
|
|
jump .PointlessJump
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.PointlessJump:
|
|
|
|
writetext Text_VeryNiceIndeed
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
.FollowEarl:
|
|
|
|
writetext Text_FollowEarl
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_SHOW_ME_AROUND
|
2016-04-07 04:59:45 +00:00
|
|
|
follow VIOLETCITY_EARL, PLAYER
|
|
|
|
applymovement VIOLETCITY_EARL, VioletCityFollowEarl_MovementData
|
2015-07-22 06:49:18 +00:00
|
|
|
spriteface PLAYER, UP
|
2016-04-07 04:59:45 +00:00
|
|
|
applymovement VIOLETCITY_EARL, VioletCitySpinningEarl_MovementData
|
2013-02-17 06:54:07 +00:00
|
|
|
stopfollow
|
2015-02-11 23:03:42 +00:00
|
|
|
special RestartMapMusic
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-17 02:57:42 +00:00
|
|
|
writetext Text_HereTeacherIAm
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2016-04-07 04:59:45 +00:00
|
|
|
applymovement VIOLETCITY_EARL, VioletCitySpinningEarl_MovementData
|
|
|
|
applymovement VIOLETCITY_EARL, VioletCityFinishFollowEarl_MovementData
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_ENTER_DOOR
|
2016-04-07 04:59:45 +00:00
|
|
|
disappear VIOLETCITY_EARL
|
2015-07-18 19:46:38 +00:00
|
|
|
clearevent EVENT_EARLS_ACADEMY_EARL
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
VioletCityLassScript:
|
|
|
|
jumptextfaceplayer VioletCityLassText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
VioletCitySuperNerdScript:
|
|
|
|
jumptextfaceplayer VioletCitySuperNerdText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
VioletCityGrampsScript:
|
|
|
|
jumptextfaceplayer VioletCityGrampsText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
VioletCityYoungsterScript:
|
|
|
|
jumptextfaceplayer VioletCityYoungsterText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
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-12-15 15:55:56 +00:00
|
|
|
VioletCityPPUp:
|
|
|
|
itemball PP_UP
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
VioletCityRareCandy:
|
|
|
|
itemball RARE_CANDY
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
VioletCityFruitTreeScript:
|
2015-11-18 15:42:42 +00:00
|
|
|
fruittree FRUITTREE_VIOLET_CITY
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
VioletCityHiddenHyperPotion:
|
2015-07-18 19:46:38 +00:00
|
|
|
dwb EVENT_VIOLET_CITY_HIDDEN_HYPER_POTION, HYPER_POTION
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
VioletCityFollowEarl_MovementData:
|
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-12-17 02:57:42 +00:00
|
|
|
VioletCityFinishFollowEarl_MovementData:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-12-17 02:57:42 +00:00
|
|
|
VioletCitySpinningEarl_MovementData:
|
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-12-17 02:57:42 +00:00
|
|
|
Text_EarlAsksIfYouBeatFalkner:
|
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-12-17 02:57:42 +00:00
|
|
|
Text_VeryNiceIndeed:
|
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-12-17 02:57:42 +00:00
|
|
|
Text_FollowEarl:
|
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-12-17 02:57:42 +00:00
|
|
|
Text_HereTeacherIAm:
|
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-12-17 02:57:42 +00:00
|
|
|
VioletCityLassText:
|
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-12-17 02:57:42 +00:00
|
|
|
VioletCitySuperNerdText:
|
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-12-17 02:57:42 +00:00
|
|
|
VioletCityGrampsText:
|
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-12-17 02:57:42 +00:00
|
|
|
VioletCityYoungsterText:
|
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
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Warps:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 9
|
2015-07-23 16:59:19 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.XYTriggers:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.Signposts:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 7
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 20, 24, SIGNPOST_READ, VioletCitySign
|
|
|
|
signpost 17, 15, SIGNPOST_READ, VioletGymSign
|
2015-12-17 02:57:42 +00:00
|
|
|
signpost 8, 24, SIGNPOST_READ, SproutTowerSign
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 17, 27, SIGNPOST_READ, EarlsPokemonAcademySign
|
|
|
|
signpost 25, 32, SIGNPOST_READ, VioletCityPokeCenterSign
|
|
|
|
signpost 17, 10, SIGNPOST_READ, VioletCityMartSign
|
2015-12-15 16:21:58 +00:00
|
|
|
signpost 14, 37, SIGNPOST_ITEM, VioletCityHiddenHyperPotion
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-21 04:02:21 +00:00
|
|
|
.PersonEvents:
|
2013-02-17 06:54:07 +00:00
|
|
|
db 8
|
2015-12-17 02:57:42 +00:00
|
|
|
person_event SPRITE_FISHER, 16, 13, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, VioletCityEarlScript, EVENT_VIOLET_CITY_EARL
|
|
|
|
person_event SPRITE_LASS, 28, 28, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, VioletCityLassScript, -1
|
|
|
|
person_event SPRITE_SUPER_NERD, 14, 24, SPRITEMOVEDATA_WANDER, 2, 1, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, VioletCitySuperNerdScript, -1
|
|
|
|
person_event SPRITE_GRAMPS, 20, 17, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, VioletCityGrampsScript, -1
|
|
|
|
person_event SPRITE_YOUNGSTER, 18, 5, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, VioletCityYoungsterScript, -1
|
|
|
|
person_event SPRITE_FRUIT_TREE, 29, 14, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, VioletCityFruitTreeScript, -1
|
2015-12-15 15:55:56 +00:00
|
|
|
person_event SPRITE_POKE_BALL, 1, 4, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, VioletCityPPUp, EVENT_VIOLET_CITY_PP_UP
|
|
|
|
person_event SPRITE_POKE_BALL, 5, 35, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, VioletCityRareCandy, EVENT_VIOLET_CITY_RARE_CANDY
|