summaryrefslogtreecommitdiff
path: root/include/constants/battle.h
diff options
context:
space:
mode:
authorKurausukun <lord.uber1@gmail.com>2020-10-23 20:47:10 -0400
committerKurausukun <lord.uber1@gmail.com>2020-10-23 20:47:10 -0400
commit90211248af2f02aa696b38fbf77ddfd2d2950312 (patch)
treeb1ce12bab66495bfc8fcd6ad1e53683bb615d572 /include/constants/battle.h
parent64ba8c806111ab6baa6bde485f64925c07378f89 (diff)
re-match Cmd_unknown_24 (from #1140)
changes to data structs are necessary. other things that look unnecessary, like the order of operands, are also necessary. fuck this function.
Diffstat (limited to 'include/constants/battle.h')
-rw-r--r--include/constants/battle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/constants/battle.h b/include/constants/battle.h
index 8b860e384..fa8f422c4 100644
--- a/include/constants/battle.h
+++ b/include/constants/battle.h
@@ -186,7 +186,7 @@
#define HITMARKER_x4000000 (1 << 26)
#define HITMARKER_CHARGING (1 << 27)
#define HITMARKER_FAINTED(battler) (gBitTable[battler] << 28)
-#define HITMARKER_FAINTED2(battler) (1 << (28 + battler))
+#define HITMARKER_FAINTED2(battler) ((1 << 28) << battler)
// Per-side statuses that affect an entire party
#define SIDE_STATUS_REFLECT (1 << 0)