Removing Pokemon_Party

This commit is contained in:
GearsProgress
2026-07-02 16:05:47 -04:00
parent 150a87c59c
commit a0d2d593ed
15 changed files with 28 additions and 292 deletions

View File

@@ -5,8 +5,8 @@
#include "string.h"
#include "button_handler.h"
#include "string_view"
#include "pokemon_party.h"
#include "button_handler.h"
#include "PokeBox.h"
#define CANCEL_BUTTON 1
#define CONFIRM_BUTTON 2

View File

@@ -3,8 +3,8 @@
#include <tonc.h>
#include "libraries/gba-link-connection/LinkSPI.hpp"
#include "pokemon_party.h"
#include "GB_Payloads.h"
#include "typeDefs.h"
#define SPI_TEXT_OUT_ARRAY_ELEMENT_SIZE 64

View File

@@ -2,11 +2,11 @@
#define MYSTERY_GIFT_BUILDER_H
#include <tonc.h>
#include "pokemon_party.h"
#include "dbg/debug_mode.h"
#include "ptgb_save_data_manager.h"
#include "script_var.h"
#include "pokemon_data.h"
#include "PokeBox.h"
#define VIR_ADDRESS 0x08000000
#define MG_SCRIPT_SIZE 0x3E8

View File

@@ -1,7 +1,7 @@
#ifndef MYSTERY_GIFT_INJECTOR_H
#define MYSTERY_GIFT_INJECTOR_H
#include "pokemon_party.h"
#include "PokeBox.h"
#include "pokemon_data.h"
bool inject_mystery(PokeBox* box);

View File

@@ -1,31 +0,0 @@
#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;
bool get_has_new_pkmn();
void set_lang(int nLang);
int get_lang();
GB_ROM curr_gb_rom;
bool get_contains_mythical();
void set_mythic_stabilization(bool stabilize);
int get_num_pkmn();
bool get_contains_invalid();
bool get_contains_missingno();
PokeBox box;
byte box_data_array[0x462];
private:
int last_error;
bool stabilize_mythic = false;
char lang;
};
#endif

View File

@@ -2,7 +2,6 @@
#define SCRIPT_ARRAY_H
#include "script_obj.h"
#include "pokemon_party.h"
#include "rom_data.h"
#include "translated_text.h"

View File

@@ -2,7 +2,6 @@
#define SPRITE_DATA_H
#include <tonc.h>
#include "pokemon_party.h"
#include "rom_data.h"
#include "box_menu.h"
#include "link_handler.h"