PokéRogue
    Preparing search index...

    Function sortInSpeedOrder

    • Sorts an array of Pokemon by speed, taking Trick Room into account.

      Type Parameters

      Parameters

      • pokemonList: T[]

        The list of Pokemon or objects containing Pokemon

      Returns T[]

      The sorted array of Pokemon