pokemon-rogue-battle
    Preparing search index...

    Function getIvsFromId

    • Generates IVs from a given id by extracting 5 bits at a time starting from the least significant bit up to the 30th most significant bit.

      Parameters

      • id: number

        32-bit number

      Returns number[]

      An array of six numbers corresponding to 5-bit chunks from id