Help with a error message.

I wanted to know what i should do,im trying to use the animated battlers script from grimoires castle.wordpress.

Im installing normally like any other script,but im receiving the error message on line 929:"no implicit conversion from nil to integer"
I really wanted to make it work,its is the easiest one to use.
the line:

928 : if @last_pose == new_pose
929 : @no_loop = !($data_animations[new_pose].name =~ /no[_|\s]loop/i).nil?
930 end
Moved to: RGSSx Script Support

Do you have animations without names? Not sure if that's the issue or not.
Moved to: RGSSx Script Support

Do you have animations without names? Not sure if that's the issue or not.
No,the animations uses the animations on the database,and the ones im using in specific have names.
Moved to: RGSSx Script Support

Do you have animations without names? Not sure if that's the issue or not.
another thing,game just give the message when entering on any fight.
oh...i tried adding the same notetags to the actors and game didnt crashed...i think every actor and enemy need to have it now
What i could delete from here so i have just the enemies animated?
Sploderman, please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
What i could delete from here so i have just the enemies animated?
Since your new you may not know about the forums options for posting scripts.
When you need to post something as large as the script you just posted, it takes up a lot of room on the post. Instead of doing that, (because it also gets modified by the forum for smiley faces) is use spoilers (to make it smaller) and code blocks (specifically for scripts). Then it is much more readable.
1683890983675.png

Also when using code block, you can specify the code structure. e.g. Ruby
1683891064640.png
In fact, please DON'T post other people's scripts in your post. Please remove that whole script, and put a link to where you originally got it instead.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-a-error-message.157451/