Reorder IVs in SWSH Flatbuffer Schemas (#75)

Properly reflects results in-game.
Also document Field_0C in EncounterStatic8 (unused for now, might be used in DLC).
This commit is contained in:
Matt
2020-05-26 12:40:12 -04:00
committed by GitHub
parent 50aeb7ddbb
commit ce9c121e48
6 changed files with 18 additions and 18 deletions

View File

@@ -22,12 +22,12 @@ public class EncounterGift8
public int ShinyLock { get; set; }
public int Nature { get; set; }
public int Gender { get; set; }
public int IV_Hp { get; set; }
public int IV_Spe { get; set; }
public int IV_Atk { get; set; }
public int IV_Def { get; set; }
public int IV_Hp { get; set; }
public int IV_SpAtk { get; set; }
public int IV_SpDef { get; set; }
public int IV_Spe { get; set; }
public int Ability { get; set; }
public int SpecialMove { get; set; }
}

View File

@@ -4,17 +4,17 @@ public class EncounterStatic8
{
public ulong Hash1 { get; set; }
public ulong Hash2 { get; set; }
public int EV_Hp { get; set; }
public int EV_Spe { get; set; }
public int EV_Atk { get; set; }
public int EV_Def { get; set; }
public int EV_Hp { get; set; }
public int EV_SpAtk { get; set; }
public int EV_SpDef { get; set; }
public int EV_Spe { get; set; }
public int AltForm { get; set; }
public int DynamaxLevel { get; set; }
public int Field_0A { get; set; }
public ulong Hash3 { get; set; }
public int Field_0C { get; set; }
public bool CanGigantamax { get; set; }
public int HeldItem { get; set; }
public int Level { get; set; }
public int Field_0F { get; set; }
@@ -22,12 +22,12 @@ public class EncounterStatic8
public int ShinyLock { get; set; }
public int Nature { get; set; }
public int Gender { get; set; }
public int IV_Hp { get; set; }
public int IV_Spe { get; set; }
public int IV_Atk { get; set; }
public int IV_Def { get; set; }
public int IV_Hp { get; set; }
public int IV_SpAtk { get; set; }
public int IV_SpDef { get; set; }
public int IV_Spe { get; set; }
public int Ability { get; set; }
public int Move0 { get; set; }
public int Move1 { get; set; }

View File

@@ -33,12 +33,12 @@ public class EncounterTrade8
public int ShinyLock { get; set; }
public int Nature { get; set; }
public int Gender { get; set; }
public int IV_Hp { get; set; }
public int IV_Spe { get; set; }
public int IV_Atk { get; set; }
public int IV_Def { get; set; }
public int IV_Hp { get; set; }
public int IV_SpAtk { get; set; }
public int IV_SpDef { get; set; }
public int IV_Spe { get; set; }
public int Ability { get; set; }
public int Relearn1 { get; set; }
public int Relearn2 { get; set; }

View File

@@ -30,12 +30,12 @@ table EncounterGift8 {
Nature:uint;
Gender:byte;
IV_Hp:byte;
IV_Spe:byte;
IV_Atk:byte;
IV_Def:byte;
IV_Hp:byte;
IV_SpAtk:byte;
IV_SpDef:byte;
IV_Spe:byte;
Ability:uint;
SpecialMove:uint;

View File

@@ -8,19 +8,19 @@ table EncounterStatic8 {
Hash1:ulong;
Hash2:ulong;
EV_Hp:ubyte;
EV_Spe:ubyte;
EV_Atk:ubyte;
EV_Def:ubyte;
EV_Hp:ubyte;
EV_SpAtk:ubyte;
EV_SpDef:ubyte;
EV_Spe:ubyte;
AltForm:byte;
DynamaxLevel:byte;
Field_0A:byte;
Hash3:ulong;
Field_0C:byte;
CanGigantamax:bool;
HeldItem:uint;
@@ -30,12 +30,12 @@ table EncounterStatic8 {
ShinyLock:uint;
Nature:uint;
Gender:byte;
IV_Hp:byte;
IV_Spe:byte;
IV_Atk:byte;
IV_Def:byte;
IV_Hp:byte;
IV_SpAtk:byte;
IV_SpDef:byte;
IV_Spe:byte;
Ability:uint;

View File

@@ -33,12 +33,12 @@ table EncounterTrade8 {
Nature:uint;
Gender:byte;
IV_Hp:byte;
IV_Spe:byte;
IV_Atk:byte;
IV_Def:byte;
IV_Hp:byte;
IV_SpAtk:byte;
IV_SpDef:byte;
IV_Spe:byte;
Ability:byte;
Relearn1:ushort;