@@ -937,17 +937,37 @@ public static void drawGameScreen() {
937
937
ChatBox .redrawChatbox = true ;
938
938
}
939
939
}
940
+
941
+ if (GameInterface .tabAreaInterfaceId != -1 ) {
942
+ boolean bool = GameInterface .handleSequences (GameInterface .tabAreaInterfaceId );
943
+ if (bool ) {
944
+ GameInterface .redrawTabArea = true ;
945
+ }
946
+ }
947
+
948
+ if (GameInterface .chatboxInterfaceId != -1 ) {
949
+ boolean bool = GameInterface .handleSequences (GameInterface .chatboxInterfaceId );
950
+ if (bool ) {
951
+ ChatBox .redrawChatbox = true ;
952
+ }
953
+ }
954
+
955
+ if (ChatBox .dialogueId != -1 ) {
956
+ boolean bool = GameInterface .handleSequences (ChatBox .dialogueId );
957
+ if (bool ) {
958
+ ChatBox .redrawChatbox = true ;
959
+ }
960
+ }
961
+
962
+ if (flashingTabId != -1 ) {
963
+ GameInterface .drawTabIcons = true ;
964
+ }
965
+
940
966
if (ScreenController .frameMode == ScreenMode .FIXED ) {
941
967
942
968
if (MovedStatics .menuOpen && MovedStatics .menuScreenArea == 1 ) {
943
969
GameInterface .redrawTabArea = true ;
944
970
}
945
- if (GameInterface .tabAreaInterfaceId != -1 ) {
946
- boolean bool = GameInterface .handleSequences (GameInterface .tabAreaInterfaceId );
947
- if (bool ) {
948
- GameInterface .redrawTabArea = true ;
949
- }
950
- }
951
971
method353 ();
952
972
953
973
if (GameInterface .atInventoryInterfaceType == -3 ) {
@@ -958,18 +978,6 @@ public static void drawGameScreen() {
958
978
}
959
979
MovedStatics .drawTabArea ();
960
980
961
- if (GameInterface .chatboxInterfaceId != -1 ) {
962
- boolean bool = GameInterface .handleSequences (GameInterface .chatboxInterfaceId );
963
- if (bool ) {
964
- ChatBox .redrawChatbox = true ;
965
- }
966
- }
967
- if (ChatBox .dialogueId != -1 ) {
968
- boolean bool = GameInterface .handleSequences (ChatBox .dialogueId );
969
- if (bool ) {
970
- ChatBox .redrawChatbox = true ;
971
- }
972
- }
973
981
if (GameInterface .atInventoryInterfaceType == 3 ) {
974
982
ChatBox .redrawChatbox = true ;
975
983
}
@@ -990,10 +998,6 @@ public static void drawGameScreen() {
990
998
991
999
Minimap .renderMinimap ();
992
1000
993
-
994
- if (flashingTabId != -1 ) {
995
- GameInterface .drawTabIcons = true ;
996
- }
997
1001
if (GameInterface .drawTabIcons ) {
998
1002
if (flashingTabId != -1 && flashingTabId == currentTabId ) {
999
1003
flashingTabId = -1 ;
@@ -1013,19 +1017,6 @@ public static void drawGameScreen() {
1013
1017
MovedStatics .anInt199 = 0 ;
1014
1018
1015
1019
} else {
1016
-
1017
-
1018
- if (GameInterface .tabAreaInterfaceId != -1 ) {
1019
- GameInterface .handleSequences (GameInterface .tabAreaInterfaceId );
1020
- }
1021
-
1022
- if (GameInterface .chatboxInterfaceId != -1 ) {
1023
- GameInterface .handleSequences (GameInterface .chatboxInterfaceId );
1024
- }
1025
-
1026
- if (ChatBox .dialogueId != -1 ) {
1027
- GameInterface .handleSequences (ChatBox .dialogueId );
1028
- }
1029
1020
method353 ();
1030
1021
ChatBox .renderChatbox ();
1031
1022
@@ -1034,10 +1025,6 @@ public static void drawGameScreen() {
1034
1025
// this render is handled in `ResizableFrameRenderer`
1035
1026
//Minimap.renderMinimap();
1036
1027
1037
-
1038
- if (flashingTabId != -1 ) {
1039
- GameInterface .drawTabIcons = true ;
1040
- }
1041
1028
if (GameInterface .drawTabIcons ) {
1042
1029
if (flashingTabId != -1 && flashingTabId == currentTabId ) {
1043
1030
flashingTabId = -1 ;
0 commit comments