tarot: tweak to display of 'world' card

This commit is contained in:
joeycastillo 2023-01-11 12:49:44 -05:00
parent dc5290410e
commit a65d728877

View File

@ -73,6 +73,12 @@ static void tarot_display(tarot_state_t *state) {
watch_display_string(buf, 3);
sprintf(buf, "%s", major_arcana[state->drawn_cards[state->current_card]]);
watch_display_string(buf, 4);
if (state->drawn_cards[state->current_card] == NUM_TAROT_CARDS - 1) {
// special tweak for "World"
watch_set_pixel(1, 20);
watch_set_pixel(2, 21);
watch_set_pixel(1, 17);
}
}
}