Thread:ヌヌハラ/@comment-46261745-20200811184042/@comment-44256294-20200812235419

In AinDecompiler, try right clicking on "this.m_aspSp" somewhere, and then select "Find all references of struct member m_aspSp". This will bring up a window which will show every instance where that array is used in the code. Then you can right click on the entries in that window and select "Show in explorer" to quickly look at the functions that use it. From there you should be able to find all the instances where the code is assuming the size of the array.



I took a quick look and I noticed the functions tagBattleStatus@setPos and tagBattleStatus@setZ both assume that the array only has 5 entries. Maybe that is the source of the problem.