From 70969a378a29284e4b49ecff328b3d2563700bba Mon Sep 17 00:00:00 2001 From: RuneLite Cache-Code Autoupdater Date: Tue, 26 Apr 2022 17:37:25 -0600 Subject: [PATCH] Update Scripts to 2022-4-27 --- .../src/main/scripts/QuestFilter.hash | 2 +- .../src/main/scripts/QuestFilter.rs2asm | 91 +++++++++++-------- 2 files changed, 53 insertions(+), 40 deletions(-) diff --git a/runelite-client/src/main/scripts/QuestFilter.hash b/runelite-client/src/main/scripts/QuestFilter.hash index 8e30fb9e9e..14ce3b49b5 100644 --- a/runelite-client/src/main/scripts/QuestFilter.hash +++ b/runelite-client/src/main/scripts/QuestFilter.hash @@ -1 +1 @@ -3FA5FFC8DB18A42971CED41A9BC7CEA407A0EC98061D56B2822F66CD910E4BAF \ No newline at end of file +7295A7B0C6DEBDBAB737A307974DAEF4AFD7DBD011B30AC45D2972FE75C54868 \ No newline at end of file diff --git a/runelite-client/src/main/scripts/QuestFilter.rs2asm b/runelite-client/src/main/scripts/QuestFilter.rs2asm index 15fd8f7a98..a71589bc6f 100644 --- a/runelite-client/src/main/scripts/QuestFilter.rs2asm +++ b/runelite-client/src/main/scripts/QuestFilter.rs2asm @@ -1,21 +1,21 @@ .id 3238 -.int_stack_count 4 +.int_stack_count 5 .string_stack_count 0 -.int_var_count 5 ; +1 for filter result +.int_var_count 6 ; +1 for filter result .string_var_count 0 - iconst -1 ; set to 1 to hide, 0 to show + iconst -1 ; set to 1 to hide, 0 to show iload 0 ; quest struct sconst "questFilter" - runelite_callback + runelite_callback pop_int ; quest struct - istore 4 ; save result + istore 5 ; save result ; compare with -1 - iload 4 ; load result - iconst -1 + iload 5 ; load result + iconst -1 if_icmpeq continue ; return value - iload 4 - return + iload 5 + return continue: iload 0 @@ -48,12 +48,12 @@ LABEL22: iconst 1 return LABEL24: - iload 1 - iconst 0 + iload 4 + iconst 1 if_icmpeq LABEL28 jump LABEL34 LABEL28: - get_varbit 13775 + get_varbit 13890 iconst 1 if_icmpeq LABEL32 jump LABEL34 @@ -62,11 +62,11 @@ LABEL32: return LABEL34: iload 1 - iconst 1 + iconst 0 if_icmpeq LABEL38 jump LABEL44 LABEL38: - get_varbit 13776 + get_varbit 13775 iconst 1 if_icmpeq LABEL42 jump LABEL44 @@ -75,11 +75,11 @@ LABEL42: return LABEL44: iload 1 - iconst 2 + iconst 1 if_icmpeq LABEL48 jump LABEL54 LABEL48: - get_varbit 13777 + get_varbit 13776 iconst 1 if_icmpeq LABEL52 jump LABEL54 @@ -88,41 +88,54 @@ LABEL52: return LABEL54: iload 1 - iconst 1 - if_icmpeq LABEL58 - jump LABEL68 -LABEL58: - get_varbit 13778 iconst 2 + if_icmpeq LABEL58 + jump LABEL64 +LABEL58: + get_varbit 13777 + iconst 1 if_icmpeq LABEL62 - jump LABEL68 + jump LABEL64 LABEL62: - iload 2 - iconst 0 - if_icmpeq LABEL66 - jump LABEL68 -LABEL66: iconst 1 return -LABEL68: +LABEL64: iload 1 iconst 1 - if_icmpeq LABEL72 - jump LABEL82 -LABEL72: - get_varbit 13779 + if_icmpeq LABEL68 + jump LABEL78 +LABEL68: + get_varbit 13778 iconst 2 - if_icmpeq LABEL76 - jump LABEL82 -LABEL76: - iload 3 + if_icmpeq LABEL72 + jump LABEL78 +LABEL72: + iload 2 iconst 0 - if_icmpeq LABEL80 - jump LABEL82 -LABEL80: + if_icmpeq LABEL76 + jump LABEL78 +LABEL76: iconst 1 return +LABEL78: + iload 1 + iconst 1 + if_icmpeq LABEL82 + jump LABEL92 LABEL82: + get_varbit 13779 + iconst 2 + if_icmpeq LABEL86 + jump LABEL92 +LABEL86: + iload 3 + iconst 0 + if_icmpeq LABEL90 + jump LABEL92 +LABEL90: + iconst 1 + return +LABEL92: iconst 0 return iconst -1