RPG Maker Forums

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;
 


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

  # 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:

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,547
Members
137,835
Latest member
yetisteven
Top