fix blank letters

This commit is contained in:
gymnast86
2026-05-25 22:43:09 -07:00
parent 48de086d65
commit 83a5ccce92
+9 -1
View File
@@ -2957,7 +2957,15 @@ void dComIfGs_setupRandomizerSave() {
if (randoData.mSettings[RandomizerContext::SKIP_MINOR_CUTSCENES] == RandomizerContext::ON)
{
dComIfGs_setAllLetterGet();
// Add letter data in this order to more or less reflect an order they can be obtained in game
static const int letterOrder[] = {3, 2, 4, 7, 5, 6, 13, 12, 10, 9, 8, 15, 0, 14, 11};
int letterNum = 0;
for (int i : letterOrder) {
if (dMenu_Letter::getLetterName(i) != 0) {
dComIfGs_onLetterGetFlag(i);
dComIfGs_setGetNumber(letterNum++, i + 1);
}
}
dComIfGs_setAllLetterRead();
}