mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
21 lines
271 B
NASM
21 lines
271 B
NASM
LoadMapGroupRoof:: ; 1c000
|
|
ld a, [MapGroup]
|
|
ld e, a
|
|
ld d, 0
|
|
ld hl, MapGroupRoofs
|
|
add hl, de
|
|
ld a, [hl]
|
|
cp -1
|
|
ret z
|
|
ld hl, Roofs
|
|
ld bc, 9 tiles
|
|
call AddNTimes
|
|
ld de, vTiles2 tile $0a
|
|
ld bc, 9 tiles
|
|
call CopyBytes
|
|
ret
|
|
; 1c021
|
|
|
|
|
|
INCLUDE "data/maps/roofs.asm"
|