jep-hack/engine/tilesets/mapgroup_roofs.asm
Zeta_Null 2f8a41f833 First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
2023-09-10 12:35:35 -04:00

19 lines
275 B
NASM

LoadMapGroupRoof::
ld a, [wMapGroup]
ld e, a
ld d, 0
ld hl, MapGroupRoofs
add hl, de
ld a, [hl]
cp -1
ret z
ld hl, Roofs
ld bc, ROOF_LENGTH tiles
call AddNTimes
ld de, vTiles2 tile $0a
ld bc, ROOF_LENGTH tiles
call CopyBytes
ret
INCLUDE "data/maps/roofs.asm"