pokecrystal/maps/GoldenrodDeptStoreB1F.asm

131 lines
3.8 KiB
NASM
Raw Normal View History

object_const_def
2015-11-27 05:22:14 +00:00
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
GoldenrodDeptStoreB1F_MapScripts:
def_scene_scripts
def_callbacks
2018-03-01 18:18:51 +00:00
callback MAPCALLBACK_TILES, .ClearBoxes
callback MAPCALLBACK_NEWMAP, .Unblock
2018-03-01 18:18:51 +00:00
.ClearBoxes:
checkevent EVENT_RECEIVED_CARD_KEY
2018-03-01 18:18:51 +00:00
iftrue .GotCardKey
sjump .Continue
2018-03-01 18:18:51 +00:00
.GotCardKey:
2018-01-17 18:23:43 +00:00
changeblock 16, 4, $0d ; floor
sjump .Continue
2018-03-01 18:18:51 +00:00
.Continue:
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
2015-07-10 12:08:03 +00:00
iftrue .Layout2
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
2015-07-10 12:08:03 +00:00
iftrue .Layout3
2018-01-17 18:23:43 +00:00
changeblock 10, 8, $0d ; floor
endcallback
.Layout2:
2018-01-17 18:23:43 +00:00
changeblock 4, 10, $0d ; floor
endcallback
.Layout3:
2018-01-17 18:23:43 +00:00
changeblock 10, 12, $0d ; floor
endcallback
2018-03-01 18:18:51 +00:00
.Unblock:
clearevent EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_BLOCKED_OFF
endcallback
2017-12-18 00:48:04 +00:00
GoldenrodDeptStoreB1FBlackBelt1Script:
jumptextfaceplayer GoldenrodDeptStoreB1FBlackBelt1Text
2017-12-18 00:48:04 +00:00
GoldenrodDeptStoreB1FBlackBelt2Script:
jumptextfaceplayer GoldenrodDeptStoreB1FBlackBelt2Text
2017-12-18 00:48:04 +00:00
GoldenrodDeptStoreB1FBlackBelt3Script:
jumptextfaceplayer GoldenrodDeptStoreB1FBlackBelt3Text
2018-03-01 18:18:51 +00:00
GoldenrodDeptStoreB1FMachopScript:
2015-12-09 23:25:44 +00:00
opentext
2018-08-19 17:56:41 +00:00
writetext GoldenrodDeptStoreB1FMachokeText
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
2017-12-18 00:48:04 +00:00
GoldenrodDeptStoreB1FBlackBelt1Text:
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
2017-12-18 00:48:04 +00:00
GoldenrodDeptStoreB1FBlackBelt2Text:
text "I lose my passion"
line "for work if some-"
cont "one's watching."
para "Come on, kid,"
line "scoot!"
done
2017-12-18 00:48:04 +00:00
GoldenrodDeptStoreB1FBlackBelt3Text:
text "Oohah! Oohah!"
para "The stuff on the"
line "ground's junk."
para "Take it if you"
line "want it!"
done
2018-08-19 17:56:41 +00:00
GoldenrodDeptStoreB1FMachokeText:
text "MACHOKE: Maaacho!"
done
GoldenrodDeptStoreB1F_MapEvents:
db 0, 0 ; filler
def_warp_events
2018-02-02 03:22:07 +00:00
warp_event 17, 2, GOLDENROD_UNDERGROUND_WAREHOUSE, 3
warp_event 9, 4, GOLDENROD_DEPT_STORE_ELEVATOR, 1
warp_event 10, 4, GOLDENROD_DEPT_STORE_ELEVATOR, 2
def_coord_events
def_bg_events
def_object_events
object_event 10, 15, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FEther, EVENT_GOLDENROD_DEPT_STORE_B1F_ETHER
2018-02-02 03:22:07 +00:00
object_event 14, 2, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FAmuletCoin, EVENT_GOLDENROD_DEPT_STORE_B1F_AMULET_COIN
object_event 6, 3, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FBurnHeal, EVENT_GOLDENROD_DEPT_STORE_B1F_BURN_HEAL
object_event 15, 15, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, GoldenrodDeptStoreB1FUltraBall, EVENT_GOLDENROD_DEPT_STORE_B1F_ULTRA_BALL
2018-02-02 03:22:07 +00:00
object_event 9, 10, SPRITE_BLACK_BELT, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreB1FBlackBelt1Script, -1
object_event 4, 8, SPRITE_BLACK_BELT, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreB1FBlackBelt2Script, -1
object_event 6, 13, SPRITE_BLACK_BELT, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreB1FBlackBelt3Script, -1
2018-03-01 18:18:51 +00:00
object_event 7, 7, SPRITE_MACHOP, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GoldenrodDeptStoreB1FMachopScript, -1