There are 3 levels for constants, in order of priority: - Individual event's constants (defined between #Const Start and #Const End) - [[modConstants.json]] - [[gameConstants.json]] Which means that event constants override anything else ===== AutoAlloc ===== In your event, using the constant ''AutoAlloc: 1'' will make it so that children will be automatically assigned an ID from 0x00 to 0xFF, increasing by 1 every new constant encountered. For example: #Const Start AutoAlloc: 1, SomeOtherVariable: 0x70 #Const End SETVar(x0000,SomeOtherVariable) If() GoTo(GoTo.Success) Else() GoTo(GoTo.Fail) EndIf() GoToTarget(GoTo.Success) //Stuff GoToTarget(GoTo.Fail) //Stuff This code would automatically assign a value of 0x00 to GoTo.Success and 0x01 to GoTo.Fail. This is particularly useful to automatically assign values with Subs and GoTos.