Rewrite scripts with new opcodes
This commit is contained in:
committed by
Max Weber
parent
75fbb07b41
commit
fc48e2a936
@@ -5,24 +5,24 @@
|
||||
.string_var_count 0
|
||||
|
||||
; Check if we should allow server to relayout bank
|
||||
load_int 1 ; true
|
||||
load_int 0 ; load active boolean
|
||||
load_string "getSearchingTagTab" ; push event name
|
||||
runelite_callback ; invoke callback
|
||||
iconst 1 ; true
|
||||
iconst 0 ; load active boolean
|
||||
sconst "getSearchingTagTab" ; push event name
|
||||
runelite_callback ; invoke callback
|
||||
if_icmpne LABEL2
|
||||
|
||||
; Let layout continue if current bank tab is 0
|
||||
get_varbit 4150
|
||||
load_int 0
|
||||
iconst 0
|
||||
if_icmpeq LABEL2
|
||||
|
||||
; Reset the current bank tab to 0 otherwise
|
||||
load_int 0
|
||||
iconst 0
|
||||
set_varbit 4150
|
||||
|
||||
load_string "Server attempted to reset bank tab."
|
||||
load_string "debug"
|
||||
runelite_callback
|
||||
sconst "Server attempted to reset bank tab."
|
||||
sconst "debug"
|
||||
runelite_callback
|
||||
|
||||
LABEL2:
|
||||
iload 0
|
||||
@@ -39,4 +39,4 @@ LABEL2:
|
||||
iload 11
|
||||
iload 12
|
||||
invoke 277
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user