mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-22 07:19:28 +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(() => {
|
||||
if (pokemon instanceof PlayerPokemon) {
|
||||
pokemon.addFriendship(FRIENDSHIP_LOSS_FROM_FAINT);
|
||||
pokemon.addFriendship(-FRIENDSHIP_LOSS_FROM_FAINT);
|
||||
}
|
||||
pokemon.hideInfo();
|
||||
this.scene.playSound("se/faint");
|
||||
|
Loading…
Reference in New Issue
Block a user