Semi functional jokers

This commit is contained in:
cellos51
2025-07-20 20:55:11 -04:00
parent bdb0d7eee2
commit 414bfa2a32
5 changed files with 119 additions and 33 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
#define MAX_HAND_SIZE 16
#define MAX_DECK_SIZE 52
#define MAX_JOKERS_SIZE 5 // This doesn't account for negatives right now.
#define MAX_JOKERS_HELD_SIZE 5 // This doesn't account for negatives right now.
#define MAX_SHOP_JOKERS 2 // TODO: Make this dynamic and allow for other items besides jokers
#define MAX_SELECTION_SIZE 5
#define FRAMES(x) (((x) + game_speed - 1) / game_speed)
+1 -1
View File
@@ -15,7 +15,7 @@
* Screen Base Block is the base for the screenblock entries i.e. tilemap
* Character Base Block is the base for the tiles themselves
*/
#define MAIN_BG_SBB 29
#define MAIN_BG_SBB 31
#define MAIN_BG_CBB 1
#define TTE_SBB 30
#define TTE_CBB 0
+1
View File
@@ -34,6 +34,7 @@ typedef struct
u8 modifier; // base, foil, holo, poly, negative
u8 value;
u8 rarity;
bool proccessed;
} Joker;
typedef struct // copy of CardObject in card.h