pokecrystal-board/engine/mapgroup_roofs.asm

21 lines
264 B
NASM
Raw Normal View History

LoadMapGroupRoof:: ; 1c000
ld a, [MapGroup]
ld e, a
ld d, 0
ld hl, MapGroupRoofs
add hl, de
ld a, [hl]
cp $ff
ret z
ld hl, Roofs
ld bc, $90
call AddNTimes
2017-12-28 04:32:33 -08:00
ld de, vTiles2 tile $0a
ld bc, $90
call CopyBytes
ret
; 1c021
INCLUDE "data/maps/roofs.asm"