I tried doing a search in google and on this forum and I didn't see anything specific to my problem so I made a post. When I try to use any special ability, (Both were custom abilities) http://gyazo.com/632dcd4afe7a0aa87f7a4a0ccdc3c6d5 I get that error and the game crashes. return $data_animations[anime_id].frame_max * 4 thats the offending peice of code. http://gyazo.com/31fcfb417c62ad998915b9b3deba616b First custom skill. http://gyazo.com/f6141e888837b4bab937e1e276d2d51f second custom skill. I'm using Tankentai Sideview Battle System. I also tried using a default skill already offered in the skill list and it also crashes the game in the same fashion so I don't think the issue is with the skills be custom.