mirror of
https://github.com/cellos51/balatro-gba.git
synced 2026-04-25 16:01:27 -05:00
Changed the capitalization of hand names and centered them
This commit is contained in:
parent
2e6e033f1f
commit
f36784ccef
|
|
@ -507,19 +507,19 @@ static const int HAND_SPACING_LUT[MAX_HAND_SIZE] =
|
|||
|
||||
static const HandValues hand_base_values[] = {
|
||||
{.chips = 0, .mult = 0, .display_name = NULL }, // NONE
|
||||
{.chips = 5, .mult = 1, .display_name = "HIGH C" }, // HIGH_CARD
|
||||
{.chips = 10, .mult = 2, .display_name = "PAIR" }, // PAIR
|
||||
{.chips = 20, .mult = 2, .display_name = "2 PAIR" }, // TWO_PAIR
|
||||
{.chips = 5, .mult = 1, .display_name = "Hi-Card"}, // HIGH_CARD
|
||||
{.chips = 10, .mult = 2, .display_name = "Pair" }, // PAIR
|
||||
{.chips = 20, .mult = 2, .display_name = "2 Pair" }, // TWO_PAIR
|
||||
{.chips = 30, .mult = 3, .display_name = "3 OAK" }, // THREE_OF_A_KIND
|
||||
{.chips = 30, .mult = 4, .display_name = "STRT" }, // STRAIGHT
|
||||
{.chips = 35, .mult = 4, .display_name = "FLUSH" }, // FLUSH
|
||||
{.chips = 40, .mult = 4, .display_name = "FULL H" }, // FULL_HOUSE
|
||||
{.chips = 30, .mult = 4, .display_name = "Strt" }, // STRAIGHT
|
||||
{.chips = 35, .mult = 4, .display_name = "Flush" }, // FLUSH
|
||||
{.chips = 40, .mult = 4, .display_name = "Full H" }, // FULL_HOUSE
|
||||
{.chips = 60, .mult = 7, .display_name = "4 OAK" }, // FOUR_OF_A_KIND
|
||||
{.chips = 100, .mult = 8, .display_name = "STRT F" }, // STRAIGHT_FLUSH
|
||||
{.chips = 100, .mult = 8, .display_name = "ROYAL F"}, // ROYAL_FLUSH
|
||||
{.chips = 100, .mult = 8, .display_name = "Strt F" }, // STRAIGHT_FLUSH
|
||||
{.chips = 100, .mult = 8, .display_name = "Royal F"}, // ROYAL_FLUSH
|
||||
{.chips = 120, .mult = 12, .display_name = "5 OAK" }, // FIVE_OF_A_KIND
|
||||
{.chips = 140, .mult = 14, .display_name = "FLUSH H"}, // FLUSH_HOUSE
|
||||
{.chips = 160, .mult = 16, .display_name = "FLUSH 5"} // FLUSH_FIVE
|
||||
{.chips = 140, .mult = 14, .display_name = "Flush H"}, // FLUSH_HOUSE
|
||||
{.chips = 160, .mult = 16, .display_name = "Flush 5"} // FLUSH_FIVE
|
||||
};
|
||||
|
||||
static const SubStateActionFn shop_state_actions[] = {
|
||||
|
|
@ -1839,10 +1839,13 @@ static void print_hand_type(const char* hand_type_str)
|
|||
{
|
||||
if (hand_type_str == NULL)
|
||||
return; // NULL-checking paranoia
|
||||
|
||||
Rect hand_type_rect = HAND_TYPE_RECT;
|
||||
update_text_rect_to_center_str(&hand_type_rect, hand_type_str, SCREEN_LEFT);
|
||||
tte_printf(
|
||||
"#{P:%d,%d; cx:0x%X000}%s",
|
||||
HAND_TYPE_RECT.left,
|
||||
HAND_TYPE_RECT.top,
|
||||
hand_type_rect.left,
|
||||
hand_type_rect.top,
|
||||
TTE_WHITE_PB,
|
||||
hand_type_str
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user