mirror of
https://github.com/PoshoDev/DexTool.git
synced 2026-08-12 20:55:44 -05:00
Hisui Dex loads.
This commit is contained in:
@@ -61,6 +61,7 @@ function button_set(argument0, argument1, argument2) {
|
||||
case shw.national: text="NATIONAL"; break;
|
||||
case shw.galar: text="GALAR"; break;
|
||||
case shw.armor: text="ARMOR"; break;
|
||||
case shw.hisui: text="HISUI"; break;
|
||||
}
|
||||
|
||||
scale = global.icon_scale * 0.75;
|
||||
|
||||
4
Project/scripts/dex_hisui_load/dex_hisui_load.gml
Normal file
4
Project/scripts/dex_hisui_load/dex_hisui_load.gml
Normal file
@@ -0,0 +1,4 @@
|
||||
function dex_hisui_load() {
|
||||
//if (global.show_hisui)
|
||||
global.hisuidata = csv_load("hisuidex");
|
||||
}
|
||||
12
Project/scripts/dex_hisui_load/dex_hisui_load.yy
Normal file
12
Project/scripts/dex_hisui_load/dex_hisui_load.yy
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"isDnD": false,
|
||||
"isCompatibility": false,
|
||||
"parent": {
|
||||
"name": "Scripts",
|
||||
"path": "folders/Scripts.yy",
|
||||
},
|
||||
"resourceVersion": "1.0",
|
||||
"name": "dex_hisui_load",
|
||||
"tags": [],
|
||||
"resourceType": "GMScript",
|
||||
}
|
||||
@@ -4,7 +4,7 @@ function initials_set() {
|
||||
enum region { boxes, top, mid_left, mid_right, bot_left, bot_right,
|
||||
_0, _25, _50, _75, _100 };
|
||||
|
||||
enum shw { national, galar, armor, LENGTH};
|
||||
enum shw { national, galar, armor, hisui, LENGTH};
|
||||
|
||||
global.window_width = window_get_width();
|
||||
global.window_height = window_get_height();
|
||||
|
||||
@@ -25,6 +25,12 @@ function show_check() {
|
||||
if (nat == global.armordata[i, gdex.dexno])
|
||||
return true;
|
||||
break;
|
||||
|
||||
case shw.hisui:
|
||||
for (var i=1; i<array_height_2d(global.hisuidata); i++)
|
||||
if (nat == global.hisuidata[i, gdex.dexno])
|
||||
return true;
|
||||
break;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user