mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-04-21 00:17:42 -05:00
73 lines
1.9 KiB
C++
73 lines
1.9 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 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
|
|
|
|
#define GREEN_ID 0
|
|
#define RED_ID 1
|
|
#define BLUE_ID 2
|
|
#define YELLOW_ID 3
|
|
#define GOLD_ID 4
|
|
#define SILVER_ID 5
|
|
#define CRYSTAL_ID 6
|
|
|
|
#define EVENT_MEW_JPN 0
|
|
#define EVENT_MEW_ENG 1
|
|
#define EVENT_MEW_FRE 2
|
|
#define EVENT_MEW_ITA 3
|
|
#define EVENT_MEW_GER 4
|
|
#define EVENT_MEW_SPA 5
|
|
#define EVENT_CELEBI 6
|
|
|
|
|
|
#define MAX_PKMN_IN_BOX 30
|
|
|
|
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 u8 MENU_SPRITES[252];
|
|
extern const byte gen_1_index_array[191];
|
|
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];
|
|
extern const byte EVENT_PKMN[8][80];
|
|
|
|
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 |