• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

Changing number of Pokémon per box

  • 312
    Posts
    17
    Years
    • Seen Jul 16, 2023
    At present, each box in Someone's PC holds 30 Pokémon in a 6x5 grid - I've looked on the wiki but the method there is a little outdated as there is nothing to update on the lines it says to replace. I've changed maxpokemon from 30 to the number I want (20), but it still displays 30.

    Any help would be much appreciated!
     
    Ctrl+F at "30" at "PokemonStorage" scripts. Try to change some of these to "20".

    Attention at this part: (the 5 and 6 numbers):
    Code:
        yval=self.y+30
        for j in 0...5
          xval=self.x+10
          for k in 0...6
            sprite=@pokemonsprites[j*6+k]
            if sprite && !sprite.disposed?
              sprite.viewport=self.viewport
              sprite.z=0
              sprite.x=xval
              sprite.y=yval
            end
            xval+=48
          end
          yval+=48
        end
     
    Back
    Top