1 #ifndef __POKEMONUTILS_HH__
2 #define __POKEMONUTILS_HH__
5 #include "../vbam/gba/Globals.h"
7 #define WRAM_OFFSET 0x2000000
8 #define IRAM_OFFSET 0x3000000
9 #define ROM_OFFSET 0x8000000
11 #define BANK_PTR 0x3526A8
12 #define NAMES_PTR 0x245EE0
13 #define MOVE_NAMES_PTR 0x247094
14 #define PTEAM_PTR 0x024284
15 #define ETEAM_PTR 0x02402C
16 #define CURR_BANK_PTR 0x031DBC
17 #define CURR_MAP_PTR 0x031DBD
19 #define POW(x) ((x) * (x))
23 uint16_t
getVar(uint16_t var);
24 void *
gbaMem(uint32_t ptr);
void * gbaMem(uint32_t ptr)
Definition: PokemonUtils.cpp:57
uint16_t getVar(uint16_t var)
Definition: PokemonUtils.cpp:49
char pokeCharsetToAscii(uint8_t c)
Definition: PokemonUtils.cpp:14
bool getFlag(uint16_t flag)
Definition: PokemonUtils.cpp:39