split pokeblock files

This commit is contained in:
DizzyEggg
2017-12-10 19:02:51 +01:00
parent 37ae6a7758
commit b4d10ab7ab
11 changed files with 13173 additions and 13129 deletions

4
src/pokeblock.c Normal file
View File

@@ -0,0 +1,4 @@
#include "global.h"
#include "pokeblock.h"

View File

@@ -69,6 +69,10 @@ EWRAM_DATA void *gUnknown_0203BCA4 = NULL;
EWRAM_DATA void *gUnknown_0203BCA8 = NULL;
EWRAM_DATA struct UsePokeblockStruct *gUnknown_0203BCAC = NULL;
// const rom data
// todo: make it static once the file is decompiled
// code
void ChooseMonToGivePokeblock(struct Pokeblock *pokeblock, void (*callback)(void))
{
gUnknown_0203BCAC = AllocZeroed(0x806C);