• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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.

[Scripting Question] How to create forms based on the Pokémon's gender?

How would I create a Pokémon that has a significant amount of gender differences other than just a sprite change?
Height, Weight, Move Pool, etc..

After a bit of trial and error the closets I have managed to get it to give the Pokémon 2 forms and try to make 1 Male only and the other all Female, and even then I have sorta hit a wall.

I have tried to go into the Pokémonforms section and make a check if form==1 then gender=1 and the other way around, but I either get the game to crash with a message saying the stack is too deep, or the game generates the 2 forms, but doesn't change the gender allowing both forms to be male and female.


Edit: I feel so dumb right now, isMale? and isFemale? did exactly what I was looking for.
Example here: https://www.pokecommunity.com/posts/10046591
 
Last edited:
Back
Top