mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Added initial version
This commit is contained in:
commit
b452bd670c
13290 changed files with 1178433 additions and 0 deletions
33
dumps/scripts/1942.cs2
Normal file
33
dumps/scripts/1942.cs2
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
void script_1942() {
|
||||
if (((boolean)globalint_560)) {
|
||||
globalint_559 = min(255, add(globalint_559, 6));
|
||||
if (globalint_559 == 255) {
|
||||
globalint_560 = 1;
|
||||
}
|
||||
} else {
|
||||
if (((boolean)globalint_560)) {
|
||||
globalint_559 = max(60, subtract(globalint_559, 6));
|
||||
if (globalint_559 == 60) {
|
||||
globalint_560 = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
cs2method2103(globalint_559, new WidgetPointer(809,14));
|
||||
if (globalint_561 < 4) {
|
||||
if (isWidgetHidden(new WidgetPointer(809,18))) {
|
||||
globalint_562 = min(20, add(globalint_562, 1));
|
||||
if (globalint_562 == 20) {
|
||||
globalint_562 = 0;
|
||||
setWidgetIsHidden(false, new WidgetPointer(809,18));
|
||||
}
|
||||
} else {
|
||||
globalint_562 = min(35, add(globalint_562, 1));
|
||||
if (globalint_562 == 35) {
|
||||
globalint_562 = 0;
|
||||
setWidgetIsHidden(true, new WidgetPointer(809,18));
|
||||
globalint_561 = min(4, add(globalint_561, 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue