• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Health Bar

971
Posts
7
Years
    • Age 21
    • Seen Nov 28, 2022
    Assuming you mean the whole box (name, level, gender, exp), go into the PokeBattle_SceneConstants script section and find this piece of code (lines 19 - 25 in a clean project if I'm not mistaken)
    Code:
      # Coordinates of the top left of the player's data boxes
      PLAYERBOX_X   = Graphics.width - 244 # box itself
      PLAYERBOX_Y   = Graphics.height - 192 # box itself
      PLAYERBOXD1_X = PLAYERBOX_X - 12
      PLAYERBOXD1_Y = PLAYERBOX_Y - 20
      PLAYERBOXD2_X = PLAYERBOX_X
      PLAYERBOXD2_Y = PLAYERBOX_Y + 34

    PLAYERBOX_X/Y is the databox location in a normal single battle.

    In double battles, PLAYERBOXD1_X/Y is for the first Pokémon, and PLAYERBOXD2_X/Y is for the second Pokémon. Just play with those values until you're happy.
     
    Back
    Top