• Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Starter "heart", Mega stone and Z-crystal graphics in the party screen

Starter "heart", Mega stone and Z-crystal graphics in the party screen 1

Pokémon Essentials Version
v17.2 ➖
How does it work?!
You can make any Pokémon have a "special" flag through code. If the Pokémon is detected to have such special trait in them, then it will display that pink heart in the Party screen.

Additionally, if the Pokémon is holding a Mega Stone or a Z-Crystal, it will display a particular graphic instead of the default item sprite (the yellow and orange rectangle).



Show me the goods!
zcoMyh1.png


p44WzoJ.png

Animated (the heart stays in place):
2018-12-02_12-03-42.gif


Alright. Tell me what to do.
Paste these two Pastebins as new script sections above Main. They will replace "PokeBattle_Pokemon" and "PScreen_Party".
Pastebin (PokeBattle_Pokemon)
Pastebin (PScreen_Party)
Download these three files and place them in your Graphics/Pictures/Party/ folder. Give them the following names:
"icon_heart"
TwUCZhQ.png

"icon_mega"
tHYxZSH.png

"icon_z_crystal"
jCm74SU.png


If you want to port the individual changes, use a Text-Compare tool like text-compare.com. I chose to just include these because most people won't be making their own edits to those script sections, and to make it easier to use. The truth is the code itself has very few changes, so if you want to individually port those, it'll be easy, when you compare the pastebins above with the ones from default Essentials.

That's it folks. That should be all. Oh but wait!

How do I make a Pokémon be "special"?
You just edit it before or after giving it to the player. For example, if you want to give the player a special Ditto, you will edit it like this:
Code:
p=PokeBattle_Pokemon.new(:DITTO,10,
$Trainer)
p.setItem(:QUICKPOWDER)
p.special=true # This makes it special!
p.form=1
p.makeNotShiny
p.calcStats
Kernel.pbAddPokemon(p)

If this isn't done from a new save file, you'll encounter errors as the Pokémon previous to adding this code won't "acknowledge" the existance of this "special" flag. Because of this, I recommend you make a new save file. You could replace step iii with an existing value, like "form=9" and give the Pokémon you want that 9th form as a lazy workaround.
[/SPOILER]

Note: To use Z-Crystals, you'll need to be using Amethyst's Z-Move Addon.

When the Pokémon is holding a Mega Stone (not including Red Orb and Blue Orb), the Mega Stone picture will be used instead of the normal item one.

When the Z-Move Addon is used, you need to comment the bits that say "# Uncomment this part if using Amethyst's Z-Move add-on". There's about 3 of them. The game will then use the Z-Crystal sprite when it's holding a Z-Crystal.

Okay. Now we're done. For now.
Credits
LGPE and USUM graphics taken from Bulbapedia.
h7zpBm0.png

Please credit if used to:
Mr. Gela


Please do not redistribute this anywhere resource anywhere else. If you wish to share this, link to this site.

xa1A2iB.png

Por favor da créditos si lo utilizas a:
Mr. Gela


Por favor no redistribuyas este recurso en ningún otro lugar. Si quieres compartir esto, utiliza un enlace a este sitio.
Author
Mr. Gela
Views
3,050
First release
Last update
Rating
5.00 star(s) 1 ratings

More resources from Mr. Gela

Latest updates

  1. V2.1

    Made the instructions more straight-forward and completely plug and play.
  2. Support for Mega Stone and Z-Crystal sprites in the party screen

    V2 is out! What does this do? It adds support for a Mega Stone and Z-Crystal sprite, which...

Latest reviews

This is very cool creation!
Thanks for create this!
Back
Top