shithub: pokered

ref: 360a2200b17fbd7d19bc1fa5fa8eeb5641ff28ed
dir: /data/mapObjects/saffroncity.asm/

View raw version
SaffronCityObject: ; 0x509dc (size=188)
	db $f ; border block

	db $8 ; warps
	db $5, $7, $0, COPYCATS_HOUSE_1F
	db $3, $1a, $0, FIGHTING_DOJO
	db $3, $22, $0, SAFFRON_GYM
	db $b, $d, $0, SAFFRON_HOUSE_1
	db $b, $19, $0, SAFFRON_MART
	db $15, $12, $0, SILPH_CO_1F
	db $1d, $9, $0, SAFFRON_POKECENTER
	db $1d, $1d, $0, SAFFRON_HOUSE_2

	db $a ; signs
	db $5, $11, $10 ; SaffronCityText16
	db $5, $1b, $11 ; SaffronCityText17
	db $5, $23, $12 ; SaffronCityText18
	db $b, $1a, $13 ; MartSignText
	db $13, $27, $14 ; SaffronCityText20
	db $15, $5, $15 ; SaffronCityText21
	db $15, $f, $16 ; SaffronCityText22
	db $1d, $a, $17 ; PokeCenterSignText
	db $1d, $1b, $18 ; SaffronCityText24
	db $13, $1, $19 ; SaffronCityText25

	db $f ; objects
	object SPRITE_ROCKET, $7, $6, STAY, NONE, $1 ; person
	object SPRITE_ROCKET, $14, $8, WALK, $2, $2 ; person
	object SPRITE_ROCKET, $22, $4, STAY, NONE, $3 ; person
	object SPRITE_ROCKET, $d, $c, STAY, NONE, $4 ; person
	object SPRITE_ROCKET, $b, $19, WALK, $2, $5 ; person
	object SPRITE_ROCKET, $20, $d, WALK, $2, $6 ; person
	object SPRITE_ROCKET, $12, $1e, WALK, $2, $7 ; person
	object SPRITE_OAK_AIDE, $8, $e, WALK, $0, $8 ; person
	object SPRITE_LAPRAS_GIVER, $17, $17, STAY, NONE, $9 ; person
	object SPRITE_ERIKA, $11, $1e, WALK, $2, $a ; person
	object SPRITE_GENTLEMAN, $1e, $c, STAY, DOWN, $b ; person
	object SPRITE_BIRD, $1f, $c, STAY, DOWN, $c ; person
	object SPRITE_ROCKER, $12, $8, STAY, UP, $d ; person
	object SPRITE_ROCKET, $12, $16, STAY, DOWN, $e ; person
	object SPRITE_ROCKET, $13, $16, STAY, DOWN, $f ; person

	; warp-to
	EVENT_DISP SAFFRON_CITY_WIDTH, $5, $7 ; COPYCATS_HOUSE_1F
	EVENT_DISP SAFFRON_CITY_WIDTH, $3, $1a ; FIGHTING_DOJO
	EVENT_DISP SAFFRON_CITY_WIDTH, $3, $22 ; SAFFRON_GYM
	EVENT_DISP SAFFRON_CITY_WIDTH, $b, $d ; SAFFRON_HOUSE_1
	EVENT_DISP SAFFRON_CITY_WIDTH, $b, $19 ; SAFFRON_MART
	EVENT_DISP SAFFRON_CITY_WIDTH, $15, $12 ; SILPH_CO_1F
	EVENT_DISP SAFFRON_CITY_WIDTH, $1d, $9 ; SAFFRON_POKECENTER
	EVENT_DISP SAFFRON_CITY_WIDTH, $1d, $1d ; SAFFRON_HOUSE_2