byte GetScriptSlotIndex() { for (byte i = 1; i < NumScriptSlot; i++) { if (_slots[i].Status == ScriptStatus.Dead) return i; } return 0xFF; }