Yanfly Battle engine adjustment.

Hello everyone! I know it may seen a minor thing but, this thing has been bothering me for a while.
In this project I'm working, I use Mog Hunters Battle Hud Ex to create all the battle huds.
And make it look like this:
Picture1.jpg

Yet I also use Yanfly's battle engine that helps a lot in the combat overall experience.
The "issue" happens when I use a skill and the status menu created by Yanfly appears.

When I have more than one character in the party, and select a skill that effects a party member, this screen appears:
Picture2.jpg

Miharu the character on the center is the party leader, the battler is in the middle postion, this being done by Mog's battle Hud ex. But Yanfly's Battle engine, uses the index to define the scope of the skill as you can see in the highlighted area of the picture above.

The thing is, I want to edit that part of the script to "swap" the display of the Index0 and Index1 in battle. Making the scope appear below the character battler.
Picture3.jpg

I tried messing with Yanfly's Battle Engine, and figured out wich parts should do this(It starts on line 1726 of the cod), yet I wasn't able to edit it:
Mog Battle Hud ex:
Yanfly's Battle Engine:

I think you guys can help me figuring out what changes I have to do in order to make this work. Thanks a lot, I'll be waiting your replies.
Based on the numbers you have for MOG HUD I would start with this and see if it adjusts properly.
Ruby:
class Window_BattleStatus < Window_Selectable
  #--------------------------------------------------------------------------
  # overwrite method: item_rect
  #--------------------------------------------------------------------------
  def item_rect(index)
    rect = Rect.new
    rect.width = contents.width / $game_party.max_battle_members
    rect.height = contents.height
    if index == 0
      rect.x = 188
    elsif index == 1
      rect.x == 8
    elsif index == 2
      rect.x == 370
    end
#    rect.x = index * rect.width
    if YEA::BATTLE::BATTLESTATUS_CENTER_FACES
      rect.x += (contents.width - $game_party.members.size * rect.width) / 2
    end
    rect.y = 0
    return rect
  end
end
Based on the numbers you have for MOG HUD I would start with this and see if it adjusts properly.
Ruby:
class Window_BattleStatus < Window_Selectable
  #--------------------------------------------------------------------------
  # overwrite method: item_rect
  #--------------------------------------------------------------------------
  def item_rect(index)
    rect = Rect.new
    rect.width = contents.width / $game_party.max_battle_members
    rect.height = contents.height
    if index == 0
      rect.x = 188
    elsif index == 1
      rect.x == 8
    elsif index == 2
      rect.x == 370
    end
#    rect.x = index * rect.width
    if YEA::BATTLE::BATTLESTATUS_CENTER_FACES
      rect.x += (contents.width - $game_party.members.size * rect.width) / 2
    end
    rect.y = 0
    return rect
  end
end

Thanks a lot Roninator2!!! It works!!
Yet, the third character swapped places with the second, and the second doesn't appear) any thoughts?
But You are right on the spot!
Picture4.jpg

You don't know how happy I am to see this!

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-battle-engine-adjustment.122261/