Fixing button palette and modifying credits

This commit is contained in:
The Gears of Progress 2025-01-26 14:43:55 -05:00
parent 37ed599bc3
commit f4f64d0e07
4 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,3 @@
#
# Button : 4bpp, not compressed. Pallet 2, copy from 32 to 48.
-gB4 -gzl -ps0 -pe8
-gB4 -gzl -ps0 -pe16

View File

@ -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)

View File

@ -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",

View File

@ -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;