Fix SV fixed symbol minior form -> pkl

Not form random, but convert to out-of-battle form ID
This commit is contained in:
Kurt 2025-01-11 23:30:34 -06:00
parent d15562d6ee
commit ef212f3b82

View File

@ -664,7 +664,11 @@ private static void WriteFixedSymbol(ICollection<byte[]> exist, FixedSymbolTable
ushort species = SpeciesConverterSV.GetNational9((ushort)enc.DevId);
byte form = (byte)enc.FormId;
if (species == (int)Species.Minior)
form = 31; // Form Random
{
// Not form random -- keep original form ID.
// Encounter Slots themselves are form random, but the fixed symbols aren't.
form += 7; // Out of battle form ID (without the rocky shields up)
}
bw.Write(species);
bw.Write(form);