pokecrystal/maps/GoldenrodBikeShop.asm

129 lines
2.5 KiB
NASM

GoldenrodBikeShop_MapScriptHeader:
; trigger count
db 0
; callback count
db 0
UnknownScript_0x5474f:
end
ClerkScript_0x54750:
faceplayer
loadfont
checkevent EVENT_GOT_BICYCLE
iftrue UnknownScript_0x54775
writetext UnknownText_0x54787
yesorno
iffalse UnknownScript_0x5477b
writetext UnknownText_0x547f8
keeptextopen
waitbutton
giveitem BICYCLE, 1
writetext UnknownText_0x54848
playsound SFX_KEY_ITEM
waitbutton
itemnotify
setflag ENGINE_BIKE_SHOP_CALL_ENABLED
setevent EVENT_GOT_BICYCLE
UnknownScript_0x54775:
writetext UnknownText_0x5485f
closetext
loadmovesprites
end
UnknownScript_0x5477b:
writetext UnknownText_0x54898
closetext
loadmovesprites
end
; possibly unused
UnknownScript_0x54781:
jumptext UnknownText_0x548c0
MapGoldenrodBikeShopSignpost8Script:
jumptext UnknownText_0x548ed
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
UnknownText_0x548c0:
text "Just released!"
para "First-rate compact"
line "BICYCLES!"
done
UnknownText_0x548ed:
text "It's a shiny new"
line "BICYCLE!"
done
GoldenrodBikeShop_MapEventHeader:
; filler
db 0, 0
; warps
db 2
warp_def $7, $2, 2, GROUP_GOLDENROD_CITY, MAP_GOLDENROD_CITY
warp_def $7, $3, 2, GROUP_GOLDENROD_CITY, MAP_GOLDENROD_CITY
; xy triggers
db 0
; signposts
db 9
signpost 2, 1, $0, MapGoldenrodBikeShopSignpost8Script
signpost 3, 0, $0, MapGoldenrodBikeShopSignpost8Script
signpost 3, 1, $0, MapGoldenrodBikeShopSignpost8Script
signpost 5, 0, $0, MapGoldenrodBikeShopSignpost8Script
signpost 5, 1, $0, MapGoldenrodBikeShopSignpost8Script
signpost 6, 0, $0, MapGoldenrodBikeShopSignpost8Script
signpost 6, 1, $0, MapGoldenrodBikeShopSignpost8Script
signpost 6, 6, $0, MapGoldenrodBikeShopSignpost8Script
signpost 6, 7, $0, MapGoldenrodBikeShopSignpost8Script
; people-events
db 1
person_event SPRITE_CLERK, 6, 11, $8, $0, 255, 255, $80, 0, ClerkScript_0x54750, EVENT_ALWAYS_THERE