Make an event spawn in front of the character with Yanfly Event Spawner

I've made a fishing system that uses a parallel event to transfer the fishing event with graphic in front of the character when they press the action button. I stumbled upon Yanfly's Event Spawner, and it's made things so much simpler for me, by not having to have the event's on every page, but I can't figure out how to make the event spawn in the water in front of the character.

I'm pretty new to using plugins, but I've read through the instructions on this plugin, and I'm not sure how to do it. If you can't do it through the plugin, how would I go about doing it?
I'm betting the plugin has a way to specify the spawning position.
if that's the case, then you have to make the spawning position relative to the player, +/- 1 depending on the direction
Use a script call, just like Yanfly's script says to do so.
Code:
Yanfly.SpawnEventAt(1, 5, $gamePlayer.x - 1, $gamePlayer.y, true);

This one would make the event 5 on the map 1 appear at the left of the character. It would also be preserved. (Haven't tested, but should work)

If you need to know more about it in details, make sure to read the help page from Yanfly's Event Spawner.

http://www.yanfly.moe/wiki/Event_Spawner_(YEP)

Here's a useful link for all your JS related needs- It's the RMMV Script Calls sheet, and I'm sure you'll find it useful: https://forums.rpgmakerweb.com/index.php?threads/rpg-maker-mv-script-call-list.46456/

Edited because apparently linking the sheets just paste the entire thing here
@Winek Thanks so much for that Script Call sheet. I don't know how I hadn't found it yet. I've just started learning JavaScript, and that helped me out.

I was able to get it working using this code:

Spoiler
Code:
◆If:Button [OK] is pressed down
  ◆If:Player is facing Down
    ◆Script:if ($gameMap.regionId($gameVariables.value(2), $gameVariables.value(3)+1) == 28)
    :      :   {Yanfly.SpawnEventAt(38, 1, $gameVariables.value(2), $gameVariables.value(3)+1, true)}
    ◆
  :End
  ◆If:Player is facing Left
    ◆Script:if ($gameMap.regionId($gameVariables.value(2), $gameVariables.value(3)+1) == 28)
    :      :   {Yanfly.SpawnEventAt(38, 1, $gameVariables.value(2)-1, $gameVariables.value(3), true)}
    ◆
  :End
  ◆If:Player is facing Right
    ◆Script:if ($gameMap.regionId($gameVariables.value(2), $gameVariables.value(3)+1) == 28)
    :      :   {Yanfly.SpawnEventAt(38, 1, $gameVariables.value(2)+1, $gameVariables.value(3), true)}
    ◆
  :End
  ◆If:Player is facing Up
    ◆Script:if ($gameMap.regionId($gameVariables.value(2), $gameVariables.value(3)+1) == 28)
    :      :   {Yanfly.SpawnEventAt(38, 1, $gameVariables.value(2), $gameVariables.value(3)-1, true)}
    ◆
  :End
  ◆
:End

I have variables that keep track of player position, and I wanted the fishing to only be able to be done in certain regions.

I figured it out, so if a mod can close this thread, that'd be great.

Original thread: https://forums.rpgmakerweb.com/threads/make-an-event-spawn-in-front-of-the-character-with-yanfly-event-spawner.111462/