Moved ITEM_EXPANSION define to global.h to fix reading from other branches like Battle Engine

This commit is contained in:
Eduardo Quezada D'Ottone 2020-11-09 12:29:12 -03:00
parent d00f485ebf
commit b4cf674fa1
2 changed files with 4 additions and 3 deletions

View File

@ -1,9 +1,6 @@
#ifndef GUARD_CONSTANTS_ITEM_CONFIG_H
#define GUARD_CONSTANTS_ITEM_CONFIG_H
// Used by other branches to communicate with each other.
#define ITEM_EXPANSION
#ifndef GEN_3
#define GEN_3 0
#define GEN_4 1

View File

@ -117,6 +117,10 @@
#define DEX_FLAGS_NO (ROUND_BITS_TO_BYTES(NUM_SPECIES))
#define NUM_FLAG_BYTES (ROUND_BITS_TO_BYTES(FLAGS_COUNT))
// Branch defines:
// Used by other branches to detect each other.
#define ITEM_EXPANSION
struct Coords8
{
s8 x;