GBAlatro
A Demake of Balatro for the GBA
Loading...
Searching...
No Matches
ItemDescSubtypeInfo Struct Reference

Structure containing the main and shadow colors, and the name string associated with an Item's subtype. More...

#include <item.h>

Data Fields

u16 main_color
 
u16 shadow_color
 
const char * name_str
 

Detailed Description

Structure containing the main and shadow colors, and the name string associated with an Item's subtype.

Shadow colors are always a darker tone of the main color. The colors are organized in the card_rarity_pal_gfx.png file which is organized like this:

  • 0 -> transparency
  • 1,2 -> Common Joker (blue)
  • 3,4 -> Uncommon Joker (green)
  • 5,6 -> Rare Joker (red)
  • 7,8 -> Legendary Joker / Tarot Card (purple)
  • 9,10 -> Planet Card (blue with a tint of green)
  • 11,12 -> Spectral Card (deep blue)
  • 13,14 -> Voucher (red with a tint of orange)
See also
get_subtype_info

Definition at line 64 of file item.h.

Field Documentation

◆ main_color

u16 main_color

Definition at line 66 of file item.h.

◆ name_str

const char* name_str

Definition at line 68 of file item.h.

◆ shadow_color

u16 shadow_color

Definition at line 67 of file item.h.


The documentation for this struct was generated from the following file: