Skip to content

Commit a045f98

Browse files
committed
Update script names
1 parent 5f30fde commit a045f98

8 files changed

+19
-19
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@
513513
[**510**](scripts/script510.cs2)
514514
[**511**](scripts/[clientscript,bankmain_dragtab_text].cs2) `[clientscript,bankmain_dragtab_text]`
515515
[**512**](scripts/[clientscript,bankmain_dragtab_graphic].cs2) `[clientscript,bankmain_dragtab_graphic]`
516-
[**513**](scripts/script513.cs2)
516+
[**513**](scripts/[proc,bank_gettabrange].cs2) `[proc,bank_gettabrange]`
517517
[**514**](scripts/[proc,bankmain_searching].cs2) `[proc,bankmain_searching]`
518518
[**515**](scripts/script515.cs2)
519519
[**516**](scripts/[proc,bank_tabforslot].cs2) `[proc,bank_tabforslot]`
@@ -568,7 +568,7 @@
568568
[**565**](scripts/[proc,clanwars_view_setbutton].cs2) `[proc,clanwars_view_setbutton]`
569569
[**566**](scripts/[proc,clanwars_view_updatebutton].cs2) `[proc,clanwars_view_updatebutton]`
570570
[**567**](scripts/[clientscript,clanwars_view_spin].cs2) `[clientscript,clanwars_view_spin]`
571-
[**568**](scripts/script568.cs2)
571+
[**568**](scripts/[proc,clanwars_ffa_arena].cs2) `[proc,clanwars_ffa_arena]`
572572
[**569**](scripts/[clientscript,clanwars_ffa_init].cs2) `[clientscript,clanwars_ffa_init]`
573573
[**570**](scripts/[clientscript,clanwars_ffa_hint].cs2) `[clientscript,clanwars_ffa_hint]`
574574
[**571**](scripts/[proc,clanwars_ffa_hint].cs2) `[proc,clanwars_ffa_hint]`
@@ -694,7 +694,7 @@
694694
[**691**](scripts/[clientscript,trail_slidepuzzle_op].cs2) `[clientscript,trail_slidepuzzle_op]`
695695
[**692**](scripts/[proc,trail_slidepuzzle_position].cs2) `[proc,trail_slidepuzzle_position]`
696696
[**693**](scripts/[clientscript,corp_beast_damage].cs2) `[clientscript,corp_beast_damage]`
697-
[**694**](scripts/script694.cs2)
697+
[**694**](scripts/[clientscript,makeovermage_gender].cs2) `[clientscript,makeovermage_gender]`
698698
[**695**](scripts/[clientscript,makeovermage_colour_init].cs2) `[clientscript,makeovermage_colour_init]`
699699
[**696**](scripts/[clientscript,makeovermage_colour_update].cs2) `[clientscript,makeovermage_colour_update]`
700700
[**697**](scripts/[clientscript,makeovermage_colour_op].cs2) `[clientscript,makeovermage_colour_op]`
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// 694
2+
[clientscript,makeovermage_gender](component $component0, component $component1, int $int2, boolean $boolean3)
3+
if ($boolean3 = true) {
4+
if_setonop("opsound(event_opindex, 2)", $component0);
5+
if_setonvartransmit("makeovermage_gender($component0, $component1, $int2, false){var261}", $component0);
6+
}
7+
if (%var261 = $int2) {
8+
if_setcolour(^green, $component1);
9+
} else {
10+
if_setcolour(^black, $component1);
11+
}
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 385
22
[clientscript,pvp_icons_layout](boolean $boolean0)
3-
if ((($boolean0 = true) | (~script568(coord) = 1)) | (calc(clientclock % 100) = 0)) {
3+
if ((($boolean0 = true) | (~clanwars_ffa_arena(coord) = 1)) | (calc(clientclock % 100) = 0)) {
44
~pvp_icons_layout;
55
}

scripts/script513.cs2 renamed to scripts/[proc,bank_gettabrange].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// 513
2-
script513(int $int0)(int, int)
2+
[proc,bank_gettabrange](int $int0)(int, int)
33
if ($int0 = 1) {
44
return(0, %varbit4171);
55
}

scripts/[proc,bankmain_build].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ if (~bankmain_searching = 1) {
173173
}
174174
def_int $int32 = -1;
175175
def_int $int33 = -1;
176-
$int32, $int33 = ~script513(%varbit4150);
176+
$int32, $int33 = ~bank_gettabrange(%varbit4150);
177177
def_int $int34 = 0;
178178
def_int $int35 = 0;
179179
while ($int20 < 816) {
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// 568
2-
script568(coord $coord0)(int)
2+
[proc,clanwars_ffa_arena](coord $coord0)(int)
33
return(~inzone(0_51_74_0_0, 3_52_75_63_63, $coord0));

scripts/[proc,pvp_icons_layout].cs2

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ if (~pvpw_check = 1) {
134134
if_setposition(0, 0, ^setpos_abs_centre, ^setpos_abs_bottom, 90:66);
135135
if_setcolour(^yellow, 90:66);
136136
if_sethide(true, 90:65);
137-
if (~script568(coord) = 1) {
137+
if (~clanwars_ffa_arena(coord) = 1) {
138138
if (~inzone(0_51_74_0_0, 3_52_74_63_23, coord) = 1) {
139139
if_settrans(0, 90:63);
140140
} else {

scripts/script694.cs2

-11
This file was deleted.

0 commit comments

Comments
 (0)