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
27
dumps/scripts/2853.cs2
Normal file
27
dumps/scripts/2853.cs2
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
void script_2853(int arg0,int arg1) {
|
||||
int ivar2;
|
||||
int ivar3;
|
||||
ivar2 = subtract(getClientCycle(), arg1);
|
||||
ivar3 = 0;
|
||||
if (ivar2 <= 30) {
|
||||
if (ivar2 == 5) {
|
||||
playSoundEffect(2871, 1, 0);
|
||||
}
|
||||
ivar3 = subtract(multiply(11, ivar2), 325);
|
||||
setWidgetPosition(ivar3, 5, 0, 0, new WidgetPointer(475,8));
|
||||
return;
|
||||
}
|
||||
if (ivar2 < 170) {
|
||||
return;
|
||||
}
|
||||
if (ivar2 < 201) {
|
||||
if (ivar2 == 5) {
|
||||
playSoundEffect(2871, 1, 0);
|
||||
}
|
||||
ivar3 = subtract(5, multiply(11, subtract(ivar2, 170)));
|
||||
setWidgetPosition(ivar3, 5, 0, 0, new WidgetPointer(475,8));
|
||||
return;
|
||||
}
|
||||
setScriptCallOnGameloop(-1, "", new WidgetPointer(arg0));
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue