Update MoveFlagExists

This commit is contained in:
DizzyEggg 2025-03-17 22:53:54 +01:00 committed by GitHub
parent 50733542f2
commit 41c1e0c602
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)