View Single Post
Old August 3rd, 2008 (6:47 AM). Edited August 3rd, 2008 by partyghoul2000.
partyghoul2000's Avatar
partyghoul2000 partyghoul2000 is offline
Intermediate Game Designer
    Join Date: Jan 2006
    Location: USA
    Age: 30
    Gender: Male
    Nature: Calm
    Posts: 175
    Originally Posted by Lorem Ipsum View Post
    The IVs and EVs question:

    To define a Pokémon's IVs or EVs, you would use the following type of statement.

    pokemon[0].iv[0] for IVs, and pokemon[0].ev[0] for EVs.

    Substitute the first 0 in brackets to reflect the Pokémon number in your party (note, 0 is the first one, 5 is the last one). Then, substitute the second 0 to reflect the IV or EV you want to change (0=HP, 1=Attack, 2=Defence, 3=Sp. Atk, 4=Sp. Def, 5=Speed).

    So, if I wanted to change the defence IV of the third Pokémon in my party to 31, then I would simply use this statement.

    the way you specified is for a pokemon in your party, i was talking about post-capture stat changing, but this does give me insight as to what it might be. for ex. pokemon.iv[2]=31, i know it's not much difference, but im trying to adapt it for the pokeball scripts.

    i also forgot to mention last night about day, night and location captures. how would these variables be called for a capture rate boost for a ball? i was gonna ask in my last post, but i completely forgot about it. >.<

    Check out my Super Gothic Bros hack here.
    My ripped pokemon music in MP3 format can be found here.
    My custom battle animations and whatnot can be found here.
    Credit is expected, if used.