mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Instead of looping, if the moveset is full and a new move is added, the game shifts all arr[1..] down one slot then adds the move at the end. Since we don't need to keep track of PP/PP Ups, we can just defer the shifting and do n % 4 rotations at the end instead of n rotations (one on each move added). |
||
---|---|---|
.. | ||
Group | ||
Sources | ||
Verify | ||
LearnEnvironment.cs | ||
LearnMethod.cs | ||
MoveLearnInfo.cs | ||
MoveResult.cs |