-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmario_lvl.ino
40 lines (31 loc) · 1.74 KB
/
mario_lvl.ino
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
/* level data for file mario-1-1.rgb at Mon Feb 10 16:03:30 2020 */
#include "makeblock.h"
const uint8_t gaps_level_1_1[] PROGMEM = {
69, 70, 86, 87, 88, 153, 154, 0 };
const uint8_t clouds_level_1_1[][3] PROGMEM = {
{9,10,1},{28,10,3},{57,10,1},{76,10,3},{105,10,1},{124,10,3},{153,10,1},{172,10,3},{202,10,1},{20,11,1},{37,11,2},{68,11,1},{85,11,2},{116,11,1},{133,11,2},{164,11,1},{181,11,2},{0,0,0} };
const uint8_t hills_level_1_1[][2] PROGMEM = {
{1,131},{12,3},{17,129},{24,1},{42,2},{50,131},{60,3},{66,129},{72,1},{90,2},{98,130},{108,3},{113,129},{120,1},{138,2},{146,130},{161,129},{168,1},{194,130},{0,0} };
const uint8_t walls_level_1_1[][3] PROGMEM = {
{20,4,5},{77,4,3},{94,4,1},{100,4,2},{118,4,1},{129,4,2},{168,4,4},{80,8,8},{91,8,4},{121,8,3},{128,8,4},{0,0,0} };
const uint8_t qmarks_level_1_1[][2] PROGMEM = {
{16,4},{21,132},{23,4},{78,132},{106,4},{109,4},{112,4},{170,4},{64,5},{22,8},{94,8},{109,136},{129,8},{130,8},{0,0} };
const uint8_t enemies_level_1_1[][4] PROGMEM = {
{21,1,0,27},{40,1,40,45},{54,1,48,56},{55,1,48,56},{95,1,59,133},{97,1,59,133},{106,129,59,133},{123,1,59,133},{125,1,59,133},{127,1,59,133},{129,1,59,133},{173,1,165,178},{175,1,165,178},{79,6,59,133},{82,9,59,133},{0,0,0,0} };
const uint8_t stairs_level_1_1[][2] PROGMEM = {
{134,132},{140,4},{148,165},{155,4},{181,169},{198,129},{0,0} };
const uint8_t pipes_level_1_1[][2] PROGMEM = {
{28,2},{38,3},{46,4},{57,4},{163,2},{179,2},{0,0} };
const struct mario_levelS level_1_1 PROGMEM = {
.width = 212,
.flag = 198,
.castle = 202,
.gaps = gaps_level_1_1,
.clouds = clouds_level_1_1,
.hills = hills_level_1_1,
.walls = walls_level_1_1,
.qmarks = qmarks_level_1_1,
.stairs = stairs_level_1_1,
.pipes = pipes_level_1_1,
.enemies = enemies_level_1_1
};