mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-03-21 17:34:42 -05:00
libsysbase_libsysbase_a-handle_manager.o So, I optimized the MOVESETS table to only store the "overriding" bits in the movesets of the evolutions in relation to their base forms. That only improved compression slightly (about 300 bytes) I also eliminated 4 KB of IWRAM usage by libsysbase_libsysbase_a-handle_manager.o because of the "handles" buffer. We're not using it and we REALLY need our IWRAM. (and it also reduces the rom size with 4KB too!)
20 lines
368 B
C++
20 lines
368 B
C++
#ifndef _POKEMON_DATA_H
|
|
#define _POKEMON_DATA_H
|
|
|
|
#include <cstddef>
|
|
#include <cstdint>
|
|
|
|
#define NUM_POKEMON 252
|
|
#define POKEMON_ARRAY_SIZE NUM_POKEMON + 1
|
|
|
|
typedef uint8_t u8;
|
|
typedef uint8_t byte;
|
|
typedef uint16_t u16;
|
|
typedef uint32_t u32;
|
|
|
|
extern const byte MOVESETS[POKEMON_ARRAY_SIZE][32];
|
|
extern const size_t MOVESETS_size;
|
|
|
|
void generate_pokemon_data();
|
|
|
|
#endif |