Moved BATTLE_ENGINE define to global.h to fix reading from other branches
This commit is contained in:
parent
8e30647ca1
commit
df4d927e31
2 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,6 @@
|
|||
#ifndef GUARD_CONSTANTS_BATTLE_CONFIG_H
|
||||
#define GUARD_CONSTANTS_BATTLE_CONFIG_H
|
||||
|
||||
#define BATTLE_ENGINE
|
||||
|
||||
// Species with peculiar battle effects.
|
||||
#ifndef POKEMON_EXPANSION
|
||||
#define SPECIES_DIALGA 0
|
||||
|
|
|
@ -118,6 +118,10 @@
|
|||
f; \
|
||||
})
|
||||
|
||||
// Branch defines:
|
||||
// Used by other branches to detect each other.
|
||||
#define BATTLE_ENGINE
|
||||
|
||||
#define ROUND_BITS_TO_BYTES(numBits)(((numBits) / 8) + (((numBits) % 8) ? 1 : 0))
|
||||
|
||||
#define DEX_FLAGS_NO (ROUND_BITS_TO_BYTES(NUM_SPECIES))
|
||||
|
|
Loading…
Reference in a new issue