2019-04-21 21:42:25 +00:00
|
|
|
object_const_def ; object_event constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const VIOLETPOKECENTER1F_NURSE
|
|
|
|
const VIOLETPOKECENTER1F_GAMEBOY_KID
|
|
|
|
const VIOLETPOKECENTER1F_GENTLEMAN
|
|
|
|
const VIOLETPOKECENTER1F_YOUNGSTER
|
|
|
|
const VIOLETPOKECENTER1F_SCIENTIST
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
VioletPokecenter1F_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; scene scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; callbacks
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-11 03:34:42 +00:00
|
|
|
VioletPokecenterNurse:
|
2015-06-23 20:21:54 +00:00
|
|
|
jumpstd pokecenternurse
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-11 03:34:42 +00:00
|
|
|
VioletPokecenter1F_ElmsAideScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_REFUSED_TO_TAKE_EGG_FROM_ELMS_AIDE
|
2015-11-28 20:13:40 +00:00
|
|
|
iftrue .SecondTimeAsking
|
2019-10-20 22:24:17 +00:00
|
|
|
writetext VioletPokecenterElmsAideFavorText
|
2015-11-28 20:13:40 +00:00
|
|
|
.AskTakeEgg:
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2015-11-28 20:13:40 +00:00
|
|
|
iffalse .RefusedEgg
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_PARTYCOUNT
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal PARTY_LENGTH, .PartyFull
|
2013-02-17 06:54:07 +00:00
|
|
|
giveegg TOGEPI, 5
|
2019-03-10 19:31:59 +00:00
|
|
|
getstring STRING_BUFFER_4, .eggname
|
2015-11-28 20:13:40 +00:00
|
|
|
scall .AideGivesEgg
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE
|
|
|
|
clearevent EVENT_ELMS_AIDE_IN_LAB
|
|
|
|
clearevent EVENT_TOGEPI_HATCHED
|
2018-02-01 17:40:58 +00:00
|
|
|
setmapscene ROUTE_32, SCENE_ROUTE32_OFFER_SLOWPOKETAIL
|
2019-10-20 22:24:17 +00:00
|
|
|
writetext VioletPokecenterElmsAideGiveEggText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_FACING
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal UP, .AideWalksAroundPlayer
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject PLAYER, DOWN
|
2015-11-28 20:13:40 +00:00
|
|
|
applymovement VIOLETPOKECENTER1F_SCIENTIST, MovementData_AideWalksStraightOutOfPokecenter
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear VIOLETPOKECENTER1F_SCIENTIST
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.AideWalksAroundPlayer:
|
2015-11-28 20:13:40 +00:00
|
|
|
applymovement VIOLETPOKECENTER1F_SCIENTIST, MovementData_AideWalksLeftToExitPokecenter
|
2018-02-26 01:05:37 +00:00
|
|
|
turnobject PLAYER, DOWN
|
2015-11-28 20:13:40 +00:00
|
|
|
applymovement VIOLETPOKECENTER1F_SCIENTIST, MovementData_AideFinishesLeavingPokecenter
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_EXIT_BUILDING
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear VIOLETPOKECENTER1F_SCIENTIST
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
.eggname
|
2013-02-17 06:54:07 +00:00
|
|
|
db "EGG@"
|
|
|
|
|
2015-11-28 20:13:40 +00:00
|
|
|
.AideGivesEgg:
|
2015-07-12 06:00:17 +00:00
|
|
|
jumpstd receivetogepiegg
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-11-28 20:13:40 +00:00
|
|
|
.PartyFull:
|
2019-10-20 22:24:17 +00:00
|
|
|
writetext VioletCityElmsAideFullPartyText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-11-28 20:13:40 +00:00
|
|
|
.RefusedEgg:
|
2019-10-20 22:24:17 +00:00
|
|
|
writetext VioletPokecenterElmsAideRefuseText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_REFUSED_TO_TAKE_EGG_FROM_ELMS_AIDE
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-11-28 20:13:40 +00:00
|
|
|
.SecondTimeAsking:
|
2019-10-20 22:24:17 +00:00
|
|
|
writetext VioletPokecenterElmsAideAskEggText
|
2019-03-10 20:39:31 +00:00
|
|
|
sjump .AskTakeEgg
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
VioletPokecenter1FGameboyKidScript:
|
|
|
|
jumptextfaceplayer VioletPokecenter1FGameboyKidText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
VioletPokecenter1FGentlemanScript:
|
|
|
|
jumptextfaceplayer VioletPokecenter1FGentlemanText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
VioletPokecenter1FYoungsterScript:
|
|
|
|
jumptextfaceplayer VioletPokecenter1FYoungsterText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-28 20:13:40 +00:00
|
|
|
MovementData_AideWalksStraightOutOfPokecenter:
|
2016-05-14 17:46:14 +00:00
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-11-28 20:13:40 +00:00
|
|
|
MovementData_AideWalksLeftToExitPokecenter:
|
2016-05-14 17:46:14 +00:00
|
|
|
step LEFT
|
|
|
|
step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-11-28 20:13:40 +00:00
|
|
|
MovementData_AideFinishesLeavingPokecenter:
|
2016-05-14 17:46:14 +00:00
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2019-10-20 22:24:17 +00:00
|
|
|
VioletPokecenterElmsAideFavorText:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAY_G>, long"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "time, no see."
|
|
|
|
|
|
|
|
para "PROF.ELM asked me"
|
|
|
|
line "to find you."
|
|
|
|
|
|
|
|
para "He has another"
|
|
|
|
line "favor to ask."
|
|
|
|
|
|
|
|
para "Would you take the"
|
|
|
|
line "#MON EGG?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-10-20 22:24:17 +00:00
|
|
|
VioletPokecenterElmsAideGiveEggText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "We discovered that"
|
|
|
|
line "a #MON will not"
|
|
|
|
|
|
|
|
para "hatch until it"
|
|
|
|
line "grows in the EGG."
|
|
|
|
|
|
|
|
para "It also has to be"
|
|
|
|
line "with other active"
|
|
|
|
cont "#MON to hatch."
|
|
|
|
|
2015-06-28 04:59:17 +00:00
|
|
|
para "<PLAY_G>, you're"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "the only person"
|
|
|
|
cont "we can rely on."
|
|
|
|
|
|
|
|
para "Please call PROF."
|
|
|
|
line "ELM when that EGG"
|
|
|
|
cont "hatches!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-10-20 22:24:17 +00:00
|
|
|
VioletCityElmsAideFullPartyText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh, no. You can't"
|
|
|
|
line "carry any more"
|
|
|
|
cont "#MON with you."
|
|
|
|
|
|
|
|
para "I'll wait here"
|
|
|
|
line "while you make"
|
|
|
|
cont "room for the EGG."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-10-20 22:24:17 +00:00
|
|
|
VioletPokecenterElmsAideRefuseText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "B-but… PROF.ELM"
|
|
|
|
line "asked for you…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-10-20 22:24:17 +00:00
|
|
|
VioletPokecenterElmsAideAskEggText:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAY_G>, will you"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "take the EGG?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-10-20 22:24:17 +00:00
|
|
|
; unused
|
|
|
|
VioletPokecenterFarawayLinkText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I've been thinking"
|
|
|
|
line "it'd be great to"
|
|
|
|
|
|
|
|
para "be able to link up"
|
|
|
|
line "and battle with my"
|
|
|
|
|
|
|
|
para "friends who live"
|
|
|
|
line "far away."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-10-20 22:24:17 +00:00
|
|
|
; unused
|
|
|
|
VioletPokecenterMobileAdapterText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I just battled a"
|
|
|
|
line "friend in CIANWOOD"
|
|
|
|
cont "over a link."
|
|
|
|
|
|
|
|
para "If you connect a"
|
|
|
|
line "MOBILE ADAPTER,"
|
|
|
|
|
|
|
|
para "you can link with"
|
|
|
|
line "a friend far away."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
VioletPokecenter1FGameboyKidText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A guy named BILL"
|
|
|
|
line "made the #MON"
|
|
|
|
cont "PC storage system."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
VioletPokecenter1FGentlemanText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It was around"
|
|
|
|
line "three years ago."
|
|
|
|
|
|
|
|
para "TEAM ROCKET was up"
|
|
|
|
line "to no good with"
|
|
|
|
cont "#MON."
|
|
|
|
|
|
|
|
para "But justice pre-"
|
|
|
|
line "vailed--a young"
|
|
|
|
cont "kid broke 'em up."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
VioletPokecenter1FYoungsterText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "#MON are smart."
|
|
|
|
line "They won't obey a"
|
|
|
|
|
|
|
|
para "trainer they don't"
|
|
|
|
line "respect."
|
|
|
|
|
|
|
|
para "Without the right"
|
|
|
|
line "GYM BADGES, they"
|
|
|
|
|
|
|
|
para "will just do as"
|
|
|
|
line "they please."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
VioletPokecenter1F_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 3 ; warp events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 3, 7, VIOLET_CITY, 5
|
|
|
|
warp_event 4, 7, VIOLET_CITY, 5
|
|
|
|
warp_event 0, 7, POKECENTER_2F, 1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; coord events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; bg events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 5 ; object events
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 3, 1, SPRITE_NURSE, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VioletPokecenterNurse, -1
|
|
|
|
object_event 7, 6, SPRITE_GAMEBOY_KID, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, VioletPokecenter1FGameboyKidScript, -1
|
|
|
|
object_event 1, 4, SPRITE_GENTLEMAN, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, VioletPokecenter1FGentlemanScript, -1
|
|
|
|
object_event 8, 1, SPRITE_YOUNGSTER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, VioletPokecenter1FYoungsterScript, -1
|
|
|
|
object_event 4, 3, SPRITE_SCIENTIST, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, VioletPokecenter1F_ElmsAideScript, EVENT_ELMS_AIDE_IN_VIOLET_POKEMON_CENTER
|