mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-04-21 00:17:42 -05:00
56 lines
1.6 KiB
C++
56 lines
1.6 KiB
C++
#ifndef POKEMON_DATA_H
|
|
#define POKEMON_DATA_H
|
|
|
|
#include <tonc.h>
|
|
#include <string>
|
|
|
|
#define erratic_max 600000
|
|
#define fast_max 800000
|
|
#define med_fast_max 1000000
|
|
#define med_slow_max 1059860
|
|
#define slow_max 1250000
|
|
#define flux_max 1640000
|
|
|
|
#define INTERNATIONAL 0
|
|
#define JPN_ID 1
|
|
#define ENG_ID 2
|
|
#define FRE_ID 3
|
|
#define ITA_ID 4
|
|
#define GER_ID 5
|
|
#define SPA_ID 7
|
|
#define KOR_ID 8
|
|
|
|
|
|
extern const u8 EXP_MAX[252];
|
|
extern const u32 EXP_TYPES[6];
|
|
extern const int GENDER_THRESHOLDS[2][8];
|
|
extern const u8 GENDER_RATIO[252];
|
|
extern const bool NUM_ABILITIES[252];
|
|
extern const byte MOVESETS[252][32];
|
|
extern const byte FIRST_MOVES[252];
|
|
extern const std::string_view NAMES[252];
|
|
extern const u16 JPN_NAMES[252][6];
|
|
extern const u8 EVOLUTIONS[252];
|
|
extern const u8 POWER_POINTS[252];
|
|
extern const byte gen_1_index_array[191];
|
|
//extern const byte gen_1_char_array[0x80];
|
|
//extern const byte gen_2_char_array[0x80];
|
|
extern const u16 gen_1_Jpn_char_array[256];
|
|
extern const u16 gen_1_Eng_char_array[256];
|
|
extern const u16 gen_1_FreGer_char_array[256];
|
|
extern const u16 gen_1_ItaSpa_char_array[256];
|
|
extern const u16 gen_2_Jpn_char_array[256];
|
|
extern const u16 gen_2_Eng_char_array[256];
|
|
extern const u16 gen_2_FreGer_char_array[256];
|
|
extern const u16 gen_2_ItaSpa_char_array[256];
|
|
extern const u16 gen_3_Jpn_char_array[256];
|
|
extern const u16 gen_3_Intern_char_array[256];
|
|
|
|
u32 get_max_exp(int index_num);
|
|
u8 get_gender_threshold(int index_num, bool is_gen_3);
|
|
bool get_num_abilities(int index_num);
|
|
bool can_learn_move(int pkmn_index, int move_index);
|
|
byte get_earliest_move(int index_num);
|
|
byte get_gen_3_char(u16 input_char, bool is_jpn);
|
|
|
|
#endif |