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
[15, 11],
[15, 8],
[16, 8],
[16, 9],
[18, 9],
[18, 6],
[16, 6],
[16, 7],
[15, 7],
[15, 4],
[5, 4],
[5, 5]
]
],
// level 3
[
[
[6, 4],
[8, 4],
[8, 3],
[9, 3],
[9, 4],
[15, 4],
[15, 5],
[14, 5],
[14, 11],
[12, 11],
[12, 12],
[11, 12],
[11, 11],
[5, 11],
[5, 10],
[6, 10],
[6, 4],
[7, 4]
],
[
[7, 5],
[13, 5],
[13, 7],
[12, 7],
[12, 6],
[8, 6],
[8, 7],
[7, 7],
[7, 5],
[8, 5]
],
[
[7, 8],
[8, 8],
[8, 9],
[12, 9],
[12, 8],
[13, 8],
[13, 10],
[7, 10],
[7, 8],
[8, 8]
]
],
// level 4
[
[
[10, 2],
[12, 2],
[12, 5],
[13, 5],
[13, 6],
[14, 6],
[14, 7],
[15, 7],
[15, 11],
[14, 11],
[14, 12],
[13, 12],
[13, 13],
[9, 13],
[9, 12],
[8, 12],
[8, 11],
[7, 11],
[7, 10],
[4, 10],
[4, 8],
[7, 8],
[7, 7],
[8, 7],
[8, 6],
[9, 6],
[9, 5],
[10, 5],
[10, 2],
[12, 2]
]
],
// level 5
[
[
[2, 2],
[18, 2],
[18, 3],
[17, 3],
[17, 13],
[3, 13],
[3, 5],
[2, 5],
[2, 4],
[15, 4],
[15, 11],
[5, 11],
[5, 6],
[13, 6],
[13, 7],
[11, 7],
[11, 8],
[13, 8],
[13, 9],
[7, 9],
[7, 8],
[9, 8],
[9, 7],
[6, 7],
[6, 10],
[14, 10],
[14, 5],
[4, 5],
[4, 12],
[16, 12],
[16, 3],
[2, 3],
[2, 2],
[3, 2]
]
],
// level 6
[
[
[2, 5],
[6, 5],
[6, 3],
[18, 3],
[18, 13],
[2, 13],
[2, 8],
[3, 8],
[3, 9],
[6, 9],
[6, 8],
[7, 8],
[7, 9],
[10, 9],
[10, 8],
[11, 8],
[11, 9],
[14, 9],
[14, 8],
[15, 8],
[15, 9],
[16, 9],
[16, 7],
[2, 7],
[2, 5],
[3, 5]
]
],
// level 7
[
[
[2, 6],
[5, 6],
[5, 3],
[15, 3],
[15, 7],
[16, 7],
[16, 6],
[18, 6],
[18, 9],
[16, 9],
[16, 8],
[15, 8],
[15, 12],
[5, 12],
[5, 9],
[2, 9],
[2, 6],
[3, 6]
]
],
// level 8
[
[
[5, 3],
[5, 12],
[9, 12],
[9, 11],
[11, 11],
[11, 12],
[15, 12],
[15, 3],
[11, 3],
[11, 4],
[9, 4],
[9, 3],
[5, 3],
[5, 4]
],
[
[6, 5],
[7, 5],
[7, 4],
[8, 4],
[8, 6],
[6, 6],
[6, 5],
[7, 5]
],
[
[6, 7],
[8, 7],
[8, 9],
[6, 9],
[6, 7],
[7, 7]
],
[
[6, 10],
[8, 10],
[8, 11],
[6, 11],
[6, 10],
[7, 10]
],
[
[9, 5],
[11, 5],
[11, 6],
[10, 6],
[10, 7],
[11, 7],
[11, 10],
[9, 10],
[9, 5],
[10, 5]
],
[
[12, 4],
[14, 4],
[14, 5],
[12, 5],
[12, 4],
[13, 4]
],
[
[12, 6],
[14, 6],
[14, 9],
[13, 9],
[13, 10],
[14, 10],
[14, 11],
[12, 11],
[12, 6],
[13, 6]
]
],
// level 9
[
[
[2, 3],
[4, 3],
[4, 5],
[6, 5],
[6, 3],
[12, 3],
[12, 8],
[13, 8],
[13, 3],
[18, 3],
[18, 8],
[16, 8],
[16, 5],
[15, 5],
[15, 10],
[18, 10],
[18, 12],
[12, 12],
[12, 11],
[13, 11],
[13, 10],
[8, 10],
[8, 12],
[2, 12],
[2, 3],
[3, 3]
],
[
[4, 7],
[8, 7],
[8, 5],
[10, 5],
[10, 8],
[6, 8],
[6, 10],
[4, 10],
[4, 7],
[5, 7]
]
],
// level 10
[
[
[7, 3],
[7, 8],
[5, 8],
[5, 11],
[7, 11],
[7, 12],
[13, 12],
[13, 11],
[15, 11],
[15, 8],
[13, 8],
[13, 3],
[11, 3],
[11, 5],
[12, 5],
[12, 6],
[11, 6],
[11, 9],
[13, 9],
[13, 10],
[7, 10],
[7, 9],
[9, 9],
[9, 6],
[8, 6],
[8, 5],
[9, 5],
[9, 3],
[7, 3],
[7, 4]
]
],
// level 11
[
[
[6, 3],
[6, 8],
[4, 8],
[4, 6],
[1, 6],
[1, 9],
[6, 9],
[6, 12],
[15, 12],
[15, 5],
[17, 5],
[17, 9],
[19, 9],
[19, 3],
[6, 3],
[6, 4]
]
],
// level 12
[
[
[2, 3],
[12, 3],
[12, 8],
[18, 8],
[18, 12],
[2, 12],
[2, 3]
]
],
// level 13
[
[
[5, 4],
[9, 4],
[9, 2],
[11, 2],
[11, 4],
[15, 4],
[15, 11],
[11, 11],
[11, 13],
[9, 13],
[9, 11],
[5, 11],
[5, 4],
[6, 4]
]
],
// level 14
[
[
[2, 8],
[15, 8],
[15, 4],
[18, 4],
[18, 7],
[16, 7],
[16, 8],
[18, 8],
[18, 11],
[6, 11],
[6, 9],
[5, 9],
[5, 11],
[2, 11],
[2, 8],
[3, 8]
]
],
// level 15
[
[
[1, 3],
[4, 3],
[4, 5],
[2, 5],
[2, 6],
[4, 6],
[4, 9],
[5, 9],
[5, 3],
[11, 3],
[11, 9],
[12, 9],
[12, 3],
[19, 3],
[19, 12],
[16, 12],
[16, 10],
[18, 10],
[18, 9],
[16, 9],
[16, 6],
[15, 6],
[15, 12],
[9, 12],
[9, 6],
[8, 6],
[8, 12],
[1, 12],
[1, 3],
[2, 3]
]
],
// level 16
[
[
[1, 4],
[7, 4],
[7, 10],
[8, 10],
[8, 6],
[9, 6],
[9, 4],
[17, 4],
[17, 10],
[19, 10],
[19, 12],
[13, 12],
[13, 6],
[12, 6],
[12, 10],
[11, 10],
[11, 12],
[3, 12],
[3, 6],
[1, 6],
[1, 4],
[2, 4]
]
],
// level 17
[
[
[3, 3],
[3, 4],
[4, 4],
[4, 8],
[3, 8],
[3, 9],
[4, 9],
[4, 11],
[2, 11],
[2, 12],
[8, 12],
[8, 13],
[9, 13],
[9, 12],
[15, 12],
[15, 13],
[16, 13],
[16, 10],
[18, 10],
[18, 9],
[16, 9],
[16, 5],
[18, 5],
[18, 4],
[16, 4],
[16, 3],
[15, 3],
[15, 4],
[9, 4],
[9, 3],
[8, 3],
[8, 4],
[5, 4],
[5, 2],
[4, 2],
[4, 3],
[3, 3],
[3, 4]
],
[
[5, 5],
[5, 11],
[8, 11],
[8, 7],
[6, 7],
[6, 6],
[8, 6],
[8, 5],
[5, 5],
[5, 6]
],
[
[9, 5],
[15, 5],
[15, 6],
[9, 6],
[9, 5],
[10, 5]
],
[
[9, 7],
[15, 7],
[15, 9],
[9, 9],
[9, 7],
[10, 7]
],
[
[9, 10],
[15, 10],
[15, 11],
[9, 11],
[9, 10],
[10, 10]
]
],
// level 18
[
[
[3, 6],
[5, 6],
[5, 7],
[6, 7],
[6, 5],
[14, 5],
[14, 7],
[15, 7],
[15, 6],
[17, 6],
[17, 9],
[15, 9],
[15, 8],
[14, 8],
[14, 10],
[6, 10],
[6, 8],
[5, 8],
[5, 9],
[3, 9],
[3, 6],
[4, 6]
]
],
// level 19
[
[
[3, 6],
[5, 6],
[5, 5],
[15, 5],
[15, 6],
[17, 6],
[17, 9],
[15, 9],
[15, 10],
[5, 10],
[5, 9],
[3, 9],
[3, 6],
[4, 6]
]
],
// level 20
[
[
[2, 4],
[4, 4],
[4, 9],
[5, 9],
[5, 4],
[9, 4],
[9, 6],
[11, 6],
[11, 4],
[15, 4],
[15, 6],
[17, 6],
[17, 4],
[18, 4],
[18, 12],
[16, 12],
[16, 10],
[14, 10],
[14, 9],
[13, 9],
[13, 8],
[12, 8],
[12, 10],
[8, 10],
[8, 9],
[7, 9],
[7, 8],
[6, 8],
[6, 10],
[3, 10],
[3, 6],
[2, 6],
[2, 4],
[3, 4]
],
[
[6, 5],
[7, 5],
[7, 6],
[8, 6],
[8, 7],
[6, 7],
[6, 5],
[7, 5]
],
[
[9, 7],
[10, 7],
[10, 8],
[11, 8],
[11, 9],
[9, 9],
[9, 7],
[10, 7]
],
[
[12, 5],
[13, 5],
[13, 6],
[14, 6],
[14, 7],
[12, 7],
[12, 5],
[13, 5]
],
[
[15, 7],
[16, 7],
[16, 8],
[17, 8],
[17, 9],
[15, 9],
[15, 7],
[16, 7]
]
],
// level 21
[
[
[1, 6],
[3, 6],
[3, 7],
[4, 7],
[4, 3],
[16, 3],
[16, 7],
[17, 7],
[17, 6],
[19, 6],
[19, 9],
[17, 9],
[17, 8],
[16, 8],
[16, 12],
[4, 12],
[4, 8],
[3, 8],
[3, 9],
[1, 9],
[1, 6],
[2, 6]
]
],
// level 22
[
[
[3, 4],
[7, 4],
[7, 7],
[4, 7],
[4, 9],
[7, 9],
[7, 13],
[17, 13],
[17, 6],
[13, 6],
[13, 4],
[19, 4],
[19, 2],
[11, 2],
[11, 8],
[15, 8],
[15, 11],
[9, 11],
[9, 2],
[1, 2],
[1, 13],
[5, 13],
[5, 11],
[3, 11],
[3, 4],
[4, 4]
]
],
// level 23
[
[
[3, 3],
[6, 3],
[6, 4],
[7, 4],
[7, 3],
[13, 3],
[13, 4],
[14, 4],
[14, 5],
[15, 5],
[15, 10],
[17, 10],
[17, 12],
[14, 12],
[14, 11],
[13, 11],
[13, 12],
[7, 12],
[7, 11],
[6, 11],
[6, 10],
[5, 10],
[5, 5],
[3, 5],
[3, 3],
[4, 3]
]
],
// level 24
[
[
[2, 5],
[7, 5],
[7, 4],
[8, 4],
[8, 5],
[16, 5],
[16, 3],
[18, 3],
[18, 10],
[13, 10],
[13, 11],
[12, 11],
[12, 10],
[4, 10],
[4, 12],
[2, 12],
[2, 5],
[3, 5]
]
],
// level 25
[
[
[1, 4],
[2, 4],
[2, 2],
[4, 2],
[4, 4],
[5, 4],
[5, 9],
[10, 9],
[10, 8],
[9, 8],
[9, 6],
[12, 6],
[12, 8],
[11, 8],
[11, 9],
[17, 9],
[17, 10],
[19, 10],
[19, 12],
[17, 12],
[17, 13],
[1, 13],
[1, 4],
[2, 4]
]
],
// level 26
[
[
[3, 2],
[5, 2],
[5, 3],
[6, 3],
[6, 4],
[7, 4],
[7, 5],
[8, 5],
[8, 6],
[9, 6],
[9, 7],
[11, 7],
[11, 6],
[12, 6],
[12, 5],
[13, 5],
[13, 4],
[14, 4],
[14, 3],
[15, 3],
[15, 2],
[17, 2],
[17, 3],
[16, 3],
[16, 4],
[17, 4],
[17, 5],
[16, 5],
[16, 6],
[15, 6],
[15, 7],
[14, 7],
[14, 8],
[13, 8],
[13, 9],
[19, 9],
[19, 10],
[18, 10],
[18, 12],
[19, 12],
[19, 13],
[9, 13],
[9, 11],
[11, 11],
[11, 12],
[12, 12],
[12, 10],
[8, 10],
[8, 13],
[1, 13],
[1, 9],
[7, 9],
[7, 8],
[6, 8],
[6, 7],
[5, 7],
[5, 6],
[4, 6],
[4, 5],
[3, 5],
[3, 2],
[4, 2]
]
],
// level 27
[
[
[1, 6],
[3, 6],
[3, 7],
[4, 7],
[4, 3],
[16, 3],
[16, 7],
[17, 7],
[17, 6],
[19, 6],
[19, 9],
[17, 9],
[17, 8],
[16, 8],
[16, 12],
[4, 12],
[4, 8],
[3, 8],
[3, 9],
[1, 9],
[1, 6],
[2, 6]
]
],
// level 28
[
[
[1, 2],
[18, 2],
[18, 5],
[19, 5],
[19, 10],
[18, 10],
[18, 13],
[1, 13],
[1, 11],
[3, 11],
[3, 8],
[16, 8],
[16, 7],
[3, 7],
[3, 4],
[1, 4],
[1, 2],
[2, 2]
]
],
// level 29
[
[
[2, 3],
[4, 3],
[4, 5],
[16, 5],
[16, 3],
[18, 3],
[18, 12],
[2, 12],
[2, 3],
[3, 3]
]
],
// level 30
[
[
[1, 2],
[19, 2],
[19, 11],
[3, 11],
[3, 13],
[1, 13],
[1, 2],
[2, 2]
]
]
];
function drawWalls_fill() {
// colors
var wallsColor, floorColor0, floorColor1;
if (level >= WALLS_RED) {
wallsColor = WALLS_COLOR_2;
floorColor0 = TILE_COLOR_2_0;
floorColor1 = TILE_COLOR_2_1;
} else if (level >= WALLS_PURPLE) {
wallsColor = WALLS_COLOR_1;
floorColor0 = TILE_COLOR_1_0;
floorColor1 = TILE_COLOR_1_1;
} else {
wallsColor = WALLS_COLOR_0;
floorColor0 = TILE_COLOR_0_0;
floorColor1 = TILE_COLOR_0_1;
}
// walls
canvas.beginPath();
canvas.rect(os.x, os.y, cwh(CANVAS_WIDTH), cwh(CANVAS_HEIGHT));
canvas.fillStyle = wallsColor;
canvas.fill();
// bg tiles
for (var y = 0; y < TILES_Y; y++) {
for (var x = 0; x < TILES_X; x++) {
if (walls[level][y][x] == 0) {
// get bg tile color
var bgTileColor = floorColor0;
if (x % 2 == 0 && y % 2 == 0 ||
x % 2 == 1 && y % 2 == 1)
bgTileColor = floorColor1;
// draw bg tile color
canvas.beginPath();
canvas.rect(x * cwh(TILE_SIZE) + os.x, y * cwh(TILE_SIZE) + os.y, cwh(TILE_SIZE), cwh(TILE_SIZE));
canvas.fillStyle = bgTileColor;
canvas.fill();
}
}
}
}
function drawWalls_stroke() {
for (var i = 0; i < walls_stroke[level].length; i++) {
for (var j = 0; j < walls_stroke[level][i].length; j++) {
if (j == 0) {
canvas.beginPath();
canvas.moveTo(walls_stroke[level][i][j][0] * cwh(TILE_SIZE) + os.x, walls_stroke[level][i][j][1] * cwh(TILE_SIZE) + os.y);
} else {
canvas.lineTo(walls_stroke[level][i][j][0] * cwh(TILE_SIZE) + os.x, walls_stroke[level][i][j][1] * cwh(TILE_SIZE) + os.y);
}
}
canvas.lineWidth = cwh(OUTLINE_SIZE);
canvas.strokeStyle = "black";
canvas.stroke();
}
}