shithub: pokered

ref: 678b3c9e6c7de83ad09c00b181497f942bf86e62
dir: /data/mapObjects/route16gate.asm/

View raw version
Route16GateObject:
	db $a ; border block

	db $9 ; warps
	db $8, $0, $0, $ff
	db $9, $0, $1, $ff
	db $8, $7, $2, $ff
	db $9, $7, $2, $ff
	db $2, $0, $4, $ff
	db $3, $0, $5, $ff
	db $2, $7, $6, $ff
	db $3, $7, $7, $ff
	db $c, $6, $0, ROUTE_16_GATE_2F

	db $0 ; signs

	db $2 ; objects
	object SPRITE_GUARD, $4, $5, STAY, DOWN, $1 ; person
	object SPRITE_GAMBLER, $4, $3, STAY, NONE, $2 ; person

	; warp-to
	EVENT_DISP ROUTE_16_GATE_1F_WIDTH, $8, $0
	EVENT_DISP ROUTE_16_GATE_1F_WIDTH, $9, $0
	EVENT_DISP ROUTE_16_GATE_1F_WIDTH, $8, $7
	EVENT_DISP ROUTE_16_GATE_1F_WIDTH, $9, $7
	EVENT_DISP ROUTE_16_GATE_1F_WIDTH, $2, $0
	EVENT_DISP ROUTE_16_GATE_1F_WIDTH, $3, $0
	EVENT_DISP ROUTE_16_GATE_1F_WIDTH, $2, $7
	EVENT_DISP ROUTE_16_GATE_1F_WIDTH, $3, $7
	EVENT_DISP ROUTE_16_GATE_1F_WIDTH, $c, $6 ; ROUTE_16_GATE_2F