PokéRogue
    Preparing search index...

    Function fillInRemainingMovesetSlots

    • Fill in the remaining slots in the Pokémon's moveset from the provided pools

      Parameters

      • pokemon: Pokemon

        The Pokémon for which the moveset is being generated

      • tmPool: Map<MoveId, number>

        The TM move pool

      • eggMovePool: Map<MoveId, number>

        The egg move pool

      • tmCount: NumberHolder

        A holder for the count of moves that have been added to the moveset from TMs

      • eggMoveCount: NumberHolder

        A holder for the count of moves that have been added to the moveset from egg moves

      • baseWeights: Map<MoveId, number>

        The base weights of all moves in the master pool

      • remainingPool: [id: MoveId, weight: number][]

        The remaining move pool to select from

      Returns void