mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
31 lines
499 B
NASM
31 lines
499 B
NASM
|
|
LoadMapGroupRoof:: ; 1c000
|
|
ld a, [MapGroup]
|
|
ld e, a
|
|
ld d, 0
|
|
ld hl, MapGroupRoofs
|
|
add hl, de
|
|
ld a, [hl]
|
|
cp $ff
|
|
ret z
|
|
ld hl, Roofs
|
|
ld bc, $90
|
|
call AddNTimes
|
|
ld de, VTiles2 tile $0a
|
|
ld bc, $90
|
|
call CopyBytes
|
|
ret
|
|
; 1c021
|
|
|
|
MapGroupRoofs: ; 1c021i
|
|
INCLUDE "data/mapgroup_roofs.asm"
|
|
; 1c03c
|
|
|
|
Roofs: ; 1c03c
|
|
INCBIN "gfx/tilesets/roofs/0.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/1.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/2.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/3.2bpp"
|
|
INCBIN "gfx/tilesets/roofs/4.2bpp"
|
|
; 1c30c
|