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