2014-02-02 01:26:39 +00:00
|
|
|
LoadMapGroupRoof:: ; 1c000
|
2018-01-23 22:39:09 +00:00
|
|
|
ld a, [wMapGroup]
|
2013-12-21 02:16:57 +00:00
|
|
|
ld e, a
|
|
|
|
ld d, 0
|
|
|
|
ld hl, MapGroupRoofs
|
|
|
|
add hl, de
|
|
|
|
ld a, [hl]
|
2018-01-10 07:38:45 +00:00
|
|
|
cp -1
|
2013-12-21 02:16:57 +00:00
|
|
|
ret z
|
|
|
|
ld hl, Roofs
|
2018-01-10 07:38:45 +00:00
|
|
|
ld bc, 9 tiles
|
2013-12-21 02:16:57 +00:00
|
|
|
call AddNTimes
|
2017-12-28 12:32:33 +00:00
|
|
|
ld de, vTiles2 tile $0a
|
2018-01-10 07:38:45 +00:00
|
|
|
ld bc, 9 tiles
|
2013-12-21 02:16:57 +00:00
|
|
|
call CopyBytes
|
|
|
|
ret
|
|
|
|
; 1c021
|
|
|
|
|
2017-12-12 03:44:25 +00:00
|
|
|
|
2017-12-27 06:29:15 +00:00
|
|
|
INCLUDE "data/maps/roofs.asm"
|