mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-04-22 07:18:18 -05:00
Update LearnVerifierEgg.cs
Order of operations being spooky
This commit is contained in:
parent
40649084b3
commit
bf37be3ea1
|
|
@ -42,16 +42,16 @@ private static void VerifyMovesInitial(Span<MoveResult> result, ReadOnlySpan<ush
|
|||
int i = 0;
|
||||
if (initial.Move1 != 0)
|
||||
{
|
||||
result[i++] = GetMethodInitial(current[i], initial.Move1);
|
||||
result[i] = GetMethodInitial(current[i], initial.Move1); i++;
|
||||
if (initial.Move2 != 0)
|
||||
{
|
||||
result[i++] = GetMethodInitial(current[i], initial.Move2);
|
||||
result[i] = GetMethodInitial(current[i], initial.Move2); i++;
|
||||
if (initial.Move3 != 0)
|
||||
{
|
||||
result[i++] = GetMethodInitial(current[i], initial.Move3);
|
||||
result[i] = GetMethodInitial(current[i], initial.Move3); i++;
|
||||
if (initial.Move4 != 0)
|
||||
{
|
||||
result[i++] = GetMethodInitial(current[i], initial.Move4);
|
||||
result[i] = GetMethodInitial(current[i], initial.Move4); i++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user