More moves implemented
This commit is contained in:
15 files changed
+393
-20
No files matched your search
@@ -737,6 +737,13 @@ public class PokemonImpl : ScriptSource, IPokemon
|
||||
/// <inheritdoc />
|
||||
public IItem? RemoveHeldItem()
|
||||
{
|
||||
if (HeldItem is not null)
|
||||
{
|
||||
if (HeldItem.Category == ItemCategory.FormChanger)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
var previous = HeldItem;
|
||||
HeldItem = null;
|
||||
return previous;
|
||||
|
||||
Reference in new issue
Block a user