I don’t know coding, but that would seem to make perfect sense.
Since I mentioned Dragon Keep: if I do one of Wheezy’s ‘Death Runs’ looking for TTAODK COMs, I can make a smooth run, or I can get blown over the side by an exploding skeleton, or I can get get blown over the side while also having gotten a DOT from a UBA fire mage…as well as other mishaps.
I haven’t been taking notes about which state I’ve been in and on what portion of the map, but that would probably factor in.
On Terra Peak you can save your stacks by crawling over the side while in FFYL, and you’ll also keep them even if you had a DOT or have been healthgated before getting tossed off.
In the Son of Craw arena I’ve lost them each time I’ve gone over the side.
If areas are indeed flagged differently - or even subsections of a given area - some consistency would be nice.