[VACE] Compapilty issue with Ace Battle Engine and Tsukihime's Skill Change

The issue being, both scripts overwrite use_item method.
My main issue with this is the fact that it disables "one animation" notetag functionality and "Screen position" method in default engine.

I also changed part of Thuskihime's script (or more accurately, rearranged lines positions, because I don't have any real scripting knowledge) so that MP is used up after skill use, not before as by default.
I checked it and that change isn't the thing that's causing this issue.

Skill change
Ace battle engine

The parts of the scripts that (I think) are causing the issue:
Ruby:
#--------------------------------------------------------------------------
# Yanfly- line  3077
#--------------------------------------------------------------------------
  def use_item
    item = @subject.current_action.item
    @log_window.display_use_item(@subject, item)
    @subject.use_item(item)
    status_redraw_target(@subject)
    if $imported["YEA-LunaticObjects"]
      lunatic_object_effect(:before, item, @subject, @subject)
    end
    process_casting_animation if $imported["YEA-CastAnimations"]
    targets = @subject.current_action.make_targets.compact rescue []
    show_animation(targets, item.animation_id) if show_all_animation?(item)
    targets.each {|target|
      if $imported["YEA-TargetManager"]
        target = alive_random_target(target, item) if item.for_random?
      end
      item.repeats.times { invoke_item(target, item) } }
    if $imported["YEA-LunaticObjects"]
      lunatic_object_effect(:after, item, @subject, @subject)
    end
  end

#---------------------------------------------------------------------------
# Tsukihime- line 182
#---------------------------------------------------------------------------
    def use_item
      orig_item = @subject.current_action.item
      @log_window.display_use_item(@subject, orig_item)
     
      targets = @subject.current_action.make_targets.compact
      @subject.use_item(orig_item) #xxxxx
      refresh_status #xxxxx
      #
      targets.each do |target|
       @subject.change_skill(target, orig_item) #xxxxxxxxx  
        item = @subject.current_action.item  #xxxxxxxxx
        show_animation([target], item.animation_id)
        item.repeats.times { invoke_item(target, item) }

      end
    end
  end
end
Both Yanfly and Tsukihime were very good at capsuled programming and their scripts are usually extremely compatible with everything, especially on VXA.

So either there is a third script interfering with both, or you really messed up script order.
Have you tried reordering those two scripts?

if that alone doesn't help we will need more info for help. a screenshot of the script list in your script editor would be a start for this.
No, the incompatibility is indeed there, no need to double-check.
That said, Hime themselves were not a fan of how they did it.

But let me explain why it IS an issue.
From my understanding, Hime's skill change script changes the skill used based on condition.
There is one configuration to check condition based on each target in Per_Target_Mode = false (I guess you set this to true).

Naturally, if you target 3 enemies, you apply skill A to 2 enemies, and because the condition meets, you applied skill B to the remaining target. Skill A and B happen to have a different animation. Both skill has to play different animation. And thus, this requires Hime to overwrite the method and disabled the one-animation tag from Yanfly.

If you set Per_Target_Mode to false, it should not be a problem.
Yeah, that worked, just need to change notetags a little but other than that it fixes
animation problem.
Thank you for pointing that out.

I was worried about that MP thing, but I moved @subject.use_item(item) to the bottom of the overwrite in Yanfly's script and, uhh, I think it worked?
I really don't know if that's the best solution, but it works for me, for now, so I'm fine.
I guess.

Original thread: https://forums.rpgmakerweb.com/threads/vace-compapilty-issue-with-ace-battle-engine-and-tsukihimes-skill-change.136964/