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

[Scripting Question] Foe Party balls staying in battle

  • 23
    Posts
    8
    Years
    • Seen Apr 4, 2018
    Hello, I want to make the opponent trainer's party balls stay throughout the battle. Which part of the script should I change for that? I have tried a lot but couldn't find the right place to stop it sliding off screen..
     
    Last edited by a moderator:
  • 129
    Posts
    8
    Years
    • Seen Mar 23, 2023
    In the PokeBattle_Scene is the animation class TrainerFadeAnimation. Play around with the sprites it manipulates:

    Code:
        @sprites["partybarfoe"].x+=8
        @sprites["partybarfoe"].opacity-=12
        for i in 0...6
          @sprites["enemy#{i}"].opacity-=12
          @sprites["enemy#{i}"].x+=8 if @frame>=i*4
        end
     
  • 23
    Posts
    8
    Years
    • Seen Apr 4, 2018
    OK I've managed to keep it throughout the battle but they don't update after every round(which means after a pokemon is knocked out, the ball sprites won't change). Is there a way to do that?
     
    Back
    Top