shithub: pokered

ref: 2fe782b11a039b52fd236da28fb2f1ae10cae7db
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 ; people
	db SPRITE_JESSIE, 8 + 4, $a + 4, $ff, $d0, 1
	db SPRITE_JAMES, 8 + 4, $b + 4, $ff, $d0, 2
	db SPRITE_MR_FUJI, 3 + 4, $a + 4, $ff, $d0, 3
ELSE
	db $4 ; people
	db SPRITE_ROCKET, $b + 4, $9 + 4, $ff, $d3, TRAINER | $1, ROCKET + $C8, $13
	db SPRITE_ROCKET, $9 + 4, $c + 4, $ff, $d2, TRAINER | $2, ROCKET + $C8, $14
	db SPRITE_ROCKET, $7 + 4, $9 + 4, $ff, $d3, TRAINER | $3, ROCKET + $C8, $15
	db SPRITE_MR_FUJI, $3 + 4, $a + 4, $ff, $d0, $4 ; person
ENDC

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