Skip to content

Commit b23d07c

Browse files
committed
Sword/Shield: Handle multiple users at restart
If there are multiple users on the console, when starting a game, a user selection screen will pop up. To handle this, the automation nows mashes A when restarting the game, in order to validate the selection screen (or do nothing if there is no selection screen). Note that this may not work correctly if the user selected by default on this screen is not the one that originally started the game.
1 parent 0765611 commit b23d07c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/swsh/swsh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ void restart_game(void)
445445
{ BT_NONE, DP_NEUTRAL, SEQ_HOLD, 20 }, /* Wait for menu */
446446
{ BT_A, DP_NEUTRAL, SEQ_HOLD, 1 }, /* Confirm close */
447447
{ BT_NONE, DP_NEUTRAL, SEQ_HOLD, 80 }, /* Wait for close */
448-
{ BT_A, DP_NEUTRAL, SEQ_MASH, 1 }, /* Relaunch game */
448+
{ BT_A, DP_NEUTRAL, SEQ_MASH, 20 }, /* Relaunch game */
449449
);
450450

451451
/* Wait for the game to start */

0 commit comments

Comments
 (0)