implement feedback

This commit is contained in:
theturtlemafia
2025-08-09 19:23:47 -04:00
parent 445ea788a4
commit 254efd7841
4 changed files with 8 additions and 5 deletions
+4 -4
View File
@@ -243,7 +243,7 @@ bool joker_object_score(JokerObject *joker_object, Card* scored_card, int *chips
tte_set_special(0xD000); // Blue
snprintf(score_buffer, sizeof(score_buffer), "+%d", joker_effect.chips);
tte_write(score_buffer);
cursorPosX += 30;
cursorPosX += EFFECT_TEXT_SEPARATION_AMOUNT;
}
if (joker_effect.mult > 0)
{
@@ -252,7 +252,7 @@ bool joker_object_score(JokerObject *joker_object, Card* scored_card, int *chips
tte_set_special(0xE000); // Red
snprintf(score_buffer, sizeof(score_buffer), "+%d", joker_effect.mult);
tte_write(score_buffer);
cursorPosX += 30;
cursorPosX += EFFECT_TEXT_SEPARATION_AMOUNT;
}
if (joker_effect.xmult > 0)
{
@@ -261,7 +261,7 @@ bool joker_object_score(JokerObject *joker_object, Card* scored_card, int *chips
tte_set_special(0xE000); // Red
snprintf(score_buffer, sizeof(score_buffer), "X%d", joker_effect.xmult);
tte_write(score_buffer);
cursorPosX += 30;
cursorPosX += EFFECT_TEXT_SEPARATION_AMOUNT;
}
if (joker_effect.money > 0)
{
@@ -270,7 +270,7 @@ bool joker_object_score(JokerObject *joker_object, Card* scored_card, int *chips
tte_set_special(0xC000); // Yellow
snprintf(score_buffer, sizeof(score_buffer), "+%d", joker_effect.money);
tte_write(score_buffer);
cursorPosX += 30;
cursorPosX += EFFECT_TEXT_SEPARATION_AMOUNT;
}
joker_object->joker->processed = true; // Mark the joker as processed
+1 -1
View File
@@ -304,7 +304,7 @@ static JokerEffect raised_fist_joker_effect(Joker *joker, Card *scored_card) {
// Find the lowest rank card in hand
// Aces are always considered high value, even in an ace-low straight
u8 lowest_value = 99;
u8 lowest_value = IMPOSSIBLY_HIGH_CARD_VALUE;
CardObject** hand = get_hand_array();
int hand_top = get_hand_top();
for (int i = 0; i < hand_top; i++ )