summaryrefslogtreecommitdiff
path: root/src/pokemon.c
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-10-28 12:16:01 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2019-10-28 12:16:01 -0400
commite9cf9fc104ceedd50330af6b22c6e896e85930e1 (patch)
tree270d92bcacc8521c8ce8d7495591e45ff743a3ba /src/pokemon.c
parenta5ff9f2d00fbcc6bc73475069dcbe93eaf518c1b (diff)
port shedinja_maker_maybe; resolve within-array party pointers
Diffstat (limited to 'src/pokemon.c')
-rw-r--r--src/pokemon.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/pokemon.c b/src/pokemon.c
index 17f28c7a6..fb7a8c626 100644
--- a/src/pokemon.c
+++ b/src/pokemon.c
@@ -64,9 +64,11 @@ struct OakSpeechNidoranFStruct
struct SpriteFrameImage *frameImages;
};
-// TODO: move sLearningMoveTableID, gPlayerPartyCount, gEnemyPartyCount,
-// gEnemyParty, gPlayerParty here after resolving symbol ref in between.
-extern u8 sLearningMoveTableID;
+static EWRAM_DATA u8 sLearningMoveTableID = 0;
+EWRAM_DATA u8 gPlayerPartyCount = 0;
+EWRAM_DATA u8 gEnemyPartyCount = 0;
+EWRAM_DATA struct Pokemon gEnemyParty[PARTY_SIZE] = {};
+EWRAM_DATA struct Pokemon gPlayerParty[PARTY_SIZE] = {};
EWRAM_DATA struct SpriteTemplate gMultiuseSpriteTemplate = {0};
static EWRAM_DATA struct OakSpeechNidoranFStruct *sOakSpeechNidoranResources = NULL;