Match battle script commands by correcting a function and the pokemon struct

This commit is contained in:
PokeCodec
2020-08-16 13:14:35 -04:00
parent 52bada97cd
commit e27975afaa
3 changed files with 25 additions and 321 deletions

View File

@@ -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)