Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(lastActiveInvInterface == anInt1084 && mouseInvInterfaceIndex != anInt1085)
- {
- RSInterface class9 = RSInterface.interfaceCache[anInt1084];
- int j1 = 0;
- if(anInt913 == 1 && class9.contentType == 206)
- j1 = 1;
- if(class9.inv[mouseInvInterfaceIndex] <= 0)
- j1 = 0;
- if(class9.aBoolean235)
- {
- int l2 = anInt1085;
- int l3 = mouseInvInterfaceIndex;
- class9.inv[l3] = class9.inv[l2];
- class9.invStackSizes[l3] = class9.invStackSizes[l2];
- class9.inv[l2] = -1;
- class9.invStackSizes[l2] = 0;
- } else
- if(j1 == 1)
- {
- int i3 = anInt1085;
- for(int i4 = mouseInvInterfaceIndex; i3 != i4;)
- if(i3 > i4)
- {
- class9.swapInventoryItems(i3, i3 - 1);
- i3--;
- } else
- if(i3 < i4)
- {
- class9.swapInventoryItems(i3, i3 + 1);
- i3++;
- }
- } else
- {
- class9.swapInventoryItems(anInt1085, mouseInvInterfaceIndex);
- }
- stream.createFrame(214);
- stream.method433(anInt1084);
- stream.method424(j1);
- stream.method433(anInt1085);
- stream.method431(mouseInvInterfaceIndex);
- }
- } else
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement