Merge pull request #13 from Jaizu/patch-17

Msgbox fixes
This commit is contained in:
ghoulslash 2021-06-17 15:48:33 -06:00 committed by GitHub
commit 7862a7d1a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -972,6 +972,7 @@ bool8 TryStartDexnavSearch(void)
return FALSE;
HideMapNamePopUpWindow();
ChangeBgY_ScreenOff(0, 0, 0);
taskId = CreateTask(Task_InitDexNavSearch, 0);
gTasks[taskId].tSpecies = val & MASK_SPECIES;
gTasks[taskId].tEnvironment = val >> 14;
@ -2619,6 +2620,7 @@ bool8 TryFindHiddenPokemon(void)
gTasks[taskId].tEnvironment = sDexNavSearchDataPtr->environment;
gTasks[taskId].tRevealed = FALSE;
HideMapNamePopUpWindow();
ChangeBgY_ScreenOff(0, 0, 0);
return FALSE; //we dont actually want to enable the script context or the game will freeze
}