From 41c1e0c6027f5165802e300e4fcbebbd21587782 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Mon, 17 Mar 2025 22:53:54 +0100 Subject: [PATCH] Update MoveFlagExists --- include/moves.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/moves.h b/include/moves.h index 300209c7b..c995b2884 100644 --- a/include/moves.h +++ b/include/moves.h @@ -91,7 +91,7 @@ void ReadPoke2MovesBits(DataSerializer *, struct Moves *); static inline bool8 MoveFlagExists(Move *move) { - return (move->moveFlags & MOVE_FLAG_EXISTS); + return (move->moveFlags & MOVE_FLAG_EXISTS) != 0; } static inline bool8 MoveFlagSet(Move *move)