Fixed typo in Duel minigame, fixed crash when battling a single trainer while you have a

This commit is contained in:
Maruno17
2020-11-11 22:09:34 +00:00
parent 5534f338e7
commit 9841bd2630
4 changed files with 6 additions and 3 deletions

View File

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