Rewrite scripts with new opcodes
This commit is contained in:
committed by
Max Weber
parent
75fbb07b41
commit
fc48e2a936
@@ -4,88 +4,88 @@
|
||||
.int_var_count 6
|
||||
.string_var_count 0
|
||||
get_varbit 4606
|
||||
load_int 0
|
||||
iconst 0
|
||||
if_icmpne LABEL4
|
||||
jump LABEL5
|
||||
LABEL4:
|
||||
return
|
||||
LABEL5:
|
||||
load_int 896
|
||||
load_string "innerZoomLimit"
|
||||
iconst 896
|
||||
sconst "innerZoomLimit"
|
||||
runelite_callback
|
||||
iload 0
|
||||
invoke 1046
|
||||
istore 0
|
||||
load_int 128
|
||||
load_string "outerZoomLimit"
|
||||
runelite_callback
|
||||
iconst 128
|
||||
sconst "outerZoomLimit"
|
||||
runelite_callback
|
||||
iload 0
|
||||
invoke 1045
|
||||
istore 0
|
||||
load_int 896
|
||||
load_string "innerZoomLimit"
|
||||
iconst 896
|
||||
sconst "innerZoomLimit"
|
||||
runelite_callback
|
||||
iload 1
|
||||
invoke 1046
|
||||
istore 1
|
||||
load_int 128
|
||||
load_string "outerZoomLimit"
|
||||
runelite_callback
|
||||
iconst 128
|
||||
sconst "outerZoomLimit"
|
||||
runelite_callback
|
||||
iload 1
|
||||
invoke 1045
|
||||
istore 1
|
||||
iload 0
|
||||
iload 1
|
||||
6200
|
||||
load_int 0
|
||||
viewport_setfov
|
||||
iconst 0
|
||||
istore 2
|
||||
load_int 0
|
||||
iconst 0
|
||||
istore 3
|
||||
get_viewport_size
|
||||
viewport_geteffectivesize
|
||||
istore 3
|
||||
istore 2
|
||||
iload 3
|
||||
load_int 334
|
||||
isub
|
||||
iconst 334
|
||||
sub
|
||||
istore 4
|
||||
iload 4
|
||||
load_int 0
|
||||
iconst 0
|
||||
if_icmplt LABEL39
|
||||
jump LABEL42
|
||||
LABEL39:
|
||||
load_int 0
|
||||
iconst 0
|
||||
istore 4
|
||||
jump LABEL48
|
||||
LABEL42:
|
||||
iload 4
|
||||
load_int 100
|
||||
iconst 100
|
||||
if_icmpgt LABEL46
|
||||
jump LABEL48
|
||||
LABEL46:
|
||||
load_int 100
|
||||
iconst 100
|
||||
istore 4
|
||||
LABEL48:
|
||||
iload 0
|
||||
iload 1
|
||||
iload 0
|
||||
isub
|
||||
sub
|
||||
iload 4
|
||||
imul
|
||||
load_int 100
|
||||
idiv
|
||||
iadd
|
||||
multiply
|
||||
iconst 100
|
||||
div
|
||||
add
|
||||
istore 5
|
||||
load_int 25
|
||||
load_int 25
|
||||
iconst 25
|
||||
iconst 25
|
||||
iload 5
|
||||
imul
|
||||
load_int 256
|
||||
idiv
|
||||
iadd
|
||||
set_camera_focal_point_height
|
||||
multiply
|
||||
iconst 256
|
||||
div
|
||||
add
|
||||
cam_setfollowheight
|
||||
iload 0
|
||||
iload 1
|
||||
put_varc 74
|
||||
put_varc 73
|
||||
set_varc_int 74
|
||||
set_varc_int 73
|
||||
invoke 1049
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user