mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-08-15 15:11:33 -05:00
Press G to toggle Gigantamax!
This commit is contained in:
@@ -4,9 +4,10 @@ function savedata_load() {
|
||||
if (file_exists("save.ini"))
|
||||
{
|
||||
ini_open("save.ini")
|
||||
global.current_box = ini_read_real("Navigation", "Current Box", 1);
|
||||
global.show_dex = ini_read_real("Display", "Galar Dex", shw.national);
|
||||
global.show_shiny = ini_read_real("Display", "Shiny Mode", false);
|
||||
global.current_box = ini_read_real("Navigation", "Current Box", 1);
|
||||
global.show_dex = ini_read_real("Display", "Galar Dex", shw.national);
|
||||
global.show_shiny = ini_read_real("Display", "Shiny Mode", false);
|
||||
global.show_gigantamax = ini_read_real("Display", "Gigantamax", false);
|
||||
|
||||
var section = savedata_section_get(global.show_shiny);
|
||||
global.countdata[0] =0
|
||||
@@ -14,12 +15,6 @@ function savedata_load() {
|
||||
{
|
||||
global.savedata[i] = ini_read_real(section, string(i), 0);
|
||||
global.countdata[i] = ini_read_real(section+" Count", string(i), 0);
|
||||
/*
|
||||
if (global.savedata[global.dexdata[i, dex.idno]] || global.countdata[global.dexdata[i, dex.idno]])
|
||||
show_debug_message( "found: "+global.dexdata[i, dex.pokemon]+
|
||||
"\tid: "+string(i)+
|
||||
"\town: "+string(global.savedata[global.dexdata[i, dex.idno]])+
|
||||
"\tcount: "+global.countdata[global.dexdata[i, dex.idno]]);*/
|
||||
}
|
||||
|
||||
|
||||
@@ -33,9 +28,10 @@ function savedata_load() {
|
||||
ini_write_real("Info", "Number", version_get());
|
||||
ini_close();
|
||||
|
||||
global.current_box = 1;
|
||||
global.show_dex = 0;
|
||||
global.show_shiny = false;
|
||||
global.current_box = 1;
|
||||
global.show_dex = 0;
|
||||
global.show_shiny = false;
|
||||
global.show_gigantamax = false;
|
||||
|
||||
for (var i=0; i<=global.dex_len; i++)
|
||||
global.savedata[i] = 0;
|
||||
|
||||
Reference in New Issue
Block a user