Player Jump to pos variables [VX ACE] (Solved)

Hello.
Not sure if this is the correct board. I am a noob in this.
I am trying to make a player jump to a stored variables [X,Y] without using transfer_player.
What I am trying to create is a Warp skill that stores the player's X and Y and when using the skill again the player will jump to that position. However, If I use transfer my random dungeon script would reset the dungeon. but jumping works.
I got this scrip call but it gives me the eval(script) of doom error.

Spoiler: Script Call
$game_player.jump_pos(
$game_variables[641],$game_variables[642])
I can't find a jump_pos method
You probably meant to use jump
$game_player.jump($game_variables[641],$game_variables[642])
Thank you for your reply, Roninator2.
But that is not what I meant. This will use the method "jump" from the move route.
I am looking for a jump that does the same as transfer player. But jump instead of transferring the player.
For example: My skill Warp will store the X and Y of the player's map position. and remembers it until the player presses the skill Warp again. Which will transparent the player, Jump to the X and Y that was stored and turn off the transparent.

I guess this require a script instead?
I made my own snippet
Code:
class Game_Character
  # --------------------------------------------------------------------------
  # Jump to point/coordinate. Coz, I hate to calculate
  # --------------------------------------------------------------------------
  def jump_to(xpos, ypos)
    x_dist = xpos - x
    y_dist = ypos - y
    jump(x_dist, y_dist)
  end
end
It uses .jump_to instead of .jump_pos
Your name is in the credits TheoAllen And your own snippet works like a charm.
Thank you very much for your supports and replies!

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/player-jump-to-pos-variables-vx-ace-solved.121195/