PokéRogue
    Preparing search index...

    Function customDevFunction

    • Custom function that can be used in the dev environment to help testing without having to use the debugger or make temporary code changes. Default Button mapping is Q, but can be changed in the keyboard settings.

      Returns Promise<void>

        const playerPokemon = globalScene.getPlayerPokemon();
      if (playerPokemon) {
      playerPokemon.hp = 1;
      }

      This file should NOT be committed and only used for temporary testing purposes.