Add modal to teach player about presets (#5903)

* Add modal to teach player about presets

* Change cvar to CVAR_GENERAL

* Update soh/soh/Enhancements/FileSelectEnhancements.cpp

Co-authored-by: Philip Dubé <serprex@users.noreply.github.com>

---------

Co-authored-by: Philip Dubé <serprex@users.noreply.github.com>
This commit is contained in:
aMannus
2026-01-04 21:28:06 +01:00
committed by GitHub
parent 34728efe6f
commit 0e7212d939
15 changed files with 53 additions and 11 deletions
@@ -779,6 +779,7 @@ void FileChoose_UpdateRandomizerMenu(GameState* thisx) {
if (CHECK_BTN_ALL(input->press.button, BTN_A)) {
if (this->randomizerIndex == RSM_START_RANDOMIZER) {
if (Randomizer_IsSeedGenerated() || Randomizer_IsSpoilerLoaded()) {
SohFileSelect_ShowPresetModal();
Audio_PlaySoundGeneral(NA_SE_SY_FSEL_DECIDE_L, &gSfxDefaultPos, 4, &gSfxDefaultFreqAndVolScale,
&gSfxDefaultFreqAndVolScale, &gSfxDefaultReverb);
static u8 emptyName[] = { 0x3E, 0x3E, 0x3E, 0x3E, 0x3E, 0x3E, 0x3E, 0x3E };