Reordering a bit.

This commit is contained in:
TheGreenTie
2020-03-01 18:30:44 -06:00
parent eccd3eccec
commit d9f123b438
9263 changed files with 1393 additions and 62623 deletions

View File

@@ -0,0 +1,19 @@
///button_do(type)
switch(argument0)
{
case but.plus:
global.counter++;
savedata_write(savedata_section_get(global.show_shiny)+" Count", global.selecting.idno, global.counter);
change_add();
break;
case but.minus:
if (global.counter > 0)
global.counter--;
savedata_write(savedata_section_get(global.show_shiny)+" Count", global.selecting.idno, global.counter);
change_add();
break;
}

View File

@@ -0,0 +1,8 @@
{
"id": "2370f9cd-bc43-8204-019c-9bc13fa8d58f",
"modelName": "GMScript",
"mvc": "1.0",
"name": "button_do",
"IsCompatibility": false,
"IsDnD": false
}