• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Sky Battles + Inverse Battles (v.18.1)

  • 295
    Posts
    6
    Years
    • Seen Aug 15, 2022
    This script creates rule: Sky battle and Inverse battle. The old thread Here

    How to use
    Don't use the old script.
    Choose version that you want.
    Read first lines and 'How to use'.
    Link

    Credit
    mej71 (original)
    bo4p5687 (update)
     
    Last edited:

    YashPokeFan123

    #PokeFan
  • 283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    This script creates rule: Sky battle and Inverse battle. The old thread Here

    How to use
    Don't use the old script.
    Read first lines

    Code
    Link

    Credit
    mej71 (original)
    bo4p5687 (update)

    opponent has pidgey and spearow still saying oppont pokemon not eligible
     

    YashPokeFan123

    #PokeFan
  • 283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    This script creates rule: Sky battle and Inverse battle. The old thread Here

    How to use
    Don't use the old script.
    Read first lines

    Code
    Link

    Credit
    mej71 (original)
    bo4p5687 (update)

    problem was moveset of pokemon

    hey can I also add custom background to sky battle
     
  • 295
    Posts
    6
    Years
    • Seen Aug 15, 2022

    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
     

    YashPokeFan123

    #PokeFan
  • 283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    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

    Thanks buddy
    Using this i can create also inverse battle
     
  • 39
    Posts
    8
    Years
    • Seen May 24, 2024
    Is this compatible with V17.2? If not, is there any plans of doing so? Thanks un advice!
     
  • 21
    Posts
    3
    Years
    • Seen Sep 19, 2022
    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.
     

    YashPokeFan123

    #PokeFan
  • 283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    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.

    yes in the code

    Code:
     SkyPokemon = [
      :PIDGEY, :SPEAROW, :FARFETCHD, :DODUO, :DODRIO, :GENGAR, :HOOTHOOT, :NATU,
      :MURKROW, :DELIBIRD, :TAILOW, :STARLY, :CHATOT, :SHAYMIN, :PIDOVE, :ARCHEN,
      :DUCKLETT, :RUFFLET, :VULLABY, :FLETCHLING, :HAWLUCHA
      ]

    this refer to pokemon that can abttle in sky battle. you can one like i m adding bulbasaur

    Code:
     SkyPokemon = [
      :PIDGEY, :SPEAROW, :FARFETCHD, :DODUO, :DODRIO, :GENGAR, :HOOTHOOT, :NATU,
      :MURKROW, :DELIBIRD, :TAILOW, :STARLY, :CHATOT, :SHAYMIN, :PIDOVE, :ARCHEN,
      :DUCKLETT, :RUFFLET, :VULLABY, :FLETCHLING, :HAWLUCHA, :BULBASAUR
      ]

    it now looks like that

    there is also for moves
     
  • 21
    Posts
    3
    Years
    • Seen Sep 19, 2022
    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?
     

    YashPokeFan123

    #PokeFan
  • 283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    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?

    No These are pokemon that can sky battle adding bulbasuar now bulbasaur can also do sky battle
     
  • 21
    Posts
    3
    Years
    • Seen Sep 19, 2022
    Okay, so I tested it, adding Heracross to the list,
    # 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
    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.
     

    YashPokeFan123

    #PokeFan
  • 283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    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.

    i have added gyarados a many days ago but mine work
     
  • 21
    Posts
    3
    Years
    • Seen Sep 19, 2022
    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.
     

    YashPokeFan123

    #PokeFan
  • 283
    Posts
    3
    Years
    • Seen Apr 28, 2023
    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.

    i dont have my pc with me. btw when you add your own pokemon does the game work or its says pokemon is not eligible with sky battle
     
  • 295
    Posts
    6
    Years
    • Seen Aug 15, 2022
    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.

    Below SkyPokemon = [...]

    Add
    Code:
      CanBattle = [
      :BULBASAUR
      ]

    When you add pokemon in it you can battle with non-Flying type

    Next, below
    Code:
      def self.checkPkmnSky?(pkmn)
        list = []
        SkyPokemon.each { |species| list <<  getID(PBSpecies,species) }
        return true if list.include?(pkmn.species)
        return false
      end
    add
    Code:
      def self.checkExceptPkmn?(pkmn)
        list = []
        CanBattle.each { |species| list <<  getID(PBSpecies,species) }
        return true if list.include?(pkmn.species)
        return false
      end

    Next, change
    Code:
      # 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
    into
    Code:
      # 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

    If you add Gyarados in SkyPokemon = [...], he cant battle in sky mode. Read carefull the green lines.
     
    Back
    Top