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