void script_417(int arg0) {
	int ivar1;
	ivar1 = getWidgetShadeColor(new WidgetPointer(arg0));
	if (((boolean)globalint_1387)) {
		ivar1 = add(ivar1, 2);
		if (ivar1 < 255) {
			cs2method2103(ivar1, new WidgetPointer(arg0));
		} else {
			setWidgetIsHidden(true, new WidgetPointer(arg0));
		}
	}
	return;
}
