shithub: pokecrystal

ref: 6e62eabb42cb8c933e77d84768353c5fec47cf3a
dir: /engine/mapgroup_roofs.asm/

View raw version
LoadMapGroupRoof:: ; 1c000
	ld a, [wMapGroup]
	ld e, a
	ld d, 0
	ld hl, MapGroupRoofs
	add hl, de
	ld a, [hl]
	cp -1
	ret z
	ld hl, Roofs
	ld bc, 9 tiles
	call AddNTimes
	ld de, vTiles2 tile $0a
	ld bc, 9 tiles
	call CopyBytes
	ret
; 1c021


INCLUDE "data/maps/roofs.asm"