mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-20 13:30:27 -07:00
Added initial version
This commit is contained in:
commit
b1dccb3fed
14153 changed files with 1285206 additions and 0 deletions
22
dumps/scripts/1969.cs2
Normal file
22
dumps/scripts/1969.cs2
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
void script_1969() {
|
||||
int ivar0;
|
||||
int ivar1;
|
||||
ivar0 = 1;
|
||||
ivar1 = 0;
|
||||
while (ivar0 <= getCommonDefinitionSize(2119)) {
|
||||
if (((boolean)globalint_617)) {
|
||||
ivar1 = cs2method_3408(105, 105, 2022, ivar0);
|
||||
setWidgetText(cs2method_3408(105, 73, 2119, ivar0), intToStr(ivar1) + " Coins");
|
||||
} else {
|
||||
ivar1 = cs2method_3408(105, 105, 2021, ivar0);
|
||||
setWidgetText(cs2method_3408(105, 73, 2119, ivar0), intToStr(ivar1) + " Coins");
|
||||
}
|
||||
if (getItemAmtInContainer(93, 995) >= ivar1) {
|
||||
setWidgetRGB(new Color(0, 255, 0), cs2method_3408(105, 73, 2119, ivar0));
|
||||
} else {
|
||||
setWidgetRGB(new Color(255, 0, 0), cs2method_3408(105, 73, 2119, ivar0));
|
||||
}
|
||||
ivar0 = add(ivar0, 1);
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue