shithub: pokered

ref: db31e5a438a41ae2f1b731f5700a6356fc00135f
dir: /data/mapObjects/lance.asm/

View raw version
LanceObject: ; 0x5a3c5 (size=36)
	db $3 ; border block

	db $3 ; warps
	db $10, $18, $2, AGATHAS_ROOM
	db $0, $5, $0, CHAMPIONS_ROOM
	db $0, $6, $0, CHAMPIONS_ROOM

	db $0 ; signs

	db $1 ; objects
	object SPRITE_LANCE, $6, $1, STAY, DOWN, $1, OPP_LANCE, $1

	; warp-to
	EVENT_DISP LANCES_ROOM_WIDTH, $10, $18 ; AGATHAS_ROOM
	EVENT_DISP LANCES_ROOM_WIDTH, $0, $5 ; CHAMPIONS_ROOM
	EVENT_DISP LANCES_ROOM_WIDTH, $0, $6 ; CHAMPIONS_ROOM