wip extra w07 board rel

This commit is contained in:
Rainchus 2024-08-01 16:00:30 -05:00
parent 0a152cdcef
commit 60a9cf9edf
12 changed files with 38 additions and 6 deletions

View file

@ -15,6 +15,7 @@
#define BOARD_ID_TUTORIAL 6 //TUTORIAL_BOARD
#define BOARD_ID_EXTRA1 7 //MEGA_BOARD_MAYHEM
#define BOARD_ID_EXTRA2 8 //MINI_BOARD_MAD_DASH
#define BOARD_ID_CUSTOM 9 //Custom Test Board
#define BOARD_FABS(value) ((value < 0) ? -(value) : (value))

View file

@ -34,8 +34,8 @@ typedef struct system_state {
/* 0x06 */ u8 star_flag;
/* 0x07 */ u8 star_total;
/* 0x08 */ struct {
u8 star_pos : 3;
u8 board : 5;
u16 star_pos : 3;
u16 board : 10; //double board count
};
/* 0x09 */ s8 last5_effect;
/* 0x0A */ s8 player_curr;