hey guys firstly thank you for update btw i have a problem is lua. script cannot like json script to hold my all team leveling and make some business during the battle . Actually i am disappointed about that . Can you find a method support the json script or help me to change this in lua
thank you . since the hoenn start i need more money and need to level up with my rattata /_\
{
"name": "Leveling: Victory Road new",
"author": "93simon)",
"path": [
{
"condition": ["usablePokemons", ">", 1],
"actions": [
{
"condition": ["map", "Pokecenter Blackthorn"],
"action": ["moveToMap", "Blackthorn City"]
},
{
"condition": ["map", "Blackthorn City"],
"action": ["moveToMap", "Dragons Den Entrance"]
},
{
"condition": ["map", "Dragons Den Entrance"],
"action": ["moveToMap", "Dragons Den"]
},
{
"condition": ["map", "Dragons Den"],
"action": ["moveNearExit", "Dragons Den Entrance"]
}
]
},
{
"actions": [
{
"condition": ["map", "Dragons Den"],
"action": ["moveToMap", "Dragons Den Entrance"]
},
{
"condition": ["map", "Dragons Den Entrance"],
"action": ["moveToMap", "Blackthorn City"]
},
{
"condition": ["map", "Blackthorn City"],
"action": ["moveToMap", "Pokecenter Blackthorn"]
},
{
"condition": ["map", "Pokecenter Blackthorn"],
"action": ["usePokecenter"]
}
]
}
],
"battle": [
{
"condition": ["isOpponentShiny"],
"action": ["useItem", "Ultra Ball", "Great Ball", "Pokeball"]
},
{
"condition": ["usablePokemons", ">", 1],
"actions": [
{
"condition": ["activeHealth", ">", 0],
"action": ["attack"]
},
{
"action": ["sendNextPokemon"]
}
]
},
{
"condition": ["usablePokemons", "=", 1],
"actions": [
{
"condition": ["activeHealth%", ">", 50],
"action": ["attack"]
},
{
"action": ["run"]
}
]
}
]
}