More moves implemented
This commit is contained in:
@@ -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