Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

So you're using both?

yup, i set up the max stacks in the new one too, but for some reason

i = 0;

req_state_id=41;

nya = $gameParty.members()[i]._states.filter(state_id => state_id == req_state_id).length;

$gameVariables.setValue(1,nya);

was returning 1 stack even when the number said 2 until i put the old one back

State stacks don't check like that in status construct

is there a plugin command for checking stacks? i had this code before i added it

Change the _states to _stackedStates[State_id]

No filter function required