From b4d10ab7aba76bf9ab16f07cc9409083388c603d Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sun, 10 Dec 2017 19:02:51 +0100 Subject: split pokeblock files --- src/pokeblock.c | 4 ++++ src/use_pokeblock.c | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 src/pokeblock.c (limited to 'src') 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); -- cgit v1.2.3