Yanfly Battle Engine Core Battler Positioning Question

Hi All. I was wondering if anyone knew if you can use conditional if statement in Yanfly's Battle Engine Core X and Y Positioning for battlers. I was hoping to do something like this for the Y position.

if ($gameParty.members().length == 1 (800)) else (500 + index * 120)

Basically, i would like it to center the players vertically based on party size in stead of the default where it starts a single character at the top.

Any help is always appreciated.
I actually ended up figuring out a solution using this.

(180 / $gameParty.members().length) + 465 + (index * 120)

Figured I'd post it, in case it can help someone else.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-battle-engine-core-battler-positioning-question.116471/