Hello!
Right now, I'm looking to make a conditional branch for a common event to check if the tile specifically in front of the player.
From what I've seen, $game_player.passable?(x, y, d) is the best bet for this.
However, that requires a direction to be inserted manually, which would require four conditional branches instead of one.
Is there a good way to run a check of the tile directly in front of the player, no matter which direction they are facing?
Right now, I'm looking to make a conditional branch for a common event to check if the tile specifically in front of the player.
From what I've seen, $game_player.passable?(x, y, d) is the best bet for this.
However, that requires a direction to be inserted manually, which would require four conditional branches instead of one.
Is there a good way to run a check of the tile directly in front of the player, no matter which direction they are facing?