add FLAG_ID_MAKE macros to all flag function calls

This commit is contained in:
Rainchus 2024-07-15 13:27:19 -05:00
parent 38085a347f
commit db89eb87be
32 changed files with 158 additions and 145 deletions

View file

@ -3,6 +3,8 @@
#include "dolphin.h"
#define GW_PLAYER_MAX 4
void GWInit(void);
void GWGameStatReset(void);
s32 GWMessSpeedGet(void);

View file

@ -311,7 +311,7 @@ static inline s16 GWPlayerCoinWinGet(s32 player)
static inline void GWPlayerCoinWinSet(s32 player, s16 value)
{
if (_CheckFlag(0x1000C) == 0) {
if (_CheckFlag(FLAG_ID_MAKE(1, 12)) == 0) {
GWPlayer[player].coin_win = value;
}
}