Tidying up

This commit is contained in:
Maruno17
2021-06-19 20:36:17 +01:00
parent e472d0fcdf
commit 9b4bc66dc0
5 changed files with 20 additions and 20 deletions

View File

@@ -239,7 +239,7 @@ class Pokemon
end
# Sets this Pokémon's status. See {GameData::Status} for all possible status effects.
# @param value [Symbol, String, GameData::Status, Integer] status to set
# @param value [Symbol, String, GameData::Status] status to set
def status=(value)
return if !able?
new_status = GameData::Status.try_get(value)