pokecrystal/maps/GoldenrodBikeShop.asm

132 lines
2.5 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const GOLDENRODBIKESHOP_CLERK
GoldenrodBikeShop_MapScripts:
.SceneScripts:
db 0
.MapCallbacks:
db 0
2015-07-10 08:45:35 +00:00
UnknownScript_0x5474f:
end
2015-07-10 08:45:35 +00:00
ClerkScript_0x54750:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_BICYCLE
iftrue UnknownScript_0x54775
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x54787
yesorno
iffalse UnknownScript_0x5477b
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x547f8
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
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x54848
playsound SFX_KEY_ITEM
2015-11-25 15:16:29 +00:00
waitsfx
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
2015-07-10 08:45:35 +00:00
UnknownScript_0x54775:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x5485f
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x5477b:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x54898
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
; possibly unused
2015-07-10 08:45:35 +00:00
UnknownScript_0x54781:
jumptext UnknownText_0x548c0
2015-07-10 08:45:35 +00:00
MapGoldenrodBikeShopSignpost8Script:
jumptext UnknownText_0x548ed
2015-07-10 08:45:35 +00:00
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
2015-07-10 08:45:35 +00:00
UnknownText_0x547f8:
text "Really? Great!"
para "Give me your name"
line "and phone number,"
para "and I'll loan you"
line "a BICYCLE."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x54848:
text "<PLAYER> borrowed a"
line "BICYCLE."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x5485f:
text "My BICYCLES are"
line "first-rate! You"
para "can ride them"
line "anywhere."
done
2015-07-10 08:45:35 +00:00
UnknownText_0x54898:
text "…sigh… Oh, for"
line "the kindness of"
cont "people…"
done
; possibly unused
2015-07-10 08:45:35 +00:00
UnknownText_0x548c0:
text "Just released!"
para "First-rate compact"
line "BICYCLES!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x548ed:
text "It's a shiny new"
line "BICYCLE!"
done
GoldenrodBikeShop_MapEvents:
; filler
db 0, 0
.Warps:
db 2
warp_def 2, 7, 2, GOLDENROD_CITY
warp_def 3, 7, 2, GOLDENROD_CITY
.CoordEvents:
db 0
.BGEvents:
db 9
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
bg_event 6, 6, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
bg_event 7, 6, BGEVENT_READ, MapGoldenrodBikeShopSignpost8Script
.ObjectEvents:
db 1
object_event 7, 2, SPRITE_CLERK, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ClerkScript_0x54750, -1