Mordekay, the only thing I can think of that could have caused that error is world damage, the index that it is reporting as being out of bounds is obtained from get_user_attacker(). I'll add some bounds checking to make sure the enemy index is in the range of 1 .. 32 before the subroutine starts checking things.