From 91c0a142ccf4783c65aecdd75a4faed33edf3ed6 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Mon, 28 Feb 2022 20:57:06 -0500 Subject: Decomped HasLastUsedMove() --- src/status_checks_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/status_checks_1.c') 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; } -- cgit v1.2.3