- 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??
Is this even possible?
-Yasumin >3
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 thisIn my PokemonUtilities i could not find "class pbLoadSpeciesBitmap"
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