Admiral Crayon
Villager
- Xy$
- 0.00
I am looking for a script call that checks the passibility of the tile I am facing, now I have already found the script call but I cannot figure out the proper way to use it.
I know back in VX Ace I could use this:
So I tried to use the same exact same variables in MV but it doesn't seem to work and yes, I did make the 4th variable equal to the player's direction.
Thanks in advance for your help!
JavaScript:
$game_player.passable?(x, y, direction)
Code:
$game_player.passable?($game_player.x, $game_player.y, $game_variables[4])
Thanks in advance for your help!