@@ -59,7 +59,7 @@ public static void determineMenuSize() {
59
59
int height = ActorDefinition .menuActionRow * 15 + 21 ;
60
60
if (ScreenController .frameMode == ScreenMode .FIXED ){
61
61
if (Class57 .clickX > 4 && RSString .clickY > 4 && Class57 .clickX < 516 && RSString .clickY < 338 ) {
62
- Class40_Sub5_Sub17_Sub1 .menuScreenArea = 0 ;
62
+ Projectile .menuScreenArea = 0 ;
63
63
CollisionMap .menuHeight = ActorDefinition .menuActionRow * 15 + 22 ;
64
64
MovedStatics .menuOpen = true ;
65
65
int x = -(width / 2 ) + -4 + Class57 .clickX ;
@@ -78,7 +78,7 @@ public static void determineMenuSize() {
78
78
}
79
79
if (Class57 .clickX > 553 && RSString .clickY > 205 && Class57 .clickX < 743 && RSString .clickY < 466 ) {
80
80
CollisionMap .menuHeight = 22 + 15 * ActorDefinition .menuActionRow ;
81
- Class40_Sub5_Sub17_Sub1 .menuScreenArea = 1 ;
81
+ Projectile .menuScreenArea = 1 ;
82
82
int y = -205 + RSString .clickY ;
83
83
int x = -(width / 2 ) + -553 + Class57 .clickX ;
84
84
if (x < 0 )
@@ -97,7 +97,7 @@ else if(width + x > 190)
97
97
}
98
98
if (Class57 .clickX > 17 && RSString .clickY > 357 && Class57 .clickX < 496 && RSString .clickY < 453 ) {
99
99
VertexNormal .menuWidth = width ;
100
- Class40_Sub5_Sub17_Sub1 .menuScreenArea = 2 ;
100
+ Projectile .menuScreenArea = 2 ;
101
101
CollisionMap .menuHeight = ActorDefinition .menuActionRow * 15 + 22 ;
102
102
int y = RSString .clickY + -357 ;
103
103
if (y >= 0 ) {
@@ -116,7 +116,7 @@ else if(x + width > 479)
116
116
}
117
117
118
118
} else if (Class57 .clickX > 0 && RSString .clickY > 0 && Class57 .clickX < GameShell .clientFrame .getWidth () && RSString .clickY < GameShell .clientFrame .getHeight ()) {
119
- Class40_Sub5_Sub17_Sub1 .menuScreenArea = 0 ;
119
+ Projectile .menuScreenArea = 0 ;
120
120
int x = -(width / 2 ) + -4 + Class57 .clickX ;
121
121
if (width + x > GameShell .clientFrame .getWidth () - 4 )
122
122
x = GameShell .clientFrame .getWidth () - 4 ;
@@ -188,6 +188,7 @@ public static void method992() {
188
188
189
189
public static void updateLogin () {
190
190
MovedStatics .method836 (1 );
191
+
191
192
if (MouseHandler .clickType == 1 && RSString .clickY >= ScreenController .drawHeight -42 && Class57 .clickX >=ScreenController .drawWidth -42 ){
192
193
int newVolume = 0 ;
193
194
if (RSCanvas .musicVolume == 0 ) {
@@ -197,8 +198,10 @@ public static void updateLogin() {
197
198
if (newVolume == 0 ) {
198
199
Class33 .method402 (false );
199
200
Class35 .songTimeout = 0 ;
200
- } else
201
+ } else {
202
+ Class33 .method412 (false , CacheArchive .musicCacheArchive , 0 , (byte ) 66 , Native .titleSong , 10 , "" , RSCanvas .musicVolume );
201
203
MovedStatics .method456 (newVolume );
204
+ }
202
205
} else {
203
206
Class33 .method414 (false , 0 , MouseHandler .currentSongId , newVolume , 0 , CacheArchive .musicCacheArchive );
204
207
Class35 .songTimeout = 0 ;
0 commit comments