mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-10-01 21:56:33 -05:00
v0.0.3-alpha
This commit is contained in:
@@ -8,9 +8,20 @@ if (file_exists("save.ini"))
|
||||
global.show_shiny = ini_read_real("Display", "Shiny Mode", false);
|
||||
|
||||
var section = savedata_section_get(global.show_shiny);
|
||||
global.countdata[0] =0
|
||||
for (var i=1; i<=global.dex_len; i++)
|
||||
{
|
||||
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]]);*/
|
||||
}
|
||||
|
||||
|
||||
for (var i=0; i<=global.dex_len; i++)
|
||||
global.savedata[i] = ini_read_real(section, string(i), 0);
|
||||
|
||||
ini_close();
|
||||
show_debug_message("LOADED SAVE FILE.");
|
||||
|
||||
Reference in New Issue
Block a user