Fix changing sav language setter block set

This commit is contained in:
Kurt 2022-11-24 19:13:19 -08:00
parent 0ea152770a
commit b6ac0de3f7
2 changed files with 2 additions and 2 deletions

View file

@ -949,7 +949,7 @@ public sealed class SaveBlockAccessor9SV : SCBlockAccessor, ISaveBlock9Main
private const uint WSYS_GEM_CHANGE_POINT = 0xE1B947F5;
private const uint WSYS_GEM_CHANGE_POINT_MAX = 0x6C1169C0;
private const uint WSYS_GOZONJI_HINT_COUNT = 0x42579CF4;
private const uint KGameLanguage = 0x25839373; // WSYS_LANGUAGE_SELECT
public const uint KGameLanguage = 0x25839373; // WSYS_LANGUAGE_SELECT
private const uint WSYS_LEAGUE_CARD_SELECT_CARD = 0xB5284E7C;
private const uint WSYS_LEAGUE_CARD_SELECT_ICON = 0x45AEB78B;
private const uint WSYS_NET_BATTLE_BGM_ID = 0x603562B5;

View file

@ -44,7 +44,7 @@ public sealed class MyStatus9 : SaveBlock<SAV9SV>
// For runtime language, the game shifts all languages above Language 6 (unused) down one.
if (value >= 6)
value--;
SAV.SetValue(SaveBlockAccessor8SWSH.KGameLanguage, (uint)value);
SAV.SetValue(SaveBlockAccessor9SV.KGameLanguage, (uint)value);
}
}