pokecrystal/maps/GoldenrodBikeShop.asm

125 lines
2.5 KiB
NASM

const_def 2 ; object constants
const GOLDENRODBIKESHOP_CLERK
GoldenrodBikeShop_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
.UnreferencedDummyScene:
end
GoldenrodBikeShopClerkScript:
faceplayer
opentext
checkevent EVENT_GOT_BICYCLE
iftrue .GotBicycle
writetext UnknownText_0x54787
yesorno
iffalse .Refused
writetext UnknownText_0x547f8
buttonsound
waitsfx
giveitem BICYCLE
writetext UnknownText_0x54848
playsound SFX_KEY_ITEM
waitsfx
itemnotify
setflag ENGINE_BIKE_SHOP_CALL_ENABLED
setevent EVENT_GOT_BICYCLE
.GotBicycle:
writetext UnknownText_0x5485f
waitbutton
closetext
end
.Refused:
writetext UnknownText_0x54898
waitbutton
closetext
end
GoldenrodBikeShopJustReleasedCompactBike:
; unused
jumptext GoldenrodBikeShopJustReleasedCompactBikeText
GoldenrodBikeShopBicycle:
jumptext GoldenrodBikeShopBicycleText
UnknownText_0x54787:
text "…sigh… I moved"
line "here, but I can't"
para "sell my BICYCLES."
line "Why is that?"
para "Could you ride a"
line "BICYCLE and adver-"
cont "tise for me?"
done
UnknownText_0x547f8:
text "Really? Great!"
para "Give me your name"
line "and phone number,"
para "and I'll loan you"
line "a BICYCLE."
done
UnknownText_0x54848:
text "<PLAYER> borrowed a"
line "BICYCLE."
done
UnknownText_0x5485f:
text "My BICYCLES are"
line "first-rate! You"
para "can ride them"
line "anywhere."
done
UnknownText_0x54898:
text "…sigh… Oh, for"
line "the kindness of"
cont "people…"
done
; possibly unused
GoldenrodBikeShopJustReleasedCompactBikeText:
text "Just released!"
para "First-rate compact"
line "BICYCLES!"
done
GoldenrodBikeShopBicycleText:
text "It's a shiny new"
line "BICYCLE!"
done
GoldenrodBikeShop_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 2, 7, GOLDENROD_CITY, 2
warp_event 3, 7, GOLDENROD_CITY, 2
db 0 ; coord events
db 9 ; bg events
bg_event 1, 2, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 0, 3, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 1, 3, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 0, 5, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 1, 5, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 0, 6, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 1, 6, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 6, 6, BGEVENT_READ, GoldenrodBikeShopBicycle
bg_event 7, 6, BGEVENT_READ, GoldenrodBikeShopBicycle
db 1 ; object events
object_event 7, 2, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodBikeShopClerkScript, -1