diff --git a/README.md b/README.md
index 6eac36bb9..72c5679e1 100644
--- a/README.md
+++ b/README.md
@@ -534,6 +534,7 @@
[**531**](scripts/[proc,script531].cs2)
[**532**](scripts/[clientscript,script532].cs2)
[**533**](scripts/[clientscript,script533].cs2)
+[**534**](scripts/[clientscript,script534].cs2)
[**535**](scripts/[clientscript,soul_wars_rewards_init].cs2) `[clientscript,soul_wars_rewards_init]`
[**536**](scripts/[proc,script536].cs2)
[**537**](scripts/[proc,script537].cs2)
@@ -2260,6 +2261,7 @@
[**2258**](scripts/[clientscript,script2258].cs2)
[**2259**](scripts/[proc,script2259].cs2)
[**2260**](scripts/[proc,script2260].cs2)
+[**2261**](scripts/[proc,script2261].cs2)
[**2262**](scripts/[clientscript,magic_spellbook_init].cs2) `[clientscript,magic_spellbook_init]`
[**2263**](scripts/[proc,tutorial_progressbar_set].cs2) `[proc,tutorial_progressbar_set]`
[**2264**](scripts/[proc,worldmap_mobile_layout].cs2) `[proc,worldmap_mobile_layout]`
@@ -2343,17 +2345,26 @@
[**2342**](scripts/[proc,tob_partylist_sortbutton_draw].cs2) `[proc,tob_partylist_sortbutton_draw]`
[**2343**](scripts/[clientscript,tob_partylist_clicksort].cs2) `[clientscript,tob_partylist_clicksort]`
[**2344**](scripts/[proc,script2344].cs2)
+[**2345**](scripts/[clientscript,script2345].cs2)
[**2346**](scripts/[clientscript,script2346].cs2)
[**2347**](scripts/[clientscript,script2347].cs2)
[**2348**](scripts/[proc,script2348].cs2)
[**2349**](scripts/[clientscript,script2349].cs2)
[**2350**](scripts/[proc,deadman_chest_tele].cs2) `[proc,deadman_chest_tele]`
+[**2351**](scripts/[proc,script2351].cs2)
+[**2352**](scripts/[clientscript,script2352].cs2)
[**2353**](scripts/[clientscript,castlewars_waitingroom_init].cs2) `[clientscript,castlewars_waitingroom_init]`
[**2354**](scripts/[clientscript,castlewars_waitingroom_update].cs2) `[clientscript,castlewars_waitingroom_update]`
+[**2355**](scripts/[proc,script2355].cs2)
+[**2356**](scripts/[clientscript,script2356].cs2)
+[**2357**](scripts/[proc,script2357].cs2)
+[**2358**](scripts/[clientscript,script2358].cs2)
[**2359**](scripts/[proc,shiftclick_toggle].cs2) `[proc,shiftclick_toggle]`
[**2360**](scripts/[clientscript,script2360].cs2)
[**2361**](scripts/[clientscript,script2361].cs2)
[**2362**](scripts/[clientscript,telenexus_dragscroll].cs2) `[clientscript,telenexus_dragscroll]`
+[**2363**](scripts/[proc,script2363].cs2)
+[**2364**](scripts/[proc,script2364].cs2)
[**2365**](scripts/[clientscript,telenexus_left_click].cs2) `[clientscript,telenexus_left_click]`
[**2366**](scripts/[clientscript,stats_init_tooltip].cs2) `[clientscript,stats_init_tooltip]`
[**2367**](scripts/[clientscript,stats_op].cs2) `[clientscript,stats_op]`
@@ -2389,6 +2400,8 @@
[**2397**](scripts/[clientscript,recurring_membership].cs2) `[clientscript,recurring_membership]`
[**2398**](scripts/[proc,recurring_membership].cs2) `[proc,recurring_membership]`
[**2399**](scripts/[proc,openurl_raw].cs2) `[proc,openurl_raw]`
+[**2400**](scripts/[proc,script2400].cs2)
+[**2401**](scripts/[proc,script2401].cs2)
[**2402**](scripts/[clientscript,nzone_game_init].cs2) `[clientscript,nzone_game_init]`
[**2403**](scripts/[clientscript,script2403].cs2)
[**2404**](scripts/[clientscript,script2404].cs2)
@@ -2397,6 +2410,10 @@
[**2407**](scripts/[clientscript,tol_homonculus_overlay_init].cs2) `[clientscript,tol_homonculus_overlay_init]`
[**2408**](scripts/[clientscript,script2408].cs2)
[**2409**](scripts/[clientscript,soulbane_angerbar_init].cs2) `[clientscript,soulbane_angerbar_init]`
+[**2410**](scripts/[proc,script2410].cs2)
+[**2411**](scripts/[proc,script2411].cs2)
+[**2412**](scripts/[proc,script2412].cs2)
+[**2413**](scripts/[clientscript,script2413].cs2)
[**2414**](scripts/[proc,show_storebutton].cs2) `[proc,show_storebutton]`
[**2415**](scripts/[worldmapelementmouserepeat,274].cs2) `[worldmapelementmouserepeat,274]`
[**2416**](scripts/[worldmapelementmouserepeat,576].cs2) `[worldmapelementmouserepeat,576]`
@@ -2618,6 +2635,8 @@
[**2632**](scripts/[clientscript,book_init].cs2) `[clientscript,book_init]`
[**2633**](scripts/[proc,questlist_draw].cs2) `[proc,questlist_draw]`
[**2634**](scripts/[clientscript,mobile_rating_init].cs2) `[clientscript,mobile_rating_init]`
+[**2635**](scripts/[clientscript,script2635].cs2)
+[**2636**](scripts/[clientscript,script2636].cs2)
[**2637**](scripts/[proc,xp_drops_tooltip_desktop].cs2) `[proc,xp_drops_tooltip_desktop]`
[**2638**](scripts/[proc,xp_drops_tooltip_mobile].cs2) `[proc,xp_drops_tooltip_mobile]`
[**2639**](scripts/[clientscript,xpdrops_tooltip_mobile].cs2) `[clientscript,xpdrops_tooltip_mobile]`
@@ -2664,6 +2683,7 @@
[**2680**](scripts/[proc,telenexus_options].cs2) `[proc,telenexus_options]`
[**2681**](scripts/[proc,telenexus_get_slot].cs2) `[proc,telenexus_get_slot]`
[**2682**](scripts/[proc,magic_stop_flash].cs2) `[proc,magic_stop_flash]`
+[**2683**](scripts/[clientscript,script2683].cs2)
[**2684**](scripts/[clientscript,bond_prompt_init].cs2) `[clientscript,bond_prompt_init]`
[**2685**](scripts/[clientscript,telenexus_keyinput_listener].cs2) `[clientscript,telenexus_keyinput_listener]`
[**2686**](scripts/[proc,telenexus_keyinput_matched].cs2) `[proc,telenexus_keyinput_matched]`
@@ -2704,6 +2724,9 @@
[**2721**](scripts/[proc,1v1arena_hud_buildarena].cs2) `[proc,1v1arena_hud_buildarena]`
[**2722**](scripts/[clientscript,1v1arena_spectator_init].cs2) `[clientscript,1v1arena_spectator_init]`
[**2723**](scripts/[clientscript,1v1arena_spectator_endhint].cs2) `[clientscript,1v1arena_spectator_endhint]`
+[**2724**](scripts/[proc,script2724].cs2)
+[**2725**](scripts/[clientscript,script2725].cs2)
+[**2726**](scripts/[proc,script2726].cs2)
[**2727**](scripts/[clientscript,meslayer_keyboard_show].cs2) `[clientscript,meslayer_keyboard_show]`
[**2728**](scripts/[proc,collection_draw_tab].cs2) `[proc,collection_draw_tab]`
[**2729**](scripts/[clientscript,collection_hover_tab].cs2) `[clientscript,collection_hover_tab]`
@@ -2721,6 +2744,10 @@
[**2741**](scripts/[proc,lovaquest_power_grid_getslot].cs2) `[proc,lovaquest_power_grid_getslot]`
[**2742**](scripts/[proc,lovaquest_power_grid_setslot].cs2) `[proc,lovaquest_power_grid_setslot]`
[**2743**](scripts/[proc,skill_guide_data_slayer].cs2) `[proc,skill_guide_data_slayer]`
+[**2744**](scripts/[clientscript,script2744].cs2)
+[**2745**](scripts/[proc,script2745].cs2)
+[**2746**](scripts/[clientscript,script2746].cs2)
+[**2747**](scripts/[proc,script2747].cs2)
[**2748**](scripts/[clientscript,farming_tools_main_recreate].cs2) `[clientscript,farming_tools_main_recreate]`
[**2749**](scripts/[proc,farming_tools_main_recreate].cs2) `[proc,farming_tools_main_recreate]`
[**2750**](scripts/[clientscript,farming_tools_side_recreate].cs2) `[clientscript,farming_tools_side_recreate]`
@@ -2944,6 +2971,7 @@
[**2968**](scripts/[proc,adventurepath_return_path_tasks_done].cs2) `[proc,adventurepath_return_path_tasks_done]`
[**2969**](scripts/[proc,adventurepath_return_task_focus].cs2) `[proc,adventurepath_return_task_focus]`
[**2970**](scripts/[proc,adventurepath_set_task_focus].cs2) `[proc,adventurepath_set_task_focus]`
+[**2971**](scripts/[clientscript,script2971].cs2)
[**2972**](scripts/[proc,script2972].cs2)
[**2973**](scripts/[proc,script2973].cs2)
[**2974**](scripts/[proc,create_v2_stone_button_filled_free].cs2) `[proc,create_v2_stone_button_filled_free]`
@@ -3123,6 +3151,8 @@
[**3148**](scripts/[proc,script3148].cs2)
[**3149**](scripts/[clientscript,script3149].cs2)
[**3150**](scripts/[proc,script3150].cs2)
+[**3151**](scripts/[clientscript,script3151].cs2)
+[**3152**](scripts/[proc,script3152].cs2)
[**3153**](scripts/[clientscript,offer_banner_init].cs2) `[clientscript,offer_banner_init]`
[**3154**](scripts/[proc,offer_banner_close].cs2) `[proc,offer_banner_close]`
[**3155**](scripts/[clientscript,offer_banner].cs2) `[clientscript,offer_banner]`
@@ -3241,6 +3271,10 @@
[**3268**](scripts/[clientscript,account_update_tabs].cs2) `[clientscript,account_update_tabs]`
[**3269**](scripts/[proc,account_update_tabs].cs2) `[proc,account_update_tabs]`
[**3270**](scripts/[proc,account_polls_update].cs2) `[proc,account_polls_update]`
+[**3271**](scripts/[clientscript,script3271].cs2)
+[**3272**](scripts/[proc,script3272].cs2)
+[**3273**](scripts/[clientscript,script3273].cs2)
+[**3274**](scripts/[proc,script3274].cs2)
[**3275**](scripts/[clientscript,bankmain_viewbuttons].cs2) `[clientscript,bankmain_viewbuttons]`
[**3276**](scripts/[proc,bankmain_viewbuttons].cs2) `[proc,bankmain_viewbuttons]`
[**3277**](scripts/[clientscript,script3277].cs2)
@@ -3259,6 +3293,10 @@
[**3290**](scripts/[proc,league_reward_shop_showpoints].cs2) `[proc,league_reward_shop_showpoints]`
[**3291**](scripts/[clientscript,league_reward_shop_showpoints].cs2) `[clientscript,league_reward_shop_showpoints]`
[**3292**](scripts/[proc,script3292].cs2)
+[**3293**](scripts/[clientscript,script3293].cs2)
+[**3294**](scripts/[proc,script3294].cs2)
+[**3295**](scripts/[clientscript,script3295].cs2)
+[**3296**](scripts/[clientscript,script3296].cs2)
[**3297**](scripts/[proc,wiki_icon_enabled].cs2) `[proc,wiki_icon_enabled]`
[**3298**](scripts/[clientscript,script3298].cs2)
[**3299**](scripts/[proc,wiki_chat_search].cs2) `[proc,wiki_chat_search]`
@@ -3314,6 +3352,14 @@
[**3349**](scripts/[proc,notification_init].cs2) `[proc,notification_init]`
[**3350**](scripts/[clientscript,notification_positioning].cs2) `[clientscript,notification_positioning]`
[**3351**](scripts/[proc,notification_positioning].cs2) `[proc,notification_positioning]`
+[**3352**](scripts/[proc,script3352].cs2)
+[**3353**](scripts/[clientscript,script3353].cs2)
+[**3354**](scripts/[proc,script3354].cs2)
+[**3355**](scripts/[clientscript,script3355].cs2)
+[**3356**](scripts/[proc,script3356].cs2)
+[**3357**](scripts/[clientscript,script3357].cs2)
+[**3358**](scripts/[proc,script3358].cs2)
+[**3359**](scripts/[clientscript,script3359].cs2)
[**3360**](scripts/[clientscript,gazette_button].cs2) `[clientscript,gazette_button]`
[**3361**](scripts/[proc,gazette_button].cs2) `[proc,gazette_button]`
[**3362**](scripts/[proc,script3362].cs2)
@@ -3377,6 +3423,10 @@
[**3420**](scripts/[clientscript,highlight_next].cs2) `[clientscript,highlight_next]`
[**3421**](scripts/[clientscript,script3421].cs2)
[**3422**](scripts/[proc,script3422].cs2)
+[**3423**](scripts/[clientscript,script3423].cs2)
+[**3424**](scripts/[clientscript,script3424].cs2)
+[**3425**](scripts/[clientscript,script3425].cs2)
+[**3426**](scripts/[proc,script3426].cs2)
[**3427**](scripts/[proc,hp_hud_init].cs2) `[proc,hp_hud_init]`
[**3428**](scripts/[proc,bool_to_int].cs2) `[proc,bool_to_int]`
[**3429**](scripts/[clientscript,hp_bar_reset].cs2) `[clientscript,hp_bar_reset]`
@@ -3516,6 +3566,7 @@
[**3563**](scripts/[clientscript,poh_costumes_searchtimeout].cs2) `[clientscript,poh_costumes_searchtimeout]`
[**3564**](scripts/[clientscript,poh_costumes_buttons_search_reset].cs2) `[clientscript,poh_costumes_buttons_search_reset]`
[**3565**](scripts/[proc,poh_costumes_buttons_search_reset].cs2) `[proc,poh_costumes_buttons_search_reset]`
+[**3566**](scripts/[clientscript,script3566].cs2)
[**3567**](scripts/[clientscript,hallowed_tools_side_init].cs2) `[clientscript,hallowed_tools_side_init]`
[**3568**](scripts/[proc,hallowed_tools_main_create].cs2) `[proc,hallowed_tools_main_create]`
[**3569**](scripts/[clientscript,hallowed_tools_main_recreate].cs2) `[clientscript,hallowed_tools_main_recreate]`
@@ -3855,6 +3906,8 @@
[**3903**](scripts/[clientscript,settings_button_init].cs2) `[clientscript,settings_button_init]`
[**3904**](scripts/[clientscript,settings_button_repeat].cs2) `[clientscript,settings_button_repeat]`
[**3905**](scripts/[clientscript,settings_button_leave].cs2) `[clientscript,settings_button_leave]`
+[**3906**](scripts/[clientscript,script3906].cs2)
+[**3907**](scripts/[proc,script3907].cs2)
[**3908**](scripts/[clientscript,settings_side_bottom_init].cs2) `[clientscript,settings_side_bottom_init]`
[**3909**](scripts/[clientscript,settings_side_tabs_init].cs2) `[clientscript,settings_side_tabs_init]`
[**3910**](scripts/[proc,settings_side_tabs].cs2) `[proc,settings_side_tabs]`
@@ -3944,9 +3997,13 @@
[**3994**](scripts/[proc,settings_function_button].cs2) `[proc,settings_function_button]`
[**3995**](scripts/[proc,script3995].cs2)
[**3996**](scripts/[proc,script3996].cs2)
+[**3997**](scripts/[clientscript,script3997].cs2)
[**3998**](scripts/[clientscript,settings_client_mode].cs2) `[clientscript,settings_client_mode]`
+[**3999**](scripts/[proc,script3999].cs2)
+[**4000**](scripts/[clientscript,script4000].cs2)
[**4001**](scripts/[proc,script4001].cs2)
[**4002**](scripts/[proc,script4002].cs2)
+[**4003**](scripts/[proc,script4003].cs2)
[**4004**](scripts/[proc,script4004].cs2)
[**4005**](scripts/[proc,script4005].cs2)
[**4006**](scripts/[proc,script4006].cs2)
@@ -3954,6 +4011,7 @@
[**4008**](scripts/[proc,script4008].cs2)
[**4009**](scripts/[proc,script4009].cs2)
[**4010**](scripts/[proc,script4010].cs2)
+[**4011**](scripts/[clientscript,script4011].cs2)
[**4012**](scripts/[proc,script4012].cs2)
[**4013**](scripts/[proc,script4013].cs2)
[**4014**](scripts/[proc,script4014].cs2)
@@ -3961,4 +4019,7 @@
[**4016**](scripts/[proc,script4016].cs2)
[**4017**](scripts/[proc,script4017].cs2)
[**4018**](scripts/[proc,settings_accept_aid].cs2) `[proc,settings_accept_aid]`
+[**4019**](scripts/[proc,script4019].cs2)
[**4020**](scripts/[clientscript,chatdefault_stopinput].cs2) `[clientscript,chatdefault_stopinput]`
+[**4021**](scripts/[clientscript,script4021].cs2)
+[**4022**](scripts/[clientscript,script4022].cs2)
diff --git a/scripts/[clientscript,castlewars_catapult_init].cs2 b/scripts/[clientscript,castlewars_catapult_init].cs2
index 53c404df5..02e684f79 100644
--- a/scripts/[clientscript,castlewars_catapult_init].cs2
+++ b/scripts/[clientscript,castlewars_catapult_init].cs2
@@ -1,11 +1,11 @@
// 3634
[clientscript,castlewars_catapult_init](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11)
~steelborder($component1, "Catapult Controls", 0);
-~steelbox($component2, 0);
-~steelbox($component8, 0);
-~steelbox($component9, 0);
-~steelbox($component10, 0);
-~steelbox($component11, 0);
+~steelbox($component2, 0, 0);
+~steelbox($component8, 0, 0);
+~steelbox($component9, 0, 0);
+~steelbox($component10, 0, 0);
+~steelbox($component11, 0, 0);
if_setop(1, "Move Up", $component4);
if_setop(1, "Move Down", $component5);
if_setop(1, "Move Left", $component6);
diff --git a/scripts/[clientscript,questlist_init].cs2 b/scripts/[clientscript,questlist_init].cs2
index f8dccf7d7..ce2d165b6 100644
--- a/scripts/[clientscript,questlist_init].cs2
+++ b/scripts/[clientscript,questlist_init].cs2
@@ -3,5 +3,5 @@
~questlist_qp($component3);
if_setonvartransmit("questlist_qp($component3){var101}", $component3);
cc_deleteall($component0);
-~steelbox($component0, 0);
+~steelbox($component0, 0, 0);
~questlist_draw($component0, $component1, $component2, $component4, $component5, $component6);
diff --git a/scripts/[clientscript,raids_score_display].cs2 b/scripts/[clientscript,raids_score_display].cs2
index 9bd9f1f8b..c6b9453bc 100644
--- a/scripts/[clientscript,raids_score_display].cs2
+++ b/scripts/[clientscript,raids_score_display].cs2
@@ -10,47 +10,48 @@ def_string $string7 = "";
def_string $string8 = "";
def_string $string9 = "";
def_string $string10 = "";
+def_string $string11 = ~script2412;
$string1, $string0 = ~script632($string0);
$string2, $string0 = ~script632($string0);
$string3, $string0 = ~script632($string0);
$string4, $string0 = ~script632($string0);
$string5, $string0 = ~script632($string0);
if ($int2 = 0 | $int2 = -1) {
- $string6 = "
00:00:00";
+ $string6 = $string11;
$string1 = "Grab a team and get Raiding!";
} else {
- $string6 = ~script2275($int2);
+ $string6 = ~script2401($int2);
$string1 = "Team: <$string1>";
}
if ($int3 = 0 | $int3 = -1) {
- $string7 = "00:00:00";
+ $string7 = $string11;
$string2 = "Grab a team and get Raiding!";
} else {
- $string7 = ~script2275($int3);
+ $string7 = ~script2401($int3);
$string2 = "Team: <$string2>";
}
if ($int4 = 0 | $int4 = -1) {
- $string8 = "00:00:00";
+ $string8 = $string11;
$string3 = "Grab a team and get Raiding!";
} else {
- $string8 = ~script2275($int4);
+ $string8 = ~script2401($int4);
$string3 = "Team: <$string3>";
}
if ($int5 = 0 | $int5 = -1) {
- $string9 = "00:00:00";
+ $string9 = $string11;
$string4 = "Grab a team and get Raiding!";
} else {
- $string9 = ~script2275($int5);
+ $string9 = ~script2401($int5);
$string4 = "Team: <$string4>";
}
if ($int6 = 0 | $int6 = -1) {
- $string10 = "00:00:00";
+ $string10 = $string11;
$string5 = "Grab a team and get Raiding!";
} else {
- $string10 = ~script2275($int6);
+ $string10 = ~script2401($int6);
$string5 = "Team: <$string5>";
}
-if_settext(~script2275($int1), interface_21:15);
-if_settext(~script2275($int0), interface_21:13);
+if_settext(~script2401($int1), interface_21:15);
+if_settext(~script2401($int0), interface_21:13);
if_settext("<$string6>
<$string7>
<$string8>
<$string9>
<$string10>", interface_21:16);
if_settext("1. <$string1>
2. <$string2>
3. <$string3>
4. <$string4>
5. <$string5>", interface_21:17);
diff --git a/scripts/[clientscript,script2345].cs2 b/scripts/[clientscript,script2345].cs2
new file mode 100644
index 000000000..d1643545c
--- /dev/null
+++ b/scripts/[clientscript,script2345].cs2
@@ -0,0 +1,3 @@
+// 2345
+[clientscript,script2345](int $int0, int $int1, int $int2)
+~script2351($int0, $int1, $int2);
diff --git a/scripts/[clientscript,script2352].cs2 b/scripts/[clientscript,script2352].cs2
new file mode 100644
index 000000000..caf2881f4
--- /dev/null
+++ b/scripts/[clientscript,script2352].cs2
@@ -0,0 +1,78 @@
+// 2352
+[clientscript,script2352]
+def_int $int0 = 0;
+if (%var281 = 1000 | %var2686 = 1000) {
+ ~script2261(0, 0);
+}
+if (%varbit11843 = 1) {
+ ~script2261(1, 0);
+}
+if (%var1116 > 0 | %var1111 > 0 | %var1112 > 0 | %var1354 > 0 | %var1533 > 0 | %var1534 > 0 | %var2201 > 0) {
+ ~script2261(2, 0);
+}
+if (%varbit11844 = 1) {
+ ~script2261(3, 0);
+}
+if (%varbit11845 = 1) {
+ ~script2261(4, 0);
+}
+if (%var178 >= 3) {
+ ~script2261(5, 0);
+}
+if (%varbit2561 >= 3) {
+ ~script2261(6, 0);
+}
+if (%varbit11846 = 1) {
+ ~script2261(7, 0);
+}
+if (%varbit11847 = 1) {
+ ~script2261(8, 0);
+}
+if (%varbit11848 = 1) {
+ ~script2261(9, 0);
+}
+if (%varbit11849 = 1) {
+ ~script2261(11, 0);
+}
+if (%varbit11850 = 1) {
+ ~script2261(12, 0);
+}
+if (%varbit11851 = 1) {
+ ~script2261(13, 0);
+}
+if (%varbit11852 = 1) {
+ ~script2261(15, 0);
+}
+if (%varbit11853 = 1) {
+ ~script2261(16, 0);
+}
+if (%var29 >= 2) {
+ ~script2261(17, 0);
+}
+def_int $int1 = 0;
+if (%varbit11854 = 1) {
+ $int1 = calc($int1 + 1);
+}
+if (%varbit11855 = 1) {
+ $int1 = calc($int1 + 1);
+}
+if (%varbit11856 = 1) {
+ $int1 = calc($int1 + 1);
+}
+if (%varbit11857 = 1) {
+ $int1 = calc($int1 + 1);
+}
+if (%varbit11858 = 1) {
+ $int1 = calc($int1 + 1);
+}
+if (%varbit11859 = 1) {
+ $int1 = calc($int1 + 1);
+}
+if (%varbit11860 = 1) {
+ $int1 = calc($int1 + 1);
+}
+~script2351(18, $int1, 0);
+if (%var176 >= 10) {
+ ~script2261(19, 0);
+}
+$int0 = _3702;
diff --git a/scripts/[clientscript,script2356].cs2 b/scripts/[clientscript,script2356].cs2
new file mode 100644
index 000000000..1d5369fd5
--- /dev/null
+++ b/scripts/[clientscript,script2356].cs2
@@ -0,0 +1,27 @@
+// 2356
+[clientscript,script2356]
+def_int $int0 = 0;
+$int0 = _3700("ANewHero", 0, 0);
+$int0 = _3700("CanoeBelieveIt", 0, 0);
+$int0 = _3700("RagsToRiches", 0, 0);
+$int0 = _3700("Swashbuckler", 0, 0);
+$int0 = _3700("HomeSweetHome", 0, 0);
+$int0 = _3700("OutForTheCount", 0, 0);
+$int0 = _3700("Demonstration", 0, 0);
+$int0 = _3700("Fashionscape", 0, 0);
+$int0 = _3700("TollDodger", 0, 0);
+$int0 = _3700("GetTheBoot", 0, 0);
+$int0 = _3700("TisButAScratch", 0, 0);
+$int0 = _3700("KillOrBeKilled", 0, 0);
+$int0 = _3700("DemocracyInAction", 0, 0);
+$int0 = _3700("FishermansFriend", 0, 0);
+$int0 = _3700("BreathOfFreshAir", 0, 0);
+$int0 = _3700("ReadySteadyCook", 0, 0);
+$int0 = _3700("MightySlayer", 0, 0);
+$int0 = _3701("UnlimitedPowerStat", 3, 0);
+$int0 = _3701("ShopaholicStat", 0, 0);
+$int0 = _3701("GettingSomewhereStat", 32, 0);
+$int0 = _3700("UnlimitedPower", 0, 0);
+$int0 = _3700("Shopaholic", 0, 0);
+$int0 = _3700("GettingSomewhere", 0, 0);
+$int0 = _3702;
diff --git a/scripts/[clientscript,script2358].cs2 b/scripts/[clientscript,script2358].cs2
new file mode 100644
index 000000000..21b2cdb11
--- /dev/null
+++ b/scripts/[clientscript,script2358].cs2
@@ -0,0 +1,12 @@
+// 2358
+[clientscript,script2358](int $int0)
+if (~script2357 = 0) {
+ return;
+}
+if (getwindowmode = ^windowmode_fixed) {
+ return;
+}
+~script2363($int0);
+def_int $int1 = calc(100 + $int0 * 10);
+$int1 = ~max(100, ~min(400, $int1));
+_6210($int1);
diff --git a/scripts/[clientscript,script2368].cs2 b/scripts/[clientscript,script2368].cs2
index 11195a0de..96c8195d2 100644
--- a/scripts/[clientscript,script2368].cs2
+++ b/scripts/[clientscript,script2368].cs2
@@ -1,7 +1,7 @@
// 2368
[clientscript,script2368](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8)
cc_deleteall($component0);
-~steelbox($component0, 0);
+~steelbox($component0, 0, 0);
~script2371($component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8);
if_setonvartransmit("script2370($component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8){var261}", $component0);
if_setonop("script2369(1, event_opindex, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8)", $component1);
diff --git a/scripts/[clientscript,script2413].cs2 b/scripts/[clientscript,script2413].cs2
new file mode 100644
index 000000000..3d05b3c80
--- /dev/null
+++ b/scripts/[clientscript,script2413].cs2
@@ -0,0 +1,4 @@
+// 2413
+[clientscript,script2413](component $component0)
+cc_deleteall($component0);
+~steelbox($component0, 0, 1);
diff --git a/scripts/[clientscript,script2635].cs2 b/scripts/[clientscript,script2635].cs2
new file mode 100644
index 000000000..555d28688
--- /dev/null
+++ b/scripts/[clientscript,script2635].cs2
@@ -0,0 +1,26 @@
+// 2635
+[clientscript,script2635](component $component0, int $colour1, int $colour2, string $text0)
+cc_create($component0, ^iftype_rectangle, 0);
+cc_setposition(6, 6, ^setpos_abs_left, ^setpos_abs_top);
+cc_setsize(12, 12, ^setsize_minus, ^setsize_minus);
+cc_setfill(true);
+~create_graphic($component0, 1, "steelborder,0", 0, 0, ^setpos_abs_left, ^setpos_abs_top, 25, 30, ^setsize_abs, ^setsize_abs);
+~create_graphic($component0, 2, "steelborder,1", 0, 0, ^setpos_abs_right, ^setpos_abs_top, 25, 30, ^setsize_abs, ^setsize_abs);
+~create_graphic($component0, 3, "steelborder,2", 0, 0, ^setpos_abs_left, ^setpos_abs_bottom, 25, 30, ^setsize_abs, ^setsize_abs);
+~create_graphic($component0, 4, "steelborder,3", 0, 0, ^setpos_abs_right, ^setpos_abs_bottom, 25, 30, ^setsize_abs, ^setsize_abs);
+~create_graphic($component0, 5, "miscgraphics,2", -15, 0, ^setpos_abs_left, ^setpos_abs_centre, 36, 60, ^setsize_abs, ^setsize_minus);
+~create_graphic($component0, 6, "steelborder2,1", -15, 0, ^setpos_abs_right, ^setpos_abs_centre, 36, 60, ^setsize_abs, ^setsize_minus);
+~create_graphic($component0, 7, "steelborder2,0", 0, -15, ^setpos_abs_centre, ^setpos_abs_top, 50, 36, ^setsize_minus, ^setsize_abs);
+~create_graphic($component0, 8, "miscgraphics,3", 0, -15, ^setpos_abs_centre, ^setpos_abs_bottom, 50, 36, ^setsize_minus, ^setsize_abs);
+cc_create($component0, ^iftype_text, 9);
+cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
+cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
+cc_settext($text0);
+cc_settextfont(p11_full);
+cc_settextshadow(true);
+cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
+cc_setcolour($colour1);
+if (~on_mobile = false) {
+ if_setonmouseleave("cc_colour_swapper($component0, 9, $colour1)", $component0);
+ if_setonmouserepeat("cc_colour_swapper($component0, 9, $colour2)", $component0);
+}
diff --git a/scripts/[clientscript,script2636].cs2 b/scripts/[clientscript,script2636].cs2
new file mode 100644
index 000000000..af50eb3ce
--- /dev/null
+++ b/scripts/[clientscript,script2636].cs2
@@ -0,0 +1,4 @@
+// 2636
+[clientscript,script2636](component $component0)
+if_setonvartransmit("script2683{var355, var356}", $component0);
+~script2724;
diff --git a/scripts/[clientscript,script2683].cs2 b/scripts/[clientscript,script2683].cs2
new file mode 100644
index 000000000..d725e082c
--- /dev/null
+++ b/scripts/[clientscript,script2683].cs2
@@ -0,0 +1,3 @@
+// 2683
+[clientscript,script2683]
+~script2724;
diff --git a/scripts/[clientscript,script2725].cs2 b/scripts/[clientscript,script2725].cs2
new file mode 100644
index 000000000..dfe68235a
--- /dev/null
+++ b/scripts/[clientscript,script2725].cs2
@@ -0,0 +1,3 @@
+// 2725
+[clientscript,script2725](int $int0)
+~script2726($int0);
diff --git a/scripts/[clientscript,script2744].cs2 b/scripts/[clientscript,script2744].cs2
new file mode 100644
index 000000000..255f885ef
--- /dev/null
+++ b/scripts/[clientscript,script2744].cs2
@@ -0,0 +1,3 @@
+// 2744
+[clientscript,script2744](int $int0)
+~script2745($int0);
diff --git a/scripts/[clientscript,script2746].cs2 b/scripts/[clientscript,script2746].cs2
new file mode 100644
index 000000000..b640735a4
--- /dev/null
+++ b/scripts/[clientscript,script2746].cs2
@@ -0,0 +1,4 @@
+// 2746
+[clientscript,script2746]
+%varbit68 = calc(1 - %varbit68);
+~script2747(%varbit68);
diff --git a/scripts/[clientscript,script2971].cs2 b/scripts/[clientscript,script2971].cs2
new file mode 100644
index 000000000..182516402
--- /dev/null
+++ b/scripts/[clientscript,script2971].cs2
@@ -0,0 +1,4 @@
+// 2971
+[clientscript,script2971](component $component0)
+if_setonvartransmit("script3151{var355, var356}", $component0);
+~script3152;
diff --git a/scripts/[clientscript,script3151].cs2 b/scripts/[clientscript,script3151].cs2
new file mode 100644
index 000000000..916357cd1
--- /dev/null
+++ b/scripts/[clientscript,script3151].cs2
@@ -0,0 +1,3 @@
+// 3151
+[clientscript,script3151]
+~script3152;
diff --git a/scripts/[clientscript,script3271].cs2 b/scripts/[clientscript,script3271].cs2
new file mode 100644
index 000000000..6a400499d
--- /dev/null
+++ b/scripts/[clientscript,script3271].cs2
@@ -0,0 +1,3 @@
+// 3271
+[clientscript,script3271](int $int0)
+~script3272($int0);
diff --git a/scripts/[clientscript,script3273].cs2 b/scripts/[clientscript,script3273].cs2
new file mode 100644
index 000000000..b5253c391
--- /dev/null
+++ b/scripts/[clientscript,script3273].cs2
@@ -0,0 +1,3 @@
+// 3273
+[clientscript,script3273](int $int0)
+~script3274($int0);
diff --git a/scripts/[clientscript,script3293].cs2 b/scripts/[clientscript,script3293].cs2
new file mode 100644
index 000000000..1cd4b7150
--- /dev/null
+++ b/scripts/[clientscript,script3293].cs2
@@ -0,0 +1,4 @@
+// 3293
+[clientscript,script3293]
+%varbit68 = calc(1 - %varbit68);
+~script3294(%varbit68);
diff --git a/scripts/[clientscript,script3295].cs2 b/scripts/[clientscript,script3295].cs2
new file mode 100644
index 000000000..199902857
--- /dev/null
+++ b/scripts/[clientscript,script3295].cs2
@@ -0,0 +1,4 @@
+// 3295
+[clientscript,script3295](component $component0)
+if_setonvartransmit("script3296{var355, var356}", $component0);
+~script3352;
diff --git a/scripts/[clientscript,script3296].cs2 b/scripts/[clientscript,script3296].cs2
new file mode 100644
index 000000000..10959ac6d
--- /dev/null
+++ b/scripts/[clientscript,script3296].cs2
@@ -0,0 +1,3 @@
+// 3296
+[clientscript,script3296]
+~script3352;
diff --git a/scripts/[clientscript,script3353].cs2 b/scripts/[clientscript,script3353].cs2
new file mode 100644
index 000000000..e4dfb5cbf
--- /dev/null
+++ b/scripts/[clientscript,script3353].cs2
@@ -0,0 +1,3 @@
+// 3353
+[clientscript,script3353](int $int0)
+~script3354($int0);
diff --git a/scripts/[clientscript,script3355].cs2 b/scripts/[clientscript,script3355].cs2
new file mode 100644
index 000000000..d3326d646
--- /dev/null
+++ b/scripts/[clientscript,script3355].cs2
@@ -0,0 +1,3 @@
+// 3355
+[clientscript,script3355](int $int0)
+~script3356($int0);
diff --git a/scripts/[clientscript,script3357].cs2 b/scripts/[clientscript,script3357].cs2
new file mode 100644
index 000000000..97e477d12
--- /dev/null
+++ b/scripts/[clientscript,script3357].cs2
@@ -0,0 +1,4 @@
+// 3357
+[clientscript,script3357]
+%varbit68 = calc(1 - %varbit68);
+~script3358(%varbit68);
diff --git a/scripts/[clientscript,script3359].cs2 b/scripts/[clientscript,script3359].cs2
new file mode 100644
index 000000000..d55af3d06
--- /dev/null
+++ b/scripts/[clientscript,script3359].cs2
@@ -0,0 +1,70 @@
+// 3359
+[clientscript,script3359](int $int0)
+def_string $op0 = "Draw line";
+if ($int0 = 0) {
+ $op0 = "";
+}
+if_setop(1, $op0, boardgames_runeversi:57);
+if_setop(1, $op0, boardgames_runeversi:58);
+if_setop(1, $op0, boardgames_runeversi:59);
+if_setop(1, $op0, boardgames_runeversi:60);
+if_setop(1, $op0, boardgames_runeversi:61);
+if_setop(1, $op0, boardgames_runeversi:62);
+if_setop(1, $op0, boardgames_runeversi:63);
+if_setop(1, $op0, boardgames_runeversi:64);
+if_setop(1, $op0, boardgames_runeversi:65);
+if_setop(1, $op0, boardgames_runeversi:66);
+if_setop(1, $op0, boardgames_runeversi:67);
+if_setop(1, $op0, boardgames_runeversi:68);
+if_setop(1, $op0, boardgames_runeversi:69);
+if_setop(1, $op0, boardgames_runeversi:70);
+if_setop(1, $op0, boardgames_runeversi:71);
+if_setop(1, $op0, boardgames_runeversi:72);
+if_setop(1, $op0, boardgames_runeversi:73);
+if_setop(1, $op0, boardgames_runeversi:74);
+if_setop(1, $op0, boardgames_runeversi:75);
+if_setop(1, $op0, boardgames_runeversi:76);
+if_setop(1, $op0, boardgames_runeversi:77);
+if_setop(1, $op0, boardgames_runeversi:78);
+if_setop(1, $op0, boardgames_runeversi:79);
+if_setop(1, $op0, boardgames_runeversi:80);
+if_setop(1, $op0, boardgames_runeversi:81);
+if_setop(1, $op0, boardgames_runeversi:82);
+if_setop(1, $op0, boardgames_runeversi:83);
+if_setop(1, $op0, boardgames_runeversi:84);
+if_setop(1, $op0, boardgames_runeversi:85);
+if_setop(1, $op0, boardgames_runeversi:86);
+if_setop(1, $op0, boardgames_runeversi:87);
+if_setop(1, $op0, boardgames_runeversi:88);
+if_setop(1, $op0, boardgames_runeversi:89);
+if_setop(1, $op0, boardgames_runeversi:90);
+if_setop(1, $op0, boardgames_runeversi:91);
+if_setop(1, $op0, boardgames_runeversi:92);
+if_setop(1, $op0, boardgames_runeversi:93);
+if_setop(1, $op0, boardgames_runeversi:94);
+if_setop(1, $op0, boardgames_runeversi:95);
+if_setop(1, $op0, boardgames_runeversi:96);
+if_setop(1, $op0, boardgames_runeversi:97);
+if_setop(1, $op0, boardgames_runeversi:98);
+if_setop(1, $op0, boardgames_runeversi:99);
+if_setop(1, $op0, boardgames_runeversi:100);
+if_setop(1, $op0, boardgames_runeversi:101);
+if_setop(1, $op0, boardgames_runeversi:102);
+if_setop(1, $op0, boardgames_runeversi:103);
+if_setop(1, $op0, boardgames_runeversi:104);
+if_setop(1, $op0, boardgames_runeversi:105);
+if_setop(1, $op0, boardgames_runeversi:106);
+if_setop(1, $op0, boardgames_runeversi:107);
+if_setop(1, $op0, boardgames_runeversi:108);
+if_setop(1, $op0, boardgames_runeversi:109);
+if_setop(1, $op0, boardgames_runeversi:110);
+if_setop(1, $op0, boardgames_runeversi:111);
+if_setop(1, $op0, boardgames_runeversi:112);
+if_setop(1, $op0, boardgames_runeversi:113);
+if_setop(1, $op0, boardgames_runeversi:114);
+if_setop(1, $op0, boardgames_runeversi:115);
+if_setop(1, $op0, boardgames_runeversi:116);
+if_setop(1, $op0, boardgames_runeversi:117);
+if_setop(1, $op0, boardgames_runeversi:118);
+if_setop(1, $op0, boardgames_runeversi:119);
+if_setop(1, $op0, boardgames_runeversi:120);
diff --git a/scripts/[clientscript,script3423].cs2 b/scripts/[clientscript,script3423].cs2
new file mode 100644
index 000000000..fadcd8f0f
--- /dev/null
+++ b/scripts/[clientscript,script3423].cs2
@@ -0,0 +1,325 @@
+// 3423
+[clientscript,script3423]
+if (%varbit60 = 1) {
+ return;
+}
+if (inv_getobj(inv_215, 0) ! null) {
+ if_setop(1, "", boardgames_runeversi:57);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:57);
+}
+if (inv_getobj(inv_215, 1) ! null) {
+ if_setop(1, "", boardgames_runeversi:58);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:58);
+}
+if (inv_getobj(inv_215, 2) ! null) {
+ if_setop(1, "", boardgames_runeversi:59);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:59);
+}
+if (inv_getobj(inv_215, 3) ! null) {
+ if_setop(1, "", boardgames_runeversi:60);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:60);
+}
+if (inv_getobj(inv_215, 4) ! null) {
+ if_setop(1, "", boardgames_runeversi:61);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:61);
+}
+if (inv_getobj(inv_215, 5) ! null) {
+ if_setop(1, "", boardgames_runeversi:62);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:62);
+}
+if (inv_getobj(inv_215, 6) ! null) {
+ if_setop(1, "", boardgames_runeversi:63);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:63);
+}
+if (inv_getobj(inv_215, 7) ! null) {
+ if_setop(1, "", boardgames_runeversi:64);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:64);
+}
+if (inv_getobj(inv_215, 8) ! null) {
+ if_setop(1, "", boardgames_runeversi:65);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:65);
+}
+if (inv_getobj(inv_215, 9) ! null) {
+ if_setop(1, "", boardgames_runeversi:66);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:66);
+}
+if (inv_getobj(inv_215, 10) ! null) {
+ if_setop(1, "", boardgames_runeversi:67);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:67);
+}
+if (inv_getobj(inv_215, 11) ! null) {
+ if_setop(1, "", boardgames_runeversi:68);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:68);
+}
+if (inv_getobj(inv_215, 12) ! null) {
+ if_setop(1, "", boardgames_runeversi:69);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:69);
+}
+if (inv_getobj(inv_215, 13) ! null) {
+ if_setop(1, "", boardgames_runeversi:70);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:70);
+}
+if (inv_getobj(inv_215, 14) ! null) {
+ if_setop(1, "", boardgames_runeversi:71);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:71);
+}
+if (inv_getobj(inv_215, 15) ! null) {
+ if_setop(1, "", boardgames_runeversi:72);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:72);
+}
+if (inv_getobj(inv_215, 16) ! null) {
+ if_setop(1, "", boardgames_runeversi:73);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:73);
+}
+if (inv_getobj(inv_215, 17) ! null) {
+ if_setop(1, "", boardgames_runeversi:74);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:74);
+}
+if (inv_getobj(inv_215, 18) ! null) {
+ if_setop(1, "", boardgames_runeversi:75);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:75);
+}
+if (inv_getobj(inv_215, 19) ! null) {
+ if_setop(1, "", boardgames_runeversi:76);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:76);
+}
+if (inv_getobj(inv_215, 20) ! null) {
+ if_setop(1, "", boardgames_runeversi:77);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:77);
+}
+if (inv_getobj(inv_215, 21) ! null) {
+ if_setop(1, "", boardgames_runeversi:78);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:78);
+}
+if (inv_getobj(inv_215, 22) ! null) {
+ if_setop(1, "", boardgames_runeversi:79);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:79);
+}
+if (inv_getobj(inv_215, 23) ! null) {
+ if_setop(1, "", boardgames_runeversi:80);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:80);
+}
+if (inv_getobj(inv_215, 24) ! null) {
+ if_setop(1, "", boardgames_runeversi:81);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:81);
+}
+if (inv_getobj(inv_215, 25) ! null) {
+ if_setop(1, "", boardgames_runeversi:82);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:82);
+}
+if (inv_getobj(inv_215, 26) ! null) {
+ if_setop(1, "", boardgames_runeversi:83);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:83);
+}
+if (inv_getobj(inv_215, 27) ! null) {
+ if_setop(1, "", boardgames_runeversi:84);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:84);
+}
+if (inv_getobj(inv_215, 28) ! null) {
+ if_setop(1, "", boardgames_runeversi:85);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:85);
+}
+if (inv_getobj(inv_215, 29) ! null) {
+ if_setop(1, "", boardgames_runeversi:86);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:86);
+}
+if (inv_getobj(inv_215, 30) ! null) {
+ if_setop(1, "", boardgames_runeversi:87);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:87);
+}
+if (inv_getobj(inv_215, 31) ! null) {
+ if_setop(1, "", boardgames_runeversi:88);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:88);
+}
+if (inv_getobj(inv_215, 32) ! null) {
+ if_setop(1, "", boardgames_runeversi:89);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:89);
+}
+if (inv_getobj(inv_215, 33) ! null) {
+ if_setop(1, "", boardgames_runeversi:90);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:90);
+}
+if (inv_getobj(inv_215, 34) ! null) {
+ if_setop(1, "", boardgames_runeversi:91);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:91);
+}
+if (inv_getobj(inv_215, 35) ! null) {
+ if_setop(1, "", boardgames_runeversi:92);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:92);
+}
+if (inv_getobj(inv_215, 36) ! null) {
+ if_setop(1, "", boardgames_runeversi:93);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:93);
+}
+if (inv_getobj(inv_215, 37) ! null) {
+ if_setop(1, "", boardgames_runeversi:94);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:94);
+}
+if (inv_getobj(inv_215, 38) ! null) {
+ if_setop(1, "", boardgames_runeversi:95);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:95);
+}
+if (inv_getobj(inv_215, 39) ! null) {
+ if_setop(1, "", boardgames_runeversi:96);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:96);
+}
+if (inv_getobj(inv_215, 40) ! null) {
+ if_setop(1, "", boardgames_runeversi:97);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:97);
+}
+if (inv_getobj(inv_215, 41) ! null) {
+ if_setop(1, "", boardgames_runeversi:98);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:98);
+}
+if (inv_getobj(inv_215, 42) ! null) {
+ if_setop(1, "", boardgames_runeversi:99);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:99);
+}
+if (inv_getobj(inv_215, 43) ! null) {
+ if_setop(1, "", boardgames_runeversi:100);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:100);
+}
+if (inv_getobj(inv_215, 44) ! null) {
+ if_setop(1, "", boardgames_runeversi:101);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:101);
+}
+if (inv_getobj(inv_215, 45) ! null) {
+ if_setop(1, "", boardgames_runeversi:102);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:102);
+}
+if (inv_getobj(inv_215, 46) ! null) {
+ if_setop(1, "", boardgames_runeversi:103);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:103);
+}
+if (inv_getobj(inv_215, 47) ! null) {
+ if_setop(1, "", boardgames_runeversi:104);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:104);
+}
+if (inv_getobj(inv_215, 48) ! null) {
+ if_setop(1, "", boardgames_runeversi:105);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:105);
+}
+if (inv_getobj(inv_215, 49) ! null) {
+ if_setop(1, "", boardgames_runeversi:106);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:106);
+}
+if (inv_getobj(inv_215, 50) ! null) {
+ if_setop(1, "", boardgames_runeversi:107);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:107);
+}
+if (inv_getobj(inv_215, 51) ! null) {
+ if_setop(1, "", boardgames_runeversi:108);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:108);
+}
+if (inv_getobj(inv_215, 52) ! null) {
+ if_setop(1, "", boardgames_runeversi:109);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:109);
+}
+if (inv_getobj(inv_215, 53) ! null) {
+ if_setop(1, "", boardgames_runeversi:110);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:110);
+}
+if (inv_getobj(inv_215, 54) ! null) {
+ if_setop(1, "", boardgames_runeversi:111);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:111);
+}
+if (inv_getobj(inv_215, 55) ! null) {
+ if_setop(1, "", boardgames_runeversi:112);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:112);
+}
+if (inv_getobj(inv_215, 56) ! null) {
+ if_setop(1, "", boardgames_runeversi:113);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:113);
+}
+if (inv_getobj(inv_215, 57) ! null) {
+ if_setop(1, "", boardgames_runeversi:114);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:114);
+}
+if (inv_getobj(inv_215, 58) ! null) {
+ if_setop(1, "", boardgames_runeversi:115);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:115);
+}
+if (inv_getobj(inv_215, 59) ! null) {
+ if_setop(1, "", boardgames_runeversi:116);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:116);
+}
+if (inv_getobj(inv_215, 60) ! null) {
+ if_setop(1, "", boardgames_runeversi:117);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:117);
+}
+if (inv_getobj(inv_215, 61) ! null) {
+ if_setop(1, "", boardgames_runeversi:118);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:118);
+}
+if (inv_getobj(inv_215, 62) ! null) {
+ if_setop(1, "", boardgames_runeversi:119);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:119);
+}
+if (inv_getobj(inv_215, 63) ! null) {
+ if_setop(1, "", boardgames_runeversi:120);
+} else {
+ if_setop(1, "Play piece", boardgames_runeversi:120);
+}
diff --git a/scripts/[clientscript,script3424].cs2 b/scripts/[clientscript,script3424].cs2
new file mode 100644
index 000000000..70a58a508
--- /dev/null
+++ b/scripts/[clientscript,script3424].cs2
@@ -0,0 +1,4 @@
+// 3424
+[clientscript,script3424](component $component0)
+if_setonvartransmit("script3425(-1){var355}", $component0);
+~script3426(-1);
diff --git a/scripts/[clientscript,script3425].cs2 b/scripts/[clientscript,script3425].cs2
new file mode 100644
index 000000000..085534b32
--- /dev/null
+++ b/scripts/[clientscript,script3425].cs2
@@ -0,0 +1,3 @@
+// 3425
+[clientscript,script3425](int $int0)
+~script3426($int0);
diff --git a/scripts/[clientscript,script3566].cs2 b/scripts/[clientscript,script3566].cs2
new file mode 100644
index 000000000..713defdf3
--- /dev/null
+++ b/scripts/[clientscript,script3566].cs2
@@ -0,0 +1,4 @@
+// 3566
+[clientscript,script3566](component $component0)
+if_setonvartransmit("script3906{var355, var356}", $component0);
+~script3907;
diff --git a/scripts/[clientscript,script3906].cs2 b/scripts/[clientscript,script3906].cs2
new file mode 100644
index 000000000..11074b8d3
--- /dev/null
+++ b/scripts/[clientscript,script3906].cs2
@@ -0,0 +1,3 @@
+// 3906
+[clientscript,script3906]
+~script3907;
diff --git a/scripts/[clientscript,script3997].cs2 b/scripts/[clientscript,script3997].cs2
new file mode 100644
index 000000000..9d393b261
--- /dev/null
+++ b/scripts/[clientscript,script3997].cs2
@@ -0,0 +1,3 @@
+// 3997
+[clientscript,script3997](int $int0)
+~script3999($int0);
diff --git a/scripts/[clientscript,script4000].cs2 b/scripts/[clientscript,script4000].cs2
new file mode 100644
index 000000000..6eb881cf9
--- /dev/null
+++ b/scripts/[clientscript,script4000].cs2
@@ -0,0 +1,3 @@
+// 4000
+[clientscript,script4000](int $int0)
+~script4003($int0);
diff --git a/scripts/[clientscript,script4011].cs2 b/scripts/[clientscript,script4011].cs2
new file mode 100644
index 000000000..a58cedb26
--- /dev/null
+++ b/scripts/[clientscript,script4011].cs2
@@ -0,0 +1,4 @@
+// 4011
+[clientscript,script4011]
+%varbit68 = calc(1 - %varbit68);
+~script4019(%varbit68);
diff --git a/scripts/[clientscript,script4021].cs2 b/scripts/[clientscript,script4021].cs2
new file mode 100644
index 000000000..03c0cb62f
--- /dev/null
+++ b/scripts/[clientscript,script4021].cs2
@@ -0,0 +1,230 @@
+// 4021
+[clientscript,script4021](int $int0)
+def_string $op0 = "Draw line";
+if ($int0 = 0) {
+ $op0 = "";
+}
+if_setop(1, $op0, boardgames_runesquares:67);
+if_setop(1, $op0, boardgames_runesquares:250);
+if_setop(1, $op0, boardgames_runesquares:68);
+if_setop(1, $op0, boardgames_runesquares:251);
+if_setop(1, $op0, boardgames_runesquares:69);
+if_setop(1, $op0, boardgames_runesquares:252);
+if_setop(1, $op0, boardgames_runesquares:70);
+if_setop(1, $op0, boardgames_runesquares:253);
+if_setop(1, $op0, boardgames_runesquares:71);
+if_setop(1, $op0, boardgames_runesquares:254);
+if_setop(1, $op0, boardgames_runesquares:72);
+if_setop(1, $op0, boardgames_runesquares:255);
+if_setop(1, $op0, boardgames_runesquares:73);
+if_setop(1, $op0, boardgames_runesquares:256);
+if_setop(1, $op0, boardgames_runesquares:74);
+if_setop(1, $op0, boardgames_runesquares:257);
+if_setop(1, $op0, boardgames_runesquares:75);
+if_setop(1, $op0, boardgames_runesquares:258);
+if_setop(1, $op0, boardgames_runesquares:76);
+if_setop(1, $op0, boardgames_runesquares:259);
+if_setop(1, $op0, boardgames_runesquares:77);
+if_setop(1, $op0, boardgames_runesquares:260);
+if_setop(1, $op0, boardgames_runesquares:78);
+if_setop(1, $op0, boardgames_runesquares:261);
+if_setop(1, $op0, boardgames_runesquares:79);
+if_setop(1, $op0, boardgames_runesquares:262);
+if_setop(1, $op0, boardgames_runesquares:80);
+if_setop(1, $op0, boardgames_runesquares:263);
+if_setop(1, $op0, boardgames_runesquares:81);
+if_setop(1, $op0, boardgames_runesquares:264);
+if_setop(1, $op0, boardgames_runesquares:82);
+if_setop(1, $op0, boardgames_runesquares:265);
+if_setop(1, $op0, boardgames_runesquares:83);
+if_setop(1, $op0, boardgames_runesquares:266);
+if_setop(1, $op0, boardgames_runesquares:84);
+if_setop(1, $op0, boardgames_runesquares:267);
+if_setop(1, $op0, boardgames_runesquares:85);
+if_setop(1, $op0, boardgames_runesquares:268);
+if_setop(1, $op0, boardgames_runesquares:86);
+if_setop(1, $op0, boardgames_runesquares:269);
+if_setop(1, $op0, boardgames_runesquares:87);
+if_setop(1, $op0, boardgames_runesquares:270);
+if_setop(1, $op0, boardgames_runesquares:88);
+if_setop(1, $op0, boardgames_runesquares:271);
+if_setop(1, $op0, boardgames_runesquares:89);
+if_setop(1, $op0, boardgames_runesquares:272);
+if_setop(1, $op0, boardgames_runesquares:90);
+if_setop(1, $op0, boardgames_runesquares:273);
+if_setop(1, $op0, boardgames_runesquares:91);
+if_setop(1, $op0, boardgames_runesquares:274);
+if_setop(1, $op0, boardgames_runesquares:92);
+if_setop(1, $op0, boardgames_runesquares:275);
+if_setop(1, $op0, boardgames_runesquares:93);
+if_setop(1, $op0, boardgames_runesquares:276);
+if_setop(1, $op0, boardgames_runesquares:94);
+if_setop(1, $op0, boardgames_runesquares:277);
+if_setop(1, $op0, boardgames_runesquares:95);
+if_setop(1, $op0, boardgames_runesquares:278);
+if_setop(1, $op0, boardgames_runesquares:96);
+if_setop(1, $op0, boardgames_runesquares:279);
+if_setop(1, $op0, boardgames_runesquares:97);
+if_setop(1, $op0, boardgames_runesquares:280);
+if_setop(1, $op0, boardgames_runesquares:98);
+if_setop(1, $op0, boardgames_runesquares:281);
+if_setop(1, $op0, boardgames_runesquares:99);
+if_setop(1, $op0, boardgames_runesquares:282);
+if_setop(1, $op0, boardgames_runesquares:100);
+if_setop(1, $op0, boardgames_runesquares:283);
+if_setop(1, $op0, boardgames_runesquares:101);
+if_setop(1, $op0, boardgames_runesquares:284);
+if_setop(1, $op0, boardgames_runesquares:102);
+if_setop(1, $op0, boardgames_runesquares:285);
+if_setop(1, $op0, boardgames_runesquares:103);
+if_setop(1, $op0, boardgames_runesquares:286);
+if_setop(1, $op0, boardgames_runesquares:104);
+if_setop(1, $op0, boardgames_runesquares:287);
+if_setop(1, $op0, boardgames_runesquares:105);
+if_setop(1, $op0, boardgames_runesquares:288);
+if_setop(1, $op0, boardgames_runesquares:106);
+if_setop(1, $op0, boardgames_runesquares:289);
+if_setop(1, $op0, boardgames_runesquares:107);
+if_setop(1, $op0, boardgames_runesquares:290);
+if_setop(1, $op0, boardgames_runesquares:108);
+if_setop(1, $op0, boardgames_runesquares:291);
+if_setop(1, $op0, boardgames_runesquares:109);
+if_setop(1, $op0, boardgames_runesquares:292);
+if_setop(1, $op0, boardgames_runesquares:110);
+if_setop(1, $op0, boardgames_runesquares:293);
+if_setop(1, $op0, boardgames_runesquares:111);
+if_setop(1, $op0, boardgames_runesquares:294);
+if_setop(1, $op0, boardgames_runesquares:112);
+if_setop(1, $op0, boardgames_runesquares:295);
+if_setop(1, $op0, boardgames_runesquares:113);
+if_setop(1, $op0, boardgames_runesquares:296);
+if_setop(1, $op0, boardgames_runesquares:114);
+if_setop(1, $op0, boardgames_runesquares:297);
+if_setop(1, $op0, boardgames_runesquares:115);
+if_setop(1, $op0, boardgames_runesquares:298);
+if_setop(1, $op0, boardgames_runesquares:116);
+if_setop(1, $op0, boardgames_runesquares:299);
+if_setop(1, $op0, boardgames_runesquares:117);
+if_setop(1, $op0, boardgames_runesquares:300);
+if_setop(1, $op0, boardgames_runesquares:118);
+if_setop(1, $op0, boardgames_runesquares:301);
+if_setop(1, $op0, boardgames_runesquares:119);
+if_setop(1, $op0, boardgames_runesquares:302);
+if_setop(1, $op0, boardgames_runesquares:120);
+if_setop(1, $op0, boardgames_runesquares:303);
+if_setop(1, $op0, boardgames_runesquares:121);
+if_setop(1, $op0, boardgames_runesquares:304);
+if_setop(1, $op0, boardgames_runesquares:122);
+if_setop(1, $op0, boardgames_runesquares:305);
+if_setop(1, $op0, boardgames_runesquares:11);
+if_setop(1, $op0, boardgames_runesquares:194);
+if_setop(1, $op0, boardgames_runesquares:12);
+if_setop(1, $op0, boardgames_runesquares:195);
+if_setop(1, $op0, boardgames_runesquares:13);
+if_setop(1, $op0, boardgames_runesquares:196);
+if_setop(1, $op0, boardgames_runesquares:14);
+if_setop(1, $op0, boardgames_runesquares:197);
+if_setop(1, $op0, boardgames_runesquares:15);
+if_setop(1, $op0, boardgames_runesquares:198);
+if_setop(1, $op0, boardgames_runesquares:16);
+if_setop(1, $op0, boardgames_runesquares:199);
+if_setop(1, $op0, boardgames_runesquares:17);
+if_setop(1, $op0, boardgames_runesquares:200);
+if_setop(1, $op0, boardgames_runesquares:18);
+if_setop(1, $op0, boardgames_runesquares:201);
+if_setop(1, $op0, boardgames_runesquares:19);
+if_setop(1, $op0, boardgames_runesquares:202);
+if_setop(1, $op0, boardgames_runesquares:20);
+if_setop(1, $op0, boardgames_runesquares:203);
+if_setop(1, $op0, boardgames_runesquares:21);
+if_setop(1, $op0, boardgames_runesquares:204);
+if_setop(1, $op0, boardgames_runesquares:22);
+if_setop(1, $op0, boardgames_runesquares:205);
+if_setop(1, $op0, boardgames_runesquares:23);
+if_setop(1, $op0, boardgames_runesquares:206);
+if_setop(1, $op0, boardgames_runesquares:24);
+if_setop(1, $op0, boardgames_runesquares:207);
+if_setop(1, $op0, boardgames_runesquares:25);
+if_setop(1, $op0, boardgames_runesquares:208);
+if_setop(1, $op0, boardgames_runesquares:26);
+if_setop(1, $op0, boardgames_runesquares:209);
+if_setop(1, $op0, boardgames_runesquares:27);
+if_setop(1, $op0, boardgames_runesquares:210);
+if_setop(1, $op0, boardgames_runesquares:28);
+if_setop(1, $op0, boardgames_runesquares:211);
+if_setop(1, $op0, boardgames_runesquares:29);
+if_setop(1, $op0, boardgames_runesquares:212);
+if_setop(1, $op0, boardgames_runesquares:30);
+if_setop(1, $op0, boardgames_runesquares:213);
+if_setop(1, $op0, boardgames_runesquares:31);
+if_setop(1, $op0, boardgames_runesquares:214);
+if_setop(1, $op0, boardgames_runesquares:32);
+if_setop(1, $op0, boardgames_runesquares:215);
+if_setop(1, $op0, boardgames_runesquares:33);
+if_setop(1, $op0, boardgames_runesquares:216);
+if_setop(1, $op0, boardgames_runesquares:34);
+if_setop(1, $op0, boardgames_runesquares:217);
+if_setop(1, $op0, boardgames_runesquares:35);
+if_setop(1, $op0, boardgames_runesquares:218);
+if_setop(1, $op0, boardgames_runesquares:36);
+if_setop(1, $op0, boardgames_runesquares:219);
+if_setop(1, $op0, boardgames_runesquares:37);
+if_setop(1, $op0, boardgames_runesquares:220);
+if_setop(1, $op0, boardgames_runesquares:38);
+if_setop(1, $op0, boardgames_runesquares:221);
+if_setop(1, $op0, boardgames_runesquares:39);
+if_setop(1, $op0, boardgames_runesquares:222);
+if_setop(1, $op0, boardgames_runesquares:40);
+if_setop(1, $op0, boardgames_runesquares:223);
+if_setop(1, $op0, boardgames_runesquares:41);
+if_setop(1, $op0, boardgames_runesquares:224);
+if_setop(1, $op0, boardgames_runesquares:42);
+if_setop(1, $op0, boardgames_runesquares:225);
+if_setop(1, $op0, boardgames_runesquares:43);
+if_setop(1, $op0, boardgames_runesquares:226);
+if_setop(1, $op0, boardgames_runesquares:44);
+if_setop(1, $op0, boardgames_runesquares:227);
+if_setop(1, $op0, boardgames_runesquares:45);
+if_setop(1, $op0, boardgames_runesquares:228);
+if_setop(1, $op0, boardgames_runesquares:46);
+if_setop(1, $op0, boardgames_runesquares:229);
+if_setop(1, $op0, boardgames_runesquares:47);
+if_setop(1, $op0, boardgames_runesquares:230);
+if_setop(1, $op0, boardgames_runesquares:48);
+if_setop(1, $op0, boardgames_runesquares:231);
+if_setop(1, $op0, boardgames_runesquares:49);
+if_setop(1, $op0, boardgames_runesquares:232);
+if_setop(1, $op0, boardgames_runesquares:50);
+if_setop(1, $op0, boardgames_runesquares:233);
+if_setop(1, $op0, boardgames_runesquares:51);
+if_setop(1, $op0, boardgames_runesquares:234);
+if_setop(1, $op0, boardgames_runesquares:52);
+if_setop(1, $op0, boardgames_runesquares:235);
+if_setop(1, $op0, boardgames_runesquares:53);
+if_setop(1, $op0, boardgames_runesquares:236);
+if_setop(1, $op0, boardgames_runesquares:54);
+if_setop(1, $op0, boardgames_runesquares:237);
+if_setop(1, $op0, boardgames_runesquares:55);
+if_setop(1, $op0, boardgames_runesquares:238);
+if_setop(1, $op0, boardgames_runesquares:56);
+if_setop(1, $op0, boardgames_runesquares:239);
+if_setop(1, $op0, boardgames_runesquares:57);
+if_setop(1, $op0, boardgames_runesquares:240);
+if_setop(1, $op0, boardgames_runesquares:58);
+if_setop(1, $op0, boardgames_runesquares:241);
+if_setop(1, $op0, boardgames_runesquares:59);
+if_setop(1, $op0, boardgames_runesquares:242);
+if_setop(1, $op0, boardgames_runesquares:60);
+if_setop(1, $op0, boardgames_runesquares:243);
+if_setop(1, $op0, boardgames_runesquares:61);
+if_setop(1, $op0, boardgames_runesquares:244);
+if_setop(1, $op0, boardgames_runesquares:62);
+if_setop(1, $op0, boardgames_runesquares:245);
+if_setop(1, $op0, boardgames_runesquares:63);
+if_setop(1, $op0, boardgames_runesquares:246);
+if_setop(1, $op0, boardgames_runesquares:64);
+if_setop(1, $op0, boardgames_runesquares:247);
+if_setop(1, $op0, boardgames_runesquares:65);
+if_setop(1, $op0, boardgames_runesquares:248);
+if_setop(1, $op0, boardgames_runesquares:66);
+if_setop(1, $op0, boardgames_runesquares:249);
diff --git a/scripts/[clientscript,script4022].cs2 b/scripts/[clientscript,script4022].cs2
new file mode 100644
index 000000000..cf1a6e4ad
--- /dev/null
+++ b/scripts/[clientscript,script4022].cs2
@@ -0,0 +1,789 @@
+// 4022
+[clientscript,script4022]
+if (%varbit60 = 1) {
+ return;
+}
+if (%varbit1628 = 1) {
+ if_setcolour(^white, boardgames_runesquares:67);
+ if_setop(1, "", boardgames_runesquares:67);
+ if_setop(1, "", boardgames_runesquares:250);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:67);
+}
+if (%varbit1629 = 1) {
+ if_setcolour(^white, boardgames_runesquares:68);
+ if_setop(1, "", boardgames_runesquares:68);
+ if_setop(1, "", boardgames_runesquares:251);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:68);
+}
+if (%varbit1630 = 1) {
+ if_setcolour(^white, boardgames_runesquares:69);
+ if_setop(1, "", boardgames_runesquares:69);
+ if_setop(1, "", boardgames_runesquares:252);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:69);
+}
+if (%varbit1631 = 1) {
+ if_setcolour(^white, boardgames_runesquares:70);
+ if_setop(1, "", boardgames_runesquares:70);
+ if_setop(1, "", boardgames_runesquares:253);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:70);
+}
+if (%varbit1632 = 1) {
+ if_setcolour(^white, boardgames_runesquares:71);
+ if_setop(1, "", boardgames_runesquares:71);
+ if_setop(1, "", boardgames_runesquares:254);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:71);
+}
+if (%varbit1633 = 1) {
+ if_setcolour(^white, boardgames_runesquares:72);
+ if_setop(1, "", boardgames_runesquares:72);
+ if_setop(1, "", boardgames_runesquares:255);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:72);
+}
+if (%varbit1634 = 1) {
+ if_setcolour(^white, boardgames_runesquares:73);
+ if_setop(1, "", boardgames_runesquares:73);
+ if_setop(1, "", boardgames_runesquares:256);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:73);
+}
+if (%varbit1635 = 1) {
+ if_setcolour(^white, boardgames_runesquares:74);
+ if_setop(1, "", boardgames_runesquares:74);
+ if_setop(1, "", boardgames_runesquares:257);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:74);
+}
+if (%varbit1636 = 1) {
+ if_setcolour(^white, boardgames_runesquares:75);
+ if_setop(1, "", boardgames_runesquares:75);
+ if_setop(1, "", boardgames_runesquares:258);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:75);
+}
+if (%varbit1637 = 1) {
+ if_setcolour(^white, boardgames_runesquares:76);
+ if_setop(1, "", boardgames_runesquares:76);
+ if_setop(1, "", boardgames_runesquares:259);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:76);
+}
+if (%varbit1638 = 1) {
+ if_setcolour(^white, boardgames_runesquares:77);
+ if_setop(1, "", boardgames_runesquares:77);
+ if_setop(1, "", boardgames_runesquares:260);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:77);
+}
+if (%varbit1639 = 1) {
+ if_setcolour(^white, boardgames_runesquares:78);
+ if_setop(1, "", boardgames_runesquares:78);
+ if_setop(1, "", boardgames_runesquares:261);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:78);
+}
+if (%varbit1640 = 1) {
+ if_setcolour(^white, boardgames_runesquares:79);
+ if_setop(1, "", boardgames_runesquares:79);
+ if_setop(1, "", boardgames_runesquares:262);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:79);
+}
+if (%varbit1641 = 1) {
+ if_setcolour(^white, boardgames_runesquares:80);
+ if_setop(1, "", boardgames_runesquares:80);
+ if_setop(1, "", boardgames_runesquares:263);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:80);
+}
+if (%varbit1642 = 1) {
+ if_setcolour(^white, boardgames_runesquares:81);
+ if_setop(1, "", boardgames_runesquares:81);
+ if_setop(1, "", boardgames_runesquares:264);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:81);
+}
+if (%varbit1643 = 1) {
+ if_setcolour(^white, boardgames_runesquares:82);
+ if_setop(1, "", boardgames_runesquares:82);
+ if_setop(1, "", boardgames_runesquares:265);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:82);
+}
+if (%varbit1644 = 1) {
+ if_setcolour(^white, boardgames_runesquares:83);
+ if_setop(1, "", boardgames_runesquares:83);
+ if_setop(1, "", boardgames_runesquares:266);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:83);
+}
+if (%varbit1645 = 1) {
+ if_setcolour(^white, boardgames_runesquares:84);
+ if_setop(1, "", boardgames_runesquares:84);
+ if_setop(1, "", boardgames_runesquares:267);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:84);
+}
+if (%varbit1646 = 1) {
+ if_setcolour(^white, boardgames_runesquares:85);
+ if_setop(1, "", boardgames_runesquares:85);
+ if_setop(1, "", boardgames_runesquares:268);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:85);
+}
+if (%varbit1647 = 1) {
+ if_setcolour(^white, boardgames_runesquares:86);
+ if_setop(1, "", boardgames_runesquares:86);
+ if_setop(1, "", boardgames_runesquares:269);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:86);
+}
+if (%varbit1648 = 1) {
+ if_setcolour(^white, boardgames_runesquares:87);
+ if_setop(1, "", boardgames_runesquares:87);
+ if_setop(1, "", boardgames_runesquares:270);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:87);
+}
+if (%varbit1649 = 1) {
+ if_setcolour(^white, boardgames_runesquares:88);
+ if_setop(1, "", boardgames_runesquares:88);
+ if_setop(1, "", boardgames_runesquares:271);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:88);
+}
+if (%varbit1650 = 1) {
+ if_setcolour(^white, boardgames_runesquares:89);
+ if_setop(1, "", boardgames_runesquares:89);
+ if_setop(1, "", boardgames_runesquares:272);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:89);
+}
+if (%varbit1651 = 1) {
+ if_setcolour(^white, boardgames_runesquares:90);
+ if_setop(1, "", boardgames_runesquares:90);
+ if_setop(1, "", boardgames_runesquares:273);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:90);
+}
+if (%varbit1652 = 1) {
+ if_setcolour(^white, boardgames_runesquares:91);
+ if_setop(1, "", boardgames_runesquares:91);
+ if_setop(1, "", boardgames_runesquares:274);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:91);
+}
+if (%varbit1653 = 1) {
+ if_setcolour(^white, boardgames_runesquares:92);
+ if_setop(1, "", boardgames_runesquares:92);
+ if_setop(1, "", boardgames_runesquares:275);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:92);
+}
+if (%varbit1654 = 1) {
+ if_setcolour(^white, boardgames_runesquares:93);
+ if_setop(1, "", boardgames_runesquares:93);
+ if_setop(1, "", boardgames_runesquares:276);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:93);
+}
+if (%varbit1655 = 1) {
+ if_setcolour(^white, boardgames_runesquares:94);
+ if_setop(1, "", boardgames_runesquares:94);
+ if_setop(1, "", boardgames_runesquares:277);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:94);
+}
+if (%varbit1656 = 1) {
+ if_setcolour(^white, boardgames_runesquares:95);
+ if_setop(1, "", boardgames_runesquares:95);
+ if_setop(1, "", boardgames_runesquares:278);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:95);
+}
+if (%varbit1657 = 1) {
+ if_setcolour(^white, boardgames_runesquares:96);
+ if_setop(1, "", boardgames_runesquares:96);
+ if_setop(1, "", boardgames_runesquares:279);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:96);
+}
+if (%varbit1658 = 1) {
+ if_setcolour(^white, boardgames_runesquares:97);
+ if_setop(1, "", boardgames_runesquares:97);
+ if_setop(1, "", boardgames_runesquares:280);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:97);
+}
+if (%varbit1659 = 1) {
+ if_setcolour(^white, boardgames_runesquares:98);
+ if_setop(1, "", boardgames_runesquares:98);
+ if_setop(1, "", boardgames_runesquares:281);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:98);
+}
+if (%varbit1660 = 1) {
+ if_setcolour(^white, boardgames_runesquares:99);
+ if_setop(1, "", boardgames_runesquares:99);
+ if_setop(1, "", boardgames_runesquares:282);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:99);
+}
+if (%varbit1661 = 1) {
+ if_setcolour(^white, boardgames_runesquares:100);
+ if_setop(1, "", boardgames_runesquares:100);
+ if_setop(1, "", boardgames_runesquares:283);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:100);
+}
+if (%varbit1662 = 1) {
+ if_setcolour(^white, boardgames_runesquares:101);
+ if_setop(1, "", boardgames_runesquares:101);
+ if_setop(1, "", boardgames_runesquares:284);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:101);
+}
+if (%varbit1663 = 1) {
+ if_setcolour(^white, boardgames_runesquares:102);
+ if_setop(1, "", boardgames_runesquares:102);
+ if_setop(1, "", boardgames_runesquares:285);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:102);
+}
+if (%varbit1664 = 1) {
+ if_setcolour(^white, boardgames_runesquares:103);
+ if_setop(1, "", boardgames_runesquares:103);
+ if_setop(1, "", boardgames_runesquares:286);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:103);
+}
+if (%varbit1665 = 1) {
+ if_setcolour(^white, boardgames_runesquares:104);
+ if_setop(1, "", boardgames_runesquares:104);
+ if_setop(1, "", boardgames_runesquares:287);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:104);
+}
+if (%varbit1666 = 1) {
+ if_setcolour(^white, boardgames_runesquares:105);
+ if_setop(1, "", boardgames_runesquares:105);
+ if_setop(1, "", boardgames_runesquares:288);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:105);
+}
+if (%varbit1667 = 1) {
+ if_setcolour(^white, boardgames_runesquares:106);
+ if_setop(1, "", boardgames_runesquares:106);
+ if_setop(1, "", boardgames_runesquares:289);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:106);
+}
+if (%varbit1668 = 1) {
+ if_setcolour(^white, boardgames_runesquares:107);
+ if_setop(1, "", boardgames_runesquares:107);
+ if_setop(1, "", boardgames_runesquares:290);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:107);
+}
+if (%varbit1669 = 1) {
+ if_setcolour(^white, boardgames_runesquares:108);
+ if_setop(1, "", boardgames_runesquares:108);
+ if_setop(1, "", boardgames_runesquares:291);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:108);
+}
+if (%varbit1670 = 1) {
+ if_setcolour(^white, boardgames_runesquares:109);
+ if_setop(1, "", boardgames_runesquares:109);
+ if_setop(1, "", boardgames_runesquares:292);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:109);
+}
+if (%varbit1671 = 1) {
+ if_setcolour(^white, boardgames_runesquares:110);
+ if_setop(1, "", boardgames_runesquares:110);
+ if_setop(1, "", boardgames_runesquares:293);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:110);
+}
+if (%varbit1672 = 1) {
+ if_setcolour(^white, boardgames_runesquares:111);
+ if_setop(1, "", boardgames_runesquares:111);
+ if_setop(1, "", boardgames_runesquares:294);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:111);
+}
+if (%varbit1673 = 1) {
+ if_setcolour(^white, boardgames_runesquares:112);
+ if_setop(1, "", boardgames_runesquares:112);
+ if_setop(1, "", boardgames_runesquares:295);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:112);
+}
+if (%varbit1674 = 1) {
+ if_setcolour(^white, boardgames_runesquares:113);
+ if_setop(1, "", boardgames_runesquares:113);
+ if_setop(1, "", boardgames_runesquares:296);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:113);
+}
+if (%varbit1675 = 1) {
+ if_setcolour(^white, boardgames_runesquares:114);
+ if_setop(1, "", boardgames_runesquares:114);
+ if_setop(1, "", boardgames_runesquares:297);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:114);
+}
+if (%varbit1676 = 1) {
+ if_setcolour(^white, boardgames_runesquares:115);
+ if_setop(1, "", boardgames_runesquares:115);
+ if_setop(1, "", boardgames_runesquares:298);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:115);
+}
+if (%varbit1677 = 1) {
+ if_setcolour(^white, boardgames_runesquares:116);
+ if_setop(1, "", boardgames_runesquares:116);
+ if_setop(1, "", boardgames_runesquares:299);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:116);
+}
+if (%varbit1678 = 1) {
+ if_setcolour(^white, boardgames_runesquares:117);
+ if_setop(1, "", boardgames_runesquares:117);
+ if_setop(1, "", boardgames_runesquares:300);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:117);
+}
+if (%varbit1679 = 1) {
+ if_setcolour(^white, boardgames_runesquares:118);
+ if_setop(1, "", boardgames_runesquares:118);
+ if_setop(1, "", boardgames_runesquares:301);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:118);
+}
+if (%varbit1680 = 1) {
+ if_setcolour(^white, boardgames_runesquares:119);
+ if_setop(1, "", boardgames_runesquares:119);
+ if_setop(1, "", boardgames_runesquares:302);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:119);
+}
+if (%varbit1681 = 1) {
+ if_setcolour(^white, boardgames_runesquares:120);
+ if_setop(1, "", boardgames_runesquares:120);
+ if_setop(1, "", boardgames_runesquares:303);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:120);
+}
+if (%varbit1682 = 1) {
+ if_setcolour(^white, boardgames_runesquares:121);
+ if_setop(1, "", boardgames_runesquares:121);
+ if_setop(1, "", boardgames_runesquares:304);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:121);
+}
+if (%varbit1683 = 1) {
+ if_setcolour(^white, boardgames_runesquares:122);
+ if_setop(1, "", boardgames_runesquares:122);
+ if_setop(1, "", boardgames_runesquares:305);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:122);
+}
+if (%varbit1684 = 1) {
+ if_setcolour(^white, boardgames_runesquares:11);
+ if_setop(1, "", boardgames_runesquares:11);
+ if_setop(1, "", boardgames_runesquares:194);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:11);
+}
+if (%varbit1685 = 1) {
+ if_setcolour(^white, boardgames_runesquares:12);
+ if_setop(1, "", boardgames_runesquares:12);
+ if_setop(1, "", boardgames_runesquares:195);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:12);
+}
+if (%varbit1686 = 1) {
+ if_setcolour(^white, boardgames_runesquares:13);
+ if_setop(1, "", boardgames_runesquares:13);
+ if_setop(1, "", boardgames_runesquares:196);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:13);
+}
+if (%varbit1687 = 1) {
+ if_setcolour(^white, boardgames_runesquares:14);
+ if_setop(1, "", boardgames_runesquares:14);
+ if_setop(1, "", boardgames_runesquares:197);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:14);
+}
+if (%varbit1688 = 1) {
+ if_setcolour(^white, boardgames_runesquares:15);
+ if_setop(1, "", boardgames_runesquares:15);
+ if_setop(1, "", boardgames_runesquares:198);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:15);
+}
+if (%varbit1689 = 1) {
+ if_setcolour(^white, boardgames_runesquares:16);
+ if_setop(1, "", boardgames_runesquares:16);
+ if_setop(1, "", boardgames_runesquares:199);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:16);
+}
+if (%varbit1690 = 1) {
+ if_setcolour(^white, boardgames_runesquares:17);
+ if_setop(1, "", boardgames_runesquares:17);
+ if_setop(1, "", boardgames_runesquares:200);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:17);
+}
+if (%varbit1691 = 1) {
+ if_setcolour(^white, boardgames_runesquares:18);
+ if_setop(1, "", boardgames_runesquares:18);
+ if_setop(1, "", boardgames_runesquares:201);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:18);
+}
+if (%varbit1692 = 1) {
+ if_setcolour(^white, boardgames_runesquares:19);
+ if_setop(1, "", boardgames_runesquares:19);
+ if_setop(1, "", boardgames_runesquares:202);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:19);
+}
+if (%varbit1693 = 1) {
+ if_setcolour(^white, boardgames_runesquares:20);
+ if_setop(1, "", boardgames_runesquares:20);
+ if_setop(1, "", boardgames_runesquares:203);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:20);
+}
+if (%varbit1694 = 1) {
+ if_setcolour(^white, boardgames_runesquares:21);
+ if_setop(1, "", boardgames_runesquares:21);
+ if_setop(1, "", boardgames_runesquares:204);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:21);
+}
+if (%varbit1695 = 1) {
+ if_setcolour(^white, boardgames_runesquares:22);
+ if_setop(1, "", boardgames_runesquares:22);
+ if_setop(1, "", boardgames_runesquares:205);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:22);
+}
+if (%varbit1696 = 1) {
+ if_setcolour(^white, boardgames_runesquares:23);
+ if_setop(1, "", boardgames_runesquares:23);
+ if_setop(1, "", boardgames_runesquares:206);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:23);
+}
+if (%varbit1697 = 1) {
+ if_setcolour(^white, boardgames_runesquares:24);
+ if_setop(1, "", boardgames_runesquares:24);
+ if_setop(1, "", boardgames_runesquares:207);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:24);
+}
+if (%varbit1698 = 1) {
+ if_setcolour(^white, boardgames_runesquares:25);
+ if_setop(1, "", boardgames_runesquares:25);
+ if_setop(1, "", boardgames_runesquares:208);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:25);
+}
+if (%varbit1699 = 1) {
+ if_setcolour(^white, boardgames_runesquares:26);
+ if_setop(1, "", boardgames_runesquares:26);
+ if_setop(1, "", boardgames_runesquares:209);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:26);
+}
+if (%varbit1700 = 1) {
+ if_setcolour(^white, boardgames_runesquares:27);
+ if_setop(1, "", boardgames_runesquares:27);
+ if_setop(1, "", boardgames_runesquares:210);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:27);
+}
+if (%varbit1701 = 1) {
+ if_setcolour(^white, boardgames_runesquares:28);
+ if_setop(1, "", boardgames_runesquares:28);
+ if_setop(1, "", boardgames_runesquares:211);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:28);
+}
+if (%varbit1702 = 1) {
+ if_setcolour(^white, boardgames_runesquares:29);
+ if_setop(1, "", boardgames_runesquares:29);
+ if_setop(1, "", boardgames_runesquares:212);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:29);
+}
+if (%varbit1703 = 1) {
+ if_setcolour(^white, boardgames_runesquares:30);
+ if_setop(1, "", boardgames_runesquares:30);
+ if_setop(1, "", boardgames_runesquares:213);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:30);
+}
+if (%varbit1704 = 1) {
+ if_setcolour(^white, boardgames_runesquares:31);
+ if_setop(1, "", boardgames_runesquares:31);
+ if_setop(1, "", boardgames_runesquares:214);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:31);
+}
+if (%varbit1705 = 1) {
+ if_setcolour(^white, boardgames_runesquares:32);
+ if_setop(1, "", boardgames_runesquares:32);
+ if_setop(1, "", boardgames_runesquares:215);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:32);
+}
+if (%varbit1706 = 1) {
+ if_setcolour(^white, boardgames_runesquares:33);
+ if_setop(1, "", boardgames_runesquares:33);
+ if_setop(1, "", boardgames_runesquares:216);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:33);
+}
+if (%varbit1707 = 1) {
+ if_setcolour(^white, boardgames_runesquares:34);
+ if_setop(1, "", boardgames_runesquares:34);
+ if_setop(1, "", boardgames_runesquares:217);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:34);
+}
+if (%varbit1708 = 1) {
+ if_setcolour(^white, boardgames_runesquares:35);
+ if_setop(1, "", boardgames_runesquares:35);
+ if_setop(1, "", boardgames_runesquares:218);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:35);
+}
+if (%varbit1709 = 1) {
+ if_setcolour(^white, boardgames_runesquares:36);
+ if_setop(1, "", boardgames_runesquares:36);
+ if_setop(1, "", boardgames_runesquares:219);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:36);
+}
+if (%varbit1710 = 1) {
+ if_setcolour(^white, boardgames_runesquares:37);
+ if_setop(1, "", boardgames_runesquares:37);
+ if_setop(1, "", boardgames_runesquares:220);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:37);
+}
+if (%varbit1711 = 1) {
+ if_setcolour(^white, boardgames_runesquares:38);
+ if_setop(1, "", boardgames_runesquares:38);
+ if_setop(1, "", boardgames_runesquares:221);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:38);
+}
+if (%varbit1712 = 1) {
+ if_setcolour(^white, boardgames_runesquares:39);
+ if_setop(1, "", boardgames_runesquares:39);
+ if_setop(1, "", boardgames_runesquares:222);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:39);
+}
+if (%varbit1713 = 1) {
+ if_setcolour(^white, boardgames_runesquares:40);
+ if_setop(1, "", boardgames_runesquares:40);
+ if_setop(1, "", boardgames_runesquares:223);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:40);
+}
+if (%varbit1714 = 1) {
+ if_setcolour(^white, boardgames_runesquares:41);
+ if_setop(1, "", boardgames_runesquares:41);
+ if_setop(1, "", boardgames_runesquares:224);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:41);
+}
+if (%varbit1715 = 1) {
+ if_setcolour(^white, boardgames_runesquares:42);
+ if_setop(1, "", boardgames_runesquares:42);
+ if_setop(1, "", boardgames_runesquares:225);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:42);
+}
+if (%varbit1716 = 1) {
+ if_setcolour(^white, boardgames_runesquares:43);
+ if_setop(1, "", boardgames_runesquares:43);
+ if_setop(1, "", boardgames_runesquares:226);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:43);
+}
+if (%varbit1717 = 1) {
+ if_setcolour(^white, boardgames_runesquares:44);
+ if_setop(1, "", boardgames_runesquares:44);
+ if_setop(1, "", boardgames_runesquares:227);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:44);
+}
+if (%varbit1718 = 1) {
+ if_setcolour(^white, boardgames_runesquares:45);
+ if_setop(1, "", boardgames_runesquares:45);
+ if_setop(1, "", boardgames_runesquares:228);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:45);
+}
+if (%varbit1719 = 1) {
+ if_setcolour(^white, boardgames_runesquares:46);
+ if_setop(1, "", boardgames_runesquares:46);
+ if_setop(1, "", boardgames_runesquares:229);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:46);
+}
+if (%varbit1720 = 1) {
+ if_setcolour(^white, boardgames_runesquares:47);
+ if_setop(1, "", boardgames_runesquares:47);
+ if_setop(1, "", boardgames_runesquares:230);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:47);
+}
+if (%varbit1721 = 1) {
+ if_setcolour(^white, boardgames_runesquares:48);
+ if_setop(1, "", boardgames_runesquares:48);
+ if_setop(1, "", boardgames_runesquares:231);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:48);
+}
+if (%varbit1722 = 1) {
+ if_setcolour(^white, boardgames_runesquares:49);
+ if_setop(1, "", boardgames_runesquares:49);
+ if_setop(1, "", boardgames_runesquares:232);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:49);
+}
+if (%varbit1723 = 1) {
+ if_setcolour(^white, boardgames_runesquares:50);
+ if_setop(1, "", boardgames_runesquares:50);
+ if_setop(1, "", boardgames_runesquares:233);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:50);
+}
+if (%varbit1724 = 1) {
+ if_setcolour(^white, boardgames_runesquares:51);
+ if_setop(1, "", boardgames_runesquares:51);
+ if_setop(1, "", boardgames_runesquares:234);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:51);
+}
+if (%varbit1725 = 1) {
+ if_setcolour(^white, boardgames_runesquares:52);
+ if_setop(1, "", boardgames_runesquares:52);
+ if_setop(1, "", boardgames_runesquares:235);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:52);
+}
+if (%varbit1726 = 1) {
+ if_setcolour(^white, boardgames_runesquares:53);
+ if_setop(1, "", boardgames_runesquares:53);
+ if_setop(1, "", boardgames_runesquares:236);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:53);
+}
+if (%varbit1727 = 1) {
+ if_setcolour(^white, boardgames_runesquares:54);
+ if_setop(1, "", boardgames_runesquares:54);
+ if_setop(1, "", boardgames_runesquares:237);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:54);
+}
+if (%varbit1728 = 1) {
+ if_setcolour(^white, boardgames_runesquares:55);
+ if_setop(1, "", boardgames_runesquares:55);
+ if_setop(1, "", boardgames_runesquares:238);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:55);
+}
+if (%varbit1729 = 1) {
+ if_setcolour(^white, boardgames_runesquares:56);
+ if_setop(1, "", boardgames_runesquares:56);
+ if_setop(1, "", boardgames_runesquares:239);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:56);
+}
+if (%varbit1730 = 1) {
+ if_setcolour(^white, boardgames_runesquares:57);
+ if_setop(1, "", boardgames_runesquares:57);
+ if_setop(1, "", boardgames_runesquares:240);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:57);
+}
+if (%varbit1731 = 1) {
+ if_setcolour(^white, boardgames_runesquares:58);
+ if_setop(1, "", boardgames_runesquares:58);
+ if_setop(1, "", boardgames_runesquares:241);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:58);
+}
+if (%varbit1732 = 1) {
+ if_setcolour(^white, boardgames_runesquares:59);
+ if_setop(1, "", boardgames_runesquares:59);
+ if_setop(1, "", boardgames_runesquares:242);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:59);
+}
+if (%varbit1733 = 1) {
+ if_setcolour(^white, boardgames_runesquares:60);
+ if_setop(1, "", boardgames_runesquares:60);
+ if_setop(1, "", boardgames_runesquares:243);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:60);
+}
+if (%varbit1734 = 1) {
+ if_setcolour(^white, boardgames_runesquares:61);
+ if_setop(1, "", boardgames_runesquares:61);
+ if_setop(1, "", boardgames_runesquares:244);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:61);
+}
+if (%varbit1735 = 1) {
+ if_setcolour(^white, boardgames_runesquares:62);
+ if_setop(1, "", boardgames_runesquares:62);
+ if_setop(1, "", boardgames_runesquares:245);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:62);
+}
+if (%varbit1736 = 1) {
+ if_setcolour(^white, boardgames_runesquares:63);
+ if_setop(1, "", boardgames_runesquares:63);
+ if_setop(1, "", boardgames_runesquares:246);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:63);
+}
+if (%varbit1737 = 1) {
+ if_setcolour(^white, boardgames_runesquares:64);
+ if_setop(1, "", boardgames_runesquares:64);
+ if_setop(1, "", boardgames_runesquares:247);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:64);
+}
+if (%varbit1738 = 1) {
+ if_setcolour(^white, boardgames_runesquares:65);
+ if_setop(1, "", boardgames_runesquares:65);
+ if_setop(1, "", boardgames_runesquares:248);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:65);
+}
+if (%varbit1739 = 1) {
+ if_setcolour(^white, boardgames_runesquares:66);
+ if_setop(1, "", boardgames_runesquares:66);
+ if_setop(1, "", boardgames_runesquares:249);
+} else {
+ if_setcolour(0x555555, boardgames_runesquares:66);
+}
diff --git a/scripts/[clientscript,script534].cs2 b/scripts/[clientscript,script534].cs2
new file mode 100644
index 000000000..e6d63e6c2
--- /dev/null
+++ b/scripts/[clientscript,script534].cs2
@@ -0,0 +1,3 @@
+// 534
+[clientscript,script534](int $int0, int $int1)
+~script2261($int0, $int1);
diff --git a/scripts/[clientscript,settings_slider_on_transmit].cs2 b/scripts/[clientscript,settings_slider_on_transmit].cs2
index 85e749816..e7b9f2efa 100644
--- a/scripts/[clientscript,settings_slider_on_transmit].cs2
+++ b/scripts/[clientscript,settings_slider_on_transmit].cs2
@@ -1,21 +1,18 @@
// 3863
-[clientscript,settings_slider_on_transmit](struct $struct0, int $int1, int $int2, int $int3, component $component4, int $comsubid5, int $y6, int $int7, int $int8, component $component9, int $comsubid10, int $int11, enum $enum12, boolean $boolean13)
-def_int $int14 = ~script3957($struct0);
-def_int $int15 = ~settings_get_slider($int1);
-def_int $int16 = 0;
-def_int $int17 = 0;
-if (cc_find($component4, $comsubid5) = ^true) {
- if ($int15 = 0) {
- cc_setposition($int7, $y6, ^setpos_abs_left, ^setpos_abs_top);
- } else if ($int15 = calc($int2 - 1)) {
- cc_setposition(calc($int8 - 16), $y6, ^setpos_abs_left, ^setpos_abs_top);
+[clientscript,settings_slider_on_transmit](struct $struct0, int $int1, int $int2, int $int3, int $int4, component $component5, int $comsubid6, int $y7, int $int8, int $int9, component $component10, int $comsubid11, string $string0, int $int12, enum $enum13, boolean $boolean14)
+def_int $int15 = ~script3957($struct0);
+def_int $int16 = ~settings_get_slider($int1);
+def_string $string1 = "";
+if (cc_find($component5, $comsubid6) = ^true) {
+ if ($int16 = 0) {
+ cc_setposition($int8, $y7, ^setpos_abs_left, ^setpos_abs_top);
+ } else if ($int16 = calc($int2 - 1)) {
+ cc_setposition(calc($int9 - 16), $y7, ^setpos_abs_left, ^setpos_abs_top);
} else {
- $int16 = scale($int15, $int2, $int3);
- $int17 = scale(calc($int15 + 1), $int2, $int3);
- cc_setposition(calc($int7 + scale($int15, $int2 - 1, $int3 - 16)), $y6, ^setpos_abs_left, ^setpos_abs_top);
+ cc_setposition(calc($int8 + scale($int16 * 2, ($int2 - 1) * 2, $int4 - 16)), $y7, ^setpos_abs_left, ^setpos_abs_top);
}
- if ($int14 = 1) {
- if ($boolean13 = true) {
+ if ($int15 = 1) {
+ if ($boolean14 = true) {
cc_setgraphic("settings_slider,8");
} else {
cc_setgraphic("settings_slider,6");
@@ -24,25 +21,29 @@ if (cc_find($component4, $comsubid5) = ^true) {
cc_setgraphic("settings_slider,7");
}
}
-if (cc_find($component9, $comsubid10) = ^true) {
- if ($int14 = 1) {
+if (cc_find($component10, $comsubid11) = ^true) {
+ if (struct_param($struct0, param_1158) = true) {
+ $string1 = ~script2364($int1);
+ }
+ cc_settext(append($string0, $string1));
+ if ($int15 = 1) {
cc_setcolour(0xff981f);
} else {
cc_setcolour(0x9f9f9f);
}
}
-def_int $int18 = 0;
-if ($enum12 ! null) {
- $int18 = 0;
- while ($int18 < $int2) {
- if (cc_find($component9, $int11) = ^true) {
- if ($int14 = 1) {
+def_int $int17 = 0;
+if ($enum13 ! null) {
+ $int17 = 0;
+ while ($int17 < $int3) {
+ if (cc_find($component10, $int12) = ^true) {
+ if ($int15 = 1) {
cc_setcolour(0xff981f);
} else {
cc_setcolour(0x9f9f9f);
}
}
- $int11 = calc($int11 + 1);
- $int18 = calc($int18 + 1);
+ $int12 = calc($int12 + 1);
+ $int17 = calc($int17 + 1);
}
}
diff --git a/scripts/[clientscript,settings_slider_op].cs2 b/scripts/[clientscript,settings_slider_op].cs2
index 349c0846b..a788b8fbd 100644
--- a/scripts/[clientscript,settings_slider_op].cs2
+++ b/scripts/[clientscript,settings_slider_op].cs2
@@ -1,5 +1,5 @@
// 3861
-[clientscript,settings_slider_op](struct $struct0, int $int1, int $int2, int $int3, int $int4, component $component5, int $comsubid6, int $y7, int $int8, int $int9, component $component10, int $comsubid11, boolean $boolean12)
+[clientscript,settings_slider_op](struct $struct0, int $int1, int $int2, int $int3, int $int4, component $component5, int $comsubid6, int $y7, int $int8, int $int9, component $component10, int $comsubid11, int $comsubid12, string $string0, boolean $boolean13)
if (~settings_op_checker($struct0) = 0) {
return;
}
@@ -10,9 +10,16 @@ if (cc_find($component5, $comsubid6) = ^true) {
} else if ($int2 = calc($int3 - 1)) {
cc_setposition(calc($int9 - 16), $y7, ^setpos_abs_left, ^setpos_abs_top);
} else {
- cc_setposition(calc($int8 + scale($int2, $int3 - 1, $int4 - 16)), $y7, ^setpos_abs_left, ^setpos_abs_top);
+ cc_setposition(calc($int8 + scale($int2 * 2, ($int3 - 1) * 2, $int4 - 16)), $y7, ^setpos_abs_left, ^setpos_abs_top);
}
}
-if ($boolean12 = false & cc_find($component10, $comsubid11) = ^true) {
- cc_setontimer("settings_slider_synch(0, $int1, $int2, $int3, $int4, $component5, $comsubid6, $y7, $int8, $int9, $component10, $comsubid11)");
+def_string $string1 = "";
+if (cc_find($component10, $comsubid12) = ^true) {
+ if (struct_param($struct0, param_1158) = true) {
+ $string1 = ~script2364($int1);
+ }
+ cc_settext(append($string0, $string1));
+}
+if ($boolean13 = false & cc_find($component10, $comsubid11) = ^true) {
+ cc_setontimer("settings_slider_synch(0, $struct0, $int1, $int2, $int3, $int4, $component5, $comsubid6, $y7, $int8, $int9, $component10, $comsubid11, $comsubid12, $string0)");
}
diff --git a/scripts/[clientscript,settings_slider_synch].cs2 b/scripts/[clientscript,settings_slider_synch].cs2
index bd4a20adf..de8f9f98f 100644
--- a/scripts/[clientscript,settings_slider_synch].cs2
+++ b/scripts/[clientscript,settings_slider_synch].cs2
@@ -1,21 +1,28 @@
// 3862
-[clientscript,settings_slider_synch](int $int0, int $int1, int $int2, int $int3, int $int4, component $component5, int $comsubid6, int $y7, int $int8, int $int9, component $component10, int $comsubid11)
-def_int $int12 = 0;
-if (cc_find($component10, $comsubid11) = ^true) {
+[clientscript,settings_slider_synch](int $int0, struct $struct1, int $int2, int $int3, int $int4, int $int5, component $component6, int $comsubid7, int $y8, int $int9, int $int10, component $component11, int $comsubid12, int $comsubid13, string $string0)
+def_int $int14 = 0;
+def_string $string1 = "";
+if (cc_find($component11, $comsubid12) = ^true) {
$int0 = calc($int0 + 1);
if ($int0 < 35) {
- cc_setontimer("settings_slider_synch($int0, $int1, $int2, $int3, $int4, $component5, $comsubid6, $y7, $int8, $int9, $component10, $comsubid11)");
+ cc_setontimer("settings_slider_synch($int0, $struct1, $int2, $int3, $int4, $int5, $component6, $comsubid7, $y8, $int9, $int10, $component11, $comsubid12, $comsubid13, $string0)");
} else {
- if (.cc_find($component5, $comsubid6) = ^true) {
- $int12 = ~settings_get_slider($int1);
- if ($int12 = 0) {
- .cc_setposition($int8, $y7, ^setpos_abs_left, ^setpos_abs_top);
- } else if ($int12 = calc($int3 - 1)) {
- .cc_setposition(calc($int9 - 16), $y7, ^setpos_abs_left, ^setpos_abs_top);
+ if (.cc_find($component6, $comsubid7) = ^true) {
+ $int14 = ~settings_get_slider($int2);
+ if ($int14 = 0) {
+ .cc_setposition($int9, $y8, ^setpos_abs_left, ^setpos_abs_top);
+ } else if ($int14 = calc($int4 - 1)) {
+ .cc_setposition(calc($int10 - 16), $y8, ^setpos_abs_left, ^setpos_abs_top);
} else {
- .cc_setposition(calc($int8 + scale($int12, $int3 - 1, $int4 - 16)), $y7, ^setpos_abs_left, ^setpos_abs_top);
+ .cc_setposition(calc($int9 + scale($int14 * 2, ($int4 - 1) * 2, $int5 - 16)), $y8, ^setpos_abs_left, ^setpos_abs_top);
}
}
+ if (.cc_find($component11, $comsubid13) = ^true) {
+ if (struct_param($struct1, param_1158) = true) {
+ $string1 = ~script2364($int2);
+ }
+ .cc_settext(append($string0, $string1));
+ }
cc_setontimer(null);
}
}
diff --git a/scripts/[clientscript,steelbox].cs2 b/scripts/[clientscript,steelbox].cs2
index 5730f0ff4..a1d9e127f 100644
--- a/scripts/[clientscript,steelbox].cs2
+++ b/scripts/[clientscript,steelbox].cs2
@@ -1,4 +1,4 @@
// 392
[clientscript,steelbox](component $component0)
cc_deleteall($component0);
-~steelbox($component0, 0);
+~steelbox($component0, 0, 0);
diff --git a/scripts/[proc,br_fogcolour].cs2 b/scripts/[proc,br_fogcolour].cs2
index 9cdce1cd2..7e5ca58ef 100644
--- a/scripts/[proc,br_fogcolour].cs2
+++ b/scripts/[proc,br_fogcolour].cs2
@@ -1,18 +1,39 @@
// 1346
[proc,br_fogcolour]
-def_int $colour0 = if_getcolour(interface_90:1);
-def_int $int1 = if_gettrans(interface_90:1);
+def_int $colour0 = 0x882000;
+if (%varbit11865 = 0) {
+ switch_int (%varbit11798) {
+ case 1 :
+ $colour0 = 0x882000;
+ case 2 :
+ $colour0 = 0xffcc66;
+ }
+} else {
+ switch_int (%varbit11865) {
+ case 1 :
+ $colour0 = 0x00cc44;
+ case 2 :
+ $colour0 = 0xffcc66;
+ case 3 :
+ $colour0 = 0x882000;
+ case 4 :
+ $colour0 = 0x4dd2ff;
+ case 5 :
+ $colour0 = 0xf5f5f0;
+ }
+}
+def_int $colour1 = $colour0;
+def_int $int2 = if_gettrans(temple_screen:1);
if (%varbit5320 <= 0 & %varbit5316 <= 0) {
- if ($colour0 ! 0x882000) {
- if_setcolour(0x882000, interface_90:1);
+ if ($colour1 ! $colour0) {
+ if_setcolour($colour0, temple_screen:1);
}
- if ($int1 ! 255) {
- if_settrans(255, interface_90:1);
+ if ($int2 ! 255) {
+ if_settrans(255, temple_screen:1);
}
- _2124(255, interface_90:1);
+ _2124(255, temple_screen:1);
return;
}
-def_int $int2 = 0;
def_int $int3 = 0;
def_int $int4 = 0;
def_int $int5 = 0;
@@ -23,34 +44,30 @@ def_int $int9 = 0;
def_int $int10 = 0;
def_int $int11 = 0;
def_int $int12 = 0;
-$int10, $int11, $int12 = ~hex_to_rgb(0x882000);
-def_int $int13 = 100;
-def_int $int14 = 255;
-def_int $int15 = 0;
+def_int $int13 = 0;
+$int11, $int12, $int13 = ~hex_to_rgb($colour0);
+def_int $int14 = 100;
+def_int $int15 = 255;
def_int $int16 = 0;
def_int $int17 = 0;
def_int $int18 = 0;
-$int16, $int17, $int18 = ~hex_to_rgb($colour0);
-$int3 = invpow(pow(calc(coordx(coord) - %varbit5320), 2), 2);
-$int4 = invpow(pow(calc(coordz(coord) - %varbit5316), 2), 2);
-if ($int3 > $int4) {
- $int2 = $int3;
+def_int $int19 = 0;
+$int17, $int18, $int19 = ~hex_to_rgb($colour1);
+$int4 = invpow(pow(calc(coordx(coord) - %varbit5320), 2), 2);
+$int5 = invpow(pow(calc(coordz(coord) - %varbit5316), 2), 2);
+if ($int4 > $int5) {
+ $int3 = $int4;
} else {
- $int2 = $int4;
+ $int3 = $int5;
}
-$int5, $int6 = calc(%varbit5317 - 8), calc(%varbit5317 + 8);
-if ($int2 <= $int5) {
- $int7, $int8, $int9, $int15 = $int16, $int17, $int18, $int14;
-} else if ($int2 >= $int6) {
- $int7, $int8, $int9, $int15 = $int10, $int11, $int12, $int13;
+$int6, $int7 = calc(%varbit5317 - 8), calc(%varbit5317 + 8);
+if ($int3 <= $int6) {
+ $int8, $int9, $int10, $int16 = $int17, $int18, $int19, $int15;
+} else if ($int3 >= $int7) {
+ $int8, $int9, $int10, $int16 = $int11, $int12, $int13, $int14;
} else {
- $int2 = calc($int2 - $int5);
- $int7, $int8, $int9, $int15 = interpolate(0, $int2, 0, 16, $int10), interpolate(0, $int2, 0, 16, $int11), interpolate(0, $int2, 0, 16, $int12), $int13;
-}
-if ($int16 < $int7) {
- $int16 = calc($int16 + 1);
-} else if ($int16 > $int7) {
- $int16 = calc($int16 - 1);
+ $int3 = calc($int3 - $int6);
+ $int8, $int9, $int10, $int16 = interpolate(0, $int3, 0, 16, $int11), interpolate(0, $int3, 0, 16, $int12), interpolate(0, $int3, 0, 16, $int13), $int14;
}
if ($int17 < $int8) {
$int17 = calc($int17 + 1);
@@ -62,11 +79,16 @@ if ($int18 < $int9) {
} else if ($int18 > $int9) {
$int18 = calc($int18 - 1);
}
-if_setcolour(~rgb_to_hex($int16, $int17, $int18), interface_90:1);
-if ($int1 < $int15) {
- $int1 = calc($int1 + 1);
-} else if ($int1 > $int15) {
- $int1 = calc($int1 - 1);
+if ($int19 < $int10) {
+ $int19 = calc($int19 + 1);
+} else if ($int19 > $int10) {
+ $int19 = calc($int19 - 1);
+}
+if_setcolour(~rgb_to_hex($int17, $int18, $int19), temple_screen:1);
+if ($int2 < $int16) {
+ $int2 = calc($int2 + 1);
+} else if ($int2 > $int16) {
+ $int2 = calc($int2 - 1);
}
-if_settrans($int1, interface_90:1);
-_2124(255, interface_90:1);
+if_settrans($int2, temple_screen:1);
+_2124(255, temple_screen:1);
diff --git a/scripts/[proc,league_create_dropdown].cs2 b/scripts/[proc,league_create_dropdown].cs2
index 6de835f25..d02cc9d53 100644
--- a/scripts/[proc,league_create_dropdown].cs2
+++ b/scripts/[proc,league_create_dropdown].cs2
@@ -20,7 +20,7 @@ cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
cc_setgraphic("tradebacking_light");
$int3 = calc($int3 + 1);
-$int3 = ~steelbox($component1, $int3);
+$int3 = ~steelbox($component1, $int3, 0);
if_sethide(true, $component1);
cc_create($component1, ^iftype_rectangle, $int3);
cc_setsize(calc($int8 - 12), $int9, ^setsize_abs, ^setsize_abs);
diff --git a/scripts/[proc,pvp_icons_layout].cs2 b/scripts/[proc,pvp_icons_layout].cs2
index ff6ef34b3..b877f555c 100644
--- a/scripts/[proc,pvp_icons_layout].cs2
+++ b/scripts/[proc,pvp_icons_layout].cs2
@@ -28,13 +28,13 @@ if (~pvpw_check = 1) {
if_sethide(true, interface_90:1);
} else if (%varbit5314 = 1) {
if (%varbit5320 > 0 & %varbit5316 > 0) {
- if_sethide(false, interface_90:1);
- _2125(2, interface_90:1);
- if_setontimer("br_fogcolour", interface_90:1);
+ if_sethide(false, temple_screen:1);
+ _2125(2, temple_screen:1);
+ if_setontimer("br_fogcolour", temple_screen:1);
~br_fogcolour;
} else {
- if_setontimer(null, interface_90:1);
- if_sethide(true, interface_90:1);
+ if_setontimer(null, temple_screen:1);
+ if_sethide(true, temple_screen:1);
}
~script866(true);
} else if ($int7 = 1) {
diff --git a/scripts/[proc,script2261].cs2 b/scripts/[proc,script2261].cs2
new file mode 100644
index 000000000..751715cd8
--- /dev/null
+++ b/scripts/[proc,script2261].cs2
@@ -0,0 +1,14 @@
+// 2261
+[proc,script2261](int $int0, int $int1)(int)
+if ($int0 = -1) {
+ return(0);
+}
+if ($int1 = -1) {
+ return(0);
+}
+def_string $string0 = enum_string(enum_1373, $int0);
+if (compare($string0, "") = 0) {
+ return(0);
+}
+def_int $int2 = _3700($string0, 1, $int1);
+return($int2);
diff --git a/scripts/[proc,script2351].cs2 b/scripts/[proc,script2351].cs2
new file mode 100644
index 000000000..30da6178c
--- /dev/null
+++ b/scripts/[proc,script2351].cs2
@@ -0,0 +1,17 @@
+// 2351
+[proc,script2351](int $int0, int $int1, int $int2)(int)
+if ($int0 = -1) {
+ return(0);
+}
+if ($int1 = -1) {
+ return(0);
+}
+if ($int2 = -1) {
+ return(0);
+}
+def_string $string0 = enum_string(enum_1373, $int0);
+if (compare($string0, "") = 0) {
+ return(0);
+}
+def_int $int3 = _3701($string0, $int1, $int2);
+return($int3);
diff --git a/scripts/[proc,script2355].cs2 b/scripts/[proc,script2355].cs2
new file mode 100644
index 000000000..5fb654f61
--- /dev/null
+++ b/scripts/[proc,script2355].cs2
@@ -0,0 +1,9 @@
+// 2355
+[proc,script2355]()(int)
+if (~deadman_mode ! 0) {
+ return(0);
+}
+if (~league_world = 1) {
+ return(0);
+}
+return(1);
diff --git a/scripts/[proc,script2357].cs2 b/scripts/[proc,script2357].cs2
new file mode 100644
index 000000000..fc5ceb5c1
--- /dev/null
+++ b/scripts/[proc,script2357].cs2
@@ -0,0 +1,6 @@
+// 2357
+[proc,script2357]()(int)
+if (clienttype = ^clienttype_steam) {
+ return(1);
+}
+return(0);
diff --git a/scripts/[proc,script2363].cs2 b/scripts/[proc,script2363].cs2
new file mode 100644
index 000000000..cfe4169f9
--- /dev/null
+++ b/scripts/[proc,script2363].cs2
@@ -0,0 +1,6 @@
+// 2363
+[proc,script2363](int $int0)
+if (getwindowmode = ^windowmode_fixed) {
+ return;
+}
+%varbit11864 = $int0;
diff --git a/scripts/[proc,script2364].cs2 b/scripts/[proc,script2364].cs2
new file mode 100644
index 000000000..1dcfbb4f0
--- /dev/null
+++ b/scripts/[proc,script2364].cs2
@@ -0,0 +1,8 @@
+// 2364
+[proc,script2364](int $int0)(string)
+switch_int ($int0) {
+ case 79 :
+ return(" - %");
+ case default :
+ return("");
+}
diff --git a/scripts/[proc,script2400].cs2 b/scripts/[proc,script2400].cs2
new file mode 100644
index 000000000..bcd43af4c
--- /dev/null
+++ b/scripts/[proc,script2400].cs2
@@ -0,0 +1,3 @@
+// 2400
+[proc,script2400]
+%varbit11866 = calc(1 - %varbit11866);
diff --git a/scripts/[proc,script2401].cs2 b/scripts/[proc,script2401].cs2
new file mode 100644
index 000000000..4621d3de0
--- /dev/null
+++ b/scripts/[proc,script2401].cs2
@@ -0,0 +1,9 @@
+// 2401
+[proc,script2401](int $int0)(string)
+def_string $string0 = "";
+if (%varbit11866 = 1) {
+ $string0 = ~script2411($int0);
+} else {
+ $string0 = ~script2410($int0);
+}
+return($string0);
diff --git a/scripts/[proc,script2410].cs2 b/scripts/[proc,script2410].cs2
new file mode 100644
index 000000000..fee734984
--- /dev/null
+++ b/scripts/[proc,script2410].cs2
@@ -0,0 +1,25 @@
+// 2410
+[proc,script2410](int $int0)(string)
+def_string $string0 = "";
+def_int $int1 = scale(60, 100, $int0);
+if (calc($int0 % 10 * 6 % 10) >= 5) {
+ $int1 = calc($int1 + 1);
+}
+def_int $int2 = calc($int1 / 60);
+def_int $int3 = calc($int2 / 60);
+$int1 = calc($int1 % 60);
+$int2 = calc($int2 % 60);
+if ($int3 > 0) {
+ $string0 = append($string0, ":");
+}
+if ($int2 < 10 & $int3 > 0) {
+ $string0 = append($string0, "0:");
+} else {
+ $string0 = append($string0, ":");
+}
+if ($int1 < 10) {
+ $string0 = append($string0, "0");
+} else {
+ $string0 = append($string0, tostring($int1));
+}
+return($string0);
diff --git a/scripts/[proc,script2411].cs2 b/scripts/[proc,script2411].cs2
new file mode 100644
index 000000000..5d5c11cb2
--- /dev/null
+++ b/scripts/[proc,script2411].cs2
@@ -0,0 +1,25 @@
+// 2411
+[proc,script2411](int $int0)(string)
+def_string $string0 = "";
+def_int $int1 = calc($int0 * 6);
+def_int $int2 = calc($int1 / 10);
+def_int $int3 = calc($int2 / 60);
+def_int $int4 = calc($int3 / 60);
+$int1 = calc($int1 % 10);
+$int2 = calc($int2 % 60);
+$int3 = calc($int3 % 60);
+if ($int4 > 0) {
+ $string0 = append($string0, ":");
+}
+if ($int3 < 10 & $int4 > 0) {
+ $string0 = append($string0, "0:");
+} else {
+ $string0 = append($string0, ":");
+}
+if ($int2 < 10) {
+ $string0 = append($string0, "0.");
+} else {
+ $string0 = append($string0, ".");
+}
+$string0 = append($string0, "0");
+return($string0);
diff --git a/scripts/[proc,script2412].cs2 b/scripts/[proc,script2412].cs2
new file mode 100644
index 000000000..9b09b6869
--- /dev/null
+++ b/scripts/[proc,script2412].cs2
@@ -0,0 +1,6 @@
+// 2412
+[proc,script2412]()(string)
+if (%varbit11866 = 1) {
+ return("00:00:00.00");
+}
+return("00:00:00");
diff --git a/scripts/[proc,script2724].cs2 b/scripts/[proc,script2724].cs2
new file mode 100644
index 000000000..74de3513a
--- /dev/null
+++ b/scripts/[proc,script2724].cs2
@@ -0,0 +1,5 @@
+// 2724
+[proc,script2724]
+~script2726(%varbit50);
+~script2745(%varbit49);
+~script2747(%varbit68);
diff --git a/scripts/[proc,script2726].cs2 b/scripts/[proc,script2726].cs2
new file mode 100644
index 000000000..0518c20e8
--- /dev/null
+++ b/scripts/[proc,script2726].cs2
@@ -0,0 +1,68 @@
+// 2726
+[proc,script2726](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if_setgraphic($graphic1, interface_37:41);
+if_setgraphic($graphic1, interface_37:39);
+if_setgraphic($graphic1, interface_37:37);
+if_setgraphic($graphic1, interface_37:35);
+if_setgraphic($graphic1, interface_37:33);
+if_setgraphic($graphic1, interface_37:31);
+if_setgraphic($graphic1, interface_37:29);
+if_setgraphic($graphic1, interface_37:27);
+if_setgraphic($graphic1, interface_37:25);
+if_setgraphic($graphic1, interface_37:23);
+if_setgraphic($graphic1, interface_37:21);
+if_setgraphic($graphic1, interface_37:19);
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_37:41, 127)", interface_37:7);
+ if_setonmouseleave("settrans(interface_37:41, 0)", interface_37:7);
+ if_setonmouserepeat("settrans(interface_37:39, 127)", interface_37:8);
+ if_setonmouseleave("settrans(interface_37:39, 0)", interface_37:8);
+ if_setonmouserepeat("settrans(interface_37:37, 127)", interface_37:9);
+ if_setonmouseleave("settrans(interface_37:37, 0)", interface_37:9);
+ if_setonmouserepeat("settrans(interface_37:35, 127)", interface_37:10);
+ if_setonmouseleave("settrans(interface_37:35, 0)", interface_37:10);
+ if_setonmouserepeat("settrans(interface_37:33, 127)", interface_37:11);
+ if_setonmouseleave("settrans(interface_37:33, 0)", interface_37:11);
+ if_setonmouserepeat("settrans(interface_37:31, 127)", interface_37:12);
+ if_setonmouseleave("settrans(interface_37:31, 0)", interface_37:12);
+ if_setonmouserepeat("settrans(interface_37:29, 127)", interface_37:13);
+ if_setonmouseleave("settrans(interface_37:29, 0)", interface_37:13);
+ if_setonmouserepeat("settrans(interface_37:27, 127)", interface_37:14);
+ if_setonmouseleave("settrans(interface_37:27, 0)", interface_37:14);
+ if_setonmouserepeat("settrans(interface_37:25, 127)", interface_37:15);
+ if_setonmouseleave("settrans(interface_37:25, 0)", interface_37:15);
+ if_setonmouserepeat("settrans(interface_37:23, 127)", interface_37:16);
+ if_setonmouseleave("settrans(interface_37:23, 0)", interface_37:16);
+ if_setonmouserepeat("settrans(interface_37:21, 127)", interface_37:17);
+ if_setonmouseleave("settrans(interface_37:21, 0)", interface_37:17);
+ if_setonmouserepeat("settrans(interface_37:19, 127)", interface_37:18);
+ if_setonmouseleave("settrans(interface_37:19, 0)", interface_37:18);
+}
+switch_int ($int0) {
+ case 1 :
+ if_setgraphic($graphic2, interface_37:41);
+ case 2 :
+ if_setgraphic($graphic2, interface_37:39);
+ case 3 :
+ if_setgraphic($graphic2, interface_37:37);
+ case 4 :
+ if_setgraphic($graphic2, interface_37:35);
+ case 5 :
+ if_setgraphic($graphic2, interface_37:33);
+ case 6 :
+ if_setgraphic($graphic2, interface_37:31);
+ case 7 :
+ if_setgraphic($graphic2, interface_37:29);
+ case 8 :
+ if_setgraphic($graphic2, interface_37:27);
+ case 9 :
+ if_setgraphic($graphic2, interface_37:25);
+ case 10 :
+ if_setgraphic($graphic2, interface_37:23);
+ case 11 :
+ if_setgraphic($graphic2, interface_37:21);
+ case 12 :
+ if_setgraphic($graphic2, interface_37:19);
+}
diff --git a/scripts/[proc,script2745].cs2 b/scripts/[proc,script2745].cs2
new file mode 100644
index 000000000..fe172a30a
--- /dev/null
+++ b/scripts/[proc,script2745].cs2
@@ -0,0 +1,28 @@
+// 2745
+[proc,script2745](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if_setgraphic($graphic1, interface_37:47);
+if_setgraphic($graphic1, interface_37:50);
+if_setgraphic($graphic1, interface_37:53);
+if_setgraphic($graphic1, interface_37:56);
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_37:47, 127)", interface_37:46);
+ if_setonmouseleave("settrans(interface_37:47, 0)", interface_37:46);
+ if_setonmouserepeat("settrans(interface_37:50, 127)", interface_37:49);
+ if_setonmouseleave("settrans(interface_37:50, 0)", interface_37:49);
+ if_setonmouserepeat("settrans(interface_37:53, 127)", interface_37:52);
+ if_setonmouseleave("settrans(interface_37:53, 0)", interface_37:52);
+ if_setonmouserepeat("settrans(interface_37:56, 127)", interface_37:55);
+ if_setonmouseleave("settrans(interface_37:56, 0)", interface_37:55);
+}
+switch_int ($int0) {
+ case 0 :
+ if_setgraphic($graphic2, interface_37:47);
+ case 1 :
+ if_setgraphic($graphic2, interface_37:50);
+ case 2 :
+ if_setgraphic($graphic2, interface_37:53);
+ case 3 :
+ if_setgraphic($graphic2, interface_37:56);
+}
diff --git a/scripts/[proc,script2747].cs2 b/scripts/[proc,script2747].cs2
new file mode 100644
index 000000000..a935c218d
--- /dev/null
+++ b/scripts/[proc,script2747].cs2
@@ -0,0 +1,13 @@
+// 2747
+[proc,script2747](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if ($int0 = 1) {
+ if_setgraphic($graphic2, interface_37:44);
+} else {
+ if_setgraphic($graphic1, interface_37:44);
+}
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_37:44, 127)", interface_37:5);
+ if_setonmouseleave("settrans(interface_37:44, 0)", interface_37:5);
+}
diff --git a/scripts/[proc,script3152].cs2 b/scripts/[proc,script3152].cs2
new file mode 100644
index 000000000..00a291ffd
--- /dev/null
+++ b/scripts/[proc,script3152].cs2
@@ -0,0 +1,5 @@
+// 3152
+[proc,script3152]
+~script3272(%varbit50);
+~script3274(%varbit49);
+~script3294(%varbit68);
diff --git a/scripts/[proc,script3272].cs2 b/scripts/[proc,script3272].cs2
new file mode 100644
index 000000000..5de57c1e8
--- /dev/null
+++ b/scripts/[proc,script3272].cs2
@@ -0,0 +1,68 @@
+// 3272
+[proc,script3272](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if_setgraphic($graphic1, interface_33:5);
+if_setgraphic($graphic1, interface_33:8);
+if_setgraphic($graphic1, interface_33:11);
+if_setgraphic($graphic1, interface_33:14);
+if_setgraphic($graphic1, interface_33:17);
+if_setgraphic($graphic1, interface_33:20);
+if_setgraphic($graphic1, interface_33:23);
+if_setgraphic($graphic1, interface_33:26);
+if_setgraphic($graphic1, interface_33:29);
+if_setgraphic($graphic1, interface_33:32);
+if_setgraphic($graphic1, interface_33:35);
+if_setgraphic($graphic1, interface_33:38);
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_33:5, 127)", interface_33:4);
+ if_setonmouseleave("settrans(interface_33:5, 0)", interface_33:4);
+ if_setonmouserepeat("settrans(interface_33:8, 127)", interface_33:7);
+ if_setonmouseleave("settrans(interface_33:8, 0)", interface_33:7);
+ if_setonmouserepeat("settrans(interface_33:11, 127)", interface_33:10);
+ if_setonmouseleave("settrans(interface_33:11, 0)", interface_33:10);
+ if_setonmouserepeat("settrans(interface_33:14, 127)", interface_33:13);
+ if_setonmouseleave("settrans(interface_33:14, 0)", interface_33:13);
+ if_setonmouserepeat("settrans(interface_33:17, 127)", interface_33:16);
+ if_setonmouseleave("settrans(interface_33:17, 0)", interface_33:16);
+ if_setonmouserepeat("settrans(interface_33:20, 127)", interface_33:19);
+ if_setonmouseleave("settrans(interface_33:20, 0)", interface_33:19);
+ if_setonmouserepeat("settrans(interface_33:23, 127)", interface_33:22);
+ if_setonmouseleave("settrans(interface_33:23, 0)", interface_33:22);
+ if_setonmouserepeat("settrans(interface_33:26, 127)", interface_33:25);
+ if_setonmouseleave("settrans(interface_33:26, 0)", interface_33:25);
+ if_setonmouserepeat("settrans(interface_33:29, 127)", interface_33:28);
+ if_setonmouseleave("settrans(interface_33:29, 0)", interface_33:28);
+ if_setonmouserepeat("settrans(interface_33:32, 127)", interface_33:31);
+ if_setonmouseleave("settrans(interface_33:32, 0)", interface_33:31);
+ if_setonmouserepeat("settrans(interface_33:35, 127)", interface_33:34);
+ if_setonmouseleave("settrans(interface_33:35, 0)", interface_33:34);
+ if_setonmouserepeat("settrans(interface_33:38, 127)", interface_33:37);
+ if_setonmouseleave("settrans(interface_33:38, 0)", interface_33:37);
+}
+switch_int ($int0) {
+ case 1 :
+ if_setgraphic($graphic2, interface_33:5);
+ case 2 :
+ if_setgraphic($graphic2, interface_33:8);
+ case 3 :
+ if_setgraphic($graphic2, interface_33:11);
+ case 4 :
+ if_setgraphic($graphic2, interface_33:14);
+ case 5 :
+ if_setgraphic($graphic2, interface_33:17);
+ case 6 :
+ if_setgraphic($graphic2, interface_33:20);
+ case 7 :
+ if_setgraphic($graphic2, interface_33:23);
+ case 8 :
+ if_setgraphic($graphic2, interface_33:26);
+ case 9 :
+ if_setgraphic($graphic2, interface_33:29);
+ case 10 :
+ if_setgraphic($graphic2, interface_33:32);
+ case 11 :
+ if_setgraphic($graphic2, interface_33:35);
+ case 12 :
+ if_setgraphic($graphic2, interface_33:38);
+}
diff --git a/scripts/[proc,script3274].cs2 b/scripts/[proc,script3274].cs2
new file mode 100644
index 000000000..9f624986c
--- /dev/null
+++ b/scripts/[proc,script3274].cs2
@@ -0,0 +1,28 @@
+// 3274
+[proc,script3274](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if_setgraphic($graphic1, interface_33:44);
+if_setgraphic($graphic1, interface_33:47);
+if_setgraphic($graphic1, interface_33:50);
+if_setgraphic($graphic1, interface_33:53);
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_33:44, 127)", interface_33:43);
+ if_setonmouseleave("settrans(interface_33:44, 0)", interface_33:43);
+ if_setonmouserepeat("settrans(interface_33:47, 127)", interface_33:46);
+ if_setonmouseleave("settrans(interface_33:47, 0)", interface_33:46);
+ if_setonmouserepeat("settrans(interface_33:50, 127)", interface_33:49);
+ if_setonmouseleave("settrans(interface_33:50, 0)", interface_33:49);
+ if_setonmouserepeat("settrans(interface_33:53, 127)", interface_33:52);
+ if_setonmouseleave("settrans(interface_33:53, 0)", interface_33:52);
+}
+switch_int ($int0) {
+ case 0 :
+ if_setgraphic($graphic2, interface_33:44);
+ case 1 :
+ if_setgraphic($graphic2, interface_33:47);
+ case 2 :
+ if_setgraphic($graphic2, interface_33:50);
+ case 3 :
+ if_setgraphic($graphic2, interface_33:53);
+}
diff --git a/scripts/[proc,script3294].cs2 b/scripts/[proc,script3294].cs2
new file mode 100644
index 000000000..2611a5d28
--- /dev/null
+++ b/scripts/[proc,script3294].cs2
@@ -0,0 +1,13 @@
+// 3294
+[proc,script3294](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if ($int0 = 1) {
+ if_setgraphic($graphic2, interface_33:57);
+} else {
+ if_setgraphic($graphic1, interface_33:57);
+}
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_33:57, 127)", interface_33:55);
+ if_setonmouseleave("settrans(interface_33:57, 0)", interface_33:55);
+}
diff --git a/scripts/[proc,script3352].cs2 b/scripts/[proc,script3352].cs2
new file mode 100644
index 000000000..6f6d730e1
--- /dev/null
+++ b/scripts/[proc,script3352].cs2
@@ -0,0 +1,5 @@
+// 3352
+[proc,script3352]
+~script3354(%varbit50);
+~script3356(%varbit49);
+~script3358(%varbit68);
diff --git a/scripts/[proc,script3354].cs2 b/scripts/[proc,script3354].cs2
new file mode 100644
index 000000000..eb104e6a4
--- /dev/null
+++ b/scripts/[proc,script3354].cs2
@@ -0,0 +1,68 @@
+// 3354
+[proc,script3354](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if_setgraphic($graphic1, interface_45:5);
+if_setgraphic($graphic1, interface_45:8);
+if_setgraphic($graphic1, interface_45:11);
+if_setgraphic($graphic1, interface_45:14);
+if_setgraphic($graphic1, interface_45:17);
+if_setgraphic($graphic1, interface_45:20);
+if_setgraphic($graphic1, interface_45:23);
+if_setgraphic($graphic1, interface_45:26);
+if_setgraphic($graphic1, interface_45:29);
+if_setgraphic($graphic1, interface_45:32);
+if_setgraphic($graphic1, interface_45:35);
+if_setgraphic($graphic1, interface_45:38);
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_45:5, 127)", interface_45:4);
+ if_setonmouseleave("settrans(interface_45:5, 0)", interface_45:4);
+ if_setonmouserepeat("settrans(interface_45:8, 127)", interface_45:7);
+ if_setonmouseleave("settrans(interface_45:8, 0)", interface_45:7);
+ if_setonmouserepeat("settrans(interface_45:11, 127)", interface_45:10);
+ if_setonmouseleave("settrans(interface_45:11, 0)", interface_45:10);
+ if_setonmouserepeat("settrans(interface_45:14, 127)", interface_45:13);
+ if_setonmouseleave("settrans(interface_45:14, 0)", interface_45:13);
+ if_setonmouserepeat("settrans(interface_45:17, 127)", interface_45:16);
+ if_setonmouseleave("settrans(interface_45:17, 0)", interface_45:16);
+ if_setonmouserepeat("settrans(interface_45:20, 127)", interface_45:19);
+ if_setonmouseleave("settrans(interface_45:20, 0)", interface_45:19);
+ if_setonmouserepeat("settrans(interface_45:23, 127)", interface_45:22);
+ if_setonmouseleave("settrans(interface_45:23, 0)", interface_45:22);
+ if_setonmouserepeat("settrans(interface_45:26, 127)", interface_45:25);
+ if_setonmouseleave("settrans(interface_45:26, 0)", interface_45:25);
+ if_setonmouserepeat("settrans(interface_45:29, 127)", interface_45:28);
+ if_setonmouseleave("settrans(interface_45:29, 0)", interface_45:28);
+ if_setonmouserepeat("settrans(interface_45:32, 127)", interface_45:31);
+ if_setonmouseleave("settrans(interface_45:32, 0)", interface_45:31);
+ if_setonmouserepeat("settrans(interface_45:35, 127)", interface_45:34);
+ if_setonmouseleave("settrans(interface_45:35, 0)", interface_45:34);
+ if_setonmouserepeat("settrans(interface_45:38, 127)", interface_45:37);
+ if_setonmouseleave("settrans(interface_45:38, 0)", interface_45:37);
+}
+switch_int ($int0) {
+ case 1 :
+ if_setgraphic($graphic2, interface_45:5);
+ case 2 :
+ if_setgraphic($graphic2, interface_45:8);
+ case 3 :
+ if_setgraphic($graphic2, interface_45:11);
+ case 4 :
+ if_setgraphic($graphic2, interface_45:14);
+ case 5 :
+ if_setgraphic($graphic2, interface_45:17);
+ case 6 :
+ if_setgraphic($graphic2, interface_45:20);
+ case 7 :
+ if_setgraphic($graphic2, interface_45:23);
+ case 8 :
+ if_setgraphic($graphic2, interface_45:26);
+ case 9 :
+ if_setgraphic($graphic2, interface_45:29);
+ case 10 :
+ if_setgraphic($graphic2, interface_45:32);
+ case 11 :
+ if_setgraphic($graphic2, interface_45:35);
+ case 12 :
+ if_setgraphic($graphic2, interface_45:38);
+}
diff --git a/scripts/[proc,script3356].cs2 b/scripts/[proc,script3356].cs2
new file mode 100644
index 000000000..e3ca61fcc
--- /dev/null
+++ b/scripts/[proc,script3356].cs2
@@ -0,0 +1,28 @@
+// 3356
+[proc,script3356](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if_setgraphic($graphic1, interface_45:44);
+if_setgraphic($graphic1, interface_45:47);
+if_setgraphic($graphic1, interface_45:50);
+if_setgraphic($graphic1, interface_45:53);
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_45:44, 127)", interface_45:43);
+ if_setonmouseleave("settrans(interface_45:44, 0)", interface_45:43);
+ if_setonmouserepeat("settrans(interface_45:47, 127)", interface_45:46);
+ if_setonmouseleave("settrans(interface_45:47, 0)", interface_45:46);
+ if_setonmouserepeat("settrans(interface_45:50, 127)", interface_45:49);
+ if_setonmouseleave("settrans(interface_45:50, 0)", interface_45:49);
+ if_setonmouserepeat("settrans(interface_45:53, 127)", interface_45:52);
+ if_setonmouseleave("settrans(interface_45:53, 0)", interface_45:52);
+}
+switch_int ($int0) {
+ case 0 :
+ if_setgraphic($graphic2, interface_45:44);
+ case 1 :
+ if_setgraphic($graphic2, interface_45:47);
+ case 2 :
+ if_setgraphic($graphic2, interface_45:50);
+ case 3 :
+ if_setgraphic($graphic2, interface_45:53);
+}
diff --git a/scripts/[proc,script3358].cs2 b/scripts/[proc,script3358].cs2
new file mode 100644
index 000000000..8bbf16d7f
--- /dev/null
+++ b/scripts/[proc,script3358].cs2
@@ -0,0 +1,13 @@
+// 3358
+[proc,script3358](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if ($int0 = 1) {
+ if_setgraphic($graphic2, interface_45:57);
+} else {
+ if_setgraphic($graphic1, interface_45:57);
+}
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_45:57, 127)", interface_45:55);
+ if_setonmouseleave("settrans(interface_45:57, 0)", interface_45:55);
+}
diff --git a/scripts/[proc,script3426].cs2 b/scripts/[proc,script3426].cs2
new file mode 100644
index 000000000..c460216fe
--- /dev/null
+++ b/scripts/[proc,script3426].cs2
@@ -0,0 +1,31 @@
+// 3426
+[proc,script3426](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if_setgraphic($graphic1, boardgames_challenge:5);
+if_setgraphic($graphic1, boardgames_challenge:9);
+if_setgraphic($graphic1, boardgames_challenge:13);
+if_setgraphic($graphic1, boardgames_challenge:17);
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(boardgames_challenge:5, 127)", boardgames_challenge:4);
+ if_setonmouseleave("settrans(boardgames_challenge:5, 0)", boardgames_challenge:4);
+ if_setonmouserepeat("settrans(boardgames_challenge:9, 127)", boardgames_challenge:8);
+ if_setonmouseleave("settrans(boardgames_challenge:9, 0)", boardgames_challenge:8);
+ if_setonmouserepeat("settrans(boardgames_challenge:13, 127)", boardgames_challenge:12);
+ if_setonmouseleave("settrans(boardgames_challenge:13, 0)", boardgames_challenge:12);
+ if_setonmouserepeat("settrans(boardgames_challenge:17, 127)", boardgames_challenge:16);
+ if_setonmouseleave("settrans(boardgames_challenge:17, 0)", boardgames_challenge:16);
+}
+if ($int0 = -1) {
+ $int0 = %varbit61;
+}
+switch_int ($int0) {
+ case 0 :
+ if_setgraphic($graphic2, boardgames_challenge:5);
+ case 1 :
+ if_setgraphic($graphic2, boardgames_challenge:9);
+ case 2 :
+ if_setgraphic($graphic2, boardgames_challenge:13);
+ case 3 :
+ if_setgraphic($graphic2, boardgames_challenge:17);
+}
diff --git a/scripts/[proc,script3522].cs2 b/scripts/[proc,script3522].cs2
index 617ddbaa9..8a64f5fe1 100644
--- a/scripts/[proc,script3522].cs2
+++ b/scripts/[proc,script3522].cs2
@@ -12,7 +12,7 @@ if (%varbit11793 > 0 & %varbit11793 < 5) {
}
if (%varbit11794 > 0 & %varbit11794 < 4) {
$int2 = 0;
- $string0 = append($string0, "Zealot's prayer robes:
When wearing a piece of the Zealot's prayer robes, you have a 1.25% chance of saving bones when burying or offering them, this works alongside the Wilderness altar's bone saving effect.
This is cumulative for each piece worn.
");
+ $string0 = append($string0, "Zealot's prayer robes:
When wearing a piece of the Zealot's prayer robes, you have a 1.25% chance of saving ensouled heads when reanimating them and bones when burying or offering them. This works alongside the Wilderness altar's bone saving effect.
This is cumulative for each piece worn.
");
}
if (%varbit10542 > 0 & %varbit10542 < 6) {
$int2 = 0;
diff --git a/scripts/[proc,script3907].cs2 b/scripts/[proc,script3907].cs2
new file mode 100644
index 000000000..290703001
--- /dev/null
+++ b/scripts/[proc,script3907].cs2
@@ -0,0 +1,5 @@
+// 3907
+[proc,script3907]
+~script3999(%varbit50);
+~script4003(%varbit49);
+~script4019(%varbit68);
diff --git a/scripts/[proc,script3955].cs2 b/scripts/[proc,script3955].cs2
index b45a701bd..8247bb3c8 100644
--- a/scripts/[proc,script3955].cs2
+++ b/scripts/[proc,script3955].cs2
@@ -7,6 +7,9 @@ if (~on_mobile = true & struct_param($struct0, param_739) = true) {
if (~on_mobile = false & struct_param($struct0, param_740) = true) {
$int1 = 1;
}
+if (~script2357 = 0 & struct_param($struct0, param_1157) = true) {
+ $int1 = 1;
+}
if (struct_param($struct0, param_741) = true & %varbit1777 ! 0) {
$int1 = 1;
}
diff --git a/scripts/[proc,script3999].cs2 b/scripts/[proc,script3999].cs2
new file mode 100644
index 000000000..7f39a2f2a
--- /dev/null
+++ b/scripts/[proc,script3999].cs2
@@ -0,0 +1,68 @@
+// 3999
+[proc,script3999](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if_setgraphic($graphic1, interface_41:5);
+if_setgraphic($graphic1, interface_41:8);
+if_setgraphic($graphic1, interface_41:11);
+if_setgraphic($graphic1, interface_41:14);
+if_setgraphic($graphic1, interface_41:17);
+if_setgraphic($graphic1, interface_41:20);
+if_setgraphic($graphic1, interface_41:23);
+if_setgraphic($graphic1, interface_41:26);
+if_setgraphic($graphic1, interface_41:29);
+if_setgraphic($graphic1, interface_41:32);
+if_setgraphic($graphic1, interface_41:35);
+if_setgraphic($graphic1, interface_41:38);
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_41:5, 127)", interface_41:4);
+ if_setonmouseleave("settrans(interface_41:5, 0)", interface_41:4);
+ if_setonmouserepeat("settrans(interface_41:8, 127)", interface_41:7);
+ if_setonmouseleave("settrans(interface_41:8, 0)", interface_41:7);
+ if_setonmouserepeat("settrans(interface_41:11, 127)", interface_41:10);
+ if_setonmouseleave("settrans(interface_41:11, 0)", interface_41:10);
+ if_setonmouserepeat("settrans(interface_41:14, 127)", interface_41:13);
+ if_setonmouseleave("settrans(interface_41:14, 0)", interface_41:13);
+ if_setonmouserepeat("settrans(interface_41:17, 127)", interface_41:16);
+ if_setonmouseleave("settrans(interface_41:17, 0)", interface_41:16);
+ if_setonmouserepeat("settrans(interface_41:20, 127)", interface_41:19);
+ if_setonmouseleave("settrans(interface_41:20, 0)", interface_41:19);
+ if_setonmouserepeat("settrans(interface_41:23, 127)", interface_41:22);
+ if_setonmouseleave("settrans(interface_41:23, 0)", interface_41:22);
+ if_setonmouserepeat("settrans(interface_41:26, 127)", interface_41:25);
+ if_setonmouseleave("settrans(interface_41:26, 0)", interface_41:25);
+ if_setonmouserepeat("settrans(interface_41:29, 127)", interface_41:28);
+ if_setonmouseleave("settrans(interface_41:29, 0)", interface_41:28);
+ if_setonmouserepeat("settrans(interface_41:32, 127)", interface_41:31);
+ if_setonmouseleave("settrans(interface_41:32, 0)", interface_41:31);
+ if_setonmouserepeat("settrans(interface_41:35, 127)", interface_41:34);
+ if_setonmouseleave("settrans(interface_41:35, 0)", interface_41:34);
+ if_setonmouserepeat("settrans(interface_41:38, 127)", interface_41:37);
+ if_setonmouseleave("settrans(interface_41:38, 0)", interface_41:37);
+}
+switch_int ($int0) {
+ case 1 :
+ if_setgraphic($graphic2, interface_41:5);
+ case 2 :
+ if_setgraphic($graphic2, interface_41:8);
+ case 3 :
+ if_setgraphic($graphic2, interface_41:11);
+ case 4 :
+ if_setgraphic($graphic2, interface_41:14);
+ case 5 :
+ if_setgraphic($graphic2, interface_41:17);
+ case 6 :
+ if_setgraphic($graphic2, interface_41:20);
+ case 7 :
+ if_setgraphic($graphic2, interface_41:23);
+ case 8 :
+ if_setgraphic($graphic2, interface_41:26);
+ case 9 :
+ if_setgraphic($graphic2, interface_41:29);
+ case 10 :
+ if_setgraphic($graphic2, interface_41:32);
+ case 11 :
+ if_setgraphic($graphic2, interface_41:35);
+ case 12 :
+ if_setgraphic($graphic2, interface_41:38);
+}
diff --git a/scripts/[proc,script4003].cs2 b/scripts/[proc,script4003].cs2
new file mode 100644
index 000000000..3e81cc269
--- /dev/null
+++ b/scripts/[proc,script4003].cs2
@@ -0,0 +1,28 @@
+// 4003
+[proc,script4003](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if_setgraphic($graphic1, interface_41:44);
+if_setgraphic($graphic1, interface_41:47);
+if_setgraphic($graphic1, interface_41:50);
+if_setgraphic($graphic1, interface_41:53);
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_41:44, 127)", interface_41:43);
+ if_setonmouseleave("settrans(interface_41:44, 0)", interface_41:43);
+ if_setonmouserepeat("settrans(interface_41:47, 127)", interface_41:46);
+ if_setonmouseleave("settrans(interface_41:47, 0)", interface_41:46);
+ if_setonmouserepeat("settrans(interface_41:50, 127)", interface_41:49);
+ if_setonmouseleave("settrans(interface_41:50, 0)", interface_41:49);
+ if_setonmouserepeat("settrans(interface_41:53, 127)", interface_41:52);
+ if_setonmouseleave("settrans(interface_41:53, 0)", interface_41:52);
+}
+switch_int ($int0) {
+ case 0 :
+ if_setgraphic($graphic2, interface_41:44);
+ case 1 :
+ if_setgraphic($graphic2, interface_41:47);
+ case 2 :
+ if_setgraphic($graphic2, interface_41:50);
+ case 3 :
+ if_setgraphic($graphic2, interface_41:53);
+}
diff --git a/scripts/[proc,script4019].cs2 b/scripts/[proc,script4019].cs2
new file mode 100644
index 000000000..8283146b1
--- /dev/null
+++ b/scripts/[proc,script4019].cs2
@@ -0,0 +1,13 @@
+// 4019
+[proc,script4019](int $int0)
+def_graphic $graphic1 = "options_radio_buttons,0";
+def_graphic $graphic2 = "options_radio_buttons,1";
+if ($int0 = 1) {
+ if_setgraphic($graphic2, interface_41:57);
+} else {
+ if_setgraphic($graphic1, interface_41:57);
+}
+if (~on_mobile = false) {
+ if_setonmouserepeat("settrans(interface_41:57, 127)", interface_41:55);
+ if_setonmouseleave("settrans(interface_41:57, 0)", interface_41:55);
+}
diff --git a/scripts/[proc,settings_clicked_toggle].cs2 b/scripts/[proc,settings_clicked_toggle].cs2
index 979494295..4e45182da 100644
--- a/scripts/[proc,settings_clicked_toggle].cs2
+++ b/scripts/[proc,settings_clicked_toggle].cs2
@@ -90,4 +90,6 @@ switch_int ($int0) {
~script4012;
case 73 :
~script4013;
+ case 82 :
+ ~script2400;
}
diff --git a/scripts/[proc,settings_create_slider].cs2 b/scripts/[proc,settings_create_slider].cs2
index 06161f8ed..603f6035f 100644
--- a/scripts/[proc,settings_create_slider].cs2
+++ b/scripts/[proc,settings_create_slider].cs2
@@ -40,11 +40,15 @@ def_int $int24 = 0;
.cc_settrans($trans5);
def_int $comsubid25 = $int2;
$int2 = calc($int2 + 1);
+def_string $string2 = "";
+if (struct_param($struct6, param_1158) = true) {
+ $string2 = ~script2364($int21);
+}
cc_create($component8, ^iftype_text, $int2);
-def_int $comsubid26 = $int2;
+def_int $int26 = $int2;
cc_setsize(10, $int16, ^setsize_minus, ^setsize_abs);
cc_setposition(0, calc($int0 + 6), ^setpos_abs_centre, ^setpos_abs_top);
-cc_settext($string0);
+cc_settext(append($string0, $string2));
cc_settextfont(b12_full);
cc_settextshadow(true);
if ($int23 = 1) {
@@ -117,15 +121,13 @@ if ($int23 = 1) {
cc_setgraphic("settings_slider,7");
}
cc_setsize(16, 16, ^setsize_abs, ^setsize_abs);
-def_int $int38 = 0;
-def_int $int39 = 0;
if (struct_param($struct6, param_1107) = false) {
if ($int36 = 0) {
cc_setposition($int33, $int32, ^setpos_abs_left, ^setpos_abs_top);
} else if ($int36 = calc($int18 - 1)) {
cc_setposition(calc($int34 - 16), $int32, ^setpos_abs_left, ^setpos_abs_top);
} else {
- cc_setposition(calc($int33 + scale($int36, $int18 - 1, $int35 - 16)), $int32, ^setpos_abs_left, ^setpos_abs_top);
+ cc_setposition(calc($int33 + scale($int36 * 2, ($int18 - 1) * 2, $int35 - 16)), $int32, ^setpos_abs_left, ^setpos_abs_top);
}
} else {
~script3888($int21, $component7, calc($int3 - 1), $int35, $int32, $int33);
@@ -139,54 +141,48 @@ if ($boolean37 = true) {
}
$int29 = 0;
$int30 = $int33;
-def_int $int40 = 0;
-def_string $op2 = struct_param($struct6, param_1104);
-def_boolean $boolean41 = struct_param($struct6, param_1105);
-def_boolean $boolean42 = struct_param($struct6, param_1106);
-def_int $int43 = calc(($int18 - 1) * 2);
-def_int $int44 = 0;
+def_int $int38 = 0;
+def_string $op3 = struct_param($struct6, param_1104);
+def_boolean $boolean39 = struct_param($struct6, param_1105);
+def_boolean $boolean40 = struct_param($struct6, param_1106);
+def_int $int41 = 0;
while ($int29 < $int18) {
- if ($boolean41 = true) {
+ if ($boolean39 = true) {
cc_create($component9, ^iftype_rectangle, $int4);
$int4 = calc($int4 + 1);
} else {
cc_create($component8, ^iftype_rectangle, $int2);
$int2 = calc($int2 + 1);
}
- if ($boolean42 = false) {
- cc_setonop("settings_slider_op($struct6, $int21, $int29, $int18, $int35, $component7, calc($int3 - 1), $int32, $int33, $int34, $component8, $comsubid25, $boolean22)");
+ if ($boolean40 = false) {
+ cc_setonop("settings_slider_op($struct6, $int21, $int29, $int18, $int35, $component7, calc($int3 - 1), $int32, $int33, $int34, $component8, $comsubid25, $int26, $string0, $boolean22)");
} else {
- ~settings_slider_choose_onop($int21, $component7, calc($int3 - 1), $int35, $int32, $int33, $component10);
+ ~settings_slider_choose_onop($int21, $component7, calc($int3 - 1), $int35, $int32, $int33, $component10, $int26, $string0);
}
cc_setposition($int30, $int32, ^setpos_abs_left, ^setpos_abs_top);
if ($int18 > 1) {
- if ($int29 > 0 & $int29 < calc($int18 - 1)) {
- $int40 = calc(scale(2 + $int44, $int43, $int35) - scale($int44, $int43, $int35));
- $int44 = calc($int44 + 2);
- } else {
- $int40 = calc(scale(1 + $int44, $int43, $int35) - scale($int44, $int43, $int35));
- $int44 = calc($int44 + 1);
- }
+ $int38 = calc(scale(1 + $int41, $int18, $int35) - scale($int41, $int18, $int35));
+ $int41 = calc($int41 + 1);
} else {
- $int40 = $int35;
+ $int38 = $int35;
}
- cc_setsize($int40, 16, ^setsize_abs, ^setsize_abs);
+ cc_setsize($int38, 16, ^setsize_abs, ^setsize_abs);
cc_setfill(true);
cc_setcolour(^black);
cc_settrans(255);
- cc_setop(1, $op2);
- $int30 = calc($int30 + $int40);
+ cc_setop(1, $op3);
+ $int30 = calc($int30 + $int38);
$int29 = calc($int29 + 1);
}
-def_int $y45 = calc($int32 + 16 + 6);
-def_int $int46 = calc($int2 + 1);
+def_int $y42 = calc($int32 + 16 + 6);
+def_int $int43 = $int2;
if ($enum20 ! null) {
$int29 = 0;
while ($int29 < $int19) {
cc_create($component8, ^iftype_text, $int2);
$int2 = calc($int2 + 1);
cc_setsize(30, 16, ^setsize_abs, ^setsize_abs);
- cc_setposition(calc($intarray0($int29) + 16 / 2 - 15), $y45, ^setpos_abs_left, ^setpos_abs_top);
+ cc_setposition(calc($intarray0($int29) + 16 / 2 - 15), $y42, ^setpos_abs_left, ^setpos_abs_top);
cc_settext(enum(int, string, $enum20, $int29));
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_settextfont(p12_full);
@@ -196,7 +192,7 @@ if ($enum20 ! null) {
}
}
if ($boolean22 = true) {
- ~settings_slider_choose_transmit($struct6, $int21, $int18, $int35, $component7, calc($int3 - 1), $int32, $int33, $int34, $component8, $comsubid26, $int46, $enum20, $boolean37);
+ ~settings_slider_choose_transmit($struct6, $int21, $int18, $int19, $int35, $component7, calc($int3 - 1), $int32, $int33, $int34, $component8, $int26, $string0, $int43, $enum20, $boolean37);
}
if ($boolean15 = false & $int14 = 0 & $int13 > 0) {
cc_create($component8, ^iftype_text, $int2);
diff --git a/scripts/[proc,settings_dropdown_choose_transmit].cs2 b/scripts/[proc,settings_dropdown_choose_transmit].cs2
index ad13f4514..0104ae0cd 100644
--- a/scripts/[proc,settings_dropdown_choose_transmit].cs2
+++ b/scripts/[proc,settings_dropdown_choose_transmit].cs2
@@ -7,8 +7,10 @@ switch_int ($int7) {
cc_setonvartransmit("setting_dropdown_transmit($int0, $struct1, $comsubid2, $comsubid3, $comsubid4, $component5, $enum6, $int7, $component8, $component9, $component10, $component11, $component12){var1107, var2855}");
case 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 :
cc_setonvartransmit("setting_dropdown_transmit($int0, $struct1, $comsubid2, $comsubid3, $comsubid4, $component5, $enum6, $int7, $component8, $component9, $component10, $component11, $component12){var1224, var1225, var1226, var2855}");
- case 12, 1 :
+ case 12, 1, 78 :
cc_setonvartransmit("setting_dropdown_transmit($int0, $struct1, $comsubid2, $comsubid3, $comsubid4, $component5, $enum6, $int7, $component8, $component9, $component10, $component11, $component12){var1055, var2855}");
+ case 81 :
+ cc_setonvartransmit("setting_dropdown_transmit($int0, $struct1, $comsubid2, $comsubid3, $comsubid4, $component5, $enum6, $int7, $component8, $component9, $component10, $component11, $component12){var415, var2855}");
case default :
cc_setonvartransmit("setting_dropdown_transmit($int0, $struct1, $comsubid2, $comsubid3, $comsubid4, $component5, $enum6, $int7, $component8, $component9, $component10, $component11, $component12){var2855}");
}
diff --git a/scripts/[proc,settings_get_dropdown].cs2 b/scripts/[proc,settings_get_dropdown].cs2
index b4ebae84a..251720276 100644
--- a/scripts/[proc,settings_get_dropdown].cs2
+++ b/scripts/[proc,settings_get_dropdown].cs2
@@ -8,6 +8,8 @@ switch_int ($int0) {
return(%var1107);
case 56 :
return(%var1306);
+ case 78 :
+ return(%varbit6255);
case 12 :
$windowmode1 = getwindowmode;
if ($windowmode1 = ^windowmode_fixed) {
@@ -17,6 +19,8 @@ switch_int ($int0) {
return(1);
}
return(2);
+ case 81 :
+ return(%varbit11865);
case default :
return(0);
}
diff --git a/scripts/[proc,settings_get_slider].cs2 b/scripts/[proc,settings_get_slider].cs2
index 0fe7ed448..59f346d04 100644
--- a/scripts/[proc,settings_get_slider].cs2
+++ b/scripts/[proc,settings_get_slider].cs2
@@ -9,6 +9,8 @@ switch_int ($int0) {
return(calc(4 - %var872));
case 15 :
return(calc(%var166 - 1));
+ case 79 :
+ return(%varbit11864);
case 45 :
if (%varbit6364 = 1) {
return(0);
diff --git a/scripts/[proc,settings_get_toggle].cs2 b/scripts/[proc,settings_get_toggle].cs2
index 6ffbe6274..adc9a9cd5 100644
--- a/scripts/[proc,settings_get_toggle].cs2
+++ b/scripts/[proc,settings_get_toggle].cs2
@@ -92,6 +92,8 @@ switch_int ($int0) {
return(%varbit2324);
case 73 :
return(%varbit3931);
+ case 82 :
+ return(%varbit11866);
case default :
return(0);
}
diff --git a/scripts/[proc,settings_populate_settings].cs2 b/scripts/[proc,settings_populate_settings].cs2
index 99b0ba7db..b2dd55e01 100644
--- a/scripts/[proc,settings_populate_settings].cs2
+++ b/scripts/[proc,settings_populate_settings].cs2
@@ -123,6 +123,11 @@ while ($int17 < $int18) {
$int17 = calc($int17 + 1);
$int7 = calc($int7 + 1);
}
+if ($int34 > 0) {
+ $int33 = ^max_32bit_int;
+ $int28 = $int34;
+ $int34 = 0;
+}
if ($int35 = 1 & $int25 = 0) {
cc_create($component5, ^iftype_text, 0);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
diff --git a/scripts/[proc,settings_set_slider].cs2 b/scripts/[proc,settings_set_slider].cs2
index 1278e9ae4..39722fc83 100644
--- a/scripts/[proc,settings_set_slider].cs2
+++ b/scripts/[proc,settings_set_slider].cs2
@@ -21,4 +21,6 @@ switch_int ($int0) {
%var166 = ~min(4, calc(1 + $int1));
case 45 :
~script3970($int1);
+ case 79 :
+ ~script2363($int1);
}
diff --git a/scripts/[proc,settings_slider_choose_onop].cs2 b/scripts/[proc,settings_slider_choose_onop].cs2
index 1af9b04d9..0f866e473 100644
--- a/scripts/[proc,settings_slider_choose_onop].cs2
+++ b/scripts/[proc,settings_slider_choose_onop].cs2
@@ -1,5 +1,5 @@
// 3885
-[proc,settings_slider_choose_onop](int $int0, component $component1, int $comsubid2, int $int3, int $y4, int $int5, component $component6)
+[proc,settings_slider_choose_onop](int $int0, component $component1, int $comsubid2, int $int3, int $y4, int $int5, component $component6, int $int7, string $string0)
switch_int ($int0) {
case 14 :
cc_setonclick("settings_camera_zoom_slider_click($component1, $comsubid2, $int3, event_mousex, $y4, $int5, $component6)");
diff --git a/scripts/[proc,settings_slider_choose_transmit].cs2 b/scripts/[proc,settings_slider_choose_transmit].cs2
index 50f89c0ee..209a84383 100644
--- a/scripts/[proc,settings_slider_choose_transmit].cs2
+++ b/scripts/[proc,settings_slider_choose_transmit].cs2
@@ -1,14 +1,16 @@
// 3884
-[proc,settings_slider_choose_transmit](struct $struct0, int $int1, int $int2, int $int3, component $component4, int $comsubid5, int $y6, int $int7, int $int8, component $component9, int $comsubid10, int $int11, enum $enum12, boolean $boolean13)
+[proc,settings_slider_choose_transmit](struct $struct0, int $int1, int $int2, int $int3, int $int4, component $component5, int $comsubid6, int $y7, int $int8, int $int9, component $component10, int $comsubid11, string $string0, int $int12, enum $enum13, boolean $boolean14)
switch_int ($int1) {
case 30 :
- .cc_setonvartransmit("settings_slider_on_transmit($struct0, $int1, $int2, $int3, $component4, $comsubid5, $y6, $int7, $int8, $component9, $comsubid10, $int11, $enum12, $boolean13){var168}");
+ .cc_setonvartransmit("settings_slider_on_transmit($struct0, $int1, $int2, $int3, $int4, $component5, $comsubid6, $y7, $int8, $int9, $component10, $comsubid11, $string0, $int12, $enum13, $boolean14){var168}");
case 31 :
- .cc_setonvartransmit("settings_slider_on_transmit($struct0, $int1, $int2, $int3, $component4, $comsubid5, $y6, $int7, $int8, $component9, $comsubid10, $int11, $enum12, $boolean13){var169}");
+ .cc_setonvartransmit("settings_slider_on_transmit($struct0, $int1, $int2, $int3, $int4, $component5, $comsubid6, $y7, $int8, $int9, $component10, $comsubid11, $string0, $int12, $enum13, $boolean14){var169}");
case 32 :
- .cc_setonvartransmit("settings_slider_on_transmit($struct0, $int1, $int2, $int3, $component4, $comsubid5, $y6, $int7, $int8, $component9, $comsubid10, $int11, $enum12, $boolean13){var872}");
+ .cc_setonvartransmit("settings_slider_on_transmit($struct0, $int1, $int2, $int3, $int4, $component5, $comsubid6, $y7, $int8, $int9, $component10, $comsubid11, $string0, $int12, $enum13, $boolean14){var872}");
case 15 :
- .cc_setonvartransmit("settings_slider_on_transmit($struct0, $int1, $int2, $int3, $component4, $comsubid5, $y6, $int7, $int8, $component9, $comsubid10, $int11, $enum12, $boolean13){var166}");
+ .cc_setonvartransmit("settings_slider_on_transmit($struct0, $int1, $int2, $int3, $int4, $component5, $comsubid6, $y7, $int8, $int9, $component10, $comsubid11, $string0, $int12, $enum13, $boolean14){var166}");
+ case 79 :
+ .cc_setonvartransmit("settings_slider_on_transmit($struct0, $int1, $int2, $int3, $int4, $component5, $comsubid6, $y7, $int8, $int9, $component10, $comsubid11, $string0, $int12, $enum13, $boolean14){var2856}");
case default :
- .cc_setonvartransmit("settings_slider_on_transmit($struct0, $int1, $int2, $int3, $component4, $comsubid5, $y6, $int7, $int8, $component9, $comsubid10, $int11, $enum12, $boolean13){var2855}");
+ .cc_setonvartransmit("settings_slider_on_transmit($struct0, $int1, $int2, $int3, $int4, $component5, $comsubid6, $y7, $int8, $int9, $component10, $comsubid11, $string0, $int12, $enum13, $boolean14){var2855}");
}
diff --git a/scripts/[proc,steelbox].cs2 b/scripts/[proc,steelbox].cs2
index 5b2b2362b..4ff4964a1 100644
--- a/scripts/[proc,steelbox].cs2
+++ b/scripts/[proc,steelbox].cs2
@@ -1,7 +1,11 @@
// 249
-[proc,steelbox](component $component0, int $int1)(int)
-def_int $width2 = if_getwidth($component0);
-def_int $height3 = if_getheight($component0);
+[proc,steelbox](component $component0, int $int1, int $int2)(int)
+def_int $width3 = if_getwidth($component0);
+def_int $height4 = if_getheight($component0);
+if ($int2 = 1) {
+ ~create_graphic($component0, 0, "tradebacking", 0, 0, ^setpos_abs_centre, ^setpos_abs_centre, 2, 2, ^setsize_minus, ^setsize_minus);
+ $int1 = calc($int1 + 1);
+}
~create_graphic($component0, $int1, "steelborder,0", 0, 0, ^setpos_abs_left, ^setpos_abs_top, 25, 30, ^setsize_abs, ^setsize_abs);
$int1 = calc($int1 + 1);
~create_graphic($component0, $int1, "steelborder,1", 0, 0, ^setpos_abs_right, ^setpos_abs_top, 25, 30, ^setsize_abs, ^setsize_abs);