opponent has pidgey and spearow still saying oppont pokemon not eligible
hey can I also add custom background to sky battle
Yes! You can!
But How?
if $skybattle
name = "skybattle"
backdropFilename = name.downcase
baseFilename = name.downcase
messageFilename = name.downcase
end
Find 'def pbCreateBackdropSprites'
Below this line 'messageFilename = @battle.backdrop', add
Code:if $skybattle name = "skybattle" backdropFilename = name.downcase baseFilename = name.downcase messageFilename = name.downcase end
Then, you need to create 4 graphics which have name: skybattle_base0, skybattle_base1, skybattle_bg, skybattle_message
Is this compatible with V17.2? If not, is there any plans of doing so? Thanks un advice!
Is there a way to make certain Pokemon eligible for Sky Battles that DON'T have Levitate or the Flying typing? Like Castform, or Illumise, for example.
SkyPokemon = [
:PIDGEY, :SPEAROW, :FARFETCHD, :DODUO, :DODRIO, :GENGAR, :HOOTHOOT, :NATU,
:MURKROW, :DELIBIRD, :TAILOW, :STARLY, :CHATOT, :SHAYMIN, :PIDOVE, :ARCHEN,
:DUCKLETT, :RUFFLET, :VULLABY, :FLETCHLING, :HAWLUCHA
]
SkyPokemon = [
:PIDGEY, :SPEAROW, :FARFETCHD, :DODUO, :DODRIO, :GENGAR, :HOOTHOOT, :NATU,
:MURKROW, :DELIBIRD, :TAILOW, :STARLY, :CHATOT, :SHAYMIN, :PIDOVE, :ARCHEN,
:DUCKLETT, :RUFFLET, :VULLABY, :FLETCHLING, :HAWLUCHA, :BULBASAUR
]
That's kind of the opposite of what I was looking to do. The Pokemon on that list are Pokemon that DO have the Flying typing, but are, regardless, excluded from being able to sky battle. Adding Bulbasaur to that list would only tell the game to NOT let Bulbasaur sky battle, wouldn't it?
and initiated a Sky Battle. In my party I had a Mantine, Heracross, and Archen, and only Mantine was able to Sky Battle. Both Heracross, which I added to the list, and Archen, which was already on the list, were both unable to Sky Battle.# Pokemon aren't allowed to participate even though they are flying or have levitate
# Add new pokemon: ':NAME'
SkyPokemon = [
:PIDGEY, :SPEAROW, :FARFETCHD, :DODUO, :DODRIO, :GENGAR, :HOOTHOOT, :NATU,
:MURKROW, :DELIBIRD, :TAILOW, :STARLY, :CHATOT, :SHAYMIN, :PIDOVE, :ARCHEN,
:DUCKLETT, :RUFFLET, :VULLABY, :FLETCHLING, :HAWLUCHA, :HERACROSS
Okay, so I tested it, adding Heracross to the list,
and initiated a Sky Battle. In my party I had a Mantine, Heracross, and Archen, and only Mantine was able to Sky Battle. Both Heracross, which I added to the list, and Archen, which was already on the list, were both unable to Sky Battle.
Also, two lines above what you posted earlier, the code explicitly states that the Pokemon on this list "aren't allowed to participate" in Sky Battles.
What I'm looking to achieve is a way to tell the game how to allow some non-Flying type Pokemon to Sky Battle as well.
May I see the list you're using in your game? I added Gyarados to mine and now it cannot Sky Battle, but it could before.
Is there a way to make certain Pokemon eligible for Sky Battles that DON'T have Levitate or the Flying typing? Like Castform, or Illumise, for example.
CanBattle = [
:BULBASAUR
]
def self.checkPkmnSky?(pkmn)
list = []
SkyPokemon.each { |species| list << getID(PBSpecies,species) }
return true if list.include?(pkmn.species)
return false
end
def self.checkExceptPkmn?(pkmn)
list = []
CanBattle.each { |species| list << getID(PBSpecies,species) }
return true if list.include?(pkmn.species)
return false
end
# Check pokemon in sky battle
def self.canSkyBattle?(pkmn)
checktype = pkmn.hasType?(:FLYING)
checkability = pkmn.ability==getID(PBAbilities,:LEVITATE)
checkpkmn = SkyBattle.checkPkmnSky?(pkmn)
return (checktype || checkability) && !checkpkmn
end
# Check pokemon in sky battle
def self.canSkyBattle?(pkmn)
checktype = pkmn.hasType?(:FLYING)
checkability = pkmn.ability==getID(PBAbilities,:LEVITATE)
checkpkmn = SkyBattle.checkPkmnSky?(pkmn)
except = SkyBattle.checkExceptPkmn?(pkmn)
return ( (checktype || checkability) && !checkpkmn ) || except
end
i have added gyarados a many days ago but mine work