As I said it's defined, defined in my headers, thus compiler doesn't recognize what is this. Shit-numbers is a term I'm using for decompiled scripts. Compiler turns ALL defines (names for variables, for example) into tell-nothing numbers. So... to know what's the name of global variable you must open DATA\VAULT13.GAM. It's much easier to work with code when variables have names. As for editing: I'm using Timeslip's script editor. Check edit of my previous post for dialogue_system_enter code, btw. But don't copy&pasta local_var(1), because you may override existing one... so... check what local_vars are already used in the script... and pick the number that isn't used... next: - open SCRIPTS\SCRIPTS.LST, - find the script, and then: Code: GENSTAIR.INT ; generic ladders, and stairs # local_vars=0 Code: # local_vars=X X must be equal to number of local_vars used in the script, otherwise newly added local_var may not work.