protected void PutState(int obj, int state) { ScummHelper.AssertRange(0, state, 0xFF, "state"); _resManager.ObjectStateTable[obj] = (byte)state; }