mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Added initial version
This commit is contained in:
commit
b452bd670c
13290 changed files with 1178433 additions and 0 deletions
22
dumps/scripts/408.cs2
Normal file
22
dumps/scripts/408.cs2
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
void script_408(int arg0) {
|
||||
if (globalint_1363 == arg0) {
|
||||
return;
|
||||
}
|
||||
setScriptCallOnGlobalConfigChange(408, globalint_1363, 1363, 1, "iY", new WidgetPointer(1013,1));
|
||||
globalint_1389 = 0;
|
||||
if (globalint_1363 == bitconfig_7510) {
|
||||
setWidgetIsHidden(false, new WidgetPointer(1010,33));
|
||||
setWidgetIsHidden(true, new WidgetPointer(1010,32));
|
||||
setWidgetIsHidden(true, new WidgetPointer(1010,24));
|
||||
setWidgetText(new WidgetPointer(1013,26), "Your Turn");
|
||||
playSoundEffect2False(3439, 1, 0, 255);
|
||||
} else {
|
||||
setWidgetIsHidden(true, new WidgetPointer(1010,33));
|
||||
setWidgetIsHidden(true, new WidgetPointer(1010,24));
|
||||
setWidgetText(new WidgetPointer(1013,26), "Opponent's Turn");
|
||||
if (isWidgetHidden(new WidgetPointer(1010,7))) {
|
||||
setWidgetIsHidden(false, new WidgetPointer(1010,32));
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue