Prevent star dance spam

This commit is contained in:
MysterD 2020-10-08 21:31:53 -07:00
parent 8360df84fe
commit 028990302d
2 changed files with 2 additions and 2 deletions

View file

@ -690,7 +690,7 @@ void general_star_dance_handler(struct MarioState *m, s32 isInWater) {
break; break;
} }
} else if (m->playerIndex != 0) { } else if (m->playerIndex != 0) {
set_mario_action(m, isInWater ? ACT_WATER_IDLE : ACT_IDLE, 0); // nothing
} else if (m->actionState == 1 && gDialogResponse) { } else if (m->actionState == 1 && gDialogResponse) {
if (gDialogResponse == 1) { if (gDialogResponse == 1) {
save_file_do_save(gCurrSaveFileNum - 1, FALSE); save_file_do_save(gCurrSaveFileNum - 1, FALSE);

View file

@ -7,7 +7,7 @@
#ifdef DEBUG #ifdef DEBUG
static u8 warpToLevel = LEVEL_BOB; static u8 warpToLevel = LEVEL_WF;
#define SCANCODE_0 0x0B #define SCANCODE_0 0x0B
#define SCANCODE_1 0x02 #define SCANCODE_1 0x02