• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

[Other] Small question about givepokemon script

  • 6
    Posts
    10
    Years
    Hi, I'm slowly learning about hacking Pokémon ROMs. When looking at scripting tutorials, I noticed that, when talking about the givepokemon script, the authors only talked about species, level and held item of a Pokémon - the last three parameters should be left as 0x0.

    But what if I want to specify gender, or nature, or ability, or even a set of IVs when using a givepokemon script? For example, what if I want to replicate the Lucario given by Korrina, which is Hasty with Speed IV 31? Or what if I want to have a character give an always-female Eevee with Anticipation (its Hidden Ability)?

    EDIT: ah, and thanks beforehand for anything :)
     
    Last edited:
    Hi, I'm slowly learning about hacking Pokémon ROMs. When looking at scripting tutorials, I noticed that, when talking about the givepokemon script, the authors only talked about species, level and held item of a Pokémon - the last three parameters should be left as 0x0.

    But what if I want to specify gender, or nature, or ability, or even a set of IVs when using a givepokemon script? For example, what if I want to replicate the Lucario given by Korrina, which is Hasty with Speed IV 31? Or what if I want to have a character give an always-female Eevee with Anticipation (its Hidden Ability)?

    EDIT: ah, and thanks beforehand for anything :)

    I'm not really sure, but I guess you can try to find the offset for the natures/gender, etc, then WBTO it. Again not sure if that will work, but worth a try.
     
    Hi, I'm slowly learning about hacking Pokémon ROMs. When looking at scripting tutorials, I noticed that, when talking about the givepokemon script, the authors only talked about species, level and held item of a Pokémon - the last three parameters should be left as 0x0.

    But what if I want to specify gender, or nature, or ability, or even a set of IVs when using a givepokemon script? For example, what if I want to replicate the Lucario given by Korrina, which is Hasty with Speed IV 31? Or what if I want to have a character give an always-female Eevee with Anticipation (its Hidden Ability)?

    EDIT: ah, and thanks beforehand for anything :)

    The last three parameters can be anything, they are discarded. You'd need ASM to give them your effect, like I did with my pokeball hack.
     
    Back
    Top