• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • 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.

Giving Pokemon alternate forms

  • 4
    Posts
    16
    Years
    • Seen Mar 11, 2010
    What must I do to give my Pokemon an alternate form, by making it hold an item, and when I take that certain item away it can go back to its normal form??
     
    Someone asked this about Giratina a few months ago. Because I'm nice, I searched for it myself and found the answer: https://www.pokecommunity.com/posts/4392708/. You can adapt it a bit to check the hold item instead of a variable, and resprite accordingly.

    For the record, ask questions about Pokémon Essentials in the thread that's there specifically for questions about Pokémon Essentials. It's not difficult.
     
    Assuming you are talking about Essentials.
    Most questions get answered really quickly here too: Help and Requests Thread.
    In future, if you or other members need help, you should provide the reader with a bit of help aswell. We have to try decipher your question and assume the asnwer we are giving is helpful in your situation. You could be asking for ROM hacking and posting here by mistake for all we know gathered from your post lol.
    Guys, just help us to help you by putting in a bit of details like what program your using, and so on please.
     
    My script can be implemented for any other pokemon too and how the forms should be changed. to change the way the form takes place edit the value "d" and cange "PBSpecies" to any pokemon you want.
     
    In my PokemonUtilities i could not find "class pbLoadSpeciesBitmap"
    You can find it at line 456. Originally it was with unown, but since i'm not using it for now so my code looks like this
    Code:
    def pbLoadPokemonBitmap(pokemon, back=false)
      return pbLoadPokemonBitmapSpecies(pokemon,pokemon.species,back)
    end
    
     def pbLoadPokemonBitmapSpecies(pokemon, species, back=false)
      if pokemon.egg?
       return BitmapCache.load_bitmap(
         sprintf("Graphics/Pictures/egg.png"))
      end
      bitmapFileName=sprintf("Graphics/Battlers/%03d%s%s.png",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "")
      if isConst?(species,PBSpecies,:SPINDA) && !back
       bitmap=Bitmap.new(bitmapFileName)
       pbSpindaSpots(pokemon,bitmap)
       return bitmap
    # Giratina form changing script by DragoChamp
    elsif isConst?(species,PBSpecies,:GIRATINA)
       d=if $game_switches[96]==true
       begin
        # Load Origin Form bitmap if found
        return BitmapCache.load_bitmap(
          sprintf("Graphics/Battlers/%03d%s%sorigin.png",species,
           pokemon.isShiny? ? "s" : "",
           back ? "b" : "", d)
        )
        rescue
        # Load plain bitmap as usual (see below)
       end
      end
     end
      return BitmapCache.load_bitmap(bitmapFileName)
    end
    and this works perfectly. Also note that you must place the "origin" for the Giratina sprite after the number (487) and after the prefixes "s" and "b". So the image for a shiny Giratina in origin form should be "487sorigin.png"

    EDIT: I also think that the "class" variable confused you while it should be "def". That's a fault on my behalf. Sorry on that.
     
    Last edited:
    Back
    Top