Error with Yanfly's Ace Battle on line 688 Forced Action

Heya! I'm trying out Yanfly's neat battle script, but I think it's having an issue with an evented 'coin assault' skill I made up. 
 
Specifically, the error reads;
 
Script 'Yanfly's' line 688; NoMethodError ocurred.
 
undefinded method 'forced_action_remove' for Switch:Module
 
Here's the section in question;
 


Spoiler
  #--------------------------------------------------------------------------

  # overwrite method: force_action

  #--------------------------------------------------------------------------

  def self.force_action(battler)

    @action_forced = [] if @action_forced == nil

    @action_forced.push(battler)

    return unless Switch.forced_action_remove

    @action_battlers.delete(battler)

  end
 

My 'Coin Assault' skill may be a little complex, but I think the main issue causing it is the Force Action. 

 

I have a Troop event that basically triggers a common event when the test enemy has the state that the skill puts on. 

 

Here is that event;

http://imgur.com/sp8G2AS

 

So, I'm not terribly sure what I'm doing wrong. But I appreciate any insight! Thanks for reading. c:
Do you use Yanfly's Core Engine as well? Placing it above the Battle Engine may solve this problem 🙂
When you ask for help with scripts, please include a LINK to the script so people can look at it.


Did you start a new game after adding the script? Did you configure the script according to the instructions? If the answer to any of those is "no", please do those things and try again.
Do you use Yanfly's Core Engine as well? Placing it above the Battle Engine may solve this problem 🙂
Mm! That worked, thanks Double. 

Original thread: https://forums.rpgmakerweb.com/threads/error-with-yanflys-ace-battle-on-line-688-forced-action.30223/