Switcharoo to Gee Emm 2.3

This commit is contained in:
Rodrigo
2021-03-01 14:01:14 -06:00
parent e947b6838f
commit 518c2d3ead
2912 changed files with 7140 additions and 82048 deletions

View File

@@ -1,22 +1,26 @@
///url_get(area?)
function url_get(argument0) {
var location = argument0;
var location = argument0;
if (check_galar(real(global.selected[dex.idno])))
{
var pkmn = string_lower(global.selected[dex.pokemon]);
var url = "https://www.serebii.net/pokedex-swsh/"+pkmn+"/";
if (location)
url = string_insert("/locations.shtml", url, string_length(url)+1);
}
else
{
var dexno = global.selected[dex.dexno];
var url = "https://www.serebii.net/pokedex-sm/"+dexno+".shtml";
if (location)
url = string_replace(url, "sm/", "sm/location/");
}
url_open(url);
if (check_galar(real(global.selected[dex.idno])))
{
var pkmn = string_lower(global.selected[dex.pokemon]);
var url = "https://www.serebii.net/pokedex-swsh/"+pkmn+"/";
if (location)
url = string_insert("/locations.shtml", url, string_length(url)+1);
}
else
{
var dexno = global.selected[dex.dexno];
var url = "https://www.serebii.net/pokedex-sm/"+dexno+".shtml";
if (location)
url = string_replace(url, "sm/", "sm/location/");
}
url_open(url);

View File

@@ -1,8 +1,12 @@
{
"id": "aa0cd879-2cce-411a-dd1a-10c3fd63f802",
"modelName": "GMScript",
"mvc": "1.0",
"name": "url_get",
"IsCompatibility": false,
"IsDnD": false
"isDnD": false,
"isCompatibility": false,
"parent": {
"name": "Scripts",
"path": "folders/Scripts.yy",
},
"resourceVersion": "1.0",
"name": "url_get",
"tags": [],
"resourceType": "GMScript",
}