.id 125
.int_stack_count 9
.string_stack_count 0
.int_var_count 16
.string_var_count 2
; callback "friendsChatSetText"
; Fired just before the client pops the name off the stack
; Modified by the friendnotes plugin to show the icon
; callback "friendsChatSetPosition"
; Fired just before the client sets the position of "friend changed their name" icon
; Modified by the friendnotes plugin to offset the name changed icon
iload 1
iconst 2
iconst 3
iconst 2
sconst "Sort by name"
iload 0
iload 1
iload 2
iload 3
iload 4
iload 5
iload 6
iload 7
iload 8
invoke 1669
iload 2
iconst 8
iconst 9
iconst 9
sconst "Sort by last world change"
iload 0
iload 1
iload 2
iload 3
iload 4
iload 5
iload 6
iload 7
iload 8
invoke 1669
iload 3
iconst 4
iconst 5
iconst 4
sconst "Sort by world"
iload 0
iload 1
iload 2
iload 3
iload 4
iload 5
iload 6
iload 7
iload 8
invoke 1669
iload 4
iconst 0
iconst 1
iconst 0
sconst "Legacy sort"
iload 0
iload 1
iload 2
iload 3
iload 4
iload 5
iload 6
iload 7
iload 8
invoke 1669
iload 5
cc_deleteall
iconst 0
istore 9
iconst 0
istore 10
sconst ""
sstore 0
sconst ""
sstore 1
iconst 0
istore 11
iconst 0
istore 12
iconst 15
istore 13
iconst -1
istore 14
friend_count
istore 15
iload 15
iconst -2
if_icmple LABEL84
jump LABEL105
LABEL84:
get_varbit 8119
iconst 1
if_icmpeq LABEL88
jump LABEL95
LABEL88:
sconst "Loading friends list"
sconst "
"
sconst "Please wait..."
join_string 3
iload 7
if_settext
jump LABEL101
LABEL95:
sconst "You must set a name"
sconst "
"
sconst "before using this."
join_string 3
iload 7
if_settext
LABEL101:
iconst 1
iload 0
if_sethide
jump LABEL484
LABEL105:
iload 15
iconst -1
if_icmpeq LABEL109
jump LABEL130
LABEL109:
get_varbit 8119
iconst 1
if_icmpeq LABEL113
jump LABEL120
LABEL113:
sconst "Loading friends list"
sconst "
"
sconst "Please wait..."
join_string 3
iload 7
if_settext
jump LABEL126
LABEL120:
sconst "You must set a name"
sconst "
"
sconst "before using this."
join_string 3
iload 7
if_settext
LABEL126:
iconst 1
iload 0
if_sethide
jump LABEL484
LABEL130:
iload 15
iconst 0
if_icmpeq LABEL134
jump LABEL146
LABEL134:
sconst "You may add friends by using the button below, or by "
sconst "right-clicking"
sconst "long pressing"
invoke 1971
sconst " on a message from them and selecting to add them as a friend."
join_string 3
iload 7
if_settext
iconst 1
iload 0
if_sethide
jump LABEL484
LABEL146:
invoke 1972
istore 14
iload 14
iconst 1
if_icmpeq LABEL152
jump LABEL157
LABEL152:
iconst 8
iconst 5
iload 13
scale
istore 13
LABEL157:
sconst ""
iload 7
if_settext
iconst 0
iload 0
if_sethide
3628
get_varc_int 183
switch
1: LABEL167
2: LABEL170
3: LABEL175
4: LABEL190
5: LABEL210
8: LABEL180
9: LABEL185
jump LABEL229
LABEL167:
iconst 0
3629
jump LABEL229
LABEL170:
iconst 1
3633
iconst 1
3630
jump LABEL229
LABEL175:
iconst 1
3633
iconst 0
3630
jump LABEL229
LABEL180:
iconst 1
3633
iconst 1
3632
jump LABEL229
LABEL185:
iconst 1
3633
iconst 0
3632
jump LABEL229
LABEL190:
iconst 1
3633
iconst 1
3636
iconst 1
3631
get_varc_int 205
switch
3: LABEL201
8: LABEL204
9: LABEL207
iconst 1
3630
jump LABEL209
LABEL201:
iconst 0
3630
jump LABEL209
LABEL204:
iconst 1
3632
jump LABEL209
LABEL207:
iconst 0
3632
LABEL209:
jump LABEL229
LABEL210:
iconst 1
3633
iconst 1
3636
iconst 0
3631
get_varc_int 205
switch
3: LABEL221
8: LABEL224
9: LABEL227
iconst 1
3630
jump LABEL229
LABEL221:
iconst 0
3630
jump LABEL229
LABEL224:
iconst 1
3632
jump LABEL229
LABEL227:
iconst 0
3632
LABEL229:
3639
LABEL230:
iload 9
iload 15
if_icmplt LABEL234
jump LABEL476
LABEL234:
iload 9
friend_getname
sstore 1
sstore 0
iload 5
iconst 4
iload 10
cc_create
iload 10
iconst 1
add
istore 10
sload 0
sconst "friendsChatSetText"
runelite_callback
cc_settext
iconst 0
iload 13
iconst 1
iconst 0
cc_setsize
iconst 0
iload 12
iconst 1
iconst 0
cc_setposition
iconst 16777215
cc_setcolour
iconst 495
cc_settextfont
iconst 0
iconst 1
iconst 0
cc_settextalign
iconst 1
cc_settextshadow
sconst "