Of I forgot an S at the end of $data_animation.
What I've given you is to expand the database, but the process would be similar if you want to expand the frame limit.
Here's a modified version that should increase the frame limit.
[ruby]
$data_animations = load_data("Data\\Animations.rxdata") # Here we are loading the animation data
amount = 5000 - $data_animations.size # Here we are calculating how many RPG::Animation objects we want to add to reach 5000
# Here we are looping x times (x is the amount calculated above) and each time we push a new data in our $data_animations array
for i in 0..amount
anim = RPG::Animation.new # Creating a new Animation object
anim.frame_max = 1000 # Changing the frame limit of this animation
$data_animations << anim # Adding the animation to the database list
end
save_data($data_animations, "Data\\Animations.rxdata") # And we finally save the data
exit # this will exit the game automatically after the process is completed.
[/ruby]
This will increase the max animations to 5000 and the frame limit of the new animations to 1000
I can't test it but it should work
Take care!
-Dargor