.form should be lowercase to work
This commit is contained in:
aprogergely
2021-06-27 18:37:35 +02:00
committed by GitHub
parent 84b1512c9b
commit cb60fa1299

View File

@@ -47,7 +47,7 @@ class PokeBattle_Move_003 < PokeBattle_SleepMove
return if @id != :RELICSONG return if @id != :RELICSONG
return if !user.isSpecies?(:MELOETTA) return if !user.isSpecies?(:MELOETTA)
return if user.hasActiveAbility?(:SHEERFORCE) && @addlEffect>0 return if user.hasActiveAbility?(:SHEERFORCE) && @addlEffect>0
newForm = (user.Form+1)%2 newForm = (user.form+1)%2
user.pbChangeForm(newForm,_INTL("{1} transformed!",user.pbThis)) user.pbChangeForm(newForm,_INTL("{1} transformed!",user.pbThis))
end end
end end