mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-06 07:27:47 +01:00
Merge pull request #1213 from AsparagusEduardo/BE-GlobalDefine
Moved BATTLE_ENGINE define to global.h to fix reading from other bran…
This commit is contained in:
commit
ebaeeb7594
@ -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,12 @@
|
||||
f; \
|
||||
})
|
||||
|
||||
// Branch defines: Used by other branches to detect each other.
|
||||
// Each define must be here for each of RHH's branch you have pulled.
|
||||
// e.g. If you have both the battle_engine and pokemon_expansion branch,
|
||||
// then both BATTLE_ENGINE and POKEMON_EXPANSION must be defined here.
|
||||
#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…
x
Reference in New Issue
Block a user