Im using YEP_Battle_StatusWindow plugin. And when i save the game after battle this error showed up:
this._states.contains is not a function
plz help
you need more details and how the code you use.
mostly if you want to check states, you do an array [3,5,6,7,12,66].contains
if you need to loop through array from 3 through 30, you need a for...loop.
as there are multiple ways, we need exact thing what you want to accomplish
and where.
That can happen if you call a script from somewhere it's not supposed to be called from, so "this" is a different type of object than the object prototype that function actually belongs to.
we need more info
please play to the error again, then press F8 and switch to the console tab in the next window.
we need a screenshot of that as the console contains the full error trace, not only the final message.
additionally, we need screenshots to see which plugins you use and especially if your order of the yanfly plugins is the correct one.
idk how but now it works? For some reason. I will post more info if this error come back. Thank you all for help anyways <3
it might have been something as simple as loading an incompatible savefile as opposed to start a new game...