pokecrystal/maps/GoldenrodDeptStoreB1F.asm

142 lines
3.6 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const GOLDENRODDEPTSTOREB1F_POKE_BALL1
const GOLDENRODDEPTSTOREB1F_POKE_BALL2
const GOLDENRODDEPTSTOREB1F_POKE_BALL3
const GOLDENRODDEPTSTOREB1F_POKE_BALL4
const GOLDENRODDEPTSTOREB1F_BLACK_BELT1
const GOLDENRODDEPTSTOREB1F_BLACK_BELT2
const GOLDENRODDEPTSTOREB1F_BLACK_BELT3
const GOLDENRODDEPTSTOREB1F_MACHOP
2015-07-10 08:45:35 +00:00
GoldenrodDeptStoreB1F_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 2
; callbacks
2016-01-06 12:44:50 +00:00
dbw MAPCALLBACK_TILES, UnknownScript_0x7d781
2016-01-06 12:44:50 +00:00
dbw MAPCALLBACK_NEWMAP, UnknownScript_0x7d7ac
2015-07-10 08:45:35 +00:00
UnknownScript_0x7d781:
checkevent EVENT_RECEIVED_CARD_KEY
iftrue UnknownScript_0x7d78a
2015-01-20 08:01:23 +00:00
jump UnknownScript_0x7d791
2015-07-10 08:45:35 +00:00
UnknownScript_0x7d78a:
changeblock $10, $4, $d
2015-01-20 08:01:23 +00:00
jump UnknownScript_0x7d791
2015-07-10 08:45:35 +00:00
UnknownScript_0x7d791:
2015-07-10 12:08:03 +00:00
checkevent EVENT_WAREHOUSE_LAYOUT_2
iftrue .Layout2
checkevent EVENT_WAREHOUSE_LAYOUT_3
iftrue .Layout3
changeblock $a, $8, $d
return
.Layout2:
changeblock $4, $a, $d
return
.Layout3:
changeblock $a, $c, $d
return
2015-07-10 08:45:35 +00:00
UnknownScript_0x7d7ac:
2015-07-10 12:08:03 +00:00
clearevent EVENT_WAREHOUSE_BLOCKED_OFF
return
2015-07-10 08:45:35 +00:00
BlackBeltScript_0x7d7b0:
jumptextfaceplayer UnknownText_0x7d7cb
2015-07-10 08:45:35 +00:00
BlackBeltScript_0x7d7b3:
jumptextfaceplayer UnknownText_0x7d82c
2015-07-10 08:45:35 +00:00
BlackBeltScript_0x7d7b6:
jumptextfaceplayer UnknownText_0x7d875
2015-07-10 08:45:35 +00:00
MachopScript_0x7d7b9:
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x7d8bb
cry MACHOKE
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-12-15 15:55:56 +00:00
GoldenrodDeptStoreB1FEther:
itemball ETHER
2015-12-15 15:55:56 +00:00
GoldenrodDeptStoreB1FAmuletCoin:
itemball AMULET_COIN
2015-12-15 15:55:56 +00:00
GoldenrodDeptStoreB1FBurnHeal:
itemball BURN_HEAL
2015-12-15 15:55:56 +00:00
GoldenrodDeptStoreB1FUltraBall:
itemball ULTRA_BALL
2015-07-10 08:45:35 +00:00
UnknownText_0x7d7cb:
text "Hey, kid! You're"
line "holding us up!"
para "Our policy is to"
line "work behind the"
para "scenes where no"
line "one can see us!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x7d82c:
text "I lose my passion"
line "for work if some-"
cont "one's watching."
para "Come on, kid,"
line "scoot!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x7d875:
text "Oohah! Oohah!"
para "The stuff on the"
line "ground's junk."
para "Take it if you"
line "want it!"
done
2015-07-10 08:45:35 +00:00
UnknownText_0x7d8bb:
text "MACHOKE: Maaacho!"
done
2015-07-10 08:45:35 +00:00
GoldenrodDeptStoreB1F_MapEventHeader:
; filler
db 0, 0
.Warps:
db 3
warp_def $2, $11, 3, UNDERGROUND_WAREHOUSE
warp_def $4, $9, 1, GOLDENROD_DEPT_STORE_ELEVATOR
warp_def $4, $a, 2, GOLDENROD_DEPT_STORE_ELEVATOR
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 8
2015-12-15 15:55:56 +00:00
person_event SPRITE_POKE_BALL, 15, 10, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FEther, EVENT_GOLDENROD_DEPT_STORE_B1F_ETHER
person_event SPRITE_POKE_BALL, 2, 14, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FAmuletCoin, EVENT_GOLDENROD_DEPT_STORE_B1F_AMULET_COIN
person_event SPRITE_POKE_BALL, 3, 6, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FBurnHeal, EVENT_GOLDENROD_DEPT_STORE_B1F_BURN_HEAL
person_event SPRITE_POKE_BALL, 15, 15, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FUltraBall, EVENT_GOLDENROD_DEPT_STORE_B1F_ULTRA_BALL
person_event SPRITE_BLACK_BELT, 10, 9, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, (1 << 3) | PAL_OW_GREEN, PERSONTYPE_SCRIPT, 0, BlackBeltScript_0x7d7b0, -1
person_event SPRITE_BLACK_BELT, 8, 4, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, (1 << 3) | PAL_OW_RED, PERSONTYPE_SCRIPT, 0, BlackBeltScript_0x7d7b3, -1
person_event SPRITE_BLACK_BELT, 13, 6, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, BlackBeltScript_0x7d7b6, -1
person_event SPRITE_MACHOP, 7, 7, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, (1 << 3) | PAL_OW_BLUE, PERSONTYPE_SCRIPT, 0, MachopScript_0x7d7b9, -1