Thread:FixSRwiki/@comment-46261745-20200905103950/@comment-46261745-20200917200913

.Sorry, I was mainly just posting out of frustration than out of any expectation from you.

I've been trying different approaches to figure out why the error is getting thrown, and although I haven't figured ot why... I have learned a few things:

a) the error message is indicating that an array somewhere is being given an ot of bonds index value (error message: https://files.catbox.moe/6lsnut.png)

b) I know which line it occrs on in my code, thanks to a few message boxes (which contradicts the above, since no arrays are being accessed, and it's the return n行動１ line, which is identical to the original AliceSoft function...

c) It appears to affect other Skill set 1 moves, not just ally guard. I got it to trigger when a tactician was trying to buff allies.

d) It doesn'tt occur when I compile all files except m new AI (not particalrly surprising, but I was wondering if it occuured because of the new lure/bloodlust skill parameters that I had to make with Nunuhara's tool, that also assign graphics in the same way as ally guard, but tthis doesn't appear to be the case)

e) the actual values for the n行動１ variable thatt's appearing to be buggy are correct, according to the debug sgboxes... I'm getting 21 for allyy guard, right before it throws the error, so it's not as if the variable is assigned incorrectly

I'm still very confused... either another function somewhere is running when the AI returns the move to the parent function, and I can't get visibility on how it's triggered, or something thatran previouslyy is somehow stitll in play - but if it's affecting mltiple n行動１ moves, but not other skill sets, then this is also unlikely... so I'm not really suure what to do next...