camera: remove our compass look op config
this is now in vanilla
This commit is contained in:
@@ -1 +1 @@
|
||||
6A53DA1D918405E3F314E4350A9CF4002988E5C45E06D37A00AA725003FAD064
|
||||
9365BC83CB2365C7BC3FBFC90C01232DD242740014E14D456BBAA0622D5570F0
|
||||
@@ -1,12 +1,11 @@
|
||||
.id 1050
|
||||
.int_stack_count 1
|
||||
.string_stack_count 0
|
||||
.int_var_count 2 ; +1 for saving target angle
|
||||
.int_var_count 1
|
||||
.string_var_count 0
|
||||
; Remove check of op index
|
||||
; iload 0
|
||||
; iconst 1
|
||||
; if_icmpne LABEL10
|
||||
iload 0
|
||||
iconst 4
|
||||
if_icmpgt LABEL10
|
||||
get_varbit 542
|
||||
iconst 1
|
||||
if_icmpeq LABEL10
|
||||
@@ -17,41 +16,55 @@
|
||||
LABEL10:
|
||||
return
|
||||
LABEL11:
|
||||
; switch on op index
|
||||
iload 0
|
||||
switch
|
||||
1: LOOK_NORTH
|
||||
2: LOOK_SOUTH
|
||||
3: LOOK_EAST
|
||||
4: LOOK_WEST
|
||||
jump LABEL10
|
||||
LOOK_NORTH:
|
||||
iconst 0
|
||||
istore 1
|
||||
jump LOOK
|
||||
LOOK_SOUTH:
|
||||
iconst 1024
|
||||
istore 1
|
||||
jump LOOK
|
||||
LOOK_EAST:
|
||||
iconst 1536
|
||||
istore 1
|
||||
jump LOOK
|
||||
LOOK_WEST:
|
||||
iconst 512
|
||||
istore 1
|
||||
jump LOOK
|
||||
LOOK:
|
||||
iconst 2266
|
||||
iconst 1
|
||||
iconst 0
|
||||
sound_synth
|
||||
iload 0
|
||||
switch
|
||||
1: LABEL18
|
||||
2: LABEL25
|
||||
3: LABEL32
|
||||
4: LABEL39
|
||||
jump LABEL45
|
||||
LABEL18:
|
||||
iconst 225
|
||||
iconst 5
|
||||
randominc
|
||||
add
|
||||
sconst "lookPreservePitch"
|
||||
runelite_callback
|
||||
iload 1 ; load target angle
|
||||
iconst 0
|
||||
cam_forceangle
|
||||
jump LABEL45
|
||||
LABEL25:
|
||||
iconst 225
|
||||
iconst 5
|
||||
randominc
|
||||
add
|
||||
sconst "lookPreservePitch"
|
||||
runelite_callback
|
||||
iconst 1536
|
||||
cam_forceangle
|
||||
jump LABEL45
|
||||
LABEL32:
|
||||
iconst 225
|
||||
iconst 5
|
||||
randominc
|
||||
add
|
||||
sconst "lookPreservePitch"
|
||||
runelite_callback
|
||||
iconst 1024
|
||||
cam_forceangle
|
||||
jump LABEL45
|
||||
LABEL39:
|
||||
iconst 225
|
||||
iconst 5
|
||||
randominc
|
||||
add
|
||||
sconst "lookPreservePitch"
|
||||
runelite_callback
|
||||
iconst 512
|
||||
cam_forceangle
|
||||
LABEL45:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user