Formation Bonus + Yanfly SVB

I am using yanfly side view battlers and vlues formation bonus and came across a bit of a problem. The formation script works, but when I go into a battle the formation has not changed in battle:
Battle formation changed in menu:
Yanfly SBS: https://yanflychannel.wordpress.com/rmvxa/battle-scripts/visual-battlers/
Formation Bonus: https://forums.rpgmakerweb.com/index.php?threads/formation-bonus.27146/
1615968177913.png

But in battle, it doesn't show:
1615968213253.png

How do I fix this?
Here is my script list:
I am using yanfly side view battlers and vlues formation bonus and came across a bit of a problem. The formation script works, but when I go into a battle the formation has not changed in battle:
Battle formation changed in menu:
Yanfly SBS: https://yanflychannel.wordpress.com/rmvxa/battle-scripts/visual-battlers/
Formation Bonus: https://forums.rpgmakerweb.com/index.php?threads/formation-bonus.27146/
View attachment 183183
But in battle, it doesn't show:
View attachment 183184
How do I fix this?
Here is my script list:
Bump
Is the battle formation supposed to change? Is there anything in Yanfly's script that provides a compatibility check for Vlue's?
Is the battle formation supposed to change? Is there anything in Yanfly's script that provides a compatibility check for Vlue's?
I went to this and was trying to remember how I did it before, but even when I put it the same way, it still didn't work to show the change in battle.
Here is an updated list of my scripts:
Trihan is right. The script Yanfly visual battlers does include the option of understanding Vlue actor formations. so it always defaulted to the setting within the visual battlers script.

You will have to adjust the position numbers to your liking but this fixes the visual problem.
Ruby:
class Game_BattleCharacter < Game_Character
  def setup_coordinates
    location = ($game_system.party_direction ||
    YEA::VISUAL_BATTLERS::PARTY_DIRECTION)
    if $imported["Formation-Bonus"]   
      @actor.screen_x = FORMATION_LOCATIONS[@actor.formation_slot][0] + 10     
      @actor.screen_y = FORMATION_LOCATIONS[@actor.formation_slot][1] + 10   
      @actor.origin_x = FORMATION_LOCATIONS[@actor.formation_slot][0] + 10     
      @actor.origin_y = FORMATION_LOCATIONS[@actor.formation_slot][1] + 10   
    else
      base_x = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][0]
      base_y = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][1]
      mod_x = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][2]
      mod_y = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][3]
      @actor.screen_x = eval(YEA::VISUAL_BATTLERS::PARTY_LOCATION_FORMULA_X)
      @actor.screen_y = eval(YEA::VISUAL_BATTLERS::PARTY_LOCATION_FORMULA_Y)
      @actor.origin_x = @actor.screen_x
      @actor.origin_y = @actor.screen_y
    end
    @actor.create_move_to(screen_x, screen_y, 1)
  end
end
Trihan is right. The script Yanfly visual battlers does include the option of understanding Vlue actor formations. so it always defaulted to the setting within the visual battlers script.

You will have to adjust the position numbers to your liking but this fixes the visual problem.
Ruby:
class Game_BattleCharacter < Game_Character
  def setup_coordinates
    location = ($game_system.party_direction ||
    YEA::VISUAL_BATTLERS::PARTY_DIRECTION)
    if $imported["Formation-Bonus"]  
      @actor.screen_x = FORMATION_LOCATIONS[@actor.formation_slot][0] + 10    
      @actor.screen_y = FORMATION_LOCATIONS[@actor.formation_slot][1] + 10  
      @actor.origin_x = FORMATION_LOCATIONS[@actor.formation_slot][0] + 10    
      @actor.origin_y = FORMATION_LOCATIONS[@actor.formation_slot][1] + 10  
    else
      base_x = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][0]
      base_y = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][1]
      mod_x = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][2]
      mod_y = YEA::VISUAL_BATTLERS::PARTY_LOCATION_BASE_COORDINATES[location][3]
      @actor.screen_x = eval(YEA::VISUAL_BATTLERS::PARTY_LOCATION_FORMULA_X)
      @actor.screen_y = eval(YEA::VISUAL_BATTLERS::PARTY_LOCATION_FORMULA_Y)
      @actor.origin_x = @actor.screen_x
      @actor.origin_y = @actor.screen_y
    end
    @actor.create_move_to(screen_x, screen_y, 1)
  end
end
1625336907204.png

Set up the row like this. I put your fix in but it still looks like this:
1625336972458.png
it still looks like this:
Right because there are two lines that need to be added to Vlue formations script.
Sorry, forgot to mention it.
At the top above the FORMATION_ROWS = 3 add in
Ruby:
$imported = {} if $imported.nil?
$imported["Formation-Bonus"] = true
Right because there are two lines that need to be added to Vlue formations script.
Sorry, forgot to mention it.
At the top above the FORMATION_ROWS = 3 add in
Ruby:
$imported = {} if $imported.nil?
$imported["Formation-Bonus"] = true
Thanks for the fix. This helped a lot. It works now.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/formation-bonus-yanfly-svb.134500/