shithub: pokered

ref: 28dc5686b05477e13a9cc078975315140bee9800
dir: /data/mapObjects/pokemontower7.asm/

View raw version
PokemonTower7Object: ; 0x60ef6 (size=42)
	db $1 ; border block

	db $1 ; warps
	db $10, $9, $1, POKEMONTOWER_6

	db $0 ; signs

IF DEF(_YELLOW)
	db 3 ; objects
	object SPRITE_JESSIE, $a 8, 8, STAY, DOWN, 1
	object SPRITE_JAMES, $b, 8, STAY, DOWN, 2
	object SPRITE_MR_FUJI, $a, 3, STAY, DOWN, 3
ELSE
	db $4 ; objects
	object SPRITE_ROCKET, $9, $b, STAY, RIGHT, $1, OPP_ROCKET, $13
	object SPRITE_ROCKET, $c, $9, STAY, LEFT, $2, OPP_ROCKET, $14
	object SPRITE_ROCKET, $9, $7, STAY, RIGHT, $3, OPP_ROCKET, $15
	object SPRITE_MR_FUJI, $a, $3, STAY, DOWN, $4 ; person
ENDC

	; warp-to
	EVENT_DISP POKEMONTOWER_7_WIDTH, $10, $9 ; POKEMONTOWER_6