A few problems with Jet's Animated Battlers. (Multi-questions!)

I'm using Jet's Animated Battlers in a project because I want to use the Holden-styled sprite sheets (the work is my own) and the other scripts that I'm aware of that have multiple rows of animation frighten me off with their technical knowledge requirements.

The script's initial announcement can be found here: http://www.rpgmakervxace.net/topic/500-animated-battlers/

The dropbox of the script itself can be found here: http://pastebin.com/raw.php?i=4Gagm2mM

Unfortunately, I've run into a few problems.  I've spoilered them all to separate them in a way that is hopefully useful.

Crashing on drain-health reflect:

Spoiler
The first is a major concern: it seems like magic reflect on a drain instantly explodes the script:

Script 'Jet's animation' line 645: NoMethodError occurred.

undefined method 'item' for nil:NilClass
This is particularly confusing because that section of the script seems to be... for item usage?

Code:
   alias jet3434_use_item use_item  def use_item(*args, &block)    jet3434_use_item(*args, &block)    @subject.animation_delay = 0    @subject.battle_sprite.anim_pause = false    if @subject.battle_sprite.animated      if @subject.current_action.item.physical?        @subject.battle_sprite.anim_return      end    end  end
Bolded is line 645 for me, as I understand that sometimes code lines get jumbled up between users.

 

I was experimenting with a few other scripts out there and discovered this problem disappeared with Tsukihime's Action (available here: http://www.rpgmakervxace.net/topic/7312-tsuki-action/ ) but I ultimately decided that Tsuki Action conflicted too much with the script in other ways and didn't offer enough in return, so I scrapped it.  I mention it only in that it might have the 'secret' to solving the problem.
 

Counter-attack visual bug.


The second problem is aesthetic but quite bothersome.  The counter attack is not animated and the 'damage numbers' appear over the aggressor's starting point instead of its current position.  I imagine this is actually quite an in-depth problem?



 

Cannot seem to manually select a skill's animation row.


I have every character's skills split into two skill categories, and I'd like to use one animation for one set and another for the other.  The script automatically determines what it should use based on some criteria that is not adjustable for me (some magical skills are certain hit, for example).  The script also seems to have an override option built in (see: <atk anim: id>) but that doesn't seem to do anything on actors (it does mention it's for enemies).  

 

I'd be exceptionally grateful for some sort of alteration that allows a note to be dropped into the skill that allows manual control over what row of animation should be played during its use.



 

PLBKAC: Where to put the script call to turn off the thing?


It's an explicit option, but I have no idea where to put "TURN_OFF = 1" (or what sort of context it needs around it).

 

I r dum.



 

 

The other scripts I have installed are almost all Yanfly's work (core, battle engine, party system, status menu, equip engine, shop, field effects, victory spoils, death common event, instant casts, skill costs manager, slippery tiles, element absorb, HP bars, damage colours, anti fail-message).  Yanfly's stuff can be found on his site: http://yanflychannel.wordpress.com/rmvxa/ . I also have Tsuki's Enemy Reinforcements and Large Choices, as well as the Yami Engine ACE State Auras.  I am not linking to these because I would be very surprised if they were conflicting.

 

I currently have Jet's animation below all of the other scripts.

 

Thank you for your time!

Original thread: https://forums.rpgmakerweb.com/threads/a-few-problems-with-jets-animated-battlers-multi-questions.23927/