• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • 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.

Male/female symbol

Gender icons are handled in numerous locations, so you'll have to replace them all in the locations that they are found. Do a Ctrl+Shift+F search for the gender-based icons (For reference, they are ♂ and ♀) . For an easier search, search in the sections PokeBattle_ActualScene, PokemonParty, and PokemonStorage. After that, look for the lines that say "If ######.gender==0 # Male", then paste the following code under it.

Code:
# Example code - PokeBattle_Actual Scene
if @battler.gender==0 # Male
      imagepos=[([sprintf("Graphics/Pictures/gendermale"),genderX,10,0,0,-1,-1])] # displays an image from the picture folder called "gendermale"
      pbDrawImagePositions(self.bitmap,imagepos)
After that, there should be an elsif statement under it, determining Female gender. The same applies, except you use your female icon instead of the male one. Example code is below.
Code:
    elsif @battler.gender==1 # Female
      imagepos=[([sprintf("Graphics/Pictures/genderfemale"),genderX,10,0,0,-1,-1])] # displays an image from the picture folder called "genderfemale"
      pbDrawImagePositions(self.bitmap,imagepos)
    end
I can't really take credit for this code, my friend LeoModesto is the one who figured it out, I've just been using it in the Touhoumon Essentials Kit as Touhoumon 1.8 uses Yin/Yang orbs for icons instead of Male/Female.
 
Gender icons are handled in numerous locations, so you'll have to replace them all in the locations that they are found. Do a Ctrl+Shift+F search for the gender-based icons (For reference, they are ♂ and ♀) . For an easier search, search in the sections PokeBattle_ActualScene, PokemonParty, and PokemonStorage. After that, look for the lines that say "If ######.gender==0 # Male", then paste the following code under it.

Code:
# Example code - PokeBattle_Actual Scene
if @battler.gender==0 # Male
      imagepos=[([sprintf("Graphics/Pictures/gendermale"),genderX,10,0,0,-1,-1])] # displays an image from the picture folder called "gendermale"
      pbDrawImagePositions(self.bitmap,imagepos)
After that, there should be an elsif statement under it, determining Female gender. The same applies, except you use your female icon instead of the male one. Example code is below.
Code:
    elsif @battler.gender==1 # Female
      imagepos=[([sprintf("Graphics/Pictures/genderfemale"),genderX,10,0,0,-1,-1])] # displays an image from the picture folder called "genderfemale"
      pbDrawImagePositions(self.bitmap,imagepos)
    end
I can't really take credit for this code, my friend LeoModesto is the one who figured it out, I've just been using it in the Touhoumon Essentials Kit as Touhoumon 1.8 uses Yin/Yang orbs for icons instead of Male/Female.



thanks a lot!! but in party and in summary it doesnt work..what should i do?
 
Back
Top