diff --git a/graphics/button_no.grit b/graphics/button_no.grit index 16fc9e9..c955258 100644 --- a/graphics/button_no.grit +++ b/graphics/button_no.grit @@ -1,3 +1,3 @@ # # Button : 4bpp, not compressed. Pallet 2, copy from 32 to 48. --gB4 -gzl -ps0 -pe8 \ No newline at end of file +-gB4 -gzl -ps0 -pe16 \ No newline at end of file diff --git a/include/debug_mode.h b/include/debug_mode.h index 204a824..7031e0a 100644 --- a/include/debug_mode.h +++ b/include/debug_mode.h @@ -1,10 +1,10 @@ #ifndef DEBUG_MODE_H #define DEBUG_MODE_H -#define VERSION "v1.1.3" +#define VERSION "v1.2.0b" #define PTGB_BUILD_LANGUAGE ENG_ID -#define DEBUG_MODE false +#define DEBUG_MODE true #define PRINT_LINK_DATA (false && DEBUG_MODE) // This is currently broken... not sure why #define INSTANT_TEXT_SPEED (true && DEBUG_MODE) diff --git a/source/main.cpp b/source/main.cpp index 91e5ac3..f8876c9 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -182,7 +182,7 @@ void first_load_message(void) int credits() { -#define CREDITS_ARRAY_SIZE 18 +#define CREDITS_ARRAY_SIZE 19 int curr_credits_num = 0; std::string credits_array[CREDITS_ARRAY_SIZE] = { //"testing: う", @@ -191,6 +191,7 @@ int credits() "Icon Sprites: \n\n-LuigiTKO\n-GuiAbel\n-SourApple\n & the artists from\nPok@mon Showdown and\nCrystal Clear", "Remote and Arbitrary\nCode Execution\nassistance:\n\n\n-TimoVM", "Development\nassistance:\n\n-im a blisy\n-rileyk64\n-Shao", + "Space Optimization:\n\n-easyaspi314", "Built using:\n\n\n-DevkitPro\n-LibTonc\n-LibGBA", "Inspired by the\nworks of:\n\n-Goppier\n-Lorenzooone\n-im a blisy\n-RETIRE", "Programs used:\n\n\n-HexManiacAdvance\n-PKHeX\n-WC3Tool\n-Usenti\n-SappyMidToAGB", diff --git a/source/z80_asm.cpp b/source/z80_asm.cpp index 12643ad..ca64559 100644 --- a/source/z80_asm.cpp +++ b/source/z80_asm.cpp @@ -31,7 +31,7 @@ void z80_asm_handler::add_byte(u8 value) void z80_asm_handler::generate_patchlist(z80_asm_handler *bytes_to_patch){ bool higher_than_FC = false; - for (int i = 0; i < bytes_to_patch->data_vector.size(); i++){ + for (unsigned int i = 0; i < bytes_to_patch->data_vector.size(); i++){ if (i - 19 == 0x100 && !higher_than_FC){ add_byte(0xFF); // This tells the system that the byte is further than 0xFF away higher_than_FC = true;