-
Notifications
You must be signed in to change notification settings - Fork 0
/
level_bytecode.asm
82 lines (61 loc) · 1.59 KB
/
level_bytecode.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
DEFSECT "Levels", CODE
SECT "Levels"
; XXXXXXXXXXXXXZZZZZZZZZZ============-----------...............
; XXX ...
; XXX Level Data ...
; XXX ...
; XXXXXXXXXXXXXXXXXXXXZZZZZZZZZZZZZ================------------
GLOBAL _LevelList
_LevelList:
dw Level1Data
dw Level2Data
dw Level3Data
dw Level4Data
dw Level5Data
dw Level6Data
; level format:
; header: 1 byte for music list index
; data: variable, constitutes of 3-byte events
; there is no end command, the level is always a fixed size
; TTWWWWWW LLLLLLLL RRRRRRRR
Level1Data:
db 00h ; song 1: Towards The Core
;db 003h, 000h, 000h
db 040h, 000h, 0A0h
db 040h, 060h, 0A0h
db 042h, 060h, 0A0h
db 040h, 07Eh, 082h
db 042h, 050h, 090h
db 042h, 050h, 090h
db 048h, 050h, 090h
db 042h, 008h, 018h
db 042h, 008h, 028h
db 048h, 008h, 038h
db 042h, 0D8h, 0F8h
db 042h, 0C8h, 0F8h
db 048h, 0B8h, 0F8h
db 086h, 020h, 0E0h
db 03Fh, 000h, 000h
db 03Fh, 000h, 000h
db 03Fh, 000h, 000h
db 03Fh, 000h, 000h
Level2Data:
db 00h ; song 1: Towards The Core
db 040h, 000h, 090h
db 03Fh, 000h, 000h
Level3Data:
db 00h ; song 1: Towards The Core
db 040h, 010h, 090h
db 03Fh, 000h, 000h
Level4Data:
db 00h ; song 1: Towards The Core
db 040h, 020h, 090h
db 03Fh, 000h, 000h
Level5Data:
db 00h ; song 1: Towards The Core
db 040h, 030h, 090h
db 03Fh, 000h, 000h
Level6Data:
db 00h ; song 1: Towards The Core
db 040h, 040h, 090h
db 03Fh, 000h, 000h