Poke_Transporter_GB/include/pokemon_party.h
Philippe Symons a7b2703bf8 Replace the PCCS code with a git submodule
This eliminates duplicate code. - Only maintain the code in one place!

To make sure the submodule is getting cloned too after cloning Poke_Transporter_GB, execute:
git submodule update --init --recursive

To update the submodule to a newer commit/different branch:

cd PCCS
git pull
git checkout <commit_or_branchname>
cd ..
git add PCCS
git commit
git push

The way it works is that a specific commit is tied to your Poke_Transporter_GB repository's PCCS folder.
2025-11-27 23:14:29 +01:00

42 lines
955 B
C++

#ifndef POKEMON_PARTY_H
#define POKEMON_PARTY_H
#include <tonc.h>
#include "PokeBox.h"
#include "gb_rom_values/base_gb_rom_struct.h"
class Pokemon_Party
{
public:
Pokemon_Party();
PokemonTables table;
void start_link();
void continue_link(bool cancel_connection);
int get_last_error();
bool load_gb_rom(Language lang, Game game);
bool get_has_new_pkmn();
void set_game(int nGame);
void set_lang(int nLang);
int get_lang();
bool load_gb_rom();
GB_ROM curr_gb_rom;
void show_sprites();
bool get_contains_mythical();
void set_mythic_stabilization(bool stabilize);
int get_game_gen();
int get_num_pkmn();
bool get_contains_invalid();
bool get_contains_missingno();
PokeBox box;
byte box_data_array[0x462];
private:
void init_payload();
u8 current_payload[PAYLOAD_SIZE];
int last_error;
bool stabilize_mythic = false;
int game;
char lang;
};
#endif