• 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!
  • 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.

How to make different stats and sprite for different genders

Drayton

Chilled Dude of The Elite Four
  • 1,813
    Posts
    11
    Years
    • He/They/Them
    • Seen Feb 21, 2024
    Firstly, How do you make a sprite appear of opposing gender, say like I want to have a female pokemon with different sprite instead using default one also how to make a new stats for the opposite gender like meowstic for example in essential?
     
    As for sprites, it's fairly easy to make a different sprite for the female - Looking at Pikachu, you can see that there's "025f" and "025fs". One's the sprite for the female, and the other's the sprite for the shiny female. The ones without letters would then become the sprites for the males.

    As for the base stats and movesets, here's the code for the Gen VI Pack's Meowstic:
    Code:
    MultipleForms.register(:MEOWSTIC,{
    "ability"=>proc{|pokemon|
       next if pokemon.gender==0              # Male Meowstic
       if pokemon.abilityflag && pokemon.abilityflag=2
         next getID(PBAbilities,:COMPETITIVE) # Female Meowstic
       end
    },
    "getMoveList"=>proc{|pokemon|
       next if pokemon.gender==0                                # Male Meowstic
       movelist=[]
       case pokemon.gender
         when 1 ; movelist=[[1,:STOREDPOWER],[1,:MEFIRST],[1,:MAGICALLEAF],[1,:SCRATCH],
                            [1,:LEER],[5,:COVET],[9,:CONFUSION],[13,:LIGHTSCREEN],
                            [17,:PSYBEAM],[19,:FAKEOUT],[25,:PSYSHOCK],[28,:CHARGEBEAM],
                            [31,:SHADOWBALL],[35,:EXTRASENSORY],[40,:PSYCHIC],
                            [43,:ROLEPLAY],[45,:SIGNALBEAM],[48,:SUCKERPUNCH],
                            [50,:FUTURESIGHT],[53,:STOREDPOWER]] # Female Meowstic 
       end
       for i in movelist
         i[1]=getConst(PBMoves,i[1])
       end
       next movelist[COLOR="Red"]
    }, # any additional modules you add go after this line.[/COLOR]
    })
    This goes into the Pokemon_MultipleForms script. Note that it's just like any other form change - the difference is that instead of using pokemon.form, you use pokemon.gender, which is 0 for males and 1 for females.

    Abilities and level-up moves aren't the only things you can edit for the different genders - that's just the only differences that Meowstic has. Examples of other modules you can add are:
    Different types:
    Code:
    "type1"=>proc{|pokemon|
       next if pokemon.gender==0              # male
       next getID(PBTypes,:FIRE)  # female
    },
    "type2"=>proc{|pokemon|
       next if pokemon.gender==0              # male
       next getID(PBTypes,:FIRE)  # female
    },

    Base stats:
    Code:
    "getBaseStats"=>proc{|pokemon|
       next if pokemon.gender==0                 # male
       next [50, 180, 20, 150, 180, 20] # female
       # HP, Attack, Defense, Speed, SpAtk, SpDef
    },

    The EVs gained by defeating them:
    Code:
    "evYield"=>proc{|pokemon|
       next if pokemon.gender==0      # male
       next [0,2,0,0,1,0] # female
       # Like before: HP, Attack, Defense, Speed, SpAtk, SpDef
    },

    Weight (which actually has some strategic uses thanks to moves like Grass Knot) :
    Code:
    "weight"=>proc{|pokemon|
       next if pokemon.gender==0 # male
       next 6500               # female
    },

    The held items that they can have in the wild:
    Code:
    "wildHoldItems"=>proc{|pokemon|
       next if pokemon.gender==0                 # male
       next [0,getID(PBItems,:DEEPSEASCALE),0] # female
    },

    Height (though unlike weight this actually has no strategic use) :
    Code:
    "height"=>proc{|pokemon|
       next 65 if pokemon.gender==1  # female
       next
    },
     
    Last edited:
    Back
    Top