Sorry but you are not allowed to view spoiler contents.
For some reason it looks like level.flag isn't initialized, but I don't know how this would be possible considered that it should be initialized within the official scripts, as opposed to my own. I assume this means that flag_init() // found within raw\commom_scripts\utility.gsc