mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-10-02 14:16:33 -05:00
Switcharoo to Gee Emm 2.3
This commit is contained in:
@@ -1,22 +1,26 @@
|
||||
///shortcut_check()
|
||||
function shortcut_check() {
|
||||
|
||||
// Letters
|
||||
if (keyboard_check_pressed(ord("G"))) show_dex_toggle();
|
||||
else if (keyboard_check_pressed(ord("I"))) make_screenshot();
|
||||
else if (keyboard_check_pressed(ord("S"))) show_shiny_toggle();
|
||||
else if (keyboard_check_pressed(ord("C"))) counter_set();
|
||||
// Letters
|
||||
if (keyboard_check_pressed(ord("G"))) show_dex_toggle();
|
||||
else if (keyboard_check_pressed(ord("I"))) make_screenshot();
|
||||
else if (keyboard_check_pressed(ord("S"))) show_shiny_toggle();
|
||||
else if (keyboard_check_pressed(ord("C"))) counter_set();
|
||||
|
||||
// Plus and Minus
|
||||
var key_plus = 107;
|
||||
var key_minus = 109;
|
||||
// Plus and Minus
|
||||
var key_plus = 107;
|
||||
var key_minus = 109;
|
||||
|
||||
if (keyboard_check_pressed( key_plus)) button_plusminus_shortcut(but.plus, true);
|
||||
else if (keyboard_check_released(key_plus)) button_plusminus_shortcut(but.plus, false);
|
||||
if (keyboard_check_pressed( key_plus)) button_plusminus_shortcut(but.plus, true);
|
||||
else if (keyboard_check_released(key_plus)) button_plusminus_shortcut(but.plus, false);
|
||||
|
||||
if (keyboard_check_pressed( key_minus)) button_plusminus_shortcut(but.minus, true);
|
||||
else if (keyboard_check_released(key_minus)) button_plusminus_shortcut(but.minus, false);
|
||||
if (keyboard_check_pressed( key_minus)) button_plusminus_shortcut(but.minus, true);
|
||||
else if (keyboard_check_released(key_minus)) button_plusminus_shortcut(but.minus, false);
|
||||
|
||||
// Numbers 0-9
|
||||
for (var i=ord("0"); i<=ord("9"); i++)
|
||||
if (keyboard_check_pressed(i))
|
||||
box_gen_jump(i - ord("0"));
|
||||
// Numbers 0-9
|
||||
for (var i=ord("0"); i<=ord("9"); i++)
|
||||
if (keyboard_check_pressed(i))
|
||||
box_gen_jump(i - ord("0"));
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
{
|
||||
"id": "c6341f0c-570d-0e72-8439-2672f5cbb32e",
|
||||
"modelName": "GMScript",
|
||||
"mvc": "1.0",
|
||||
"name": "shortcut_check",
|
||||
"IsCompatibility": false,
|
||||
"IsDnD": false
|
||||
"isDnD": false,
|
||||
"isCompatibility": false,
|
||||
"parent": {
|
||||
"name": "Scripts",
|
||||
"path": "folders/Scripts.yy",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "shortcut_check",
|
||||
"tags": [],
|
||||
"resourceType": "GMScript",
|
||||
}
|
||||
Reference in New Issue
Block a user