mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-04-26 02:05:09 -05:00
42 lines
934 B
C++
42 lines
934 B
C++
#ifndef POKEMON_PARTY_H
|
|
#define POKEMON_PARTY_H
|
|
|
|
#include <tonc.h>
|
|
#include "pokemon.h"
|
|
#include "payloads/eng_payloads.h"
|
|
|
|
#define BOX_DATA_ARRAY_SIZE 0x462
|
|
|
|
class Pokemon_Party
|
|
{
|
|
public:
|
|
Pokemon_Party();
|
|
void start_link();
|
|
void continue_link();
|
|
int get_last_error();
|
|
Pokemon get_converted_pkmn(int index);
|
|
bool get_has_new_pkmn();
|
|
void set_game(int nGame);
|
|
void set_lang(int nLang);
|
|
int get_lang();
|
|
bool load_payload();
|
|
PAYLOAD curr_payload;
|
|
void show_sprites();
|
|
Simplified_Pokemon simple_pkmn_array[30];
|
|
Simplified_Pokemon get_simple_pkmn(int index);
|
|
void fill_simple_pkmn_array();
|
|
bool get_contains_mythical();
|
|
void set_mythic_stabilization(bool stabilize);
|
|
|
|
|
|
private:
|
|
byte box_data_array[0x462];
|
|
int last_error;
|
|
bool has_new_pkmn = false;
|
|
bool contains_mythical = false;
|
|
bool stabilize_mythic = false;
|
|
int game;
|
|
char lang;
|
|
};
|
|
|
|
#endif |