mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Added initial version
This commit is contained in:
commit
b452bd670c
13290 changed files with 1178433 additions and 0 deletions
16
dumps/scripts/750.cs2
Normal file
16
dumps/scripts/750.cs2
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
int script_750(int arg0) {
|
||||
int ivar1;
|
||||
if (arg0 <= 0) {
|
||||
return -1;
|
||||
}
|
||||
arg0 = subtract(arg0, 1);
|
||||
ivar1 = getItemContainerLength(94);
|
||||
if (arg0 < ivar1) {
|
||||
return getItemIdInSlot(94, arg0);
|
||||
}
|
||||
arg0 = subtract(arg0, ivar1);
|
||||
if (arg0 < getItemContainerLength(93)) {
|
||||
return getItemIdInSlot(93, arg0);
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue