Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.

Commit afbd80d

Browse files
committed
Update names
1 parent 4d9e56f commit afbd80d

File tree

145 files changed

+425
-425
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+425
-425
lines changed

README.md

+81-81

scripts/[clientscript,script3893].cs2 scripts/[clientscript,account_summary_update_combatlevel].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 3893
2-
[clientscript,script3893](component $component0, int $comsubid1, int $comsubid2, int $int3, int $int4, int $int5, fontmetrics $fontmetrics6)
2+
[clientscript,account_summary_update_combatlevel](component $component0, int $comsubid1, int $comsubid2, int $int3, int $int4, int $int5, fontmetrics $fontmetrics6)
33
def_int $int7 = %varcint52;
44
if ($int7 = 125) {
55
~script3948($component0, $comsubid1, $comsubid2, $int3, $int4, $int5, $fontmetrics6, "<col=0dc10d><tostring(%varcint52)></col>");

scripts/[clientscript,script3946].cs2 scripts/[clientscript,account_summary_update_totallevel].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 3946
2-
[clientscript,script3946](component $component0, int $comsubid1, int $comsubid2, int $int3, int $int4, int $int5, fontmetrics $fontmetrics6)
2+
[clientscript,account_summary_update_totallevel](component $component0, int $comsubid1, int $comsubid2, int $int3, int $int4, int $int5, fontmetrics $fontmetrics6)
33
def_int $int7 = ~stat_totallevel;
44
if ($int7 = 2277) {
55
~script3948($component0, $comsubid1, $comsubid2, $int3, $int4, $int5, $fontmetrics6, "<col=0dc10d><tostring($int7)></col>");

scripts/[clientscript,chat_button_onop].cs2

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ switch_int ($int1) {
55
case 0 :
66
switch_int ($opindex0) {
77
case 1 :
8-
~script2823($int1, $mesuid2);
8+
~chat_button_switch($int1, $mesuid2);
99
case 2 :
1010
%varcint945 = 0;
1111
~redraw_chat_buttons;
@@ -32,7 +32,7 @@ switch_int ($int1) {
3232
case 1 :
3333
switch_int ($opindex0) {
3434
case 1 :
35-
~script2823($int1, $mesuid2);
35+
~chat_button_switch($int1, $mesuid2);
3636
case 2 :
3737
if (%varbit26 = 0) {
3838
%varbit26 = 1;
@@ -46,7 +46,7 @@ switch_int ($int1) {
4646
case 2 :
4747
switch_int ($opindex0) {
4848
case 1 :
49-
~script2823($int1, $mesuid2);
49+
~chat_button_switch($int1, $mesuid2);
5050
case 2 :
5151
~chat_set_filter($int1, ^chatfilter_autochat);
5252
~redraw_chat_buttons;
@@ -95,7 +95,7 @@ switch_int ($int1) {
9595
case 3 :
9696
switch_int ($opindex0) {
9797
case 1 :
98-
~script2823($int1, $mesuid2);
98+
~chat_button_switch($int1, $mesuid2);
9999
case 3 :
100100
~chat_set_filter($int1, ^chatfilter_on);
101101
~redraw_chat_buttons;
@@ -118,7 +118,7 @@ switch_int ($int1) {
118118
case 4 :
119119
switch_int ($opindex0) {
120120
case 1 :
121-
~script2823($int1, $mesuid2);
121+
~chat_button_switch($int1, $mesuid2);
122122
case 3 :
123123
~chat_set_filter($int1, ^chatfilter_on);
124124
~redraw_chat_buttons;
@@ -141,7 +141,7 @@ switch_int ($int1) {
141141
case 5 :
142142
switch_int ($opindex0) {
143143
case 1 :
144-
~script2823($int1, $mesuid2);
144+
~chat_button_switch($int1, $mesuid2);
145145
case 3 :
146146
~chat_set_filter($int1, ^chatfilter_on);
147147
~redraw_chat_buttons;
@@ -164,7 +164,7 @@ switch_int ($int1) {
164164
case 6 :
165165
switch_int ($opindex0) {
166166
case 1 :
167-
~script2823($int1, $mesuid2);
167+
~chat_button_switch($int1, $mesuid2);
168168
case 3 :
169169
~chat_set_filter($int1, ^chatfilter_on);
170170
~redraw_chat_buttons;

scripts/[clientscript,if_fade].cs2

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// 5843
2+
[clientscript,if_fade](component $component0, int $trans1, int $int2)
3+
if ($int2 = 0) {
4+
return;
5+
}
6+
if ($trans1 < 0) {
7+
$trans1 = 0;
8+
} else if ($trans1 > 255) {
9+
$trans1 = 255;
10+
}
11+
if_setontimer("if_fade_timer(event_com, $trans1, $int2)", $component0);

scripts/[clientscript,script5844].cs2 scripts/[clientscript,if_fade_timer].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 5844
2-
[clientscript,script5844](component $component0, int $trans1, int $int2)
2+
[clientscript,if_fade_timer](component $component0, int $trans1, int $int2)
33
def_int $trans3 = calc(if_gettrans($component0) + $int2);
44
if ($int2 < 0) {
55
if ($trans3 < $trans1) {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// 5755
2+
[clientscript,league_3_fragment_filters_hide](component $component0, component $component1, component $component2)
3+
sound_synth(interface_select1, 1, 0);
4+
~league_3_fragment_filters_hide($component0, $component1, $component2);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// 5760
2+
[clientscript,league_3_fragment_filters_init](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7)
3+
def_int $int8 = ~thinbox($component0, 0);
4+
~league_3_fragment_filters_init($component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// 5754
2+
[clientscript,league_3_fragment_filters_show](component $component0, component $component1, component $component2)
3+
sound_synth(interface_select1, 1, 0);
4+
if_sethide(false, $component1);
5+
if_settext("Hide Filters", $component2);
6+
if_setonop("league_3_fragment_filters_hide($component0, $component1, $component2)", $component0);
7+
if_setop(1, "Hide", $component0);
8+
if_setopbase("<col=ff9040>Filters</col>", $component0);
9+
~league_3_fragment_filters_init($component1, interface_735:27, interface_735:28, interface_735:29, interface_735:30, interface_735:3, interface_735:4, interface_735:5);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 5775
2+
[clientscript,league_3_fragment_info_init](component $component0, component $component1, int $int2, int $int3, int $int4, int $int5)
3+
~league_3_fragment_info_init($component0, $component1, $int2, $int3, $int4, $int5);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// 5776
2+
[clientscript,league_3_fragment_info_init_sound](component $component0, component $component1, int $int2, int $opindex3, int $int4, int $int5)
3+
sound_synth(interface_select1, 1, 0);
4+
~league_3_fragment_info_init($component0, $component1, $int2, $opindex3, $int4, $int5);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 5750
2+
[clientscript,league_3_fragment_list_init](component $component0, component $component1)
3+
~league_3_fragment_list_init($component0, $component1);

scripts/[clientscript,script5748].cs2 scripts/[clientscript,league_3_fragment_loadout].cs2

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 5748
2-
[clientscript,script5748](component $component0)
2+
[clientscript,league_3_fragment_loadout](component $component0)
33
cc_deleteall($component0);
44
def_int $int1 = 0;
55
def_int $comsubid2 = 0;
@@ -33,20 +33,20 @@ while ($int3 < 7) {
3333
}
3434
}
3535
$comsubid2 = calc($int1 + 1);
36-
$int1 = ~script5793($component0, $int1, calc($int3 * 50 + 3), 3, struct_param($struct5, param_1461), ~script5788($int4), $int10);
36+
$int1 = ~league_3_fragment_draw_fragment($component0, $int1, calc($int3 * 50 + 3), 3, struct_param($struct5, param_1461), ~league_3_fragment_get_xp($int4), $int10);
3737
if (cc_find($component0, $comsubid2) = ^true) {
3838
cc_setop(1, "View");
3939
cc_setop(2, "Unequip");
4040
cc_setopbase("<col=ff9040><struct_param($struct5, param_1448)></col>");
41-
cc_setonop("script5776(interface_735:32, interface_735:33, $int4, event_opindex, 1, 0)");
41+
cc_setonop("league_3_fragment_info_init_sound(interface_735:32, interface_735:33, $int4, event_opindex, 1, 0)");
4242
}
4343
} else {
44-
$int1 = ~script5749($component0, $int1);
45-
$int1 = ~script5749($component0, $int1);
46-
$int1 = ~script5749($component0, $int1);
47-
$int1 = ~script5749($component0, $int1);
48-
$int1 = ~script5749($component0, $int1);
49-
$int1 = ~script5749($component0, $int1);
44+
$int1 = ~league_3_fragment_shim($component0, $int1);
45+
$int1 = ~league_3_fragment_shim($component0, $int1);
46+
$int1 = ~league_3_fragment_shim($component0, $int1);
47+
$int1 = ~league_3_fragment_shim($component0, $int1);
48+
$int1 = ~league_3_fragment_shim($component0, $int1);
49+
$int1 = ~league_3_fragment_shim($component0, $int1);
5050
}
5151
$int3 = calc($int3 + 1);
5252
}

scripts/[clientscript,script5747].cs2 scripts/[clientscript,league_3_fragment_loadout_background].cs2

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// 5747
2-
[clientscript,script5747](component $component0)
2+
[clientscript,league_3_fragment_loadout_background](component $component0)
33
cc_deleteall($component0);
44
def_int $int1 = ~script5786;
5-
def_int $colour2 = ~script5465(3);
5+
def_int $colour2 = ~league_get_league_colour(3);
66
def_int $int3 = 0;
77
def_int $int4 = 0;
88
def_int $colour5 = ^black;

scripts/[clientscript,script5794].cs2 scripts/[clientscript,league_3_fragment_throbber].cs2

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 5794
2-
[clientscript,script5794](component $component0, int $comsubid1, int $int2, int $int3)
2+
[clientscript,league_3_fragment_throbber](component $component0, int $comsubid1, int $int2, int $int3)
33
def_int $trans4 = 238;
44
def_int $trans5 = 125;
55
def_int $int6 = 2;
@@ -17,5 +17,5 @@ if (cc_find($component0, $comsubid1) = ^true) {
1717
cc_settrans($trans7);
1818
$int2 = $int6;
1919
}
20-
cc_setontimer("script5794($component0, $comsubid1, $int2, $int3)");
20+
cc_setontimer("league_3_fragment_throbber($component0, $comsubid1, $int2, $int3)");
2121
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// 5745
2+
[clientscript,league_3_fragments_init](component $component0, component $component1, component $component2, component $component3, int $int4)
3+
~leagues_close_button($component3, false);
4+
def_string $text0 = "League Fragments";
5+
def_int $comsubid5 = ~steelborder(interface_735:6, $text0, 1);
6+
~league_3_fragments_draw_interface($component0, $component1, $component2, $component3, $comsubid5, $int4);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 5839
2+
[clientscript,league_3_intro_music_init]
3+
setpreference(^pref_volume_music, 25);

scripts/[clientscript,script5840].cs2 scripts/[clientscript,league_3_intro_music_restore].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 5840
2-
[clientscript,script5840]
2+
[clientscript,league_3_intro_music_restore]
33
~setvolumemusic;
44
~setvolumesounds;
55
~setvolumeareasounds;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// 5837
2+
[clientscript,league_3_intro_mute](int $int0)
3+
sound_synth(interface_select1, 1, 0);
4+
~league_3_intro_mute($int0);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// 5836
2+
[clientscript,league_3_music_container_radio]
3+
%varcint967 = 1;
4+
~league_3_intro_mute(0);

scripts/[clientscript,script5798].cs2 scripts/[clientscript,league_3_side_panel_init].cs2

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 5798
2-
[clientscript,script5798](component $component0, component $component1, component $component2, component $component3, int $int4)
2+
[clientscript,league_3_side_panel_init](component $component0, component $component1, component $component2, component $component3, int $int4)
33
cc_deleteall($component0);
44
cc_deleteall($component1);
55
cc_deleteall($component2);
@@ -61,5 +61,5 @@ if (~on_mobile = false) {
6161
~league_side_panel_hudtoggle($component8, $component7);
6262
if_setonvartransmit("league_side_panel_hudtoggle($component8, cc_getid, .cc_getid, $component7){var1734}", $component8);
6363
if_setonop("league_side_panel_hudop(event_opindex, $component8, cc_getid, .cc_getid, $component7)", $component8);
64-
~script5801(interface_736:10, %var2615);
64+
~league_3_side_panel_update_bar(interface_736:10, %var2615);
6565
if_setonvartransmit("script5799(interface_736:10){var2615, var3276}", interface_736:9);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 5800
2+
[clientscript,league_3_side_panel_update_bar](component $component0, int $int1)
3+
~league_3_side_panel_update_bar($component0, $int1);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// 5806
2+
[clientscript,league_3_unlock_init](component $component0, component $component1, component $component2, component $component3, component $component4, int $int5, int $int6, int $int7, int $int8, int $int9)
3+
~leagues_close_button($component3, false);
4+
def_string $text0 = "League Unlocks";
5+
def_int $comsubid10 = ~steelborder(interface_733:2, $text0, 1);
6+
if_sethide(true, interface_733:40);
7+
if_sethide(true, interface_733:25);
8+
~league_3_unlocks_draw_interface($component0, $component1, $component2, $component4, $comsubid10);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 5809
2+
[clientscript,league_3_unlocks_build_content](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7)
3+
~league_3_unlocks_build_content($component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// 5810
2+
[clientscript,league_3_unlocks_build_content_sound](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7)
3+
sound_synth(interface_select1, 1, 0);
4+
~league_3_unlocks_build_content($component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 5818
2+
[clientscript,league_3_unlocks_buy_button](component $component0, int $int1, int $int2, int $int3)
3+
~league_3_unlocks_buy_button($component0, $int1, $int2, $int3);
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// 5828
2-
[clientscript,script5828]
2+
[clientscript,league_3_unlocks_confirmation_cancel]
33
sound_synth(interface_select1, 1, 0);
44
if_sethide(true, interface_733:40);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// 5825
2+
[clientscript,league_3_unlocks_confirmation_open](component $component0)
3+
sound_synth(interface_select1, 1, 0);
4+
~league_3_unlocks_confirmation_open($component0);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 5826
2+
[clientscript,league_3_unlocks_confirmation_open_silent](component $component0)
3+
~league_3_unlocks_confirmation_open($component0);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 5829
2+
[clientscript,league_quantity_reset](component $component0)
3+
if_settext(tostring(%var3276), $component0);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// 5545
2+
[clientscript,popout_tooltip_remove_delayed](int $clock0)
3+
if (clientclock < $clock0) {
4+
return;
5+
}
6+
~popout_tooltip_clear;

scripts/[clientscript,script361].cs2

-5
This file was deleted.

scripts/[clientscript,script362].cs2

-3
This file was deleted.

scripts/[clientscript,script370].cs2

-4
This file was deleted.

scripts/[clientscript,script5194].cs2

-7
This file was deleted.

scripts/[clientscript,script5545].cs2

-6
This file was deleted.

scripts/[clientscript,script5547].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 5547
22
[clientscript,script5547]
3-
~script5546;
3+
~popout_tooltip_clear;

scripts/[clientscript,script5745].cs2

-6
This file was deleted.

scripts/[clientscript,script5750].cs2

-3
This file was deleted.

scripts/[clientscript,script5754].cs2

-9
This file was deleted.

scripts/[clientscript,script5755].cs2

-4
This file was deleted.

scripts/[clientscript,script5759].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ sound_synth(interface_select1, 1, 0);
99
%varcint970 = 0;
1010
%varcint971 = 0;
1111
~script5758($component0, $component1);
12-
~script5756(interface_735:8, interface_735:19, interface_735:9);
12+
~league_3_fragment_filters_hide(interface_735:8, interface_735:19, interface_735:9);

scripts/[clientscript,script5760].cs2

-4
This file was deleted.

scripts/[clientscript,script5775].cs2

-3
This file was deleted.

scripts/[clientscript,script5776].cs2

-4
This file was deleted.

scripts/[clientscript,script5799].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 5799
22
[clientscript,script5799](component $component0)
3-
~script5801($component0, %var2615);
3+
~league_3_side_panel_update_bar($component0, %var2615);

scripts/[clientscript,script5800].cs2

-3
This file was deleted.

scripts/[clientscript,script5805].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if (%var3345 < 1) {
44
if_sethide(true, interface_737:20);
55
return;
66
}
7-
def_int $colour0 = ~script5465(3);
7+
def_int $colour0 = ~league_get_league_colour(3);
88
def_graphic $graphic1 = null;
99
def_string $string0 = "";
1010
def_string $string1 = "";

scripts/[clientscript,script5806].cs2

-8
This file was deleted.

scripts/[clientscript,script5809].cs2

-3
This file was deleted.

0 commit comments

Comments
 (0)