MZ Enemies Calling out attacks before Charge State Begins, then Action occurs after the delay, using VisuStella CTB and Battle Core

Hi Everyone!

I'm using VistuStella CTB and Battle Core, http://www.yanfly.moe/wiki/Battle_System_-_CTB_VisuStella_MZ , http://www.yanfly.moe/wiki/Battle_Core_VisuStella_MZ .

After testing out the custom commands for battle turns and searching the web, I was unable to figure out how to have enemies call out there attacks before the charge state. I also tried to insert animations as an indicator, but that didn't work either. My goal is to have a set up of:

Enemy picks attack> it is announced via text/animation > enemy skill charge > player can pick skill to avoid attack type > Enemy skill is performed

I did find what someone did for MV and Yanfy on steam, but that doesn't exactly help me since it is for MV and a different battle core. https://steamcommunity.com/app/363890/discussions/0/1696043263495428246/

I believe the solution will require modifying the java script like they did in the above link. If something like this modification already exists for MZ please direct me because I could not find it. If it does require coding, any help and guidance would be appreciated.

I have figured out all of the other steps I'm happy to say, and a special thanks to everyone in the forums helping me with it.

Thank you!
I figured out an alternative method! So if an admin wants to remove This post, or for me to post the solution I came to, Please remove it or let me know about posting the solution.

Thank you to everyone that took the time to read this.
I'm not a mod, but it would be super helpful to post your solution so that if someone else has this issue they don't just get a dead end.
SOP for Setting up a fake “Charge” States for Enemies
This is really having enemies use a skill one turn that unlocks additional skills for the following turn via States in the database. Upon use of an unlocked skill, the skills will become locked again. This allows for full animation and dictation for the player to adapt to. This may be dependent on the advanced battle system, , but I am not sure and I’m not going to remove all of the set up to check.

  1. In Database > Skills, create a skill that will act as the charging phase.
    1. In General Settings, have Scope be User, and Occasion be Battle Screen.
    2. Customize everything else to one’s liking.
  2. In Database > Skills, create the skill that will be unlocked.
  3. In Database > States, create a new state. This state is what will lock/unlock skills and create the “Charging effect.”
    1. In Traits add in
      1. Seal skill and select the charge skill made in 1. Add all skills you do not want the enemy to use.
      2. Add Skill and select the skill you made to be unlocked.
AD_4nXfakgprS4_PWUngoT5TouQsAChwM3owS8fwLoG7JNvjvLrWWpCatENLAWq7Kosn34_LWwetUozZTPI8eKTKAlT-8Xx7jVD8hb0UFbrh5Y_OFYoVm5ax_fGpO7H8xnLS4PN33HQev8vn8iDLF46fvr4tLl8

4. In Database > Enemies > Action Patterns add in:
  1. The skill created in 1, and have the condition set as normal (or always for this example).
  2. The skill created in 2, and have the conditions be the created State in 3.
    AD_4nXewzf8RSEDQyFBW8srvLtM8vnVedLNWKewd5b8A6-39NctJVHUhhzrj6PM0IyCRnPOwKgw9RgPPSMGw1FDF7IfK4yc-yjp_LIWCZopCDmyK4LSnwHtV3ovJQ9owlqL9n6CaCSGnf40UA9m4ZIx7w7qwic_j
  3. Return to the Skill created in 1, the charge skill created.
    1. In Effects, add in Add State, and select the created State from 3.
      AD_4nXcl3fYzABQU_DSyWze6cDcqC46P5t6j9PFM_43lPod4RE5epf0kwKk-SeR0eALT0QCwfjmBpS0KJRQA_0Q23Nv1lCS-XzqsDSWwXoSJ3IkV2zvsi-ebRNJgmzzsVfEC-F6zX6SoeAywa8LpWurZ1GZFLJv7
  4. Return to the Attack created in step 3. We will now have this attack remove the State that allows it to be cast.
    1. In the Damage > Formula, add a.removeState (# or name of state)
AD_4nXfV8QV9w_5sfNfueNHWGfx6eCuXwoVuoiVXZFevm46PHTCCyJbn0dxxg8j6d79XZV7uHsTpBLjJgBo29Fcz0VIL6yJdN_mhSlZYjVdk3duPwfcoX1BCdXlZSBse9c165hkouM69EkQrcsPWMidAaZTwIiyn

  1. Your skill will now become enabled and disabled with a fake charge phase when the enemy uses the skills. No plugin or coding required!

Original thread: https://forums.rpgmakerweb.com/threads/enemies-calling-out-attacks-before-charge-state-begins-then-action-occurs-after-the-delay-using-visustella-ctb-and-battle-core.170772/