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
16
dumps/scripts/685.cs2
Normal file
16
dumps/scripts/685.cs2
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
void script_685(int arg0,int arg1,int arg2,int arg3,int arg4,int arg5) {
|
||||
arg3 = mod(add(arg3, arg5), multiply(arg4, 4));
|
||||
if (setWidgetRegister(new WidgetPointer(arg0), arg1)) {
|
||||
if (arg3 <= arg4) {
|
||||
setWidget3DRotation(0, 0, getWidgetRotateX(), mod(add(arg2, arg3), 2048), cs2method1607(), getWidget3DDistance());
|
||||
} else if (arg3 <= multiply(arg4, 2)) {
|
||||
setWidget3DRotation(0, 0, getWidgetRotateX(), mod(subtract(add(arg2, arg4), subtract(arg3, arg4)), 2048), cs2method1607(), getWidget3DDistance());
|
||||
} else if (arg3 <= multiply(arg4, 3)) {
|
||||
setWidget3DRotation(0, 0, getWidgetRotateX(), script_686(subtract(arg2, subtract(arg3, multiply(arg4, 2))), 2048), cs2method1607(), getWidget3DDistance());
|
||||
} else {
|
||||
setWidget3DRotation(0, 0, getWidgetRotateX(), script_686(add(subtract(arg2, arg4), subtract(arg3, multiply(arg4, 3))), 2048), cs2method1607(), getWidget3DDistance());
|
||||
}
|
||||
setScriptCallOnGameloop(685, new WidgetPointer(-32768,3), -2147483643, arg2, arg3, arg4, arg5, "Iiiiii");
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue