39
edits
Line 150: | Line 150: | ||
First there is 4 bytes which define the usage of actor switches 0-3 respectively: | First there is 4 bytes which define the usage of actor switches 0-3 respectively: | ||
*0: | *0: Appears to define an index in set a of local flags for the room. For example, whether a torch is lit or not, a bush is cut or not, etc. | ||
*1: The actor switch is the index of a global flag. | *1: The actor switch is the index of a global flag. | ||
*2: Defines a hardcoded value for the switch, usually 1. For example, while some treasure chests appear based on a global flag being set, some don't; these ones would just use this hardcoded 1 instead of a flag index. | *2: Defines a hardcoded value for the switch, usually 1. For example, while some treasure chests appear based on a global flag being set, some don't; these ones would just use this hardcoded 1 instead of a flag index. |
edits