Rewrite scripts with new opcodes
This commit is contained in:
committed by
Max Weber
parent
75fbb07b41
commit
fc48e2a936
@@ -3,43 +3,43 @@
|
||||
.string_stack_count 0
|
||||
.int_var_count 4
|
||||
.string_var_count 0
|
||||
load_int 1
|
||||
load_int 0
|
||||
load_string "scrollWheelZoom"
|
||||
iconst 1
|
||||
iconst 0
|
||||
sconst "scrollWheelZoom"
|
||||
runelite_callback
|
||||
if_icmpeq LABEL18
|
||||
load_int 0
|
||||
iconst 0
|
||||
iload 0
|
||||
load_int 25
|
||||
imul
|
||||
isub
|
||||
iconst 25
|
||||
multiply
|
||||
sub
|
||||
istore 1
|
||||
load_int 512
|
||||
iconst 512
|
||||
istore 2
|
||||
load_int 512
|
||||
iconst 512
|
||||
istore 3
|
||||
get_varbit 6357
|
||||
load_int 0
|
||||
iconst 0
|
||||
if_icmpeq LABEL14
|
||||
jump LABEL33
|
||||
LABEL14:
|
||||
get_varbit 4606
|
||||
load_int 0
|
||||
iconst 0
|
||||
if_icmpne LABEL18
|
||||
jump LABEL19
|
||||
LABEL18:
|
||||
return
|
||||
LABEL19:
|
||||
6205
|
||||
viewport_getfov
|
||||
istore 2
|
||||
istore 3
|
||||
iload 3
|
||||
iload 1
|
||||
iadd
|
||||
add
|
||||
istore 3
|
||||
iload 2
|
||||
iload 1
|
||||
iadd
|
||||
add
|
||||
istore 2
|
||||
iload 3
|
||||
iload 2
|
||||
|
||||
Reference in New Issue
Block a user