From b8dab587abddb6b635fbf89153016fdcf4b33600 Mon Sep 17 00:00:00 2001 From: psf <77138753+pkmnsnfrn@users.noreply.github.com> Date: Wed, 7 Aug 2024 14:32:36 -0700 Subject: [PATCH] Update include/battle.h Co-authored-by: Bassoonian --- include/battle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/battle.h b/include/battle.h index a1007385b7..fdc9575b24 100644 --- a/include/battle.h +++ b/include/battle.h @@ -832,8 +832,8 @@ STATIC_ASSERT(sizeof(((struct BattleStruct *)0)->palaceFlags) * 8 >= MAX_BATTLER #define IS_BATTLER_OF_BASE_TYPE(battlerId, type)((GetBattlerType(battlerId, 0, TRUE) == type || GetBattlerType(battlerId, 1, TRUE) == type || (GetBattlerType(battlerId, 2, TRUE) != TYPE_MYSTERY && GetBattlerType(battlerId, 2, TRUE) == type))) #define IS_BATTLER_TYPELESS(battlerId)(GetBattlerType(battlerId, 0, FALSE) == TYPE_MYSTERY && GetBattlerType(battlerId, 1, FALSE) == TYPE_MYSTERY && GetBattlerType(battlerId, 2, FALSE) == TYPE_MYSTERY) -#define SET_BATTLER_TYPE(battlerId, type) \ -{ \ +#define SET_BATTLER_TYPE(battlerId, type) \ +{ \ gBattleMons[battlerId].types[0] = type; \ gBattleMons[battlerId].types[1] = type; \ gBattleMons[battlerId].types[2] = TYPE_MYSTERY; \