summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/constants/battle.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/constants/battle.h b/include/constants/battle.h
index 93dafd12c..8b860e384 100644
--- a/include/constants/battle.h
+++ b/include/constants/battle.h
@@ -90,7 +90,7 @@
#define B_OUTCOME_NO_SAFARI_BALLS 8
#define B_OUTCOME_FORFEITED 9
#define B_OUTCOME_MON_TELEPORTED 10
-#define B_OUTCOME_LINK_BATTLE_RAN 128
+#define B_OUTCOME_LINK_BATTLE_RAN (1 << 7) // 128
// Non-volatile status conditions
// These persist remain outside of battle and after switching out
@@ -287,8 +287,8 @@
#define MOVE_EFFECT_SP_ATK_TWO_DOWN 59
#define NUM_MOVE_EFFECTS 60
-#define MOVE_EFFECT_AFFECTS_USER 64
-#define MOVE_EFFECT_CERTAIN 128
+#define MOVE_EFFECT_AFFECTS_USER (1 << 6) // 64
+#define MOVE_EFFECT_CERTAIN (1 << 7) // 128
// Battle terrain defines for gBattleTerrain.
#define BATTLE_TERRAIN_GRASS 0