pokecrystal-board/engine/gfx/mapgroup_roofs.asm

21 lines
272 B
NASM
Raw Normal View History

LoadMapGroupRoof:: ; 1c000
2018-01-23 14:39:09 -08:00
ld a, [wMapGroup]
ld e, a
ld d, 0
ld hl, MapGroupRoofs
add hl, de
ld a, [hl]
2018-01-09 23:38:45 -08:00
cp -1
ret z
ld hl, Roofs
2018-01-09 23:38:45 -08:00
ld bc, 9 tiles
call AddNTimes
2017-12-28 04:32:33 -08:00
ld de, vTiles2 tile $0a
2018-01-09 23:38:45 -08:00
ld bc, 9 tiles
call CopyBytes
ret
; 1c021
INCLUDE "data/maps/roofs.asm"