Decoupling LinkConnection from PokemonParty

This commit is contained in:
GearsProgress
2026-05-24 17:42:04 -04:00
parent 4805aee24b
commit d1c7adc2ce
5 changed files with 131 additions and 337 deletions

View File

@@ -1,6 +1,3 @@
// Loosely based on code created by StevenChaulk
// Source: https://github.com/stevenchaulk/arduino-poke-gen2
#include <tonc.h>
#include <stdarg.h>
#include <inttypes.h>
@@ -77,8 +74,11 @@ void LinkConnection::setup(const u16 *debug_charset)
general_text_reader.readFile(GENERAL_connecting, lineBuffer);
ptgb_write_textbox(lineBuffer, true, false, GENERAL_INDEX, GENERAL_connecting, false);
}
create_textbox(0, 0, 138, 128, false);
if (g_debug_options.print_link_data == true)
{
create_textbox(0, 0, 138, 128, false);
}
}
void LinkConnection::startConnection(CompositeState startState)