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
10
dumps/scripts/1552.cs2
Normal file
10
dumps/scripts/1552.cs2
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
int script_1552(int arg0,int arg1,int arg2,int arg3,string arg4) {
|
||||
int ivar4;
|
||||
ivar4 = 0;
|
||||
if (setWidgetRegister(new WidgetPointer(arg2), arg3) || ((arg3 == -1) && setWidgetRegister(new WidgetPointer(arg2)))) {
|
||||
ivar4 = add(getWidgetActualX(), divide(getWidgetActualWidth(), 2));
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
return script_1551(arg0, arg1, subtract(ivar4, divide(getTextWidth(arg1, script_1602(arg4)), 2)), arg4);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue