pokecrystal-board/maps/GoldenrodBikeShop.asm

129 lines
2.5 KiB
NASM
Raw Normal View History

2015-07-10 01:45:35 -07:00
GoldenrodBikeShop_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 01:45:35 -07:00
UnknownScript_0x5474f:
end
2015-07-10 01:45:35 -07:00
ClerkScript_0x54750:
faceplayer
loadfont
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_BICYCLE
iftrue UnknownScript_0x54775
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x54787
yesorno
iffalse UnknownScript_0x5477b
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x547f8
keeptextopen
waitbutton
2015-07-10 05:08:03 -07:00
giveitem BICYCLE, 1
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x54848
playsound SFX_KEY_ITEM
waitbutton
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
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x5477b:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x54898
closetext
loadmovesprites
end
; possibly unused
2015-07-10 01:45:35 -07:00
UnknownScript_0x54781:
jumptext UnknownText_0x548c0
2015-07-10 01:45:35 -07:00
MapGoldenrodBikeShopSignpost8Script:
jumptext UnknownText_0x548ed
2015-07-10 01:45:35 -07: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 01:45:35 -07: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 01:45:35 -07:00
UnknownText_0x54848:
text "<PLAYER> borrowed a"
line "BICYCLE."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x5485f:
text "My BICYCLES are"
line "first-rate! You"
para "can ride them"
line "anywhere."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x54898:
text "…sigh… Oh, for"
line "the kindness of"
cont "people…"
done
; possibly unused
2015-07-10 01:45:35 -07:00
UnknownText_0x548c0:
text "Just released!"
para "First-rate compact"
line "BICYCLES!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x548ed:
text "It's a shiny new"
line "BICYCLE!"
done
2015-07-10 01:45:35 -07:00
GoldenrodBikeShop_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 2, GOLDENROD_CITY
warp_def $7, $3, 2, GOLDENROD_CITY
.XYTriggers:
db 0
.Signposts:
db 9
signpost 2, 1, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
signpost 3, 0, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
signpost 3, 1, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
signpost 5, 0, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
signpost 5, 1, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
signpost 6, 0, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
signpost 6, 1, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
signpost 6, 6, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
signpost 6, 7, SIGNPOST_READ, MapGoldenrodBikeShopSignpost8Script
.PersonEvents:
db 1
2015-10-31 18:05:02 -07:00
person_event SPRITE_CLERK, 2, 7, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, ClerkScript_0x54750, -1