pokecrystal/maps/Route35GoldenrodGate.asm

220 lines
4.0 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const ROUTE35GOLDENRODGATE_OFFICER
const ROUTE35GOLDENRODGATE_POKEFAN_F
const ROUTE35GOLDENRODGATE_FISHER
Route35GoldenrodGate_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
2015-07-10 08:45:35 +00:00
OfficerScript_0x69d37:
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
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x69ddd
yesorno
2015-11-01 01:05:02 +00:00
iffalse .refused
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x69e48
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-25 15:16:29 +00:00
waitsfx
checkcode VAR_PARTYCOUNT
2015-11-01 01:05:02 +00:00
if_equal PARTY_LENGTH, .partyfull
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x69eb8
playsound SFX_KEY_ITEM
2015-11-25 15:16:29 +00:00
waitsfx
2015-11-01 01:05:02 +00:00
givepoke SPEAROW, 10, NO_ITEM, 1, GiftSpearowName, GiftSpearowOTName
givepokeitem GiftSpearowMail
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_KENYA
.alreadyhavekenya
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x69ed6
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.partyfull
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x69f56
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.refused
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x69f74
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.questcomplete
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x69f8b
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
.gothpup
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x69fd9
2015-11-25 15:16:29 +00:00
waitbutton
.bagfull
2015-11-25 15:16:29 +00:00
closetext
end
2015-07-10 08:45:35 +00:00
GiftSpearowMail:
2015-11-01 01:05:02 +00:00
db FLOWER_MAIL
db "DARK CAVE leads"
next "to another road@"
2015-07-10 08:45:35 +00:00
GiftSpearowName:
db "KENYA@"
2015-07-10 08:45:35 +00:00
GiftSpearowOTName:
db "RANDY@"
2015-07-10 08:45:35 +00:00
db 0
2015-07-10 08:45:35 +00:00
PokefanFScript_0x69dc6:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_FOUGHT_SUDOWOODO
2015-11-01 01:05:02 +00:00
iftrue .aftersudowoodo
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6a00a
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.aftersudowoodo
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x6a09a
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
Route35GoldenrodGateFisherScript:
jumptextfaceplayer Route35GoldenrodGateFisherText
2015-07-10 08:45:35 +00:00
UnknownText_0x69ddd:
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
2015-07-10 08:45:35 +00:00
UnknownText_0x69e48:
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
2015-07-10 08:45:35 +00:00
UnknownText_0x69eb8:
text "<PLAYER> received a"
line "#MON with MAIL."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x69ed6:
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
2015-07-10 08:45:35 +00:00
UnknownText_0x69f56:
text "You can't carry"
line "another #MON…"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x69f74:
text "Oh… Never mind,"
line "then…"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x69f8b:
text "Thanks, kid! You"
line "made the delivery"
cont "for me!"
para "Here's something"
line "for your trouble!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x69fd9:
text "My pal was snooz-"
line "ing, right? Heh,"
cont "what'd I say?"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x6a00a:
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
2015-07-10 08:45:35 +00:00
UnknownText_0x6a09a:
text "I like the #MON"
line "Lullaby they play"
cont "on the radio."
done
2017-12-18 00:48:04 +00: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_MapEventHeader:
; filler
db 0, 0
.Warps:
db 4
warp_def $0, $4, 1, ROUTE_35
warp_def $0, $5, 2, ROUTE_35
warp_def $7, $4, 12, GOLDENROD_CITY
warp_def $7, $5, 12, GOLDENROD_CITY
.CoordEvents:
db 0
.BGEvents:
db 0
.ObjectEvents:
db 3
object_event SPRITE_OFFICER, 4, 0, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, OfficerScript_0x69d37, -1
object_event SPRITE_POKEFAN_F, 4, 6, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, PokefanFScript_0x69dc6, -1
object_event SPRITE_FISHER, 2, 3, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, Route35GoldenrodGateFisherScript, -1