pokecrystal-board/tilesets/roofs.asm
2017-12-25 12:41:31 -05:00

21 lines
273 B
NASM

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
ld de, VTiles2 tile $0a
ld bc, $90
call CopyBytes
ret
; 1c021
INCLUDE "data/maps/mapgroup_roofs.asm"