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

Checking if you're in a battle

772
Posts
13
Years
  • Is there a way to check if your currently in a battle, i have the pokemon following script installed and when pressing the alt key (i changed it from ctrl) during a battle i get an error message, works fine in the field

    The code that calls it is
    Code:
    if trigger?(Input::ALT) # Added Toggle Following Pokemon
          pbToggleFollowingPokemon
        end
     
    26
    Posts
    13
    Years
  • Is there a way to check if your currently in a battle, i have the pokemon following script installed and when pressing the alt key (i changed it from ctrl) during a battle i get an error message, works fine in the field

    The code that calls it is
    Code:
    if trigger?(Input::ALT) # Added Toggle Following Pokemon
          pbToggleFollowingPokemon
        end

    If you put the code in the SceneMap section it should work fine.
     
    Back
    Top