Revamped classes Pokemon, PBMove and PokemonMail

This commit is contained in:
Maruno17
2021-01-21 23:04:51 +00:00
parent 94ce80c183
commit 8a89ef1220
40 changed files with 1016 additions and 1038 deletions

View File

@@ -872,12 +872,12 @@ def pbRuledBattle(team1,team2,rule)
team1.each_with_index do |p,i|
next if !p
p.heal
p.setItem(items1[i])
p.item = items1[i]
end
team2.each_with_index do |p,i|
next if !p
p.heal
p.setItem(items2[i])
p.item = items2[i]
end
end
if decision==1 # Team 1 wins