Poke_Transporter_GB/tools/data-generator/include/pokemon_data.h
Philippe Symons 4c93ff869c Optimize the MOVESETS table for compression + eliminate 4 KB "handles" buffer from
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!)
2025-04-29 22:22:38 +02:00

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