Removed pointless macro
This commit is contained in:
+1
-2
@@ -13,9 +13,8 @@
|
|||||||
#include "battle_bg.h"
|
#include "battle_bg.h"
|
||||||
#include "pokeball.h"
|
#include "pokeball.h"
|
||||||
|
|
||||||
#define GET_BATTLER_POSITION(battler) (gBattlerPositions[battler])
|
|
||||||
#define GET_BATTLER_SIDE(battler) (GetBattlerPosition(battler) & BIT_SIDE)
|
#define GET_BATTLER_SIDE(battler) (GetBattlerPosition(battler) & BIT_SIDE)
|
||||||
#define GET_BATTLER_SIDE2(battler) (GET_BATTLER_POSITION(battler) & BIT_SIDE)
|
#define GET_BATTLER_SIDE2(battler) (gBattlerPositions[battler] & BIT_SIDE)
|
||||||
|
|
||||||
// Used to exclude moves learned temporarily by Transform or Mimic
|
// Used to exclude moves learned temporarily by Transform or Mimic
|
||||||
#define MOVE_IS_PERMANENT(battler, moveSlot) \
|
#define MOVE_IS_PERMANENT(battler, moveSlot) \
|
||||||
|
|||||||
@@ -857,7 +857,7 @@ u8 GetBattlerSide(u8 battlerId)
|
|||||||
|
|
||||||
u8 GetBattlerPosition(u8 battlerId)
|
u8 GetBattlerPosition(u8 battlerId)
|
||||||
{
|
{
|
||||||
return GET_BATTLER_POSITION(battlerId);
|
return gBattlerPositions[battlerId];
|
||||||
}
|
}
|
||||||
|
|
||||||
u8 GetBattlerAtPosition(u8 position)
|
u8 GetBattlerAtPosition(u8 position)
|
||||||
|
|||||||
Reference in New Issue
Block a user