majorgames
Guest
- 0
- Posts
you need to edit the sprite and edit the details in PBS metdata
Last edited:
This def is in PokemonUtilities, and deals with every instance of loading a pokemon sprite:I'm arfaid I don't understand this, sorry. Can i wiew example script for GIRATINA?
EDIT: But UNOWN changes only icon form. In battle is only A forme.
How can I do PkMn pictures move, like in PkMn Emerald?
[COLOR=Black]def [/COLOR][COLOR=Red]pbLoadPokemonBitmapSpecies[/COLOR](pokemon, species, back=[COLOR=Black]false[/COLOR])
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
[COLOR=Purple]elsif isConst?(species,PBSpecies,:UNOWN)
d=pokemon.personalID&3
d|=((pokemon.personalID>>8)&3)<<2
d|=((pokemon.personalID>>16)&3)<<4
d|=((pokemon.personalID>>24)&3)<<6
d%=28 # index of letter : ABCDEFGHIJKLMNOPQRSTUVWXYZ!?
begin
[/COLOR][COLOR=Purple]# Load special bitmap if found
# Example: 201b_02 for the letter C
return BitmapCache.load_bitmap(
sprintf("Graphics/Battlers/%03d%s%s_%02d.png",species,
pokemon.isShiny? ? "s" : "",
back ? "b" : "", d)
)
rescue
[/COLOR][COLOR=Purple]# Load plain bitmap as usual (see below)
end
end[/COLOR]
return BitmapCache.load_bitmap(bitmapFileName)
end
[COLOR=Black]elsif isConst?(species,PBSpecies,:[COLOR=Red]GIRATINA[/COLOR])
[/COLOR][COLOR=Black]if $game_map.map_id==[COLOR=Red]42[/COLOR] || pokemon.item==[COLOR=Red][COLOR=Black]PBItems::[/COLOR]SPECIALORB[/COLOR]
return BitmapCache.load_bitmap(
sprintf("Graphics/Battlers/%03d%s%s[COLOR=Red]_a[/COLOR].png",species,
pokemon.isShiny? ? "s" : "",
back ? "b" : "")
)
rescue
[/COLOR][COLOR=Black]# Load plain bitmap as usual (see below)
end
[/COLOR]
4. With difficulty, so I hear. Ask someone who's already achieved it. Don't complain if you don't get help with this, though, since some people tend to be tight-lipped with their work (particularly those who have gone through the trouble of working it out themselves and then not being nice enough to share - which is all of them, and I don't blame them, to be honest).4. how do i make my game double screened like on a ds?
5. how do you make pokemon sprites and trainer sprites animated like in Platinum and HG/SS?
7. how do you make it so you encounter a particular pokemon by pressing the action button infrot of a particular event?
This def is in PokemonUtilities, and deals with every instance of loading a pokemon sprite:
The purple part chooses the correct form of Unown to use, and loads it.Code:[COLOR=Black]def [/COLOR][COLOR=Red]pbLoadPokemonBitmapSpecies[/COLOR](pokemon, species, back=[COLOR=Black]false[/COLOR]) 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 [COLOR=Purple]elsif isConst?(species,PBSpecies,:UNOWN) d=pokemon.personalID&3 d|=((pokemon.personalID>>8)&3)<<2 d|=((pokemon.personalID>>16)&3)<<4 d|=((pokemon.personalID>>24)&3)<<6 d%=28 # index of letter : ABCDEFGHIJKLMNOPQRSTUVWXYZ!? begin [/COLOR][COLOR=Purple]# Load special bitmap if found # Example: 201b_02 for the letter C return BitmapCache.load_bitmap( sprintf("Graphics/Battlers/%03d%s%s_%02d.png",species, pokemon.isShiny? ? "s" : "", back ? "b" : "", d) ) rescue [/COLOR][COLOR=Purple]# Load plain bitmap as usual (see below) end end[/COLOR] return BitmapCache.load_bitmap(bitmapFileName) end
If you wanted to do it for Giratina (assuming the Origin Forme is always used only when in map number 42 and/or or when it's holding the item "Special Orb"), you'd need to put something like the following directly above the purple part above:
Code:[COLOR=Black]elsif isConst?(species,PBSpecies,:[COLOR=Red]GIRATINA[/COLOR]) [/COLOR][COLOR=Black]if $game_map.map_id==[COLOR=Red]42[/COLOR] || pokemon.item==[COLOR=Red][COLOR=Black]PBItems::[/COLOR]SPECIALORB[/COLOR] return BitmapCache.load_bitmap( sprintf("Graphics/Battlers/%03d%s%s[COLOR=Red]_a[/COLOR].png",species, pokemon.isShiny? ? "s" : "", back ? "b" : "") ) rescue [/COLOR][COLOR=Black]# Load plain bitmap as usual (see below) end [/COLOR]
The Origin Forme sprites should be named "123_a.png", "123b_a.png", "123s_a.png" and "123sb_a.png" (although with "123" replaced with whatever its index number is). Basically, the extra part is "_a" on the end of all the files.
This is a bit of a hack, though, since the non-item-related change depends only on what map you're currently standing on (acceptable for in battles and in your party, but the Pokédex sprite displayed will change as well depending on this, which you may not want). If you can live with that, then fair enough. If not, there's probably a way to get around it (perhaps copy this def and rename it slightly, then direct the Dex to use the copied def instead, with the copied def not changing the sprite depending on location and what have you).
It destroyed my game.
I'm adding script.
"Destroyed" is the technical name for what happened, yes? No error messages or anything useful?It destroyed my game.
I'm adding script.
Thanks for the vote of confidence. Maybe I won't help you in future.sorry to hear that
Maruno thinks hes so smart, he gave you advise and it ruined your game, i wish i could help you some way but im having that problem myself, i want to put all the alternitive forms of UNOWN, GIRATINA, ARCEUS, SHAYMIN ROTOM and other pokemon i made up
Thank you. It saved my game! Reason of error was trying do origin forme of GIRATINA icon. But I solved it. I needed only add one end."Destroyed" is the technical name for what happened, yes? No error messages or anything useful?
After a bit of testing, I've decided that it wasn't my little script that caused the problem. It was something else you did, namely that you deleted an "end" that should appear between lines 342 and 343 (in the def that loads pokémon icons).
Always make sure every def you modify works properly, otherwise it can cause these kinds of errors.
"Destroyed" is the technical name for what happened, yes? No error messages or anything useful?
After a bit of testing, I've decided that it wasn't my little script that caused the problem. It was something else you did, namely that you deleted an "end" that should appear between lines 342 and 343 (in the def that loads pokémon icons).
Always make sure every def you modify works properly, otherwise it can cause these kinds of errors.
Thanks for the vote of confidence. Maybe I won't help you in future.
Alright, so I'm trying to create a Pokémon Mystery Dungeon style game with the Pokémon battle system. Obviously the first thing I'll need to do is "skip" having the trainer backsprite and just have the first Pokémon in the party. Is this possible?
OW sprites are in spriters-resources.com . Only walking males,females,bosses.Please can someone rip or redirect me to Team Magma and Team Aqua.
Looking forward to that, but while we don't have it, how can I skip the trainer back?
you cant, however, someone made a mystery dungeon game by changing the back and front sprites to the leaders of the rescue team (pikachu checorita and charmand if i remeber correctly)
I know that CrazyNinjaGuy is making a Pokemon Essentails for Mystery Dungeon. Once he finishes that you should use it. The one bad part is that it is for VX.Alright, so I'm trying to create a Pokémon Mystery Dungeon style game with the Pokémon battle system. Obviously the first thing I'll need to do is "skip" having the trainer backsprite and just have the first Pokémon in the party. Is this possible?
Bad being an understatement. When I downloaded it it wouldn't even import stuff, because of an error I think.I know that CrazyNinjaGuy is making a Pokemon Essentails for Mystery Dungeon. Once he finishes that you should use it. The one bad part is that it is for VX.
Do you mean VX, because I don't think he has released the starter kit.Bad being an understatement. When I downloaded it it wouldn't even import stuff, because of an error I think.
I looked there a while ago before the domain expired. When I posted I meant for the XP format. The charsets not the sprite itself.OW sprites are in spriters-resources.com . Only walking males,females,bosses.
EDIT: But domain was expired...
I looked there a while ago before the domain expired. When I posted I meant for the XP format. The charsets not the sprite itself.