MV Row Formation Skills

So I have the row formation plugin from yanfly and need some help. How do I make it so a skill like heal can be used by any row in menu, but only certain rows for battle? I know this might seem strange, but I am just curious if it is possible. Thanks for the help.
Plugin: http://www.yanfly.moe/wiki/Row_Formation_(YEP)
Please show what you've already tried and describe how it didn't work.

As far as I know, rows have no effect on anything outside of battle.
Please show what you've already tried and describe how it didn't work.

As far as I know, rows have no effect on anything outside of battle.
1707169444617.png

As seen in this picture, heal is set to only be usable in row 3 or 4. The actors are defaulted to start in row 1. Even when an actor has the spell in their skills, they can't use it inside or outside of battle unless they are in row 3 or 4. As shown in these examples:
1707169601486.png

Outside of battle, Sage is in row 1:
1707169650013.png

Moved him to row four and now he can use heal outside of battle and inside of battle:
1707169703485.png

1707169726638.png
Open the Row Formations plugin in a text editor. Go to line 1419 and change it to read:
Code:
    if ((SceneManager._scene instanceof Scene_Battle) && !skill.rowOnly.contains(this.row())) return false;

That will make row restrictions only apply in battle.

Original thread: https://forums.rpgmakerweb.com/threads/row-formation-skills.165488/