diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-28 20:57:06 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-03-10 22:32:17 -0500 |
commit | 91c0a142ccf4783c65aecdd75a4faed33edf3ed6 (patch) | |
tree | b0bfeddb426b59d995d6ac75f0e7aa046723843f /src/status_checks_1.c | |
parent | 17a6ab37944e3cc9fc98ee93262bd4385bf4e626 (diff) |
Decomped HasLastUsedMove()
Diffstat (limited to 'src/status_checks_1.c')
-rw-r--r-- | src/status_checks_1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/status_checks_1.c b/src/status_checks_1.c index c49e127..7070acd 100644 --- a/src/status_checks_1.c +++ b/src/status_checks_1.c @@ -28,7 +28,7 @@ bool8 HasNegativeStatus(struct DungeonEntity *pokemon) for (i = 0; i < MAX_MON_MOVES; i++) { struct PokemonMove *moves = pokemonData->moves; - if (moves[i].moveFlags & MOVE_FLAG_EXISTS && moves[i].sealed & TRUE) + if (moves[i].moveFlags & MOVE_FLAG_EXISTS && moves[i].moveFlags2 & MOVE_FLAG_SEALED) { return TRUE; } |