diff --git a/soh/include/z64save.h b/soh/include/z64save.h index 8b434d81c..9da18f72e 100644 --- a/soh/include/z64save.h +++ b/soh/include/z64save.h @@ -175,7 +175,7 @@ typedef struct { /* 0x1422 */ s16 sunsSongState; // controls the effects of suns song /* 0x1424 */ s16 healthAccumulator; RandoSetting randoSettings[300]; - ItemLocationRando itemLocations[500]; + ItemLocationRando itemLocations[RC_MAX]; HintLocationRando hintLocations[50]; char childAltarText[250]; char adultAltarText[750]; diff --git a/soh/soh/Enhancements/randomizer/randomizerTypes.h b/soh/soh/Enhancements/randomizer/randomizerTypes.h index c7db92ca0..3f0da52b7 100644 --- a/soh/soh/Enhancements/randomizer/randomizerTypes.h +++ b/soh/soh/Enhancements/randomizer/randomizerTypes.h @@ -10,6 +10,7 @@ typedef struct { } Sprite; typedef enum { + RC_UNKNOWN_CHECK, RC_LINKS_POCKET, RC_QUEEN_GOHMA, RC_KING_DODONGO, @@ -752,7 +753,7 @@ typedef enum { RC_ZR_NEAR_DOMAIN_GOSSIP_STONE, RC_ZR_NEAR_GROTTOS_GOSSIP_STONE, RC_ZR_OPEN_GROTTO_GOSSIP_STONE, - RC_UNKNOWN_CHECK + RC_MAX } RandomizerCheck; // based on https://github.com/TestRunnerSRL/OoT-Randomizer/blob/e337d7f603b91a6bacb618fb32cc7fd70ed9ffca/ItemList.py