Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
Dylanrockin you only have to replace it in the place where it's defined.
So replace:
def pbOwnedByPlayer?(index)
code
more code
end
with:
def pbOwnedByPlayer?(index)
return false if pbIsOpposing?(index)
return false if @player.is_a?(Array) && index==2
return false if $game_switches[76]==true
end
According to the wiki, when defining a pokemon owned by an npc, the IV should be a single number which is used for every stat. Seeing as the players pokemon have an IV for every stat, is it possible to do that for npcs, and if not, why?
Hi there!
Seeing as i have been searching for hours now with no results, i figured i'd just ask directly. What is the best way, if at all possible, to make a battle where both sides are controlled by the AI?