Skip to content

Commit 3662fb4

Browse files
committed
Update script names
1 parent 4fe6088 commit 3662fb4

File tree

98 files changed

+285
-285
lines changed

Some content is hidden

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

98 files changed

+285
-285
lines changed

README.md

+51-51

scripts/[clientscript,adventurepath_item_init].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def_int $int14 = 0;
2626
def_int $int15 = 0;
2727
$int5 = ~create_v2_stone_button_filled_free($component2, $int5, calc(36 * 2), 40, 0, 0, "<lt><lt> Back", 0xff981f, 0xff981f, 0, 0);
2828
cc_setop(1, "Back");
29-
cc_setonop("script1601");
29+
cc_setonop("button_select_sound");
3030
while ($int13 < 4) {
3131
$enum10 = enum(int, enum, $enum7, $int13);
3232
$enum11 = enum(int, enum, $enum8, $int13);

scripts/[clientscript,adventurepath_mouseleave_path_reward].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
~v2_stone_button_out_filled($component1);
44
~adventurepath_button_text($component1, 9, $text0);
55
cc_setop(1, "Show <col=ff9040>path reward");
6-
cc_setonop("script1601");
6+
cc_setonop("button_select_sound");

scripts/[clientscript,adventurepath_mouseover_path_reward].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
~v2_stone_button_in_filled($component1);
44
~adventurepath_button_text($component1, 9, $text0);
55
cc_setop(1, "Show <col=ff9040>path reward");
6-
cc_setonop("script1601");
6+
cc_setonop("button_select_sound");

scripts/[clientscript,script683].cs2 scripts/[clientscript,bankpin_button_addtextlater].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 683
2-
[clientscript,script683](component $component0, int $comsubid1, int $int2, int $clock3)
2+
[clientscript,bankpin_button_addtextlater](component $component0, int $comsubid1, int $int2, int $clock3)
33
if (clientclock < $clock3) {
44
return;
55
}

scripts/[clientscript,bondif_redeem_package_init].cs2

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if_clearops($component5);
1818
def_int $int6 = 0;
1919
if (string_length($string2) > 0) {
2020
if_setop(2, ~script1299($string0, "<br>", " "), $component5);
21-
if_setonop("script2279(removetags($string2))", $component5);
21+
if_setonop("bondif_redeem_package_op_disabled(removetags($string2))", $component5);
2222
if_setonvartransmit(null, $component5);
2323
if_setonmouserepeat(null, $component5);
2424
if_setonmouseleave(null, $component5);
@@ -44,7 +44,7 @@ if (string_length($string2) > 0) {
4444
if_setop(1, ~script1299($string0, "<br>", " "), $component5);
4545
~bondif_redeem_package_draw($int0, $component5, $string0, $num1, $graphic2, $int3, $height4, $text1);
4646
if_setonvartransmit("bondif_redeem_package_draw($int0, $component5, $string0, $num1, $graphic2, $int3, $height4, $text1){var1204}", $component5);
47-
if_setonop("script2280(event_opindex, $int0, $component5, $string0, $num1, $graphic2, $int3, $height4, $text1)", $component5);
47+
if_setonop("bondif_redeem_package_op_permitted(event_opindex, $int0, $component5, $string0, $num1, $graphic2, $int3, $height4, $text1)", $component5);
4848
}
4949
if_setposition(0, %varcint179, ^setpos_abs_centre, ^setpos_abs_top, $component5);
5050
%varcint179 = calc(%varcint179 + if_getheight($component5));
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// 2279
2+
[clientscript,bondif_redeem_package_op_disabled](string $mes0)
3+
sound_synth(pillory_wrong, 1, 0);
4+
mes($mes0);

scripts/[clientscript,script2280].cs2 scripts/[clientscript,bondif_redeem_package_op_permitted].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 2280
2-
[clientscript,script2280](int $opindex0, int $int1, component $component2, string $text0, int $num3, graphic $graphic4, int $int5, int $height6, string $text1)
2+
[clientscript,bondif_redeem_package_op_permitted](int $opindex0, int $int1, component $component2, string $text0, int $num3, graphic $graphic4, int $int5, int $height6, string $text1)
33
if ($opindex0 ! 1) {
44
return;
55
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 1601
2-
[clientscript,script1601]
2+
[clientscript,button_select_sound]
33
sound_synth(synth_2266, 1, 0);

scripts/[clientscript,script417].cs2 scripts/[clientscript,chat_set_filter_conditional].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 417
2-
[clientscript,script417](int $int0, int $chatfilter1, int $chatfilter2)
2+
[clientscript,chat_set_filter_conditional](int $int0, int $chatfilter1, int $chatfilter2)
33
if (~chat_get_filter($int0) = $chatfilter1) {
44
~chat_set_filter($int0, $chatfilter2);
55
~script113;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// 1660
2+
[clientscript,chatchannel_current_sortbutton_clicksort](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11, component $component12, component $component13, component $component14, component $component15)
3+
sound_synth(synth_2266, 1, 0);
4+
if ($int0 ! enum(int, int, enum_1912, %varcint185)) {
5+
%varcint206 = %varcint185;
6+
}
7+
%varcint185 = $int0;
8+
~chatchannel_current_build($component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $component13, $component14, $component15);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// 1666
2+
[clientscript,chatchannel_setup_sortbutton_clicksort](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6)
3+
sound_synth(synth_2266, 1, 0);
4+
%varcint186 = $int0;
5+
~chatchannel_setup_build($component1, $component2, $component3, $component4, $component5, $component6);

scripts/[clientscript,chatdefault_onkey].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ if ($key0 = ^key_return) {
5252
} else if (string_indexof_string(%varcstring335, "::bank", 0) = 0) {
5353
~chat_sendpublic("Hey, everyone, I just tried to do something very silly!", 0);
5454
} else {
55-
%varcstring335 = ~script224(%varcstring335);
55+
%varcstring335 = ~inputstring_handlecheat(%varcstring335);
5656
$length2 = string_length(%varcstring335);
5757
docheat(substring(%varcstring335, 2, $length2));
5858
}

scripts/[clientscript,script2158].cs2 scripts/[clientscript,chatdefault_restoreinput].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 2158
2-
[clientscript,script2158]
2+
[clientscript,chatdefault_restoreinput]
33
~chatdefault_setonkey(1);
44
%varcint11, %varcstring370, %varcint140 = 0, "", 0;
55
if (~on_mobile = true) {

scripts/[clientscript,script1670].cs2 scripts/[clientscript,friends_sortbutton_clicksort].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 1670
2-
[clientscript,script1670](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9)
2+
[clientscript,friends_sortbutton_clicksort](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9)
33
sound_synth(synth_2266, 1, 0);
44
if ($int0 ! enum(int, int, enum_1912, %varcint183)) {
55
%varcint205 = %varcint183;

scripts/[clientscript,gravestone_generic_init].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,4 @@ if (%varcint398 < $int19) {
113113
~gravestone_generic_window_set($component0, $component3, $component4, $int19, $int22, $int25, $component5, $int23, $component10, $int24, $component6, $component7, $component12, $component13);
114114
if_setoninvtransmit("gravestone_generic_window_set($component0, $component3, $component4, $int19, $int22, $int25, $component5, $int23, $component10, $int24, $component6, $component7, $component12, $component13){inv_525}", $component0);
115115
if_setonvartransmit("gravestone_generic_window_set($component0, $component3, $component4, $int19, $int22, $int25, $component5, $int23, $component10, $int24, $component6, $component7, $component12, $component13){var1574, var499}", $component0);
116-
~script3469($component0, $component3, $component4, $int19, $int22, $int25, $component5, $int23, $component10, $int24, $component6, $component7, $component12, $component13, ^min_32bit_int, ^min_32bit_int);
116+
~gravestone_generic_size_handler($component0, $component3, $component4, $int19, $int22, $int25, $component5, $int23, $component10, $int24, $component6, $component7, $component12, $component13, ^min_32bit_int, ^min_32bit_int);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 3468
2+
[clientscript,gravestone_generic_size_handler](component $component0, component $component1, component $component2, int $int3, int $int4, int $int5, component $component6, int $int7, component $component8, int $int9, component $component10, component $component11, component $component12, component $component13, int $width14, int $int15)
3+
~gravestone_generic_size_handler($component0, $component1, $component2, $int3, $int4, $int5, $component6, $int7, $component8, $int9, $component10, $component11, $component12, $component13, $width14, $int15);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
// 3531
2+
[clientscript,hallowed_tools_main_init](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8)
3+
~hallowed_tools_main_create($component1, hallowed_token_24719, "Token", enum(obj, int, enum_342, hallowed_token_24719));
4+
~hallowed_tools_main_create($component2, hallowed_grapple_24721, "Grapple", enum(obj, int, enum_342, hallowed_grapple_24721));
5+
~hallowed_tools_main_create($component3, hallowed_focus_24723, "Focus", enum(obj, int, enum_342, hallowed_focus_24723));
6+
~hallowed_tools_main_create($component4, hallowed_symbol_24725, "Symbol", enum(obj, int, enum_342, hallowed_symbol_24725));
7+
~hallowed_tools_main_create($component5, hallowed_hammer_24727, "Hammer", enum(obj, int, enum_342, hallowed_hammer_24727));
8+
~hallowed_tools_main_create($component6, hallowed_ring_24731, "Ring", enum(obj, int, enum_342, hallowed_ring_24731));
9+
~script3574($component7, "Withdraw", false);
10+
cc_deleteall($component8);
11+
def_int $int9 = 0;
12+
cc_create($component8, ^iftype_graphic, $int9);
13+
cc_setgraphic("steelborder2,0");
14+
cc_settiling(true);
15+
cc_setposition(0, -10, ^setpos_abs_centre, ^setpos_abs_top);
16+
cc_setsize(0, 20, ^setsize_minus, ^setsize_abs);
17+
$int9 = calc($int9 + 1);
18+
cc_create($component8, ^iftype_text, $int9);
19+
cc_setposition(20, 5, ^setpos_3, ^setpos_abs_centre);
20+
cc_setsize(140, 36, ^setsize_abs, ^setsize_abs);
21+
cc_setcolour(0xff981f);
22+
cc_settextfont(p12_full);
23+
cc_settextshadow(true);
24+
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
25+
cc_settext("Withdrawal / Storage<br>Quantity");
26+
$int9 = calc($int9 + 1);
27+
~hallowed_tools_create_quantitybuttons(1, 1, 1, 1);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 3569
2+
[clientscript,hallowed_tools_main_recreate](component $component0, obj $obj1, string $text0, int $int2, boolean $boolean3)
3+
~hallowed_tools_main_recreate($component0, $obj1, $text0, $int2, $boolean3);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 3577
2+
[clientscript,hallowed_tools_main_update](component $component0, obj $obj1, string $text0, int $int2, int $int3)
3+
~hallowed_tools_main_update($component0, $obj1, $text0, $int2, $int3);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// 3567
2+
[clientscript,hallowed_tools_side_init](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7)
3+
~hallowed_tools_side_create($component1, hallowed_token_24719, "Token");
4+
~hallowed_tools_side_create($component2, hallowed_grapple_24721, "Grapple");
5+
~hallowed_tools_side_create($component3, hallowed_focus_24723, "Focus");
6+
~hallowed_tools_side_create($component4, hallowed_symbol_24725, "Symbol");
7+
~hallowed_tools_side_create($component5, hallowed_hammer_24727, "Hammer");
8+
~hallowed_tools_side_create($component6, hallowed_ring_24731, "Ring");
9+
~script3574($component7, "Deposit", true);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 3572
2+
[clientscript,hallowed_tools_side_recreate](component $component0, obj $obj1, string $text0, boolean $boolean2)
3+
~hallowed_tools_side_recreate($component0, $obj1, $text0, $boolean2);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 3579
2+
[clientscript,hallowed_tools_side_update](component $component0, obj $obj1, string $text0, int $int2)
3+
~hallowed_tools_side_update($component0, $obj1, $text0, $int2);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// 1654
2+
[clientscript,ignore_sortbutton_clicksort](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7)
3+
sound_synth(synth_2266, 1, 0);
4+
%varcint184 = $int0;
5+
~ignore_update($component1, $component2, $component3, $component4, $component5, $component6, $component7);

scripts/[clientscript,script3183].cs2 scripts/[clientscript,league_progress_bar_mobile_tooltip].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 3183
2-
[clientscript,script3183](component $component0, int $comsubid1, component $component2, string $string0, int $width3)
2+
[clientscript,league_progress_bar_mobile_tooltip](component $component0, int $comsubid1, component $component2, string $string0, int $width3)
33
if (%varcint385 = $comsubid1) {
44
~deltooltip_action($component2);
55
%varcint385 = -1;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// 3289
2+
[clientscript,league_reward_confirm_back](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11)
3+
if_sethide(true, $component7);
4+
%varbit10110 = -1;
5+
~league_rewards_draw($int0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// 3288
2+
[clientscript,league_reward_shop_buy](int $opindex0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11)
3+
if ($opindex0 ! 1) {
4+
return;
5+
}
6+
sound_synth(synth_2266, 1, 0);
7+
if_sethide(true, $component7);
8+
~league_rewards_draw(-1, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11);

scripts/[clientscript,script3287].cs2 scripts/[clientscript,league_reward_shop_confirmop].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 3287
2-
[clientscript,script3287](int $opindex0, component $component1)
2+
[clientscript,league_reward_shop_confirmop](int $opindex0, component $component1)
33
if ($opindex0 ! 1) {
44
return;
55
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// 3285
2+
[clientscript,league_reward_shop_refuse](string $mes0, component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10)
3+
if (~script3292 = 0) {
4+
return;
5+
}
6+
sound_synth(pillory_wrong, 1, 0);
7+
mes($mes0);
8+
~league_rewards_draw(-1, $component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// 3284
2+
[clientscript,league_reward_shop_select](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11)
3+
if (~script3292 = 0) {
4+
return;
5+
}
6+
sound_synth(synth_2266, 1, 0);
7+
~league_rewards_draw($int0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// 3291
2+
[clientscript,league_reward_shop_showpoints](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10)
3+
~league_reward_shop_showpoints($component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10);
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 232
22
[clientscript,league_rewards_init](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10)
3-
~script3290($component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10);
4-
if_setonvartransmit("script3291($component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10){var2613}", $component1);
3+
~league_reward_shop_showpoints($component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10);
4+
if_setonvartransmit("league_reward_shop_showpoints($component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10){var2613}", $component1);
55
~league_rewards_draw(-1, $component0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10);
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 956
2-
[clientscript,script956](component $component0)
2+
[clientscript,macro_maze_timer](component $component0)
33
if_settext("<tostring(%var531)>%", $component0);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// 3129
2+
[clientscript,screen_glow_end](int $colour0, component $component1, int $int2, int $int3, int $int4, int $int5)
3+
if (cc_find($component1, 0) = ^true) {
4+
cc_setontimer("screen_glow_fadeout(calc(clientclock + $int2), calc(clientclock + $int3), $int4, $int5, $colour0, $component1, true)");
5+
}

scripts/[clientscript,script3130].cs2 scripts/[clientscript,screen_glow_fadein].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 3130
2-
[clientscript,script3130](int $clock0, int $clock1, int $int2, int $int3, int $colour4, component $component5)
2+
[clientscript,screen_glow_fadein](int $clock0, int $clock1, int $int2, int $int3, int $colour4, component $component5)
33
if (cc_find($component5, 0) = ^true) {
44
if (clientclock < $clock0) {
55
return;

scripts/[clientscript,script3131].cs2 scripts/[clientscript,screen_glow_fadeout].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 3131
2-
[clientscript,script3131](int $clock0, int $clock1, int $int2, int $int3, int $colour4, component $component5, boolean $boolean6)
2+
[clientscript,screen_glow_fadeout](int $clock0, int $clock1, int $int2, int $int3, int $colour4, component $component5, boolean $boolean6)
33
if (cc_find($component5, 0) = ^true) {
44
if (clientclock < $clock0) {
55
return;

scripts/[clientscript,script3128].cs2 scripts/[clientscript,screen_glow_start].cs2

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 3128
2-
[clientscript,script3128](int $colour0, component $component1, int $int2, int $int3, int $int4, int $int5)
2+
[clientscript,screen_glow_start](int $colour0, component $component1, int $int2, int $int3, int $int4, int $int5)
33
cc_deleteall($component1);
44
cc_create($component1, ^iftype_rectangle, 0);
55
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
@@ -10,4 +10,4 @@ cc_setfillcolour($colour0);
1010
cc_settrans(255);
1111
_1124(255);
1212
_1125(2);
13-
cc_setontimer("script3130(calc(clientclock + $int2), calc(clientclock + $int3), $int4, $int5, $colour0, $component1)");
13+
cc_setontimer("screen_glow_fadein(calc(clientclock + $int2), calc(clientclock + $int3), $int4, $int5, $colour0, $component1)");

scripts/[clientscript,script1654].cs2

-5
This file was deleted.

scripts/[clientscript,script1660].cs2

-8
This file was deleted.

scripts/[clientscript,script1666].cs2

-5
This file was deleted.

scripts/[clientscript,script1740].cs2

-3
This file was deleted.

scripts/[clientscript,script2279].cs2

-4
This file was deleted.

scripts/[clientscript,script3129].cs2

-5
This file was deleted.

0 commit comments

Comments
 (0)