<aside> ⚡ script "core_count_customstateflag" (void)
</aside>
This script can be used to return the currently stored custom state for the calling actor, after having used either [core_updatecustomstate](<https://mm8bdm.notion.site/core_updatecustomstate-9529446f5567442691bbcde498e8ff33>)
or [core_set_customstateflag](<https://mm8bdm.notion.site/core_set_customstateflag-f7cd58de6067403292a975fe00413ba1>)
.
Returns the currently stored custom state as an integer.