pokecrystal-board/engine/tilesets/mapgroup_roofs.asm

20 lines
256 B
NASM
Raw Normal View History

2018-06-24 07:09:41 -07:00
LoadMapGroupRoof::
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
INCLUDE "data/maps/roofs.asm"