2018-01-31 08:38:45 -08:00
|
|
|
const_def 2 ; object constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const GOLDENRODBIKESHOP_CLERK
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
GoldenrodBikeShop_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x5474f:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
ClerkScript_0x54750:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_BICYCLE
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x54775
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54787
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
|
|
|
iffalse UnknownScript_0x5477b
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x547f8
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-11-04 17:20:14 -08:00
|
|
|
giveitem BICYCLE
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54848
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_KEY_ITEM
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2013-02-16 22:54:07 -08:00
|
|
|
itemnotify
|
2015-07-10 05:12:28 -07:00
|
|
|
setflag ENGINE_BIKE_SHOP_CALL_ENABLED
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_BICYCLE
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x54775:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x5485f
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x5477b:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x54898
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
|
|
|
; possibly unused
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownScript_0x54781:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptext UnknownText_0x548c0
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MapGoldenrodBikeShopSignpost8Script:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptext UnknownText_0x548ed
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54787:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x547f8:
|
2014-03-05 21:29:44 -08: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-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54848:
|
2015-06-27 21:59:17 -07:00
|
|
|
text "<PLAYER> borrowed a"
|
2014-03-05 21:29:44 -08:00
|
|
|
line "BICYCLE."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x5485f:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "My BICYCLES are"
|
|
|
|
line "first-rate! You"
|
|
|
|
|
|
|
|
para "can ride them"
|
|
|
|
line "anywhere."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x54898:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…sigh… Oh, for"
|
|
|
|
line "the kindness of"
|
|
|
|
cont "people…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
|
|
|
; possibly unused
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x548c0:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Just released!"
|
|
|
|
|
|
|
|
para "First-rate compact"
|
|
|
|
line "BICYCLES!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
UnknownText_0x548ed:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "It's a shiny new"
|
|
|
|
line "BICYCLE!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
GoldenrodBikeShop_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; warp events
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 2, 7, GOLDENROD_CITY, 2
|
|
|
|
warp_event 3, 7, GOLDENROD_CITY, 2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 9 ; bg events
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 1, 2, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
|
|
|
|
bg_event 0, 3, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
|
|
|
|
bg_event 1, 3, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
|
|
|
|
bg_event 0, 5, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
|
|
|
|
bg_event 1, 5, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
|
|
|
|
bg_event 0, 6, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
|
|
|
|
bg_event 1, 6, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 6, 6, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 7, 6, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
|
2017-12-24 10:46:34 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; object events
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 7, 2, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x54750, -1
|