Galv's animated battlers: using multiple rows to a move

Id like to use 8 images for some of my characters animations and 4 images for the simple animations.

specifically id like to have 8 frames for an attack animation but im struggling to get it to work.

this is the portion of galvs script im trying to edit:
Code:
class Scene_Battle < Scene_Base
  alias galv_animb_sbsb_start start
  def start
    position_battlers
    galv_animb_sbsb_start
  end

  def position_actors
    $game_party.battle_members.each_with_index { |battler,i|
      battler.reinit_battler(i)
    }
    @spriteset.refresh_actors
  end
 
  def position_battlers
    galv_all_battle_members.each_with_index { |battler,i|
      battler.init_animated_battler(i)
    }
  end
 
  def galv_all_battle_members
    $game_party.battle_members + $game_troop.members
  end
 
  alias galv_animb_sbsb_show_animation show_animation
  def show_animation(targets, animation_id)
    @move_target = targets[0]
    check_dash
    set_pose
    galv_animb_sbsb_show_animation(targets, animation_id)
  end
 
  def check_dash
    move = move_to_target
    if move > 0
      @subject.perform_travel(:move_forward,@move_target,move)
      update_for_wait while @subject.moving?
    elsif move == 0
      @subject.perform_dash(:dash_forward,@move_target)
      wait(30)
    end
  end
 
  def move_to_target
    return -1 if no_action && !@moveitem
    @moveitem ||= @subject.current_action.item
    return $1.to_i if @moveitem.note =~ /<melee: (.*)>/i
    if @moveitem.is_a?(RPG::Skill) && @moveitem.id == 1
      char = @subject.actor? ? $data_actors[@subject.id] :
        $data_enemies[@subject.enemy_id]
      return $1.to_i if char.note =~ /<melee: (.*)>/i
    end
    return -1
  end
 
  def no_action
    !@subject || [email protected]_action || [email protected]_action.item
  end
 
  alias galv_animb_sbsb_process_action_end process_action_end
  def process_action_end
    if @subject.screen_x != @subject.orx
      @subject.perform_dash(:dash_back,@subject)
      wait(25)
    end
    galv_animb_sbsb_process_action_end
    @moveitem = nil
  end
 
  alias galv_animb_sbsb_invoke_counter_attack invoke_counter_attack
  def invoke_counter_attack(target,item)
    target.perform_counter_attack
    galv_animb_sbsb_invoke_counter_attack(target,item)
  end
 
  alias galv_animb_sbsb_invoke_magic_reflection invoke_magic_reflection
  def invoke_magic_reflection(target, item)
    target.perform_magic_reflect
    galv_animb_sbsb_invoke_magic_reflection(target, item)
  end
   
 

  def set_pose
   
    return if no_action
   
    item = @subject.current_action.item
    if item.is_a?(RPG::Skill)
      case item.id
      when 2  # guard
        @subject.do_pose(1)
      when 1  # attack
        @subject.do_pose(4)
        wait(20) if $imported["YEA-BattleEngine"]
      else
        unique = item.pose ? item.pose : 6
        @subject.do_pose(unique)
      end
    elsif item.is_a?(RPG::Item)
      unique = item.pose ? item.pose : 5
      @subject.do_pose(unique)
      wait(30) if $imported["YEA-BattleEngine"]
    end
  end
end # Scene_Battle < Scene_Base


but specifically i want to edit the portion that relates to assigning the attack row (4) and i want it to play row 4 then row 5

Code:
def set_pose
   
   return if no_action
   
   item = @subject.current_action.item
   if item.is_a?(RPG::Skill)
     case item.id
     when 2  # guard
       @subject.do_pose(1)
     when 1  # attack
       @subject.do_pose(4)
       wait(20) if $imported["YEA-BattleEngine"]
     else
       unique = item.pose ? item.pose : 6
       @subject.do_pose(unique)
     end
   elsif item.is_a?(RPG::Item)
     unique = item.pose ? item.pose : 5
     @subject.do_pose(unique)
     wait(30) if $imported["YEA-BattleEngine"]
   end

when 1 # attack
@subject.do_pose(4)
wait(20) if $imported["YEA-BattleEngine"]
else
still need help yet didnt want to make a new thread thus..

bump

Original thread: https://forums.rpgmakerweb.com/threads/galvs-animated-battlers-using-multiple-rows-to-a-move.94725/