mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-21 09:02:07 -07:00
Added initial version
This commit is contained in:
commit
b1dccb3fed
14153 changed files with 1285206 additions and 0 deletions
9
dumps/scripts/2139.cs2
Normal file
9
dumps/scripts/2139.cs2
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
void script_2139(int arg0,int arg1,int arg2,int arg3,int arg4) {
|
||||
if (arg0 != 1) {
|
||||
return;
|
||||
}
|
||||
if (setWidgetRegister(new WidgetPointer(arg1), 3)) {
|
||||
setWidget3DRotation(arg3, arg4, bitAnd(add(getWidgetRotateX(), 25), 2047), bitAnd(add(getWidgetRotateY(), 25), 2047), bitAnd(add(cs2method1607(), 25), 2047), getWidget3DDistance());
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue