Thread:RottenBlock/@comment-46261745-20200829154721/@comment-46261745-20200830121039

Thanks for taking a look at this!

I've mostly just been trying to figure out why they call for random1 function in the tagBattleTeki::select methods, since it effectively seems to do the same thing as anTargetNo[乱数(cnt) - 1]; in the select method, just less efficiently, so why have it at all...?

Incidentally, it was in that Random1 function that I thought a cnt==0 would crash the game, because it would never break the loop, but good to know the same might happen in the section above, and that it's most likely just a debugging relic.

Would be great if you could confirm that the random1 function isn't doing something useful though - I know it's also being called by getTargetNo, so I wouldn't delete it entirely, just from tagBattleTeki::select...