mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-24 16:29:27 +02:00
Apply negative to constant
This commit is contained in:
parent
8f979578e7
commit
702b70afa1
@ -128,7 +128,7 @@ export class FaintPhase extends PokemonPhase {
|
|||||||
|
|
||||||
pokemon.faintCry(() => {
|
pokemon.faintCry(() => {
|
||||||
if (pokemon instanceof PlayerPokemon) {
|
if (pokemon instanceof PlayerPokemon) {
|
||||||
pokemon.addFriendship(FRIENDSHIP_LOSS_FROM_FAINT);
|
pokemon.addFriendship(-FRIENDSHIP_LOSS_FROM_FAINT);
|
||||||
}
|
}
|
||||||
pokemon.hideInfo();
|
pokemon.hideInfo();
|
||||||
this.scene.playSound("se/faint");
|
this.scene.playSound("se/faint");
|
||||||
|
Loading…
Reference in New Issue
Block a user