diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2017-12-10 19:02:51 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2017-12-10 19:02:51 +0100 |
commit | b4d10ab7aba76bf9ab16f07cc9409083388c603d (patch) | |
tree | a6666aa61352f30b000d2f41572ca0f6db572717 /src | |
parent | 37ae6a7758d0f16394f31c367f5c1eb86d34327f (diff) |
split pokeblock files
Diffstat (limited to 'src')
-rw-r--r-- | src/pokeblock.c | 4 | ||||
-rw-r--r-- | src/use_pokeblock.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/pokeblock.c b/src/pokeblock.c new file mode 100644 index 000000000..023b7c3e7 --- /dev/null +++ b/src/pokeblock.c @@ -0,0 +1,4 @@ +#include "global.h" +#include "pokeblock.h" + + diff --git a/src/use_pokeblock.c b/src/use_pokeblock.c index 1a210b101..12f475c93 100644 --- a/src/use_pokeblock.c +++ b/src/use_pokeblock.c @@ -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); |