Well ignore this post, it's just something for reference later when people will be able to see the code - and of course a documentation for myself.
Province title event counter states
0. Not assigned yet
1. Alive and kicking
2. Currently being assigned (no ruler chosen yet)
3. Being re-assigned (no ruler chosen yet)
4. Assigning/Re-Assigning (new ruler chosen) (also used for stripping)
5. Canceling
6. Temporary state (used to determine if the counter should be reset to 0 or to 1)
Bookmarks