Update level.c

This commit is contained in:
Jason Bou-Samra
2024-10-31 19:00:12 +11:00
committed by GitHub
parent 3bffe48104
commit 3dfcb7e05b
+30 -30
View File
@@ -8,36 +8,36 @@
// [remaining / current / points / speed / colour]
int levels [30][5] = {
{0x1E, 1, 50, 1, 0}, // very easy
{0x1D, 2, 50, 1, 0},
{0x1C, 3, 50, 1, 0},
{0x1B, 4, 50, 1, 0},
{0x1A, 5, 50, 1, 10},
{0x19, 6, 50, 2, 10}, // easy
{0x18, 7, 60, 2, 10},
{0x17, 8, 70, 2, 10},
{0x16, 9, 80, 2, 10},
{0x15, 10, 90, 2, 10},
{0x14, 11, 60, 3, 20}, // medium
{0x13, 12, 70, 3, 20},
{0x12, 13, 80, 3, 20},
{0X11, 14, 90, 3, 20},
{0x10, 15, 100, 3, 30},
{0x0F, 16, 70, 4, 30}, // hard
{0x0E, 17, 80, 4, 30},
{0x0D, 18, 90, 4, 30},
{0x0C, 19, 100, 4, 40},
{0x0B, 20, 110, 4, 40},
{0x0A, 21, 80, 5, 40}, // very hard
{0x09, 22, 90, 5, 40},
{0x08, 23, 100, 5, 50},
{0x07, 24, 110, 5, 50},
{0x06, 25, 120, 5, 50},
{0x05, 26, 120, 6, 50}, // jedi
{0x04, 27, 120, 6, 60},
{0x03, 28, 120, 6, 60},
{0x02, 29, 120, 6, 60},
{0x01, 30, 120, 6, 60}
{0x1E, 0x01, 50, 1, 0}, // very easy
{0x1D, 0x02, 50, 1, 0},
{0x1C, 0x03, 50, 1, 0},
{0x1B, 0x04, 50, 1, 0},
{0x1A, 0x05, 50, 1, 10},
{0x19, 0x06, 50, 2, 10}, // easy
{0x18, 0x07, 60, 2, 10},
{0x17, 0x08, 70, 2, 10},
{0x16, 0x09, 80, 2, 10},
{0x15, 0x0A, 90, 2, 10},
{0x14, 0x0B, 60, 3, 20}, // medium
{0x13, 0x0C, 70, 3, 20},
{0x12, 0x0D, 80, 3, 20},
{0X11, 0x0E, 90, 3, 20},
{0x10, 0x0F, 100, 3, 30},
{0x0F, 0x10, 70, 4, 30}, // hard
{0x0E, 0x11, 80, 4, 30},
{0x0D, 0x12, 90, 4, 30},
{0x0C, 0x13, 100, 4, 40},
{0x0B, 0x14, 110, 4, 40},
{0x0A, 0x15, 80, 5, 40}, // very hard
{0x09, 0x16, 90, 5, 40},
{0x08, 0x17, 100, 5, 50},
{0x07, 0x18, 110, 5, 50},
{0x06, 0x19, 120, 5, 50},
{0x05, 0x1A, 120, 6, 50}, // jedi
{0x04, 0x1B, 120, 6, 60},
{0x03, 0x1C, 120, 6, 60},
{0x02, 0x1D, 120, 6, 60},
{0x01, 0x1E, 120, 6, 60}
};
int level_current(void) {