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.
Q
const playerPokemon = globalScene.getPlayerPokemon(); if (playerPokemon) { playerPokemon.hp = 1; } Copy
const playerPokemon = globalScene.getPlayerPokemon(); if (playerPokemon) { playerPokemon.hp = 1; }
This file should NOT be committed and only used for temporary testing purposes.
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.