mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-08-15 23:17:15 -05:00
You can now update counters with 'C'.
This commit is contained in:
@@ -12,19 +12,13 @@ switch(argument0)
|
||||
|
||||
case but.plus:
|
||||
global.counter++;
|
||||
|
||||
global.countdata[global.selecting.idno] = global.counter;
|
||||
savedata_write(savedata_section_get(global.show_shiny)+" Count", global.selecting.idno, global.counter);
|
||||
change_add();
|
||||
counter_update();
|
||||
break;
|
||||
|
||||
case but.minus:
|
||||
if (global.counter > 0)
|
||||
global.counter--;
|
||||
|
||||
global.countdata[global.selecting.idno] = global.counter;
|
||||
savedata_write(savedata_section_get(global.show_shiny)+" Count", global.selecting.idno, global.counter);
|
||||
change_add();
|
||||
counter_update();
|
||||
break;
|
||||
|
||||
case but.image:
|
||||
|
||||
Reference in New Issue
Block a user