shithub: pokered

ref: 9571c550b6a0dcb3a4f54513c881661a87271024
dir: /data/maps/objects/LavenderTown.asm/

View raw version
LavenderTown_Object:
	db $2c ; border block

	db 6 ; warps
	warp 3, 5, 0, LAVENDER_POKECENTER
	warp 14, 5, 0, POKEMON_TOWER_1F
	warp 7, 9, 0, MR_FUJIS_HOUSE
	warp 15, 13, 0, LAVENDER_MART
	warp 3, 13, 0, LAVENDER_CUBONE_HOUSE
	warp 7, 13, 0, NAME_RATERS_HOUSE

	db 6 ; signs
	sign 11, 9, 4 ; LavenderTownText4
	sign 9, 3, 5 ; LavenderTownText5
	sign 16, 13, 6 ; MartSignText
	sign 4, 5, 7 ; PokeCenterSignText
	sign 5, 9, 8 ; LavenderTownText8
	sign 17, 7, 9 ; LavenderTownText9

	db 3 ; objects
	object SPRITE_LITTLE_GIRL, 15, 9, WALK, 0, 1 ; person
	object SPRITE_BLACK_HAIR_BOY_1, 9, 10, STAY, NONE, 2 ; person
	object SPRITE_BLACK_HAIR_BOY_2, 8, 7, WALK, 2, 3 ; person

	; warp-to
	warp_to 3, 5, LAVENDER_TOWN_WIDTH ; LAVENDER_POKECENTER
	warp_to 14, 5, LAVENDER_TOWN_WIDTH ; POKEMON_TOWER_1F
	warp_to 7, 9, LAVENDER_TOWN_WIDTH ; MR_FUJIS_HOUSE
	warp_to 15, 13, LAVENDER_TOWN_WIDTH ; LAVENDER_MART
	warp_to 3, 13, LAVENDER_TOWN_WIDTH ; LAVENDER_CUBONE_HOUSE
	warp_to 7, 13, LAVENDER_TOWN_WIDTH ; NAME_RATERS_HOUSE