There is high-level tools in poketmon based on the doc.
(1) Does it work? (i failed…, though simple command worked such as A,B button)
-
return ‘use_tool(move_to, (x=7 , y=1))’
(2) Using the high-level tool is counted as 1 step?
if the high-level tool is counted as a 1 step, we have to use it to reduce the steps. (200 steps is very limited). Then, I can’t continue to work on pokemon without the tools.
Anyone can successfully use the high-level tools in poketmon?
-
move_to(x, y): Finds and executes a path to the specified map coordinates (x,y). -
interact_with_object(name): Interacts with a specified object in the environment. -
warp_with_warp_point(x, y): Uses a specified warp point to move to a different location. -
overworld map transition(direction): Transitions to an adjacent map in the given direction. -
continue_dialog(): Advances the current dialogue. -
select_move_in_battle(move_name): Selects and uses a specific move in a Pokemon battle. -
switch_pkmn_in_battle(pokemon_name): Switches to a different Pokemon in the player’s party during a battle. -
run_away(): Attempts to flee from a wild Pokemon battle. -
use_item_in_battle(item_name): Uses a specified item during a Pokemon battle.
Example:
use_tool(select_move_in_battle, (move_name="Thunder Shock"))