mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-03 06:16:55 -05:00
Cleaning up + add ZD write method
Added region wraps, class is getting pretty large.
This commit is contained in:
@@ -18,6 +18,8 @@ public static uint Forward32(uint seed, int ctr)
|
||||
return seed;
|
||||
}
|
||||
}
|
||||
|
||||
#region Pokémon Related Classes
|
||||
public class PersonalInfo
|
||||
{
|
||||
public byte HP, ATK, DEF, SPE, SPA, SPD;
|
||||
@@ -903,6 +905,9 @@ public byte[] Write()
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Game Related Classes
|
||||
public class MapMatrix
|
||||
{
|
||||
public uint u0;
|
||||
@@ -1097,6 +1102,11 @@ public ZoneData(byte[] data)
|
||||
return;
|
||||
Data = data;
|
||||
}
|
||||
|
||||
public byte[] Write()
|
||||
{
|
||||
return Data;
|
||||
}
|
||||
}
|
||||
public class Zone
|
||||
{
|
||||
@@ -1551,4 +1561,5 @@ public byte[] Write()
|
||||
return Raw;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user