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

Repositioning all 500+ sprites

  • 6
    Posts
    12
    Years
    This may not seem important, but I couldn't find it anywhere. I need to reposition EVERY SINGLE POKEMON in the ENTIRE GAME, help? Or at least a script that changes the auto-positioning.
     
    mustafa is not very specific, there's a lot of coordinates in there.

    Code:
    # Coordinates of the centre bottom of the player's battler's sprite
      # Is also the centre middle of its shadow
      [COLOR="red"]PLAYERBATTLER_X   = 128
      PLAYERBATTLER_Y   = SCREEN_HEIGHT_BATTLE - 80[/COLOR]
      PLAYERBATTLERD1_X = PLAYERBATTLER_X - 48
      PLAYERBATTLERD1_Y = PLAYERBATTLER_Y
      PLAYERBATTLERD2_X = PLAYERBATTLER_X + 32
      PLAYERBATTLERD2_Y = PLAYERBATTLER_Y + 16
    
      # Coordinates of the centre bottom of the foe's battler's sprite
      # Is also the centre middle of its shadow
      [COLOR="Red"]FOEBATTLER_X      = Graphics.width - 128
      FOEBATTLER_Y      = (SCREEN_HEIGHT_BATTLE * 3/4) - 112[/COLOR]
      FOEBATTLERD1_X    = FOEBATTLER_X + 48
      FOEBATTLERD1_Y    = FOEBATTLER_Y
      FOEBATTLERD2_X    = FOEBATTLER_X - 32
      FOEBATTLERD2_Y    = FOEBATTLER_Y - 16

    The red lines are the ones you want to change. These are the positions of your trainer and player sprites, and your battler sprites are set to match (the centers of them).
     
    I'm using the X and Y animated sprites pack with this and I get an error at line 103.

    Some sprites were fine and some were off, btw.

    No one knows what's in your scripts. You didn't even say which section. If you get an error, post the error report and the method or whatever that contains that line (highlight which one 103 is). If some are off, you can manually adjust their y values in the pokemon.txt .
     
    No one knows what's in your scripts. You didn't even say which section. If you get an error, post the error report and the method or whatever that contains that line (highlight which one 103 is). If some are off, you can manually adjust their y values in the pokemon.txt .

    mej come on man lighten up.

    Obviously my error is in this section, and thanks for the tip about y values in pokemon.txt

    I've also been using the editor but that takes forever.
     
    Back
    Top