mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-07 14:57:19 -05:00
Now gets count=2 tests working
yield return new SeedFrame { FrameID = ctr + (l.Seen ? 5 : 7), PID = pid
};
used to be ctr + 6, needs to alternate even-odd
all 2 lock cases pass, but didn't make lock3's pass. Something else is
still amiss :)
break out some classes for the solidified lock objects
17 lines
416 B
C#
17 lines
416 B
C#
namespace PKHeX.Core
|
|
{
|
|
public class TeamLock
|
|
{
|
|
public int Species;
|
|
public string Comment;
|
|
public NPCLock[] Locks;
|
|
|
|
internal TeamLock Clone()
|
|
{
|
|
var c = new TeamLock { Comment = Comment, Locks = (NPCLock[])Locks.Clone() };
|
|
for (int i = 0; i < Locks.Length; i++)
|
|
Locks[i] = Locks[i].Clone();
|
|
return c;
|
|
}
|
|
}
|
|
} |