Quote from: Khris on Mon 23/10/2023 16:22:19ResetRoom() does not change global variables.
Indeed, ResetRoom was never supposed to change anything global.
There's one known case which may result in "loosing" global variable value: it's when you declared variables in the header without "import" keyword. This leads to variable "duplication" effect, where each script, including room script, receives a copy of a variable instead of using same shared one.
https://adventuregamestudio.github.io/ags-manual/TheScriptHeader.html