mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-08-14 04:52:19 -04:00
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:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user