mirror of
https://github.com/kwsch/PKHeX
synced 2024-12-22 18:33:14 +00:00
4268239c12
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
No EOL
416 B
C#
17 lines
No EOL
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;
|
|
}
|
|
}
|
|
} |