pokecrystal/engine/tilesets/mapgroup_roofs.asm

19 lines
255 B
NASM
Raw Normal View History

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