-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmap-data.asm
34 lines (30 loc) · 998 Bytes
/
map-data.asm
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
; asmsyntax=ca65
; Lookup tables that have values pointing to the
; start of each row of blocks in the data.
Block_RowsLow:
.repeat 15, row
.byte .lobyte(Blocks_FromTiled + (16 * row))
.endrepeat
Block_RowsHi:
.repeat 15, row
.byte .hibyte(Blocks_FromTiled + (16 * row))
.endrepeat
; Block metatiles.
; 0 = Air
; anythyng else = platform
Blocks_FromTiled:
.byte 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
.byte 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2
.byte 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2
.byte 2,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2
.byte 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2
.byte 2,0,0,0,0,0,0,2,2,0,2,2,0,2,2,2
.byte 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2
.byte 2,0,0,0,0,0,0,2,2,0,2,2,0,0,0,2
.byte 2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2
.byte 2,0,0,0,2,2,0,0,0,0,0,0,0,0,0,2
.byte 2,0,0,0,0,0,2,2,0,0,0,0,0,0,0,2
.byte 2,2,2,0,0,0,0,0,2,2,0,0,0,0,0,2
.byte 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
.byte 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
.byte 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2