pokecrystal-board/maps/Route35GoldenrodGate.asm

215 lines
4.5 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
const ROUTE35GOLDENRODGATE_RANDY
2015-11-26 21:22:14 -08:00
const ROUTE35GOLDENRODGATE_POKEFAN_F
const ROUTE35GOLDENRODGATE_FISHER
Route35GoldenrodGate_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2018-03-01 10:18:51 -08:00
RandyScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_HP_UP_FROM_RANDY
2015-10-31 18:05:02 -07:00
iftrue .gothpup
2013-09-24 00:48:58 -07:00
checkevent EVENT_GAVE_KENYA
2015-10-31 18:05:02 -07:00
iftrue .questcomplete
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_KENYA
2015-10-31 18:05:02 -07:00
iftrue .alreadyhavekenya
writetext Route35GoldenrodGateRandyAskTakeThisMonToMyFriendText
yesorno
2015-10-31 18:05:02 -07:00
iffalse .refused
writetext Route35GoldenrodGateRandyThanksKidText
2019-11-03 09:48:54 -08:00
promptbutton
2015-11-25 07:16:29 -08:00
waitsfx
readvar VAR_PARTYCOUNT
2018-02-02 18:09:17 -08:00
ifequal PARTY_LENGTH, .partyfull
writetext Route35GoldenrodGatePlayerReceivedAMonWithMailText
playsound SFX_KEY_ITEM
2015-11-25 07:16:29 -08:00
waitsfx
givepoke SPEAROW, 10, NO_ITEM, TRUE, GiftSpearowName, GiftSpearowOTName
givepokemail GiftSpearowMail
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_KENYA
.alreadyhavekenya
writetext Route35GoldenrodGateRandyWeirdTreeBlockingRoadText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.partyfull
writetext Route35GoldenrodGateRandyCantCarryAnotherMonText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.refused
writetext Route35GoldenrodGateRandyOhNeverMindThenText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
.questcomplete
writetext Route35GoldenrodGateRandySomethingForYourTroubleText
2019-11-03 09:48:54 -08:00
promptbutton
2015-11-04 17:20:14 -08:00
verbosegiveitem HP_UP
2015-10-31 18:05:02 -07:00
iffalse .bagfull
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_HP_UP_FROM_RANDY
.gothpup
writetext Route35GoldenrodGateRandyMyPalWasSnoozingRightText
2015-11-25 07:16:29 -08:00
waitbutton
.bagfull
2015-11-25 07:16:29 -08:00
closetext
end
2015-07-10 01:45:35 -07:00
GiftSpearowMail:
db FLOWER_MAIL
2015-10-31 18:05:02 -07:00
db "DARK CAVE leads"
next "to another road@"
2015-07-10 01:45:35 -07:00
GiftSpearowName:
db "KENYA@"
2015-07-10 01:45:35 -07:00
GiftSpearowOTName:
db "RANDY@"
db 0 ; filler
2018-03-01 10:18:51 -08:00
Route35GoldenrodGatePokefanFScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_FOUGHT_SUDOWOODO
2018-03-01 10:18:51 -08:00
iftrue .FoughtSudowoodo
writetext Route35GoldenrodGatePokefanFText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2018-03-01 10:18:51 -08:00
.FoughtSudowoodo
writetext Route35GoldenrodGatePokefanFText_FoughtSudowoodo
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 16:48:04 -08:00
Route35GoldenrodGateFisherScript:
jumptextfaceplayer Route35GoldenrodGateFisherText
Route35GoldenrodGateRandyAskTakeThisMonToMyFriendText:
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
Route35GoldenrodGateRandyThanksKidText:
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
Route35GoldenrodGatePlayerReceivedAMonWithMailText:
text "<PLAYER> received a"
line "#MON with MAIL."
done
Route35GoldenrodGateRandyWeirdTreeBlockingRoadText:
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
Route35GoldenrodGateRandyCantCarryAnotherMonText:
text "You can't carry"
line "another #MON…"
done
Route35GoldenrodGateRandyOhNeverMindThenText:
text "Oh… Never mind,"
line "then…"
done
Route35GoldenrodGateRandySomethingForYourTroubleText:
text "Thanks, kid! You"
line "made the delivery"
cont "for me!"
para "Here's something"
line "for your trouble!"
done
Route35GoldenrodGateRandyMyPalWasSnoozingRightText:
text "My pal was snooz-"
line "ing, right? Heh,"
cont "what'd I say?"
done
2018-03-01 10:18:51 -08:00
Route35GoldenrodGatePokefanFText:
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
2018-03-01 10:18:51 -08:00
Route35GoldenrodGatePokefanFText_FoughtSudowoodo:
text "I like the #MON"
line "Lullaby they play"
cont "on the radio."
done
2017-12-17 16:48:04 -08:00
Route35GoldenrodGateFisherText:
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
Route35GoldenrodGate_MapEvents:
db 0, 0 ; filler
db 4 ; warp events
2018-02-01 19:22:07 -08: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
db 0 ; coord events
db 0 ; bg events
db 3 ; object events
2018-03-01 10:18:51 -08: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-01 19:22:07 -08:00
object_event 3, 2, SPRITE_FISHER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, Route35GoldenrodGateFisherScript, -1