Skip to content

Commit b885721

Browse files
committed
Improve Type information
1 parent 9bc763d commit b885721

File tree

355 files changed

+683
-683
lines changed

Some content is hidden

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

355 files changed

+683
-683
lines changed

scripts/[clientscript,addtooltip].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 38
2-
[clientscript,addtooltip](component $component0, component $component1, int $int2, int $int3, string $string0)
2+
[clientscript,addtooltip](component $component0, component $component1, string $string0, int $int2, int $int3)
33
def_int $int4 = 0;
44
def_int $int5 = 0;
55
if (%varcint1 < calc(clientclock + $int2)) {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 1459
2-
[clientscript,agilityarena_rewards_draw](component $component0, int $int1, int $int2, component $component3, string $string0)
3-
~agilityarena_rewards_draw($component0, $string0, $int1, $int2, $component3);
2+
[clientscript,agilityarena_rewards_draw](component $component0, string $string0, int $int1, boolean $boolean2, component $component3)
3+
~agilityarena_rewards_draw($component0, $string0, $int1, $boolean2, $component3);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 2034
2-
[clientscript,agilityarena_rewards_gracefulbutton_draw](component $component0, obj $obj1, obj $obj2, int $int3, int $int4, string $string0)
3-
~agilityarena_rewards_gracefulbutton_draw($component0, $obj1, $obj2, $string0, $int3, $int4);
2+
[clientscript,agilityarena_rewards_gracefulbutton_draw](component $component0, obj $obj1, obj $obj2, string $string0, int $int3, boolean $boolean4)
3+
~agilityarena_rewards_gracefulbutton_draw($component0, $obj1, $obj2, $string0, $int3, $boolean4);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 2037
2-
[clientscript,agilityarena_rewards_gracefulcancel](component $component0, int $int1, string $string0)
3-
~agilityarena_rewards_gracefulcancel($component0, $string0, $int1);
2+
[clientscript,agilityarena_rewards_gracefulcancel](component $component0, string $string0, boolean $boolean1)
3+
~agilityarena_rewards_gracefulcancel($component0, $string0, $boolean1);

scripts/[clientscript,agilityarena_rewards_init].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cc_deleteall($component10);
2020
~agilityarena_rewards_gracefulbutton_init($component17, null, null, "Whole set", 250);
2121
def_string $string0 = "Dismiss";
2222
if_setsize(calc(50 + parawidth($string0, 512, p12_full)), if_getheight($component18), ^setsize_abs, ^setsize_abs, $component18);
23-
~agilityarena_rewards_gracefulcancel($component18, $string0, 0);
23+
~agilityarena_rewards_gracefulcancel($component18, $string0, false);
2424
if_setonmouserepeat("agilityarena_rewards_gracefulcancel($component18, $string0, true)", $component18);
2525
if_setonmouseleave("agilityarena_rewards_gracefulcancel($component18, $string0, false)", $component18);
2626
if_setop(1, $string0, $component18);

scripts/[clientscript,aide_map_init].cs2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ cc_settextfont(p12_full);
88
cc_settextalign(^settextalign_centre, ^settextalign_top, 0);
99
cc_settextshadow(false);
1010
cc_setcolour(0xaba346);
11-
if_setonmouserepeat("script85(event_com, cc_getid, 13353846)", $component2);
12-
if_setonmouseleave("script85(event_com, cc_getid, 11248454)", $component2);
11+
if_setonmouserepeat("script85(event_com, cc_getid, 0xcbc376)", $component2);
12+
if_setonmouseleave("script85(event_com, cc_getid, 0xaba346)", $component2);
1313
if_setopbase("<col=ff9040>Tutors</col>", $component2);
1414
~aide_map_tutors(true, $component1, $component2);
1515
cc_deleteall($component0);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 240
2-
[clientscript,autocast_tooltip_runecount](int $int0, obj $obj1, int $int2, component $component3, int $int4, int $int5)
2+
[clientscript,autocast_tooltip_runecount](boolean $boolean0, obj $obj1, int $int2, component $component3, int $int4, int $int5)
33
if ((cc_find($component3, $int4) = ^true) & (.cc_find($component3, $int5) = ^true)) {
4-
~autocast_tooltip_runecount($int0, $obj1, $int2);
4+
~autocast_tooltip_runecount($boolean0, $obj1, $int2);
55
}

scripts/[clientscript,bankmain_dragtab_text].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ if (((($int5 = 0) | ($int6 = 0)) | (testbit($int4, $int5) = ^false)) | (testbit(
1010
}
1111
if (cc_find($component0, $int1) = ^true) {
1212
cc_setcolour(0x3f3f3f);
13-
cc_setontimer("script221(event_com, event_comid, 14997666, calc(clientclock + 10))");
13+
cc_setontimer("script221(event_com, event_comid, 0xe4d8a2, calc(clientclock + 10))");
1414
}

scripts/[clientscript,bankmain_init].cs2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ while ($int33 <= 9) {
5050
cc_settextalign(^settextalign_left, ^settextalign_top, 0);
5151
cc_settextfont(p11_full);
5252
cc_setcolour(0xe4d8a2);
53-
cc_setonmouserepeat("script85(event_com, event_comid, 16777215)");
54-
cc_setonmouseleave("script85(event_com, event_comid, 14997666)");
53+
cc_setonmouserepeat("script85(event_com, event_comid, ^white)");
54+
cc_setonmouseleave("script85(event_com, event_comid, 0xe4d8a2)");
5555
cc_settextshadow(true);
5656
cc_settext("Tab <tostring($int33)>");
5757
cc_setop(1, "View tab");
@@ -68,7 +68,7 @@ while ($int33 <= 9) {
6868
cc_settrans(255);
6969
$int33 = calc($int33 + 1);
7070
}
71-
~bankmain_menubutton(0, $component0, $component1, $component3, $component6, $component7, $component8, $component15, $component16, $component14, $component17, $component18, $component19, $component20, $component4, $component5, $component27, $component28, $component29, $component30);
71+
~bankmain_menubutton(false, $component0, $component1, $component3, $component6, $component7, $component8, $component15, $component16, $component14, $component17, $component18, $component19, $component20, $component4, $component5, $component27, $component28, $component29, $component30);
7272
if_setoninvtransmit("bankmain_build($component0, $component1, $component3, $component6, $component7, $component8, $component15, $component16, $component14, $component17, $component18, $component19, $component20, $component27, $component28, $component29, $component30){bank}", $component6);
7373
if_setonvartransmit("bankmain_build($component0, $component1, $component3, $component6, $component7, $component8, $component15, $component16, $component14, $component17, $component18, $component19, $component20, $component27, $component28, $component29, $component30){var304, var115, var867, var1052, var1053, var1666, var1141}", $component6);
7474
%varcint51 = $int31;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// 232
2-
[clientscript,bankmain_menubutton](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11, component $component12, component $component13, component $component14, component $component15, component $component16, component $component17, component $component18, component $component19)
2+
[clientscript,bankmain_menubutton](boolean $boolean0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9, component $component10, component $component11, component $component12, component $component13, component $component14, component $component15, component $component16, component $component17, component $component18, component $component19)
33
sound_synth(2266, 1, 0);
4-
~bankmain_menubutton($int0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $component13, $component14, $component15, $component16, $component17, $component18, $component19);
4+
~bankmain_menubutton($boolean0, $component1, $component2, $component3, $component4, $component5, $component6, $component7, $component8, $component9, $component10, $component11, $component12, $component13, $component14, $component15, $component16, $component17, $component18, $component19);

scripts/[clientscript,bankpin_button_mouseover].cs2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// 684
2-
[clientscript,bankpin_button_mouseover](int $int0, component $component1, int $int2, int $int3)
2+
[clientscript,bankpin_button_mouseover](boolean $boolean0, component $component1, int $int2, int $int3)
33
if ((cc_find($component1, $int2) = ^true) & (.cc_find($component1, $int3) = ^true)) {
4-
if ($int0 = 1) {
4+
if ($boolean0 = true) {
55
cc_settrans(255);
66
.cc_sethide(false);
77
} else {

scripts/[clientscript,barbassault_reward_shop_init].cs2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
~script1366;
66
if_setonvartransmit("script1365($component1, $component2){var946, var947, var948, var949, var466, var261, var262, var263}", $component1);
77
if_setoninvtransmit("script1365($component1, $component2){inv}", $component1);
8-
if_setonmouseover("script45(event_com, 16777215)", $component4);
9-
if_setonmouseleave("script45(event_com, 3355392)", $component4);
8+
if_setonmouseover("script45(event_com, ^white)", $component4);
9+
if_setonmouseleave("script45(event_com, 0x333300)", $component4);
1010
if_setop(1, "Accept", $component4);
11-
if_setonop("script45(event_com, 3355392)", $component4);
11+
if_setonop("script45(event_com, 0x333300)", $component4);
1212
~scrollbar_vertical($component3, $component1, "scrollbar_dragger_v2,3", "scrollbar_dragger_v2,0", "scrollbar_dragger_v2,1", "scrollbar_dragger_v2,2", "scrollbar_v2,0", "scrollbar_v2,1");

scripts/[clientscript,br_tournament_op].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 1419
2-
[clientscript,br_tournament_op](int $int0, component $component1, int $int2, string $string0)
2+
[clientscript,br_tournament_op](int $int0, string $string0, component $component1, int $int2)
33
if (cc_find($component1, $int2) = ^true) {
44
sound_synth(2266, 1, 0);
55
cc_setcolour(0x8f8f8f);

scripts/[clientscript,br_tournament_submit].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 1420
2-
[clientscript,br_tournament_submit](int $int0, component $component1, int $int2, string $string0)
2+
[clientscript,br_tournament_submit](int $int0, string $string0, component $component1, int $int2)
33
if (clientclock < $int0) {
44
return;
55
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 1100
2-
[clientscript,bugreport_drawbutton](int $int0, component $component1, string $string0)
3-
~bugreport_drawbutton($int0, $component1, $string0);
2+
[clientscript,bugreport_drawbutton](boolean $boolean0, component $component1, string $string0)
3+
~bugreport_drawbutton($boolean0, $component1, $string0);

scripts/[clientscript,bugreport_init].cs2

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
if_sethide(false, $component1);
66
if_sethide(true, $component4);
77
def_string $string0 = "Continue";
8-
~bugreport_drawbutton(0, $component2, $string0);
8+
~bugreport_drawbutton(false, $component2, $string0);
99
if_setonmouseover("bugreport_drawbutton(true, event_com, $string0)", $component2);
1010
if_setonmouseleave("bugreport_drawbutton(false, event_com, $string0)", $component2);
1111
if_setonclick("bugreport_continue($component1, $component4)", $component2);
1212
$string0 = "Back";
13-
~bugreport_drawbutton(0, $component3, $string0);
13+
~bugreport_drawbutton(false, $component3, $string0);
1414
if_setonmouseover("bugreport_drawbutton(true, event_com, $string0)", $component3);
1515
if_setonmouseleave("bugreport_drawbutton(false, event_com, $string0)", $component3);
1616
if_setonclick("bugreport_home($component1, $component4)", $component3);
1717
$string0 = "Submit";
18-
~bugreport_drawbutton(0, $component12, $string0);
18+
~bugreport_drawbutton(false, $component12, $string0);
1919
if_setonmouseover("bugreport_drawbutton(true, event_com, $string0)", $component12);
2020
if_setonmouseleave("bugreport_drawbutton(false, event_com, $string0)", $component12);
2121
if_setonclick("bugreport_submit()", $component12);
@@ -27,14 +27,14 @@ if_setonop(null, $component12);
2727
~bugreport_init_textinput($component9);
2828
~bugreport_switch_textinput($component5, $component6, $component9, $component10, $component4, $component5, $component9, $component12);
2929
$string0 = "Next";
30-
~bugreport_drawbutton(0, $component7, $string0);
30+
~bugreport_drawbutton(false, $component7, $string0);
3131
if_setonmouseover("bugreport_drawbutton(true, event_com, $string0)", $component7);
3232
if_setonmouseleave("bugreport_drawbutton(false, event_com, $string0)", $component7);
3333
if_setonclick("bugreport_next($component4, $component8, $component5, $component6, $component9, $component10, $component4, $component5, $component9, $component12)", $component7);
3434
if_clearops($component7);
3535
if_setonop(null, $component7);
3636
$string0 = "Back";
37-
~bugreport_drawbutton(0, $component11, $string0);
37+
~bugreport_drawbutton(false, $component11, $string0);
3838
if_setonmouseover("bugreport_drawbutton(true, event_com, $string0)", $component11);
3939
if_setonmouseleave("bugreport_drawbutton(false, event_com, $string0)", $component11);
4040
if_setonclick("bugreport_back($component4, $component8, $component5, $component6, $component9, $component10, $component4, $component5, $component9, $component12)", $component11);

scripts/[clientscript,bugreport_keypress].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 1098
2-
[clientscript,bugreport_keypress](int $int0, char $char1, component $component2, component $component3, int $int4, component $component5, component $component6, component $component7)
2+
[clientscript,bugreport_keypress](int $int0, char $char1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7)
33
if (~script1701(156, -1) = 0) {
44
return;
55
}

scripts/[clientscript,bugreport_next].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 2253
2-
[clientscript,bugreport_next](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, int $int6, component $component7, component $component8, component $component9)
2+
[clientscript,bugreport_next](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5, component $component6, component $component7, component $component8, component $component9)
33
sound_synth(2266, 1, 0);
44
if_sethide(true, $component0);
55
if_sethide(false, $component1);

scripts/[clientscript,chat_broadcast_op].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if ($int0 = 9) {
88
~rebuildpmbox($int1);
99
} else if (string_length($string0) > 0) {
1010
if ($int0 = 6) {
11-
~script2399($string0, true, 1);
11+
~script2399($string0, true, true);
1212
} else {
1313
mes("Link destination: <col=ef1020><$string0></col>");
1414
}

scripts/[clientscript,chat_onsubchange].cs2

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 80
2-
[clientscript,chat_onsubchange](int $int0, int $int1, int $int2, int $int3, enum $enum4)
2+
[clientscript,chat_onsubchange](component $component0, int $int1, boolean $boolean2, boolean $boolean3, enum $enum4)
33
def_int $int5 = 0;
44
def_int $int6 = getwindowmode;
55
def_boolean $boolean7 = if_hassub(162:561);
@@ -11,17 +11,17 @@ if ($int6 ! $int1) {
1111
$int5 = 1;
1212
} else {
1313
if ($boolean7 = true) {
14-
if ($int2 = 0) {
14+
if ($boolean2 = false) {
1515
$int5 = 1;
1616
}
17-
} else if ($int2 = 1) {
17+
} else if ($boolean2 = true) {
1818
$int5 = 1;
1919
}
2020
if ($boolean8 = true) {
21-
if ($int3 = 0) {
21+
if ($boolean3 = false) {
2222
$int5 = 1;
2323
}
24-
} else if ($int3 = 1) {
24+
} else if ($boolean3 = true) {
2525
$int5 = 1;
2626
}
2727
}

scripts/[clientscript,clan_op].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 214
2-
[clientscript,clan_op](int $int0, string $string0)
2+
[clientscript,clan_op](string $string0, int $int0)
33
def_string $string1 = removetags($string0);
44
if (($int0 = 6) & (~script1942 = 0)) {
55
~clan_sendkick($string1);

scripts/[clientscript,collection_hover_tab].cs2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 2729
2-
[clientscript,collection_hover_tab](component $component0, int $int1)
3-
if ($int1 = 1) {
2+
[clientscript,collection_hover_tab](component $component0, boolean $boolean1)
3+
if ($boolean1 = true) {
44
if (cc_find($component0, 0) = ^true) {
55
cc_setgraphic("tabs_split,0");
66
}

scripts/[clientscript,cws_init].cs2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_centre);
2525
.cc_settextshadow(true);
2626
.cc_settextalign(^settextalign_right, ^settextalign_centre, 0);
2727
.cc_settext($string2);
28-
if_setonmouserepeat("script85(event_com, .cc_getid, 16777215)", $component3);
29-
if_setonmouseleave("script85(event_com, .cc_getid, 16750623)", $component3);
28+
if_setonmouserepeat("script85(event_com, .cc_getid, ^white)", $component3);
29+
if_setonmouseleave("script85(event_com, .cc_getid, 0xff981f)", $component3);
3030
if_setsize(calc(parawidth($string2, if_getwidth($component0), p12_full) + 26), if_getheight($component3), ^setsize_abs, ^setsize_abs, $component3);
3131
~cws_set_toggle($component3, $int4, $int5, ~cws_cc_getvar($int4));
3232
if_setonvartransmit("cws_set_toggle($component3, cc_getid, $int4, $int5){var1045, var1046, var1047}", $component3);

scripts/[clientscript,deadman_delay_timer].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 1150
2-
[clientscript,deadman_delay_timer](component $component0, int $int1, int $int2, int $int3, string $string0)
2+
[clientscript,deadman_delay_timer](component $component0, string $string0, int $int1, int $int2, int $int3)
33
def_int $int4 = calc($int2 - (clientclock - $int1));
44
def_int $int5 = calc((49 + $int4) / 50);
55
if ($int4 <= 0) {

scripts/[clientscript,deadman_tournament_op].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 1267
2-
[clientscript,deadman_tournament_op](int $int0, component $component1, int $int2, string $string0)
2+
[clientscript,deadman_tournament_op](int $int0, string $string0, component $component1, int $int2)
33
if (cc_find($component1, $int2) = ^true) {
44
sound_synth(2266, 1, 0);
55
cc_setcolour(0x8f8f8f);

scripts/[clientscript,deadman_tournament_submit].cs2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 1268
2-
[clientscript,deadman_tournament_submit](int $int0, component $component1, int $int2, string $string0)
2+
[clientscript,deadman_tournament_submit](int $int0, string $string0, component $component1, int $int2)
33
if (clientclock < $int0) {
44
return;
55
}

scripts/[clientscript,deathkeep_infomessage].cs2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// 1603
2-
[clientscript,deathkeep_infomessage](int $int0, int $int1, string $string0)
2+
[clientscript,deathkeep_infomessage](boolean $boolean0, int $int1, string $string0)
33
def_string $string1 = "<col=0000ff><~script46($int1, ",")> x <$string0></col> - ";
44
if ($int1 > 1) {
5-
if ($int0 = 1) {
5+
if ($boolean0 = true) {
66
$string1 = append($string1, "You will keep these items should you die.");
77
} else {
88
$string1 = append($string1, "You will lose these items should you die.");
99
}
10-
} else if ($int0 = 1) {
10+
} else if ($boolean0 = true) {
1111
$string1 = append($string1, "You will keep this item should you die.");
1212
} else {
1313
$string1 = append($string1, "You will lose this item should you die.");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 1600
2-
[clientscript,deathkeep_invtransmit](int $int0, int $int1, int $int2, boolean $boolean3, string $string0, string $string1)
2+
[clientscript,deathkeep_invtransmit](int $int0, string $string0, int $int1, int $int2, boolean $boolean3, string $string1)
33
~deathkeep_build($int0, $string0, $int1, $int2, $boolean3, $string1);

scripts/[clientscript,decant_init].cs2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ cc_deleteall($component0);
44
cc_deleteall($component1);
55
cc_deleteall($component2);
66
cc_deleteall($component3);
7-
~decant_button($component0, 0, 22670, "1 dose", "1");
8-
~decant_button($component1, 0, 22669, "2 doses", "2");
9-
~decant_button($component2, 0, 22668, "3 doses", "3");
10-
~decant_button($component3, 0, 22667, "4 doses", "4");
7+
~decant_button($component0, false, 22670, "1 dose", "1");
8+
~decant_button($component1, false, 22669, "2 doses", "2");
9+
~decant_button($component2, false, 22668, "3 doses", "3");
10+
~decant_button($component3, false, 22667, "4 doses", "4");
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// 2522
2-
[clientscript,decant_itembutton_key](component $component0, char $char1, int $int2, obj $obj3, string $string0, string $string1)
2+
[clientscript,decant_itembutton_key](component $component0, char $char1, int $int2, string $string0, obj $obj3, string $string1)
33
if (~script1701(582, -1) = 1) {
44
if (($int2 = 13) & (%varbit4681 = 1)) {
55
if_close;
66
return;
77
} else if ((($char1 ! null) & (string_length($string0) > 0)) & (string_indexof_char($string0, $char1) ! -1)) {
8-
~decant_mouseover($component0, 1, $obj3, $string1, $string0);
8+
~decant_mouseover($component0, true, $obj3, $string1, $string0);
99
if_resume_pausebutton($component0);
1010
}
1111
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 2226
2-
[clientscript,decant_mouseover](component $component0, int $int1, obj $obj2, string $string0, string $string1)
3-
~decant_mouseover($component0, $int1, $obj2, $string0, $string1);
2+
[clientscript,decant_mouseover](component $component0, boolean $boolean1, obj $obj2, string $string0, string $string1)
3+
~decant_mouseover($component0, $boolean1, $obj2, $string0, $string1);

scripts/[clientscript,diary_mouseover].cs2

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// 2201
2-
[clientscript,diary_mouseover](component $component0, int $int1, int $int2, int $int3)
2+
[clientscript,diary_mouseover](component $component0, int $int1, int $int2, boolean $boolean3)
33
def_int $int4 = -1;
44
def_int $colour5 = ^red;
5-
if ($int3 = 0) {
5+
if ($boolean3 = false) {
66
$int4 = ~area_task_complete($int2);
77
if ($int4 = 2) {
88
$colour5 = 0x0dc10d;
@@ -13,21 +13,21 @@ if ($int3 = 0) {
1313
}
1414
}
1515
if (cc_find($component0, $int1) = ^true) {
16-
if ($int3 = 1) {
16+
if ($boolean3 = true) {
1717
cc_settrans(200);
1818
} else {
1919
cc_settrans(255);
2020
}
2121
}
2222
if (cc_find($component0, calc($int1 + 1)) = ^true) {
23-
if ($int3 = 1) {
23+
if ($boolean3 = true) {
2424
cc_setcolour(^white);
2525
} else {
2626
cc_setcolour($colour5);
2727
}
2828
}
2929
if (cc_find($component0, calc($int1 + 2)) = ^true) {
30-
if ($int3 = 1) {
30+
if ($boolean3 = true) {
3131
cc_setcolour(^white);
3232
} else {
3333
cc_setcolour($colour5);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 1675
2-
[clientscript,displayname_button_draw](component $component0, int $int1, string $string0)
3-
~displayname_button_draw($component0, $string0, $int1);
2+
[clientscript,displayname_button_draw](component $component0, string $string0, boolean $boolean1)
3+
~displayname_button_draw($component0, $string0, $boolean1);

0 commit comments

Comments
 (0)