pokecrystal-board/maps/GoldenrodDeptStoreRoof.asm

236 lines
4.9 KiB
NASM
Raw Normal View History

2015-07-10 01:45:35 -07:00
GoldenrodDeptStoreRoof_MapScriptHeader:
; trigger count
db 0
; callback count
db 2
; callbacks
dbw 1, .CheckSaleChangeBlock
dbw 2, .CheckSaleChangeClerk
.CheckSaleChangeBlock:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
iftrue .ChangeBlock
return
.ChangeBlock:
changeblock $0, $2, $3f
changeblock $0, $4, $f
return
.CheckSaleChangeClerk:
2015-07-10 05:08:03 -07:00
checkflag ENGINE_GOLDENROD_DEPT_STORE_SALE_IS_ON
iftrue .ChangeClerk
setevent EVENT_GOLDENROD_SALE_OFF
clearevent EVENT_GOLDENROD_SALE_ON
return
.ChangeClerk:
clearevent EVENT_GOLDENROD_SALE_OFF
setevent EVENT_GOLDENROD_SALE_ON
return
2015-07-10 01:45:35 -07:00
ClerkScript_0x5673f:
loadfont
pokemart $4, $0000
loadmovesprites
end
2015-07-10 01:45:35 -07:00
PokefanFScript_0x56746:
jumptextfaceplayer UnknownText_0x5677f
2015-07-10 01:45:35 -07:00
FisherScript_0x56749:
faceplayer
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x567d2
closetext
loadmovesprites
spriteface $4, UP
end
2015-07-10 01:45:35 -07:00
TwinScript_0x56754:
jumptextfaceplayer UnknownText_0x56839
2015-07-10 01:45:35 -07:00
SuperNerdScript_0x56757:
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x56867
closetext
loadmovesprites
spriteface $6, UP
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x56871
closetext
loadmovesprites
spriteface $6, RIGHT
end
2015-07-10 01:45:35 -07:00
PokefanMScript_0x5676a:
jumptextfaceplayer UnknownText_0x5688e
2015-07-10 01:45:35 -07:00
TeacherScript_0x5676d:
jumptextfaceplayer UnknownText_0x56901
2015-07-10 01:45:35 -07:00
BugCatcherScript_0x56770:
jumptextfaceplayer UnknownText_0x56942
2015-07-10 01:45:35 -07:00
MapGoldenrodDeptStoreRoofSignpost0Script:
jumptext UnknownText_0x569c3
2015-07-10 01:45:35 -07:00
MapGoldenrodDeptStoreRoofSignpost1Script:
jumptext UnknownText_0x56a2b
2015-07-10 01:45:35 -07:00
MapGoldenrodDeptStoreRoofSignpost2Script:
jumptext UnknownText_0x56aa6
2015-07-10 01:45:35 -07:00
MapGoldenrodDeptStoreRoofSignpost3Script:
jumptext UnknownText_0x56b11
2015-07-10 01:45:35 -07:00
UnknownText_0x5677f:
text "Whew, I'm tired."
para "I sometimes come"
line "up to the rooftop"
para "to take a break"
line "from shopping."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x567d2:
text "Pardon? Who says"
line "an adult can't get"
cont "into this?"
para "I'm going to be"
line "back every day to"
para "collect all the"
line "dolls!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x56839:
text "They have bargain"
line "sales here every"
cont "so often."
done
2015-07-10 01:45:35 -07:00
UnknownText_0x56867:
text "Oh, wow!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x56871:
text "Will you quit"
line "bothering me?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x5688e:
text "There's something"
line "I really want, but"
para "I don't have the"
line "necessary cash…"
para "Maybe I'll sell"
line "off the BERRIES"
cont "I've collected…"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x56901:
text "Oh, everything is"
line "so cheap!"
para "I bought so much,"
line "my PACK's crammed!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x56942:
text "My #MON always"
line "get paralyzed or"
para "poisoned when the"
line "chips are down…"
para "So I came to buy"
line "some FULL HEAL."
para "I wonder if"
line "there's any left?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x569c3:
text "These binoculars"
line "let me see far"
para "away. Maybe I can"
line "see my own house."
para "Is it the one with"
line "the green roof?"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x56a2b:
text "Hey! Some trainers"
line "are battling on"
cont "the road!"
para "A #MON fired a"
line "flurry of leaves!"
para "That makes me feel"
line "like battling"
cont "right now!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x56aa6:
text "A FISHER caught a"
line "lot of MAGIKARP…"
para "They're SPLASHing"
line "at the same time!"
para "Look at the water"
line "going everywhere!"
done
2015-07-10 01:45:35 -07:00
UnknownText_0x56b11:
text "A vending machine"
line "for #MON dolls?"
para "Insert money, then"
line "turn the crank…"
para "But it's almost"
line "empty…"
done
2015-07-10 01:45:35 -07:00
GoldenrodDeptStoreRoof_MapEventHeader:
; filler
db 0, 0
; warps
db 1
warp_def $1, $d, 3, GROUP_GOLDENROD_DEPT_STORE_6F, MAP_GOLDENROD_DEPT_STORE_6F
; xy triggers
db 0
; signposts
db 4
signpost 3, 15, SIGNPOST_RIGHT, MapGoldenrodDeptStoreRoofSignpost0Script
signpost 5, 15, SIGNPOST_RIGHT, MapGoldenrodDeptStoreRoofSignpost1Script
signpost 6, 15, SIGNPOST_RIGHT, MapGoldenrodDeptStoreRoofSignpost2Script
signpost 0, 3, SIGNPOST_UP, MapGoldenrodDeptStoreRoofSignpost3Script
; people-events
db 8
person_event SPRITE_CLERK, 8, 5, LEFT << 2 | $1, $0, -1, -1, $0, 0, ClerkScript_0x5673f, EVENT_GOLDENROD_SALE_OFF
person_event SPRITE_POKEFAN_F, 7, 14, UP << 2 | $1, $1, -1, -1, (PAL_OW_RED << 4) | $80, 0, PokefanFScript_0x56746, -1
person_event SPRITE_FISHER, 5, 6, UP << 2 | $3, $0, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, FisherScript_0x56749, -1
person_event SPRITE_TWIN, 8, 7, DOWN << 2 | $2, $11, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, TwinScript_0x56754, EVENT_GOLDENROD_SALE_ON
person_event SPRITE_SUPER_NERD, 10, 18, LEFT << 2 | $1, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, SuperNerdScript_0x56757, EVENT_GOLDENROD_SALE_ON
person_event SPRITE_POKEFAN_M, 4, 11, UP << 2 | $1, $1, -1, -1, $0, 0, PokefanMScript_0x5676a, EVENT_GOLDENROD_SALE_OFF
person_event SPRITE_TEACHER, 7, 9, DOWN << 2 | $2, $11, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, TeacherScript_0x5676d, EVENT_GOLDENROD_SALE_OFF
person_event SPRITE_BUG_CATCHER, 10, 5, UP << 2 | $3, $0, -1, -1, (PAL_OW_RED << 4) | $80, 0, BugCatcherScript_0x56770, EVENT_GOLDENROD_SALE_OFF