mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-04-26 02:14:22 -05:00
fix: IsDoubleBattle() return value (#9012)
This commit is contained in:
parent
89da62b02d
commit
12970602ce
|
|
@ -1210,7 +1210,7 @@ static inline struct PartyState *GetBattlerPartyState(u32 battler)
|
|||
|
||||
static inline bool32 IsDoubleBattle(void)
|
||||
{
|
||||
return (gBattleTypeFlags & BATTLE_TYPE_MORE_THAN_TWO_BATTLERS);
|
||||
return !!(gBattleTypeFlags & BATTLE_TYPE_MORE_THAN_TWO_BATTLERS);
|
||||
}
|
||||
|
||||
static inline bool32 IsSpreadMove(u32 moveTarget)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user