summaryrefslogtreecommitdiff
path: root/tilesets/roofs.asm
blob: 1882e28aceb5a9ffa6550bb4313a1d87273c40d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

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, $90a0
	ld bc, $90
	call CopyBytes
	ret
; 1c021

MapGroupRoofs: ; 1c021i
	db -1 ; group 1
	db  3 ; group 2
	db  2 ; group 3
	db -1 ; group 4
	db  1 ; group 5
	db  2 ; group 6
	db -1 ; group 7
	db -1 ; group 8
	db  2 ; group 9
	db  2 ; group 10
	db  1 ; group 11
	db  4 ; group 12
	db -1 ; group 13
	db -1 ; group 14
	db -1 ; group 15
	db -1 ; group 16
	db -1 ; group 17
	db -1 ; group 18
	db -1 ; group 19
	db  0 ; group 20
	db -1 ; group 21
	db -1 ; group 22
	db  3 ; group 23
	db -1 ; group 24
	db  0 ; group 25
	db -1 ; group 26
	db  0 ; group 27
; 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