The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Pokémon Essentials
Register New Account FAQ/Rules Chat Blogs Mark Forums Read

Notices

Pokémon Essentials All questions and discussion about Pokémon Essentials, the Pokémon game kit for RPG Maker XP, go in here. Also contains links to the latest downloads and the Essentials Wiki.



Reply
Thread Tools
  #1  
Unread January 1st, 2013, 10:51 PM
p.claydon
Smoochum
 
Join Date: Jan 2011
hiya is it possible to have an evolution method that depends on a different pokémon being in the party but after the evolution that pokémon is removed? eg slowpoke needs a shelder but when evolves into slowbro the shelder is removed

if its possible how would you go about coding the evo type
Reply With Quote
  #2  
Unread January 1st, 2013, 11:02 PM
elarmasecreta's Avatar
elarmasecreta
'Bout time I changed things XD
 
Join Date: Dec 2009
Location: The Hague
Age: 20
Gender: Male
Nature: Jolly
This shouldn't be that hard to implement... Just look at the current code that allows a Pokemon to evolve by level up, copy that, and add an "if" statement checking whether a specific Pokemon is in your party.
__________________
Reply With Quote
  #3  
Unread January 1st, 2013, 11:04 PM
p.claydon
Smoochum
 
Join Date: Jan 2011
i think ive done it in a previous version that checks if a species is in the party but cant seam to get it to remove the required pokémon after the evolution
Reply With Quote
  #4  
Unread January 2nd, 2013, 12:50 AM
Maruno's Avatar
Maruno
Lead Dev of Pokémon Essentials
 
Join Date: Jan 2008
Location: England
Gender: Male
It's a mixture of Mantyke's evolution (number 21) and a held item-based evolution (numbers 6/18/19).

In def pbMiniCheckEvolution, do a copy of method 21. In def pbEvolution, look for where Shedinja and the held item-based evolutions are mentioned, and add something similar which will look for and delete the first Shellder in the party (if your new method is used, obviously).

This will restrict your new evolution method to just one checked-for species (i.e. Shellder). You couldn't use the same method for both Slowpoke and Beldum, for example, because they would each need to delete a different Pokémon species. You could certainly add more code to allow for a one-method-fits-all, but it's easier to just make another evolution method for Beldum instead. Assuming you're using this method for more than one species, of course.



It strikes me that this method is extremely unfair, though. The player loses a Pokémon without warning, and without indication of which Pokémon is being deleted. There might also be an issue of the deleted Pokémon being your only remaining unfainted Pokémon, but you probably don't have to worry about that.

Personally, I would go for a different method and allow fishing with Slowpoke. If the hooked Pokémon is a Shellder (and optionally if Slowpoke is level 37 or higher), cause an evolution instead of a battle. It's more complicated to do, but much more fair.
__________________
Reply With Quote
  #5  
Unread January 2nd, 2013, 10:33 AM
p.claydon
Smoochum
 
Join Date: Jan 2011
that sounds more acceptable to be honest but also sounds much harder may look into it
Reply With Quote
  #6  
Unread January 14th, 2013, 03:32 PM
p.claydon
Smoochum
 
Join Date: Jan 2011
ok having no luck getting this working any suggestions?
Reply With Quote
Reply
Quick Reply

Sponsored Links


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are UTC. The time now is 12:06 PM.


Style by Perdition Haze, artwork by Sa-Dui.
Like our Facebook Page Follow us on TwitterMessage Board Statistics | © 2002 - 2013 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2013 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User posts belong to the user.