2019-04-21 21:42:25 +00:00
|
|
|
object_const_def ; object_event constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const GOLDENRODBIKESHOP_CLERK
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
GoldenrodBikeShop_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-02-28 00:47:30 +00:00
|
|
|
.UnreferencedDummyScene:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
GoldenrodBikeShopClerkScript:
|
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_BICYCLE
|
2018-02-28 22:47:31 +00:00
|
|
|
iftrue .GotBicycle
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext GoldenrodBikeShopClerkIntroText
|
2013-02-17 06:54:07 +00:00
|
|
|
yesorno
|
2018-02-28 22:47:31 +00:00
|
|
|
iffalse .Refused
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext GoldenrodBikeShopClerkAgreedText
|
2015-11-30 03:29:45 +00:00
|
|
|
buttonsound
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2015-11-05 01:20:14 +00:00
|
|
|
giveitem BICYCLE
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext BorrowedABicycleText
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_KEY_ITEM
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2013-02-17 06:54:07 +00:00
|
|
|
itemnotify
|
2015-07-10 12:12:28 +00:00
|
|
|
setflag ENGINE_BIKE_SHOP_CALL_ENABLED
|
2013-09-24 07:48:58 +00:00
|
|
|
setevent EVENT_GOT_BICYCLE
|
2018-02-28 22:47:31 +00:00
|
|
|
.GotBicycle:
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext GoldenrodBikeShopClerkFirstRateBikesText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 22:47:31 +00:00
|
|
|
.Refused:
|
2018-08-19 17:56:41 +00:00
|
|
|
writetext GoldenrodBikeShopClerkRefusedText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
GoldenrodBikeShopJustReleasedCompactBike:
|
|
|
|
; unused
|
|
|
|
jumptext GoldenrodBikeShopJustReleasedCompactBikeText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
GoldenrodBikeShopBicycle:
|
|
|
|
jumptext GoldenrodBikeShopBicycleText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
GoldenrodBikeShopClerkIntroText:
|
2014-03-06 05:29:44 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
GoldenrodBikeShopClerkAgreedText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Really? Great!"
|
|
|
|
|
|
|
|
para "Give me your name"
|
|
|
|
line "and phone number,"
|
|
|
|
|
|
|
|
para "and I'll loan you"
|
|
|
|
line "a BICYCLE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
BorrowedABicycleText:
|
2015-06-28 04:59:17 +00:00
|
|
|
text "<PLAYER> borrowed a"
|
2014-03-06 05:29:44 +00:00
|
|
|
line "BICYCLE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
GoldenrodBikeShopClerkFirstRateBikesText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My BICYCLES are"
|
|
|
|
line "first-rate! You"
|
|
|
|
|
|
|
|
para "can ride them"
|
|
|
|
line "anywhere."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-08-19 17:56:41 +00:00
|
|
|
GoldenrodBikeShopClerkRefusedText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…sigh… Oh, for"
|
|
|
|
line "the kindness of"
|
|
|
|
cont "people…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
GoldenrodBikeShopJustReleasedCompactBikeText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Just released!"
|
|
|
|
|
|
|
|
para "First-rate compact"
|
|
|
|
line "BICYCLES!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-02-28 00:33:38 +00:00
|
|
|
GoldenrodBikeShopBicycleText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's a shiny new"
|
|
|
|
line "BICYCLE!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
GoldenrodBikeShop_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 2 ; warp events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 2, 7, GOLDENROD_CITY, 2
|
|
|
|
warp_event 3, 7, GOLDENROD_CITY, 2
|
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 9 ; bg events
|
2018-02-28 00:33:38 +00:00
|
|
|
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
|
2017-12-24 18:46:34 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; object events
|
2018-02-28 22:47:31 +00:00
|
|
|
object_event 7, 2, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodBikeShopClerkScript, -1
|