- Joined
- Aug 5, 2013
- Messages
- 22
- Reaction score
- 3
- First Language
- English
- Primarily Uses
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;
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:
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
# 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:

