Add debug menu entry to inject Celebi (WIP)

This commit is contained in:
Philippe Symons
2026-03-25 21:49:41 +01:00
parent 029a5a4cda
commit 2982b9ba93
11 changed files with 352 additions and 15 deletions

View File

@@ -19,7 +19,7 @@ void write_custom_save_data()
copy_save_to_ram(HALL_OF_FAME + 0x1000, &global_memory_buffer[0], 0x1000);
memcpy(global_memory_buffer + HOF_SECTION, save_data_array, SAVE_DATA_SIZE);
update_memory_buffer_checksum(true);
update_memory_buffer_checksum(global_memory_buffer, true);
erase_sector(HALL_OF_FAME + 0x1000);
copy_ram_to_save(&global_memory_buffer[0], HALL_OF_FAME + 0x1000, 0x1000);
}