Preparing for ASM rewrite

This commit is contained in:
Remnants of Forgotten Disney
2024-02-24 14:53:12 -06:00
parent 1b5f30087a
commit 020d27433d
11 changed files with 623 additions and 576 deletions

View File

@@ -8,7 +8,7 @@
#include <tonc.h>
int last_error;
Pokemon_Party party_data;
Pokemon_Party party_data = Pokemon_Party();
script_obj script[SCRIPT_SIZE];
std::string_view dialogue[DIA_SIZE];
@@ -90,11 +90,6 @@ void populate_script()
script[CMD_BACK_TO_MENU] = script_obj(CMD_BACK_TO_MENU, SCRIPT_START);
};
void add_script_party_var(Pokemon_Party var)
{
party_data = var;
}
bool run_conditional(int index)
{
// Here is most of the logic that drives what lines show up where. It's probably not the best way to code it, but it works