2014-02-01 17:26:39 -08:00
|
|
|
LoadMapGroupRoof:: ; 1c000
|
2013-12-20 18:16:57 -08:00
|
|
|
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
|
2015-10-14 06:29:15 -07:00
|
|
|
ld de, VTiles2 tile $0a
|
2013-12-20 18:16:57 -08:00
|
|
|
ld bc, $90
|
|
|
|
call CopyBytes
|
|
|
|
ret
|
|
|
|
; 1c021
|
|
|
|
|
2017-12-11 19:44:25 -08:00
|
|
|
|
2017-12-11 12:20:32 -08:00
|
|
|
INCLUDE "data/mapgroup_roofs.asm"
|
2017-12-11 19:44:25 -08:00
|
|
|
|
2013-12-20 18:16:57 -08:00
|
|
|
|
|
|
|
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
|