2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2016-04-06 21:59:45 -07:00
|
|
|
const VIOLETCITY_EARL
|
2015-11-26 21:22:14 -08: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
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
VioletCity_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2022-08-09 15:04:18 -07:00
|
|
|
callback MAPCALLBACK_NEWMAP, VioletCityFlypointCallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2022-08-09 15:04:18 -07:00
|
|
|
VioletCityFlypointCallback:
|
2015-06-25 22:30:16 -07:00
|
|
|
setflag ENGINE_FLYPOINT_VIOLET
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCityEarlScript:
|
2016-04-06 21:59:45 -07:00
|
|
|
applymovement VIOLETCITY_EARL, VioletCitySpinningEarl_MovementData
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-16 18:57:42 -08:00
|
|
|
writetext Text_EarlAsksIfYouBeatFalkner
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2015-12-16 18:57:42 -08:00
|
|
|
iffalse .FollowEarl
|
2019-03-10 13:39:31 -07:00
|
|
|
sjump .PointlessJump
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.PointlessJump:
|
|
|
|
writetext Text_VeryNiceIndeed
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
.FollowEarl:
|
|
|
|
writetext Text_FollowEarl
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_SHOW_ME_AROUND
|
2016-04-06 21:59:45 -07:00
|
|
|
follow VIOLETCITY_EARL, PLAYER
|
|
|
|
applymovement VIOLETCITY_EARL, VioletCityFollowEarl_MovementData
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, UP
|
2016-04-06 21:59:45 -07:00
|
|
|
applymovement VIOLETCITY_EARL, VioletCitySpinningEarl_MovementData
|
2013-02-16 22:54:07 -08:00
|
|
|
stopfollow
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-12-16 18:57:42 -08:00
|
|
|
writetext Text_HereTeacherIAm
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2016-04-06 21:59:45 -07:00
|
|
|
applymovement VIOLETCITY_EARL, VioletCitySpinningEarl_MovementData
|
|
|
|
applymovement VIOLETCITY_EARL, VioletCityFinishFollowEarl_MovementData
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2016-04-06 21:59:45 -07:00
|
|
|
disappear VIOLETCITY_EARL
|
2015-07-18 12:46:38 -07:00
|
|
|
clearevent EVENT_EARLS_ACADEMY_EARL
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCityLassScript:
|
|
|
|
jumptextfaceplayer VioletCityLassText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCitySuperNerdScript:
|
|
|
|
jumptextfaceplayer VioletCitySuperNerdText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCityGrampsScript:
|
|
|
|
jumptextfaceplayer VioletCityGrampsText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCityYoungsterScript:
|
|
|
|
jumptextfaceplayer VioletCityYoungsterText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VioletCitySign:
|
|
|
|
jumptext VioletCitySignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VioletGymSign:
|
|
|
|
jumptext VioletGymSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SproutTowerSign:
|
|
|
|
jumptext SproutTowerSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
EarlsPokemonAcademySign:
|
|
|
|
jumptext EarlsPokemonAcademySignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
VioletCityPokecenterSign:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd PokecenterSignScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VioletCityMartSign:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd MartSignScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
VioletCityPPUp:
|
|
|
|
itemball PP_UP
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 07:55:56 -08:00
|
|
|
VioletCityRareCandy:
|
|
|
|
itemball RARE_CANDY
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 13:50:43 -08:00
|
|
|
VioletCityFruitTree:
|
2015-11-18 07:42:42 -08:00
|
|
|
fruittree FRUITTREE_VIOLET_CITY
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
VioletCityHiddenHyperPotion:
|
2018-01-23 09:59:21 -08:00
|
|
|
hiddenitem HYPER_POTION, EVENT_VIOLET_CITY_HIDDEN_HYPER_POTION
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCityFollowEarl_MovementData:
|
2016-05-14 10:46:14 -07: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
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCityFinishFollowEarl_MovementData:
|
2016-05-14 10:46:14 -07:00
|
|
|
step UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCitySpinningEarl_MovementData:
|
2016-05-14 10:46:14 -07: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
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_EarlAsksIfYouBeatFalkner:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hello!"
|
|
|
|
line "You are trainer?"
|
|
|
|
|
|
|
|
para "Battle GYM LEADER,"
|
|
|
|
line "win you did?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_VeryNiceIndeed:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Ooh, la la!"
|
|
|
|
line "Very indeed nice!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_FollowEarl:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Is that so? Then"
|
|
|
|
line "study shall you!"
|
|
|
|
cont "Follow me!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
Text_HereTeacherIAm:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Here, teacher I"
|
|
|
|
line "am. Good it is"
|
|
|
|
cont "you study here!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCityLassText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCitySuperNerdText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCityGrampsText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-12-16 18:57:42 -08:00
|
|
|
VioletCityYoungsterText:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VioletCitySignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "VIOLET CITY"
|
|
|
|
|
|
|
|
para "The City of"
|
|
|
|
line "Nostalgic Scents"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
VioletGymSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "VIOLET CITY"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: FALKNER"
|
|
|
|
|
|
|
|
para "The Elegant Master"
|
|
|
|
line "of Flying #MON"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SproutTowerSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SPROUT TOWER"
|
|
|
|
|
|
|
|
para "Experience the"
|
|
|
|
line "Way of #MON"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
EarlsPokemonAcademySignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "EARL'S #MON"
|
|
|
|
line "ACADEMY"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
VioletCity_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_warp_events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 9, 17, VIOLET_MART, 2
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 18, 17, VIOLET_GYM, 1
|
|
|
|
warp_event 30, 17, EARLS_POKEMON_ACADEMY, 1
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 3, 15, VIOLET_NICKNAME_SPEECH_HOUSE, 1
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 31, 25, VIOLET_POKECENTER_1F, 1
|
|
|
|
warp_event 21, 29, VIOLET_KYLES_HOUSE, 1
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 23, 5, SPROUT_TOWER_1F, 1
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 39, 24, ROUTE_31_VIOLET_GATE, 1
|
|
|
|
warp_event 39, 25, ROUTE_31_VIOLET_GATE, 2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 24, 20, BGEVENT_READ, VioletCitySign
|
|
|
|
bg_event 15, 17, BGEVENT_READ, VioletGymSign
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 24, 8, BGEVENT_READ, SproutTowerSign
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 27, 17, BGEVENT_READ, EarlsPokemonAcademySign
|
|
|
|
bg_event 32, 25, BGEVENT_READ, VioletCityPokecenterSign
|
|
|
|
bg_event 10, 17, BGEVENT_READ, VioletCityMartSign
|
|
|
|
bg_event 37, 14, BGEVENT_ITEM, VioletCityHiddenHyperPotion
|
2017-12-24 10:46:34 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 13, 16, SPRITE_FISHER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, VioletCityEarlScript, EVENT_VIOLET_CITY_EARL
|
|
|
|
object_event 28, 28, SPRITE_LASS, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, VioletCityLassScript, -1
|
|
|
|
object_event 24, 14, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WANDER, 1, 2, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, VioletCitySuperNerdScript, -1
|
|
|
|
object_event 17, 20, SPRITE_GRAMPS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VioletCityGrampsScript, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 5, 18, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, VioletCityYoungsterScript, -1
|
2018-02-28 13:50:43 -08:00
|
|
|
object_event 14, 29, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VioletCityFruitTree, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 4, 1, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VioletCityPPUp, EVENT_VIOLET_CITY_PP_UP
|
|
|
|
object_event 35, 5, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, VioletCityRareCandy, EVENT_VIOLET_CITY_RARE_CANDY
|