• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.

Changing Battle Sprites

Lord Varion

Guess who's back?
  • 2,642
    Posts
    16
    Years
    • Age 30
    • Seen Jan 6, 2015
    Okay, So On essentails is it possible to change the battle sprites of pokémon.

    So, the whole game is based as FR/LG, So the sprites would stay as the defaults, but I was thinking of adding some kind of Time Travel, taking the player to a G/S styled area, but I need to know while the player is on thouse maps, can the encountered pokemon and current caught pokemon appear as the G/S sprites if I inserted them somewhere in my Game's files?

    Sorry if this doesn't make sense. >W<
     
    Go to Spriters Resource> Gameboy> Letter P> Then Find Pokemon Gold/Silver, Ifyou want you can replace the old sprite

    You Need Paint.NET ( Paint.NET is same like Photoshop)

    1, Copy the image you like
    2, Go to Graphics of your Pokemon Essentials and Find the picture you want to edit then open it with Paint.NET
    3, Just Press Edit Then Paste
    4, Click The Magic Wand
    [PokeCommunity.com] Changing Battle Sprites

    5, Just click the Magic Wand Then Click The Extra Backround Of your sprite, then Press Delete Button on your keyboard
    6, Save it

    Then test it, It Works On Meh!!
     
    Okay, So On essentails is it possible to change the battle sprites of pokémon.

    So, the whole game is based as FR/LG, So the sprites would stay as the defaults, but I was thinking of adding some kind of Time Travel, taking the player to a G/S styled area, but I need to know while the player is on thouse maps, can the encountered pokemon and current caught pokemon appear as the G/S sprites if I inserted them somewhere in my Game's files?

    Sorry if this doesn't make sense. >W<

    My only question is do you mean to change the sprites of every Pokemon while there or only the ones indigenous to the GS-styled place?

    Regardless, if you want to change all Pokemon, go to the script section called Pokemon Utilities and def pbLoadPokemonBitmapSpecies.

    In it, you'll see a few lines like these:
    Code:
      if pokemon.egg?
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03degg",species))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/egg")) if !bitmapFileName
      else
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s%s_%d",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0)))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s_%d",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0))) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s%s",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        # Alter bitmap if supported
        alterBitmap=(MultipleForms.getFunction(species,"alterBitmap") rescue nil)
      end

    Try adapting this code, depending on the conditions of your G/S/C styled area:
    Code:
     if CONDITION YOU SET HERE
      if pokemon.egg?
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gs%03degg",species))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gsegg")) if !bitmapFileName
      else
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gs%03d%s%s%s_%d",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0)))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gs%03d%s%s_%d",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0))) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gs%03d%s%s%s",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gs%03d%s%s",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        # Alter bitmap if supported
        alterBitmap=(MultipleForms.getFunction(species,"alterBitmap") rescue nil)
      end
    else
      if pokemon.egg?
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03degg",species))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/egg")) if !bitmapFileName
      else
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s%s_%d",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0)))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s_%d",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0))) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s%s",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        # Alter bitmap if supported
        alterBitmap=(MultipleForms.getFunction(species,"alterBitmap") rescue nil)
      end
    end

    If you set the If block to the correct conditions, the game will look for "gs001,png","gs002.png","gs003.png" and so on while you're in that map. If it is one map, the condition you want is if $game_map.map_id == (Maps ID).
     
    Last edited:
    The code IceGod64 quoted looks rather different in the upcoming version 9, and will be much easier to modify to this purpose. It is the correct solution, though.
     
    My only question is do you mean to change the sprites of every Pokemon while there or only the ones indigenous to the GS-styled place?

    Regardless, if you want to change all Pokemon, go to the script section called Pokemon Utilities and def pbLoadPokemonBitmapSpecies.

    In it, you'll see a few lines like these:
    Code:
      if pokemon.egg?
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03degg",species))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/egg")) if !bitmapFileName
      else
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s%s_%d",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0)))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s_%d",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0))) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s%s",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        # Alter bitmap if supported
        alterBitmap=(MultipleForms.getFunction(species,"alterBitmap") rescue nil)
      end

    Try adapting this code, depending on the conditions of your G/S/C styled area:
    Code:
     if CONDITION YOU SET HERE
      if pokemon.egg?
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gs%03degg",species))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gsegg")) if !bitmapFileName
      else
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gs%03d%s%s%s_%d",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0)))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gs%03d%s%s_%d",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0))) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gs%03d%s%s%s",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/gs%03d%s%s",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        # Alter bitmap if supported
        alterBitmap=(MultipleForms.getFunction(species,"alterBitmap") rescue nil)
      end
    else
      if pokemon.egg?
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03degg",species))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/egg")) if !bitmapFileName
      else
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s%s_%d",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0)))
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s_%d",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "",(pokemon.form rescue 0))) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s%s",species,
           pokemon.gender==1 ? "f" : "",
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        bitmapFileName=pbResolveBitmap(sprintf("Graphics/Battlers/%03d%s%s",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")) if !bitmapFileName
        # Alter bitmap if supported
        alterBitmap=(MultipleForms.getFunction(species,"alterBitmap") rescue nil)
      end
    end

    If you set the If block to the correct conditions, the game will look for "gs001,png","gs002.png","gs003.png" and so on while you're in that map. If it is one map, the condition you want is if $game_map.map_id == (Maps ID).

    [PokeCommunity.com] Changing Battle Sprites

    I did everything you said there, and I got this.
    I'm not good with scripts and stuff, so I wouldn't know where to begin in doing this. :/
     
    Back
    Top