The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Script Different events based on player's gender? (https://www.pokecommunity.com/showthread.php?t=383695)

RoadToCerulean November 21st, 2016 4:34 AM

Different events based on player's gender?
 
How to make the same NPC speak and act differently depending on the player's gender?
For example, when the player tries to enter a building when he/she encounters a guard, if the player is male, the guard says "I have to check you", and walks around the player as if bodychecking. If the player is female, the guard will otherwise say "OK, you can go", and step aside.

Froosty November 21st, 2016 4:57 AM

You will have to just use a command in script...
Checkgender... in xse you can see details about this command...
And then create conditions for both the cases and set events for them accordingly... :)

Sliter November 27th, 2016 5:16 PM

I noticed in Spanish sun and moon (demo) text, there are a code that change the last letter on a word if the character is male or female .. I don't know if can be used for more than this and if it's available in another gens or outside Spanish game .. but if it's there possibility is portable to the english game XD
(If you know how to in Platinum please help me there :v hahah )


All times are GMT -8. The time now is 9:18 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 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 generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.