if you made this with cs1, it could be packed to the cache.
Code:
if (opcode == 10) {
int info = opcodes[counter++] << 16;
info += opcodes[counter++];
RSInterface inter = RSInterface.getRSInterface(info);
int itemId = opcodes[counter++];
if (itemId != -1 && !ItemDefinition.forID(itemId).membersObject || members2) {
for (int len = 0; inter.inv.length > len; len++) {
if (itemId + 1 == inter.inv[len]) {
value = 999999999;
break;
}
}
}
}
if this is greater than 1 then it'll switch to the enabled sprite, or in your case transparency as 317 doesn't support that.