Cozziekuns earthbound battle system + Yanfly Command List

Yes, it's me. Again. I should really go to a scripting class so I can stop asking here for help, but well... One can try.

So, I'm almost done with the my battle HUD and system. Various members came and help me with my issues and I'm thankful. But I found myself in trouble again.

I’m using cozziekuns’ earthbound battle system script (check here! https://rmrk.net/index.php/topic,47693.0.html ) and it works perfectly. I really like it, my problem starts when I reeeeeeally need to use it with Yanfly's Command List script (check here! https://yanflychannel.wordpress.com/rmvxa/battle-scripts/battle-command-list/ ). I guess that since cozzie's script only has knowledge about the basic commands (fight, escape, magic, special, items) it does not recognize custom commands like the ones I'm trying to add with Yanfly's script, like skills as commands in battle. I wanted to know if there is a way to solve this problem, as I really like cozziekuns' battle system and it would be a shame to being in the need of getting rid of it (its fun bc i only like this script bc the way the characters peek out of the window. If it wasn't for that I wouldn't be this sad LOL)

The error it shows is this one:
Screenshot_20240807-000150.jpg


If it is useful, I'm using the version of the script that user Roninator2 provided to me, with the addon that replaces text with icons. I'll attach the file here.

I'm also NOT using the odometer.
@pochijp This is an easy fix. You just have to add the names of the commands you're adding to the Earthbound-ish script.

So, for example, if you added skill 3 (Dual Attack) to the command list, you would go to this section in the Earthbound script and add it like this:
Code:
module Cozziekuns
 
  module Earthboundish
    
    ActorIcons ={
      # Command Name => IconID
      "Attack" => 116,
      "Magic" => 152,
      "Special" => 128,
      "Guard" => 161,
      "Items" => 260,
      "Escape" => 474,
      "Dual Attack" => 116,
      "Double Attack" => 116,
      "Triple Attack" => 117,
    }
    
  end
 
end

You can add as many lines as you want to this section.
@pochijp This is an easy fix. You just have to add the names of the commands you're adding to the Earthbound-ish script.

So, for example, if you added skill 3 (Dual Attack) to the command list, you would go to this section in the Earthbound script and add it like this:
Code:
module Cozziekuns
 
  module Earthboundish
   
    ActorIcons ={
      # Command Name => IconID
      "Attack" => 116,
      "Magic" => 152,
      "Special" => 128,
      "Guard" => 161,
      "Items" => 260,
      "Escape" => 474,
      "Dual Attack" => 116,
      "Double Attack" => 116,
      "Triple Attack" => 117,
    }
   
  end
 
end

You can add as many lines as you want to this section.
OH MY GOD! THANKS!!!
OH MY GOD! THANKS!!!
@pochijp This is an easy fix. You just have to add the names of the commands you're adding to the Earthbound-ish script.

So, for example, if you added skill 3 (Dual Attack) to the command list, you would go to this section in the Earthbound script and add it like this:
Code:
module Cozziekuns
 
  module Earthboundish
   
    ActorIcons ={
      # Command Name => IconID
      "Attack" => 116,
      "Magic" => 152,
      "Special" => 128,
      "Guard" => 161,
      "Items" => 260,
      "Escape" => 474,
      "Dual Attack" => 116,
      "Double Attack" => 116,
      "Triple Attack" => 117,
    }
   
  end
 
end

You can add as many lines as you want to this section.
Screenshot_20240807-093109_1.jpg

Sooo I gave it a try and it works perfectly, you 99% solved my problem, thanks! But I have a bit of an issue. I added three skills to the character which were added to their commands, but since there were 6+ commands in their command list, I had to scroll through the list to find those two (Defend and Items). When I found em’, the icon for these two commands weren't there! The problem isn't the icons or commands per se, since the other two characters are able to see those commands just fine.

It seems that when a character has 6+ skills, the ones that are out of screen do not load their graphic icon. Is there a fix? I looked up through the script but I couldn't figure it out.

Gotta say, even so, I'm actually relieved. This is not a problem for me since the characters will only have six skills on screen thus it doesn't affect me. Just wanted to know if there is a fix.
show us the ActorIcons ={ in the earthbound script and a picture of the icon sheet for that icon for defender.

Original thread: https://forums.rpgmakerweb.com/threads/cozziekuns-earthbound-battle-system-yanfly-command-list.170915/