This commit is contained in:
33 files changed
+511
-26
No files matched your search
@@ -138,7 +138,10 @@ public class LearnedMoveImpl : ILearnedMove
|
||||
public bool TryUse(byte amount = 1)
|
||||
{
|
||||
if (CurrentPp < amount)
|
||||
{
|
||||
CurrentPp = 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
CurrentPp -= amount;
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user