shithub: pokered

ref: 4992ae2233d55a045e5e6803bc76972704c1a082
dir: /data/mapObjects/seafoamislands1.asm/

View raw version
SeafoamIslands1Object:
	db $7d ; border block

	db $7 ; warps
	db $11, $4, $0, $ff
	db $11, $5, $0, $ff
	db $11, $1a, $1, $ff
	db $11, $1b, $1, $ff
	db $5, $7, $1, SEAFOAM_ISLANDS_2
	db $3, $19, $6, SEAFOAM_ISLANDS_2
	db $f, $17, $4, SEAFOAM_ISLANDS_2

	db $0 ; signs

	db $2 ; objects
	object SPRITE_BOULDER, $12, $a, STAY, BOULDER_MOVEMENT_BYTE_2, $1 ; person
	object SPRITE_BOULDER, $1a, $7, STAY, BOULDER_MOVEMENT_BYTE_2, $2 ; person

	; warp-to
	EVENT_DISP SEAFOAM_ISLANDS_1_WIDTH, $11, $4
	EVENT_DISP SEAFOAM_ISLANDS_1_WIDTH, $11, $5
	EVENT_DISP SEAFOAM_ISLANDS_1_WIDTH, $11, $1a
	EVENT_DISP SEAFOAM_ISLANDS_1_WIDTH, $11, $1b
	EVENT_DISP SEAFOAM_ISLANDS_1_WIDTH, $5, $7 ; SEAFOAM_ISLANDS_2
	EVENT_DISP SEAFOAM_ISLANDS_1_WIDTH, $3, $19 ; SEAFOAM_ISLANDS_2
	EVENT_DISP SEAFOAM_ISLANDS_1_WIDTH, $f, $17 ; SEAFOAM_ISLANDS_2

	; holes
	EVENT_DISP SEAFOAM_ISLANDS_1_WIDTH, $6, $11
	EVENT_DISP SEAFOAM_ISLANDS_1_WIDTH, $6, $18