Skip to content

Commit bfc493e

Browse files
committed
add useful comments
1 parent 22bfea1 commit bfc493e

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

scripts/Sonic 1.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,15 @@ dplcs([
7575
asm(({ addScript, importScript }) => {
7676
addScript(`
7777
SonicMappingsVer := 1
78-
SonicDplcVer = 1
78+
SonicDplcVer := 1
7979
`);
8080
importScript('MapMacros.asm');
8181

82+
/**
83+
* MapMacros Mapping output
84+
*
85+
* delete this function to output raw data instead
86+
*/
8287
writeMappings(({ label, sprites, renderHex }) => {
8388
const list = [];
8489

@@ -116,6 +121,11 @@ SonicDplcVer = 1
116121
return list.join('\n');
117122
});
118123

124+
/**
125+
* MapMacros DPLC output
126+
*
127+
* delete this function to output raw data instead
128+
*/
119129
writeDPLCs(({ label, sprites, renderHex }) => {
120130
const list = [];
121131

scripts/Sonic 2.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ SonicDplcVer = 2
9090
`);
9191
importScript('MapMacros.asm');
9292

93+
/**
94+
* MapMacros Mapping output
95+
*
96+
* delete this function to output raw data instead
97+
*/
9398
writeMappings(({ label, sprites, renderHex }) => {
9499
const list = [];
95100

@@ -127,6 +132,11 @@ SonicDplcVer = 2
127132
return list.join('\n');
128133
});
129134

135+
/**
136+
* MapMacros DPLC output
137+
*
138+
* delete this function to output raw data instead
139+
*/
130140
writeDPLCs(({ label, sprites, renderHex }) => {
131141
const list = [];
132142

0 commit comments

Comments
 (0)