Skip to content

Commit

Permalink
Swapped A and move legends
Browse files Browse the repository at this point in the history
  • Loading branch information
core1024 committed Jul 24, 2018
1 parent 7c6ad51 commit 7c8b39e
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions LATE.ino
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,14 @@ void loop() {
arduboy.setCursor(2, FH * choice + FH + FH - 2);
arduboy.print(">");

arduboy.drawBitmap(2, 55, dPadBmp, 7, 7, WHITE);
arduboy.drawBitmap(2, 55, aBmp, 7, 7, WHITE);
arduboy.setCursor(12, 55);
arduboy.print(F("Move"));
arduboy.drawBitmap(66, 55, aBmp, 7, 7, WHITE);
arduboy.setCursor(76, 55);
arduboy.print(arduboy.pressed(LEFT_BUTTON) ? F("Reset ") : F("Select"));

arduboy.drawBitmap(66, 55, dPadBmp, 7, 7, WHITE);
arduboy.setCursor(76, 55);
arduboy.print(F("Move"));


for (i = 0; i < games_count; i++) {
arduboy.drawBitmap(9, FH * i + FH + FH - 2, games[i].logo, 7, 7, WHITE);
Expand Down Expand Up @@ -288,11 +289,7 @@ void loop() {
arduboy.pollButtons();

arduboy.setCursor(12, 55);
if (game_on && ! arduboy.pressed(LEFT_BUTTON)) {
arduboy.print(F("Resume"));
} else {
arduboy.print(F("Start "));
}
arduboy.print(game_on && ! arduboy.pressed(LEFT_BUTTON) ? F("Resume") : F("Start "));

if(arduboy.justPressed(A_BUTTON)) {
menu = game_on && ! arduboy.pressed(LEFT_BUTTON) ? MENU_RESUME : MENU_NEW; break;
Expand Down

0 comments on commit 7c8b39e

Please sign in to comment.