mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
14 lines
483 B
Text
14 lines
483 B
Text
void script_394(int arg0) {
|
|
if (((boolean)globalint_1391)) {
|
|
cs2method2103(max(subtract(getWidgetShadeColor(new WidgetPointer(arg0)), 10), 0), new WidgetPointer(arg0));
|
|
if (((boolean)getWidgetShadeColor(new WidgetPointer(arg0)))) {
|
|
globalint_1391 = 1;
|
|
}
|
|
} else {
|
|
cs2method2103(min(add(getWidgetShadeColor(new WidgetPointer(arg0)), 10), 255), new WidgetPointer(arg0));
|
|
if (getWidgetShadeColor(new WidgetPointer(arg0)) == 255) {
|
|
globalint_1391 = 0;
|
|
}
|
|
}
|
|
return;
|
|
}
|