• 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!
  • 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.

[Scripting Question] Repositioning elements of the Pokédex menu

yonicstudios

Game Developer
  • 51
    Posts
    9
    Years
    I'm customizing the look of the Pokédex from Pokémon Essentials 16.2, but I'm running into a couple of problems with the positioning of certain elements, as I can't see where exactly in the script PScreen_Pokedex the elements are being positioned. This is the Pokédex screen with the original positioning:

    [PokeCommunity.com] Repositioning elements of the Pokédex menu


    As you may see, I've changed the selection rectangle from the original graphic to a selection arrow, but upon repositioning it so that it ends up on the right side of the list of entries, it turns out to become "masked" and is invisible after reaching the edge of the dexlist.

    I changed the arrow's position by editing the line 147 of PScreen_Pokedex like so:

    Code:
    pbCopyBitmap(self.contents,selarrow.bitmap,rect.x+225,rect.y)
    I tried to make the sprite "pokedex" a little bit wider, but I don't see any changes.

    Where in the code can I change the offset of the texts and other graphical elements that make up the Pokédex? And is it possible to somehow 'detach' the arrow cursor so that it ends up dispayed outside the limits of the dexlist?
     
    Back
    Top