diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-12-22 16:12:27 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-22 16:12:27 -0600 |
commit | ebbe826133661d3faabc17f9167fa565b405514a (patch) | |
tree | 52687e79258567b4d88c184b6692e035d0ff3e14 /src/field_poison.c | |
parent | 87fd6b8dc21b37b656f16e3f11832c6951328750 (diff) | |
parent | c805bab48324f946845e1f81002035e4bdb07e62 (diff) |
Merge pull request #437 from DizzyEggg/storage
Pokemon Storage System
Diffstat (limited to 'src/field_poison.c')
-rw-r--r-- | src/field_poison.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/field_poison.c b/src/field_poison.c index 7aaab902f..fac17dea9 100644 --- a/src/field_poison.c +++ b/src/field_poison.c @@ -122,7 +122,7 @@ s32 DoPoisonFieldEffect(void) u32 numFainted = 0; for (i = 0; i < PARTY_SIZE; i++) { - if (GetMonData(pokemon, MON_DATA_SANITY_BIT2) && pokemon_ailments_get_primary(GetMonData(pokemon, MON_DATA_STATUS)) == AILMENT_PSN) + if (GetMonData(pokemon, MON_DATA_SANITY_HAS_SPECIES) && pokemon_ailments_get_primary(GetMonData(pokemon, MON_DATA_STATUS)) == AILMENT_PSN) { hp = GetMonData(pokemon, MON_DATA_HP); if (hp == 0 || --hp == 0) |