-
Notifications
You must be signed in to change notification settings - Fork 0
/
[proc,poh_menagerie_drawpet].cs2
66 lines (66 loc) · 2.26 KB
/
[proc,poh_menagerie_drawpet].cs2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// 642
[proc,poh_menagerie_drawpet](obj $obj0, enum $enum1, int $int2, int $int3)(int)
switch_enum ($enum1) {
case enum_1686 :
$obj0 = enum(int, namedobj, $enum1, %varbit4324);
case enum_1687 :
$obj0 = enum(int, namedobj, $enum1, %varbit4325);
case enum_1688 :
$obj0 = enum(int, namedobj, $enum1, %varbit4326);
case enum_3733 :
$obj0 = enum(int, namedobj, $enum1, %varbit11962);
case enum_1691 :
$obj0 = enum(int, namedobj, $enum1, %varbit4388);
case enum_1689 :
$obj0 = enum(int, namedobj, $enum1, %varbit4327);
case enum_1690 :
$obj0 = enum(int, namedobj, $enum1, %varbit4328);
case enum_2861 :
$obj0 = enum(int, namedobj, $enum1, %varbit10386);
case enum_285 :
$obj0 = enum(int, namedobj, $enum1, %varbit3983);
case enum_1893 :
$obj0 = enum(int, namedobj, $enum1, %varbit6270);
case enum_1711 :
$obj0 = enum(int, namedobj, $enum1, %varbit6380);
case enum_3856 :
$obj0 = enum(int, namedobj, $enum1, %varbit12235);
case enum_995 :
$obj0 = enum(int, namedobj, $enum1, %varbit6592);
case enum_2788 :
$obj0 = enum(int, namedobj, $enum1, %varbit10114);
case enum_2849 :
$obj0 = enum(int, namedobj, $enum1, %varbit10255);
case enum_2946 :
$obj0 = enum(int, namedobj, $enum1, %varbit10458);
case enum_3554 :
$obj0 = enum(int, namedobj, $enum1, %varbit11740);
case enum_3665 :
$obj0 = enum(int, namedobj, $enum1, %varbit11867);
case enum_3713 :
$obj0 = enum(int, namedobj, $enum1, %varbit11894);
case enum_3938 :
$obj0 = enum(int, namedobj, $enum1, %varbit12415);
case enum_3939 :
$obj0 = enum(int, namedobj, $enum1, %varbit12431);
case enum_4802 :
$obj0 = enum(int, namedobj, $enum1, %varbit14284);
case enum_4918 :
$obj0 = enum(int, namedobj, $enum1, %varbit14703);
case enum_4904 :
$obj0 = enum(int, namedobj, $enum1, %varbit14689);
case enum_4905 :
$obj0 = enum(int, namedobj, $enum1, %varbit14690);
}
cc_sethide(false);
cc_setsize(36, 32, ^setsize_abs, ^setsize_abs);
def_int $y4 = calc(40 * ($int3 / 6));
cc_setposition(calc($int2 * ($int3 % 6)), $y4, ^setpos_abs_left, ^setpos_abs_top);
cc_setobject($obj0, 1);
cc_setgraphicshadow(0x333333);
cc_setoutline(1);
cc_setop(1, "Take");
cc_setop(10, "Examine");
cc_setopbase("<col=ff9040><oc_name($obj0)></col>");
cc_setonop("script2266(event_op, event_com, event_comsubid)");
return($y4);