The debug version says which line the error is on. You didn't mention which line is that in the code you provided.
"Index out of bounds" means that you're using a variable outside of its defined dimensions, e.g. if you defined it as player[33], trying to access player[34] (or even 33 itself) will output this error.
Show which line is mentioned in the error and show how the variables on that line are defined.
I assume p_cyclone[iSkillLevel-1] is the problem, unless you defined g_icon_delay with a size of less than 33.