Skip to content

Commit

Permalink
Add scripts for revision 199.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sinoz committed Jan 6, 2022
1 parent f7c95e0 commit c9815d5
Show file tree
Hide file tree
Showing 5,242 changed files with 119,987 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
5,243 changes: 5,243 additions & 0 deletions README.md

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions scripts/[clientscript,100guide_flour_drawitems].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 3605
[clientscript,100guide_flour_drawitems](int $size0, component $component1, inv $inv2)
~100guide_flour_drawitems($size0, $component1, $inv2);
21 changes: 21 additions & 0 deletions scripts/[clientscript,100guide_flour_init].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// 3604
[clientscript,100guide_flour_init](inv $inv0)
cc_deleteall(interface_264:23);
def_int $size1 = inv_size($inv0);
def_int $int2 = calc(if_getwidth(interface_264:23) / 5 - 36);
def_int $int3 = calc($int2 / 2);
def_int $int4 = calc(if_getheight(interface_264:23) / 2 - 32);
def_int $int5 = calc($int4 / 2);
def_int $size6 = 0;
while ($size6 < $size1) {
cc_create(interface_264:23, ^iftype_graphic, $size6);
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
cc_setposition(calc($int3 + $size6 % 5 * (36 + $int2)), calc($int5 + $size6 / 5 * (32 + $int4)), ^setpos_abs_left, ^setpos_abs_top);
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
cc_setop(10, "Examine");
cc_setonop("cc_settrans_temporarily(event_com, event_comsubid, 125, 0)");
$size6 = calc($size6 + 1);
}
~100guide_flour_drawitems($size1, interface_264:23, $inv0);
if_setoninvtransmit("100guide_flour_drawitems($size1, event_com, $inv0){$inv0}", interface_264:23);
3 changes: 3 additions & 0 deletions scripts/[clientscript,100guide_overlay_init].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 2544
[clientscript,100guide_overlay_init](component $component0, component $component1)
~script4729($component0, $component1, clearbit(clearbit(36578, 18), 7), ^setpos_abs_right, ^setpos_abs_bottom, false);
11 changes: 11 additions & 0 deletions scripts/[clientscript,1v1arena_clear_opbutton].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// 2711
[clientscript,1v1arena_clear_opbutton](component $component0, int $comsubid1, int $comsubid2)
if (.cc_find($component0, $comsubid1) = ^true & cc_find($component0, $comsubid2) = ^true) {
sound_synth(interface_select1, 1, 0);
cc_setcolour(^red);
if_setonmouserepeat(null, $component0);
if_setonmouseleave(null, $component0);
if_setonop(null, $component0);
if_setontimer("1v1arena_clear_resetbutton($component0, .cc_getid, cc_getid, calc(clientclock + 20))", $component0);
.cc_resume_pausebutton;
}
12 changes: 12 additions & 0 deletions scripts/[clientscript,1v1arena_clear_resetbutton].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// 2712
[clientscript,1v1arena_clear_resetbutton](component $component0, int $comsubid1, int $comsubid2, int $clock3)
if (clientclock < $clock3) {
return;
}
if (cc_find($component0, $comsubid2) = ^true) {
cc_setcolour(0xff981f);
if_setonmouserepeat("cc_colour_swapper(event_com, cc_getid, ^white)", $component0);
if_setonmouseleave("cc_colour_swapper(event_com, cc_getid, 0xff981f)", $component0);
if_setonop("1v1arena_clear_opbutton($component0, $comsubid1, cc_getid)", $component0);
}
if_setontimer(null, $component0);
13 changes: 13 additions & 0 deletions scripts/[clientscript,1v1arena_hud_button].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// 2714
[clientscript,1v1arena_hud_button](int $opindex0, component $component1, int $comsubid2)
if ($opindex0 ! 1) {
return;
}
sound_synth(interface_select1, 1, 0);
if (cc_find($component1, $comsubid2) = ^true) {
cc_setcolour(^red);
if_setonmouserepeat(null, $component1);
if_setonmouseleave(null, $component1);
if_setonop(null, $component1);
if_setontimer("1v1arena_hud_resetbutton($component1, $comsubid2, calc(clientclock + 20))", $component1);
}
35 changes: 35 additions & 0 deletions scripts/[clientscript,1v1arena_hud_init].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// 2713
[clientscript,1v1arena_hud_init](int $int0, component $component1, component $component2, component $component3, component $component4, component $component5)
~1v1arena_hud_toggle(false, $component1, $component2, $component3);
def_string $op0 = "Spectator";
cc_deleteall($component4);
def_int $comsubid6 = ~options_button_off($component4, 0);
cc_create($component4, ^iftype_text, $comsubid6);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_settextshadow(true);
cc_settextfont(p11_full);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_settext($op0);
if_setop(1, $op0, $component4);
cc_setcolour(0xff981f);
if_setonmouserepeat("cc_colour_swapper(event_com, cc_getid, ^white)", $component4);
if_setonmouseleave("cc_colour_swapper(event_com, cc_getid, 0xff981f)", $component4);
if_setonop("1v1arena_hud_button(event_opindex, $component4, cc_getid)", $component4);
if_setontimer(null, $component4);
$op0 = "Start All";
cc_deleteall($component5);
$comsubid6 = ~options_button_off($component5, 0);
cc_create($component5, ^iftype_text, $comsubid6);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_settextshadow(true);
cc_settextfont(p11_full);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_settext($op0);
if_setop(1, $op0, $component5);
cc_setcolour(0xff981f);
if_setonmouserepeat("cc_colour_swapper(event_com, cc_getid, ^white)", $component5);
if_setonmouseleave("cc_colour_swapper(event_com, cc_getid, 0xff981f)", $component5);
if_setonop("1v1arena_hud_button(event_opindex, $component5, cc_getid)", $component5);
if_setontimer(null, $component5);
12 changes: 12 additions & 0 deletions scripts/[clientscript,1v1arena_hud_resetbutton].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// 2715
[clientscript,1v1arena_hud_resetbutton](component $component0, int $comsubid1, int $clock2)
if (clientclock < $clock2) {
return;
}
if (cc_find($component0, $comsubid1) = ^true) {
cc_setcolour(0xff981f);
if_setonmouserepeat("cc_colour_swapper(event_com, cc_getid, ^white)", $component0);
if_setonmouseleave("cc_colour_swapper(event_com, cc_getid, 0xff981f)", $component0);
if_setonop("1v1arena_hud_button(event_opindex, $component0, cc_getid)", $component0);
}
if_setontimer(null, $component0);
4 changes: 4 additions & 0 deletions scripts/[clientscript,1v1arena_hud_toggle].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 2716
[clientscript,1v1arena_hud_toggle](boolean $boolean0, component $component1, component $component2, component $component3)
sound_synth(interface_select1, 1, 0);
~1v1arena_hud_toggle($boolean0, $component1, $component2, $component3);
33 changes: 33 additions & 0 deletions scripts/[clientscript,1v1arena_hud_transmit].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// 2718
[clientscript,1v1arena_hud_transmit](int $int0, int $int1, int $int2, int $int3, int $int4, int $int5, int $int6, int $int7, int $int8, int $int9, int $int10, int $int11, int $int12, int $int13, int $int14, int $int15, int $int16, int $int17, int $int18, int $int19, int $int20, int $int21, int $int22, int $int23, int $int24, string $string0)
def_int $int25 = 0;
def_int $int26 = 0;
def_int $int27 = 0;
def_int $int28 = 0;
def_int $int29 = 0;
def_int $int30 = 0;
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(0, $int0, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(1, $int1, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(2, $int2, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(3, $int3, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(4, $int4, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(5, $int5, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(6, $int6, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(7, $int7, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(8, $int8, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(9, $int9, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(10, $int10, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(11, $int11, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(12, $int12, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(13, $int13, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(14, $int14, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(15, $int15, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(16, $int16, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(17, $int17, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(18, $int18, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
$string0, $int25, $int26, $int27, $int28, $int29, $int30 = ~1v1arena_hud_buildplayer(19, $int19, $string0, $int25, $int26, $int27, $int28, $int29, $int30);
~1v1arena_hud_buildarena(interface_618:8, $int20);
~1v1arena_hud_buildarena(interface_618:9, $int21);
~1v1arena_hud_buildarena(interface_618:10, $int22);
~1v1arena_hud_buildarena(interface_618:11, $int23);
~1v1arena_hud_buildarena(interface_618:12, $int24);
25 changes: 25 additions & 0 deletions scripts/[clientscript,1v1arena_results_init].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// 2710
[clientscript,1v1arena_results_init](component $component0)
def_string $op0 = "Clear";
cc_deleteall($component0);
def_int $int1 = 0;
.cc_create($component0, ^iftype_rectangle, $int1);
$int1 = calc($int1 + 1);
.cc_setsize(0, 0, ^setsize_abs, ^setsize_abs);
.cc_setposition(0, 0, ^setpos_abs_left, ^setpos_abs_top);
.cc_sethide(true);
$int1 = ~options_button_off($component0, $int1);
cc_create($component0, ^iftype_text, $int1);
$int1 = calc($int1 + 1);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_settextshadow(true);
cc_settextfont(p11_full);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_settext($op0);
if_setop(1, $op0, $component0);
cc_setcolour(0xff981f);
if_setonmouserepeat("cc_colour_swapper(event_com, cc_getid, ^white)", $component0);
if_setonmouseleave("cc_colour_swapper(event_com, cc_getid, 0xff981f)", $component0);
if_setonop("1v1arena_clear_opbutton($component0, .cc_getid, cc_getid)", $component0);
if_setontimer(null, $component0);
3 changes: 3 additions & 0 deletions scripts/[clientscript,1v1arena_review_draw].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 2708
[clientscript,1v1arena_review_draw](component $component0)
~1v1arena_review_draw($component0);
4 changes: 4 additions & 0 deletions scripts/[clientscript,1v1arena_review_init].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 2707
[clientscript,1v1arena_review_init](component $component0, component $component1)
~1v1arena_review_draw($component1);
if_setoninvtransmit("1v1arena_review_draw($component1){inv_207}", $component0);
9 changes: 9 additions & 0 deletions scripts/[clientscript,1v1arena_spectator_endhint].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// 2723
[clientscript,1v1arena_spectator_endhint](component $component0, int $comsubid1, int $clock2)
if (clientclock < $clock2) {
return;
}
if (cc_find($component0, $comsubid1) = ^true) {
cc_setontimer(null);
cc_delete;
}
21 changes: 21 additions & 0 deletions scripts/[clientscript,1v1arena_spectator_init].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// 2722
[clientscript,1v1arena_spectator_init]
~script2224;
def_enum $enum0 = ~toplevel_getcomponents;
if ($enum0 = null) {
return;
}
def_component $component1 = enum(component, component, $enum0, interface_161:10);
if ($component1 = null) {
return;
}
cc_deleteall($component1);
cc_create($component1, ^iftype_text, 0);
cc_setsize(0, scale(1, 3, 16384), ^setsize_minus, ^setsize_2);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_top);
cc_setcolour(0xff981f);
cc_settextshadow(true);
cc_settextfont(quill_oblique_large);
cc_settextalign(^settextalign_centre, ^settextalign_centre, 0);
cc_settext("<col=ffffff>F12</col>: Exit<br><col=ffffff>PageUP</col>: Faster<br><col=ffffff>PageDOWN</col>: Slower<br>");
cc_setontimer("1v1arena_spectator_endhint(event_com, event_comsubid, calc(clientclock + 400))");
30 changes: 30 additions & 0 deletions scripts/[clientscript,abyssalsire_overseer].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// 136
[clientscript,abyssalsire_overseer]
def_enum $enum0 = ~toplevel_getcomponents;
if ($enum0 = null) {
return;
}
def_component $component1 = enum(component, component, $enum0, interface_161:3);
if ($component1 = null) {
return;
}
cc_deleteall($component1);
cc_create($component1, ^iftype_rectangle, 0);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_setcolour(^white);
cc_setfill(true);
cc_create($component1, ^iftype_model, 1);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_setmodel(abyssal_rift_7427);
cc_setmodelangle(0, 120, 0, 0, 0, 2000);
cc_setmodelanim(abyssal_rift_2260);
cc_create($component1, ^iftype_model, 2);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_setmodel(abyssal_rift_7428);
cc_setmodelangle(0, 120, 0, 0, 0, 2000);
cc_setmodelanim(abyssal_rift_2260);
cc_setontimer("abyssalsire_overseer_update(event_com, clientclock)");
~abyssalsire_overseer_update($component1, 0);
3 changes: 3 additions & 0 deletions scripts/[clientscript,abyssalsire_overseer_update].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 137
[clientscript,abyssalsire_overseer_update](component $component0, int $clock1)
~abyssalsire_overseer_update($component0, calc(clientclock - $clock1));
6 changes: 6 additions & 0 deletions scripts/[clientscript,account_info_update].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// 2498
[clientscript,account_info_update](int $int0, int $int1, int $int2)
~playermember($int0);
~recurring_membership($int1);
~script2700($int2);
~account_update_display;
8 changes: 8 additions & 0 deletions scripts/[clientscript,account_init].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// 2497
[clientscript,account_init](component $component0, component $component1)
if_setonvartransmit("account_update_display{var1780, var1781, var1795, var1737, var375}", $component0);
~account_setup_tabs;
if_setonvartransmit("account_update_tabs{var1666}", $component1);
~account_update_tabs(%varbit10060);
~account_update_display;
~script2833;
5 changes: 5 additions & 0 deletions scripts/[clientscript,account_summary_init].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// 3174
[clientscript,account_summary_init](component $component0, component $component1, component $component2)
if_settext(chat_playername, $component2);
if_setonvartransmit("summary_sidepanel_draw($component0, $component1){var101, var904, var2920, var2943, var2944, var1719, var1720, var1721, var1722, var1723, var1724, var1188, var1189, var1000, var1001, var1002, var1200, var1190, var1191}", $component0);
~summary_sidepanel_draw($component0, $component1);
10 changes: 10 additions & 0 deletions scripts/[clientscript,account_summary_update_xp].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// 3427
[clientscript,account_summary_update_xp](component $component0, int $comsubid1, int $comsubid2, int $int3, fontmetrics $fontmetrics4)
def_int $int5 = 0;
def_int $int6 = 0;
$int5, $int6 = ~stats_totalxp;
if ($int5 = 4 & $int6 = 600000000) {
~account_summary_update_text($component0, $comsubid1, $comsubid2, $int3, $fontmetrics4, "Total XP: <col=0dc10d><~stats_tostring_totalxp($int5, $int6)></col>");
} else {
~account_summary_update_text($component0, $comsubid1, $comsubid2, $int3, $fontmetrics4, "Total XP: <col=0dc10d><~stats_tostring_totalxp($int5, $int6)></col>");
}
4 changes: 4 additions & 0 deletions scripts/[clientscript,account_switch_tab].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 3267
[clientscript,account_switch_tab](int $int0)
%varbit10060 = $int0;
~account_update_tabs(%varbit10060);
7 changes: 7 additions & 0 deletions scripts/[clientscript,account_tab_highlight].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// 3263
[clientscript,account_tab_highlight](component $component0, component $component1, component $component2, int $int3)
if (%varbit10060 = $int3) {
~account_tab_highlight_reset($component0, $component1, $component2, $int3);
} else {
~account_tab_highlight($component0, $component1, $component2, $int3);
}
3 changes: 3 additions & 0 deletions scripts/[clientscript,account_tab_highlight_reset].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 3264
[clientscript,account_tab_highlight_reset](component $component0, component $component1, component $component2, int $int3)
~account_tab_highlight_reset($component0, $component1, $component2, $int3);
3 changes: 3 additions & 0 deletions scripts/[clientscript,account_update_display].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// 2500
[clientscript,account_update_display]
~account_update_display;
4 changes: 4 additions & 0 deletions scripts/[clientscript,account_update_tabs].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 3268
[clientscript,account_update_tabs]
~account_update_display;
~account_update_tabs(%varbit10060);
49 changes: 49 additions & 0 deletions scripts/[clientscript,addtooltip].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// 38
[clientscript,addtooltip](component $component0, component $component1, string $string0, int $int2, int $width3)
def_int $x4 = 0;
def_int $y5 = 0;
if (%varcint1 < calc(clientclock + $int2)) {
if (%varcint1 < clientclock) {
%varcint1 = clientclock;
}
%varcint1 = calc(%varcint1 + 2);
return;
}
%varcint1 = calc(clientclock + $int2 + 10);
if (%varcint2 = 0) {
if ($width3 > if_getwidth(if_getlayer($component1))) {
$width3 = if_getwidth(if_getlayer($component1));
}
$width3 = calc($width3 - 4);
if_setsize(calc(4 + parawidth($string0, $width3, p12_full)), calc(4 + 13 * paraheight($string0, $width3, p12_full)), ^setsize_abs, ^setsize_abs, $component1);
$x4 = calc(if_getx($component0) + 5);
$y5 = calc(if_gety($component0) + if_getheight($component0) + 5);
if (if_getlayer($component1) ! null) {
if ($x4 > calc(if_getwidth(if_getlayer($component1)) - if_getwidth($component1))) {
$x4 = calc(if_getwidth(if_getlayer($component1)) - if_getwidth($component1));
}
if ($y5 > calc(if_getheight(if_getlayer($component1)) - if_getheight($component1))) {
$y5 = calc(if_gety($component0) - if_getheight($component1) - 5);
}
}
if_setposition($x4, $y5, ^setpos_abs_left, ^setpos_abs_top, $component1);
cc_deleteall($component1);
cc_create($component1, ^iftype_rectangle, 0);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_setfill(true);
cc_setcolour(0xffffa0);
cc_create($component1, ^iftype_rectangle, 1);
cc_setsize(0, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_setfill(false);
cc_setcolour(^black);
cc_create($component1, ^iftype_text, 2);
cc_setsize(4, 0, ^setsize_minus, ^setsize_minus);
cc_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_centre);
cc_settext($string0);
cc_settextalign(^settextalign_left, ^settextalign_centre, 0);
cc_settextfont(p12_full);
cc_setcolour(^black);
%varcint2 = 1;
}
4 changes: 4 additions & 0 deletions scripts/[clientscript,adventurepath_back_mouseleave].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 3009
[clientscript,adventurepath_back_mouseleave](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5)
~v2_stone_button_out_filled($component0);
~adventurepath_back_button_text($component0, 9, $component1, $component2, $component3, $component4, $component5);
4 changes: 4 additions & 0 deletions scripts/[clientscript,adventurepath_back_mouseover].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// 3008
[clientscript,adventurepath_back_mouseover](component $component0, component $component1, component $component2, component $component3, component $component4, component $component5)
~v2_stone_button_in_filled($component0);
~adventurepath_back_button_text($component0, 9, $component1, $component2, $component3, $component4, $component5);
5 changes: 5 additions & 0 deletions scripts/[clientscript,adventurepath_back_to_paths].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// 3011
[clientscript,adventurepath_back_to_paths](component $component0, component $component1, component $component2, component $component3, component $component4)
sound_synth(interface_select1, 1, 0);
cc_deleteall($component2);
~adventurepath_change_page($component1, $component0, $component3, $component4, 0);
2 changes: 2 additions & 0 deletions scripts/[clientscript,adventurepath_do_nothing].cs2
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// 2992
[clientscript,adventurepath_do_nothing]
Loading

0 comments on commit c9815d5

Please sign in to comment.