mirror of
https://github.com/AdAstra-LD/DS-Pokemon-Rom-Editor.git
synced 2026-09-08 19:25:09 -05:00
Partially Fixed Trainer Editor (tuber Jared)
This commit is contained in:
@@ -194,7 +194,11 @@ namespace DSPRE.ROMFiles {
|
||||
for (int i = 0; i < endval; i++) {
|
||||
ushort unknown1 = reader.ReadUInt16();
|
||||
ushort level = reader.ReadUInt16();
|
||||
ushort pokemon = reader.ReadUInt16();
|
||||
|
||||
//NOTE: This bitwise AND fixes TUBER JARED [PLAT] and all trainers
|
||||
//who use pokemon with a special form --> ALL PARTY POKEMON WITH A SPECIAL FORM WILL LOSE IT
|
||||
ushort pokemon = (ushort)(reader.ReadUInt16() & (ushort.MaxValue>>7));
|
||||
|
||||
|
||||
ushort? heldItem = null;
|
||||
ushort[] moves = null;
|
||||
|
||||
Reference in New Issue
Block a user