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
21
dumps/scripts/2771.cs2
Normal file
21
dumps/scripts/2771.cs2
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
void script_2771(int arg0,int arg1) {
|
||||
int ivar2;
|
||||
ivar2 = subtract(getClientCycle(), arg1);
|
||||
if ((ivar2 >= 181) || (globalint_1007 != 1)) {
|
||||
setScriptCallOnGameloop(-1, "", new WidgetPointer(arg0));
|
||||
return;
|
||||
}
|
||||
if (((boolean)mod(ivar2, 25))) {
|
||||
switch (rnd(2)) {
|
||||
case 0:
|
||||
playSoundEffect(6645, 1, 0);
|
||||
break;
|
||||
case 1:
|
||||
playSoundEffect(6644, 1, 0);
|
||||
break;
|
||||
case 2:
|
||||
playSoundEffect(6643, 1, 0);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue