@@ -611,7 +611,7 @@ public static void runClientScripts(Object[] listeners, int arg1, int arg2, Game
611
611
// setscrollpos
612
612
intValueIndex -= 2 ;
613
613
gameInterface .scrollWidth = scriptIntValues [intValueIndex ];
614
- gameInterface .scrollPosition = scriptIntValues [1 + intValueIndex ];
614
+ gameInterface .scrollDepth = scriptIntValues [1 + intValueIndex ];
615
615
} else if (scriptOpcode == 1101 ) {
616
616
// setcolour
617
617
int i_24_ = scriptIntValues [--intValueIndex ];
@@ -720,7 +720,7 @@ public static void runClientScripts(Object[] listeners, int arg1, int arg2, Game
720
720
GameInterface gameInterface = GameInterface .getInterface (scriptIntValues [intValueIndex ]);
721
721
int i_33_ = scriptIntValues [2 + intValueIndex ];
722
722
int i_34_ = scriptIntValues [intValueIndex + 1 ];
723
- GameInterface gameInterface_35_ = GameInterface .method361 (gameInterface .children , i_33_ , true , gameInterface .scrollPosition , gameInterface .id , gameInterface .scrollWidth , i_34_ , 398 );
723
+ GameInterface gameInterface_35_ = GameInterface .method361 (gameInterface .children , i_33_ , true , gameInterface .scrollDepth , gameInterface .id , gameInterface .scrollWidth , i_34_ , 398 );
724
724
if (gameInterface_35_ == null ) {
725
725
scriptIntValues [intValueIndex ++] = 0 ;
726
726
} else {
@@ -779,7 +779,7 @@ public static void runClientScripts(Object[] listeners, int arg1, int arg2, Game
779
779
GameInterface gameInterface = GameInterface .getInterface (scriptIntValues [intValueIndex ]);
780
780
int i_39_ = scriptIntValues [1 + intValueIndex ];
781
781
int i_40_ = scriptIntValues [intValueIndex + 2 ];
782
- GameInterface gameInterface_41_ = GameInterface .method361 (GameInterface .cachedInterfaces [gameInterface .id >> 16 ], i_40_ , false , gameInterface .scrollPosition , 0xffff & gameInterface .id , gameInterface .scrollWidth , i_39_ , 398 );
782
+ GameInterface gameInterface_41_ = GameInterface .method361 (GameInterface .cachedInterfaces [gameInterface .id >> 16 ], i_40_ , false , gameInterface .scrollDepth , 0xffff & gameInterface .id , gameInterface .scrollWidth , i_39_ , 398 );
783
783
if (gameInterface_41_ == null ) {
784
784
scriptIntValues [intValueIndex ++] = -1 ;
785
785
} else {
@@ -797,7 +797,7 @@ public static void runClientScripts(Object[] listeners, int arg1, int arg2, Game
797
797
break ;
798
798
}
799
799
// if_getscrolly
800
- scriptIntValues [intValueIndex ++] = gameInterface .scrollPosition ;
800
+ scriptIntValues [intValueIndex ++] = gameInterface .scrollDepth ;
801
801
}
802
802
} else {
803
803
if (scriptOpcode < 2800 ) {
@@ -808,7 +808,7 @@ public static void runClientScripts(Object[] listeners, int arg1, int arg2, Game
808
808
// todo
809
809
int i_42_ = scriptIntValues [--intValueIndex ];
810
810
if (MovedStatics .lastContinueTextWidgetId == -1 ) {
811
- GameInterface .method517 (0 , i_42_ );
811
+ GameInterface .sendPleaseWaitOptionClick (0 , i_42_ );
812
812
MovedStatics .lastContinueTextWidgetId = i_42_ ;
813
813
}
814
814
} else if (scriptOpcode == 3001 || scriptOpcode == 3003 ) {
@@ -821,7 +821,7 @@ public static void runClientScripts(Object[] listeners, int arg1, int arg2, Game
821
821
// todo
822
822
GameInterface gameInterface = !bool ? aGameInterface_1887 : MovedStatics .aGameInterface_2116 ;
823
823
if (MovedStatics .lastContinueTextWidgetId == -1 ) {
824
- GameInterface .method517 (gameInterface .id & 0x7fff , gameInterface .parentId );
824
+ GameInterface .sendPleaseWaitOptionClick (gameInterface .id & 0x7fff , gameInterface .parentId );
825
825
MovedStatics .lastContinueTextWidgetId = gameInterface .id ;
826
826
}
827
827
} else {
@@ -992,7 +992,7 @@ public static void runClientScripts(Object[] listeners, int arg1, int arg2, Game
992
992
stringValueIndex -= 2 ;
993
993
String class1 = scriptStringValues [stringValueIndex ];
994
994
String class1_82_ = scriptStringValues [stringValueIndex + 1 ];
995
- if (Player .localPlayer .playerAppearance == null || !Player .localPlayer .playerAppearance .gender ) {
995
+ if (Player .localPlayer .playerAppearance == null || !Player .localPlayer .playerAppearance .isFemale ) {
996
996
scriptStringValues [stringValueIndex ++] = class1 ;
997
997
} else {
998
998
scriptStringValues [stringValueIndex ++] = class1_82_ ;
@@ -1058,7 +1058,7 @@ public static void runClientScripts(Object[] listeners, int arg1, int arg2, Game
1058
1058
break ;
1059
1059
}
1060
1060
// cc_getscrolly
1061
- scriptIntValues [intValueIndex ++] = gameInterface .scrollPosition ;
1061
+ scriptIntValues [intValueIndex ++] = gameInterface .scrollDepth ;
1062
1062
}
1063
1063
}
1064
1064
} else {
@@ -1235,7 +1235,7 @@ private static Class stringToType(String typeCode) throws ClassNotFoundException
1235
1235
}
1236
1236
1237
1237
private static RSString method1024 (boolean arg0 , int arg2 ) {
1238
- return MovedStatics .method521 (arg0 , 10 , arg2 );
1238
+ return RSString .method521 (arg0 , 10 , arg2 );
1239
1239
}
1240
1240
1241
1241
public static void method406 (int arg0 , int arg1 , int arg2 ) {
0 commit comments