2019-04-21 21:42:25 +00:00
|
|
|
object_const_def ; object_event constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const ROUTE35GOLDENRODGATE_OFFICER
|
|
|
|
const ROUTE35GOLDENRODGATE_POKEFAN_F
|
|
|
|
const ROUTE35GOLDENRODGATE_FISHER
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route35GoldenrodGate_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
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
RandyScript:
|
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_GOT_HP_UP_FROM_RANDY
|
2015-11-01 01:05:02 +00:00
|
|
|
iftrue .gothpup
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GAVE_KENYA
|
2015-11-01 01:05:02 +00:00
|
|
|
iftrue .questcomplete
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_GOT_KENYA
|
2015-11-01 01:05:02 +00:00
|
|
|
iftrue .alreadyhavekenya
|
2019-04-28 01:12:16 +00:00
|
|
|
writetext Route35GoldenrodGateRandyAskTakeThisMonToMyFriendText
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2015-11-01 01:05:02 +00:00
|
|
|
iffalse .refused
|
2019-04-28 01:12:16 +00:00
|
|
|
writetext Route35GoldenrodGateRandyThanksKidText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2019-03-10 19:31:59 +00:00
|
|
|
readvar VAR_PARTYCOUNT
|
2018-02-03 02:09:17 +00:00
|
|
|
ifequal PARTY_LENGTH, .partyfull
|
2019-04-28 01:12:16 +00:00
|
|
|
writetext Route35GoldenrodGatePlayerReceivedAMonWithMailText
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_KEY_ITEM
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2018-02-26 01:12:58 +00:00
|
|
|
givepoke SPEAROW, 10, NO_ITEM, TRUE, GiftSpearowName, GiftSpearowOTName
|
2018-05-05 07:19:04 +00:00
|
|
|
givepokemail GiftSpearowMail
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_KENYA
|
2016-04-10 19:01:49 +00:00
|
|
|
.alreadyhavekenya
|
2019-04-28 01:12:16 +00:00
|
|
|
writetext Route35GoldenrodGateRandyWeirdTreeBlockingRoadText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 19:01:49 +00:00
|
|
|
.partyfull
|
2019-04-28 01:12:16 +00:00
|
|
|
writetext Route35GoldenrodGateRandyCantCarryAnotherMonText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 19:01:49 +00:00
|
|
|
.refused
|
2019-04-28 01:12:16 +00:00
|
|
|
writetext Route35GoldenrodGateRandyOhNeverMindThenText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 19:01:49 +00:00
|
|
|
.questcomplete
|
2019-04-28 01:12:16 +00:00
|
|
|
writetext Route35GoldenrodGateRandySomethingForYourTroubleText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-05 01:20:14 +00:00
|
|
|
verbosegiveitem HP_UP
|
2015-11-01 01:05:02 +00:00
|
|
|
iffalse .bagfull
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_HP_UP_FROM_RANDY
|
2016-04-10 19:01:49 +00:00
|
|
|
.gothpup
|
2019-04-28 01:12:16 +00:00
|
|
|
writetext Route35GoldenrodGateRandyMyPalWasSnoozingRightText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2016-04-10 19:01:49 +00:00
|
|
|
.bagfull
|
2015-11-25 15:16:29 +00:00
|
|
|
closetext
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GiftSpearowMail:
|
2018-05-19 02:18:00 +00:00
|
|
|
db FLOWER_MAIL
|
2015-11-01 01:05:02 +00:00
|
|
|
db "DARK CAVE leads"
|
|
|
|
next "to another road@"
|
2018-05-19 02:18:00 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GiftSpearowName:
|
2013-02-17 06:54:07 +00:00
|
|
|
db "KENYA@"
|
2018-05-19 02:18:00 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GiftSpearowOTName:
|
2013-02-17 06:54:07 +00:00
|
|
|
db "RANDY@"
|
|
|
|
|
2018-05-19 02:18:00 +00:00
|
|
|
db 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
Route35GoldenrodGatePokefanFScript:
|
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_FOUGHT_SUDOWOODO
|
2018-03-01 18:18:51 +00:00
|
|
|
iftrue .FoughtSudowoodo
|
|
|
|
writetext Route35GoldenrodGatePokefanFText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
.FoughtSudowoodo
|
|
|
|
writetext Route35GoldenrodGatePokefanFText_FoughtSudowoodo
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
Route35GoldenrodGateFisherScript:
|
|
|
|
jumptextfaceplayer Route35GoldenrodGateFisherText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-04-28 01:12:16 +00:00
|
|
|
Route35GoldenrodGateRandyAskTakeThisMonToMyFriendText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Excuse me, kid!"
|
|
|
|
line "Can you do a guy"
|
|
|
|
cont "a favor?"
|
|
|
|
|
|
|
|
para "Can you take this"
|
|
|
|
line "#MON with MAIL"
|
|
|
|
cont "to my friend?"
|
|
|
|
|
|
|
|
para "He's on ROUTE 31."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-04-28 01:12:16 +00:00
|
|
|
Route35GoldenrodGateRandyThanksKidText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You will? Perfect!"
|
|
|
|
line "Thanks, kid!"
|
|
|
|
|
|
|
|
para "My pal's a chubby"
|
|
|
|
line "guy who snoozes"
|
|
|
|
cont "all the time."
|
|
|
|
|
|
|
|
para "You'll recognize"
|
|
|
|
line "him right away!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-04-28 01:12:16 +00:00
|
|
|
Route35GoldenrodGatePlayerReceivedAMonWithMailText:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> received a"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "#MON with MAIL."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-04-28 01:12:16 +00:00
|
|
|
Route35GoldenrodGateRandyWeirdTreeBlockingRoadText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You can read it,"
|
|
|
|
line "but don't lose it!"
|
|
|
|
cont "ROUTE 31!"
|
|
|
|
|
|
|
|
para "Oh, yeah. There"
|
|
|
|
line "was a weird tree"
|
|
|
|
cont "blocking the road."
|
|
|
|
|
|
|
|
para "I wonder if it's"
|
|
|
|
line "been cleared?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-04-28 01:12:16 +00:00
|
|
|
Route35GoldenrodGateRandyCantCarryAnotherMonText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "You can't carry"
|
|
|
|
line "another #MON…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-04-28 01:12:16 +00:00
|
|
|
Route35GoldenrodGateRandyOhNeverMindThenText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Oh… Never mind,"
|
|
|
|
line "then…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-04-28 01:12:16 +00:00
|
|
|
Route35GoldenrodGateRandySomethingForYourTroubleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Thanks, kid! You"
|
|
|
|
line "made the delivery"
|
|
|
|
cont "for me!"
|
|
|
|
|
|
|
|
para "Here's something"
|
|
|
|
line "for your trouble!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2019-04-28 01:12:16 +00:00
|
|
|
Route35GoldenrodGateRandyMyPalWasSnoozingRightText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My pal was snooz-"
|
|
|
|
line "ing, right? Heh,"
|
|
|
|
cont "what'd I say?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
Route35GoldenrodGatePokefanFText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "A strange tree is"
|
|
|
|
line "blocking the road."
|
|
|
|
|
|
|
|
para "It wriggles around"
|
|
|
|
line "if you talk to it."
|
|
|
|
|
|
|
|
para "I heard it became"
|
|
|
|
line "wild when someone"
|
|
|
|
|
|
|
|
para "watered it with a"
|
|
|
|
line "SQUIRTBOTTLE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-03-01 18:18:51 +00:00
|
|
|
Route35GoldenrodGatePokefanFText_FoughtSudowoodo:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I like the #MON"
|
|
|
|
line "Lullaby they play"
|
|
|
|
cont "on the radio."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
Route35GoldenrodGateFisherText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I wonder how many"
|
|
|
|
line "kinds of #MON"
|
|
|
|
|
|
|
|
para "there are in the"
|
|
|
|
line "world."
|
|
|
|
|
|
|
|
para "Three years ago,"
|
|
|
|
line "PROF.OAK said that"
|
|
|
|
|
|
|
|
para "there were 150"
|
|
|
|
line "different kinds."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
Route35GoldenrodGate_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 4 ; warp events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 4, 0, ROUTE_35, 1
|
|
|
|
warp_event 5, 0, ROUTE_35, 2
|
|
|
|
warp_event 4, 7, GOLDENROD_CITY, 12
|
|
|
|
warp_event 5, 7, GOLDENROD_CITY, 12
|
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 3 ; object events
|
2018-03-01 18:18:51 +00:00
|
|
|
object_event 0, 4, SPRITE_OFFICER, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, RandyScript, -1
|
|
|
|
object_event 6, 4, SPRITE_POKEFAN_F, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, Route35GoldenrodGatePokefanFScript, -1
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 3, 2, SPRITE_FISHER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, Route35GoldenrodGateFisherScript, -1
|