mirror of
https://github.com/kwsch/pkNX.git
synced 2026-08-26 12:24:25 -05:00
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:
@@ -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; }
|
||||
}
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user