RPG Maker Forums

I'm new to the whole scripting scene, so please bare with me here.  I'm in the process of integrating/testing several of Yanfly's scripts in to an early attempt for a game I'm trying to make and everything works fine until I add Yanfly's Battle Engine.  I have the Core Engine and Message System in place and the game runs fine, but once I add the Battle System and test run the game I get an error:

Script "Yanfly Battle Engine" line 840: NoMethodError occurred.

undefined method '<=' for nil:NilClass.

now at (and around) line 840 is:

833  #--------------------------------------------------------------------------
834  # alias method: setup_new_animation
835  #--------------------------------------------------------------------------
836  unless $imported["YEA-CoreEngine"]
837  alias sprite_battler_setup_new_animation_abe setup_new_animation
838  def setup_new_animation
839     sprite_battler_setup_new_animation_abe
840     return if @battler.pseudo_ani_id <= 0
841     animation = $data_animations[@battler.pseudo_ani_id]
842     mirror = @battler.animation_mirror
843     start_pseudo_animation(animation, mirror)
844     @battler.pseudo_ani_id = 0
845  end
846  end # $imported["YEA-CoreEngine"]

Now I know didly squat about RGSS3 so this, while I'm aware it's a programming language, makes no sense to me.

All I know is 840 is calling an error and I have the requisite Core System script installed above this one.  looking at the code, as a newbie, I'd be inclined to believe that I'm missing an animation file or script, but the instructions for this script say nothing for dependancies other than Core Engine.

I've run a battle test with the same scripts running with no error.  It only seems to happen when transitioning to battle from a map.

Any assistance with this would be most appreicated.

The Script's page can be found here:

http://yanflychannel.wordpress.com/rmvxa/battle-scripts/ace-battle-engine/

Latest Threads

Latest Posts

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,472
Members
137,822
Latest member
madelbylz
Top