mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-09-14 20:15:36 -05:00
Bundle charsets per gen for slightly better compression and move some tables back as uncompressed
The ones I moved back as uncompressed tables (EVOLUTIONS and gen_1_index_array) simply didn't compress well at all. It wasn't worth the runtime decompression cost.
This commit is contained in:
@@ -5,11 +5,16 @@
|
||||
#include "libraries/gba-link-connection/LinkCableMultiboot.hpp"
|
||||
#include "text_engine.h"
|
||||
|
||||
static void multiboot_show_textbox()
|
||||
{
|
||||
tte_erase_rect(0, 0, RIGHT, BOTTOM);
|
||||
create_textbox(4, 1, 152, 100, true);
|
||||
}
|
||||
|
||||
void multiboot_upload_screen()
|
||||
{
|
||||
LinkCableMultiboot linkCableMultiboot;
|
||||
tte_erase_rect(0, 0, RIGHT, BOTTOM);
|
||||
create_textbox(4, 1, 152, 100, true);
|
||||
multiboot_show_textbox();
|
||||
ptgb_write(send_multiboot_instructions, true);
|
||||
|
||||
// wait for key press
|
||||
@@ -25,8 +30,7 @@ void multiboot_upload_screen()
|
||||
}
|
||||
|
||||
// start upload
|
||||
tte_erase_rect(0, 0, RIGHT, BOTTOM);
|
||||
create_textbox(4, 1, 152, 70, true);
|
||||
multiboot_show_textbox();
|
||||
ptgb_write(send_multiboot_wait, true);
|
||||
global_next_frame();
|
||||
|
||||
@@ -42,16 +46,13 @@ void multiboot_upload_screen()
|
||||
});
|
||||
// show result
|
||||
// clear_textbox();
|
||||
multiboot_show_textbox();
|
||||
if (multibootResult == LinkCableMultiboot::Result::SUCCESS)
|
||||
{
|
||||
tte_erase_rect(0, 0, RIGHT, BOTTOM);
|
||||
create_textbox(4, 1, 152, 70, true);
|
||||
ptgb_write(send_multiboot_success, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
tte_erase_rect(0, 0, RIGHT, BOTTOM);
|
||||
create_textbox(4, 1, 152, 70, true);
|
||||
ptgb_write(send_multiboot_failure, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user