summaryrefslogtreecommitdiff
path: root/soh/src/code
diff options
context:
space:
mode:
authorRalphie Morell <stratomaster64@gmail.com>2022-10-20 23:22:58 -0400
committerGitHub <noreply@github.com>2022-10-20 23:22:58 -0400
commit262e036c22aa2078befc0445c630653de82d4e23 (patch)
treeb43db6ab7414eeee0d8fa8ab8ceaed134f818732 /soh/src/code
parentdbd5585e15087edb9c900b2de0cb4166b5a7a076 (diff)
Rando: Starting Age fixes (#1755)
* Updated starting age restrictions; patched specific circumstances in 3d rando * cleanup some testing stuff * whoops * become Sherlock Holmes; tooltip cleanup * Explicit logic for forcing child age * Apply bria's suggestion Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com> Co-authored-by: briaguya <70942617+briaguya-ai@users.noreply.github.com>
Diffstat (limited to 'soh/src/code')
-rw-r--r--soh/src/code/z_sram.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/soh/src/code/z_sram.c b/soh/src/code/z_sram.c
index 1c3cb5b23..8c01225e0 100644
--- a/soh/src/code/z_sram.c
+++ b/soh/src/code/z_sram.c
@@ -376,9 +376,11 @@ void Sram_InitSave(FileChooseContext* fileChooseCtx) {
gSaveContext.entranceIndex = 0x5F4;
gSaveContext.savedSceneNum = SCENE_SPOT20; //Set scene num manually to ToT
break;
- default: //Child
+ case 0: //Child
gSaveContext.linkAge = 1;
break;
+ default:
+ break;
}
int doorOfTime = Randomizer_GetSettingValue(RSK_DOOR_OF_TIME);