3API_CALLABLE(N(UnkFloatFunc005)) {
27 script->varTable[3] = 142;
28 script->varTable[4] = 0;
29 script->varTable[5] = -118;
30 script->varTable[6] = 44;
31 script->varTable[7] = -118;
32 script->varTable[8] = 3;
33 script->varTable[9] = 0;
34 script->varTable[11] = 0;
35 script->functionTemp[0] = 1;
41 script->varTable[3] = 91;
42 script->varTable[4] = 0;
43 script->varTable[5] = -118;
44 script->varTable[6] = 91;
45 script->varTable[7] = -118;
46 script->varTable[8] = 3;
47 script->varTable[9] = 0;
48 script->varTable[11] = 0;
49 script->functionTemp[0] = 1;
52 script->varTable[9] += script->varTable[8];
53 if (script->varTable[9] > 45) {
54 script->varTable[9] = 45;
56 vt0 = script->varTable[3];
57 vt1 = script->varTable[4];
58 vt2 = script->varTable[5];
59 vt3 = script->varTable[6];
60 vt4 = script->varTable[7];
66 if (script->varTable[9] == 45) {
67 script->varTable[11] = 1;
71 script->varTable[9] += script->varTable[8];
72 if (script->varTable[9] > 90) {
73 script->varTable[9] = 90;
75 vt0 = script->varTable[3];
76 vt1 = script->varTable[4];
77 vt2 = script->varTable[5];
78 vt3 = script->varTable[6];
79 vt4 = script->varTable[7];
85 if (script->varTable[9] == 90) {
86 script->varTable[11] = 2;
90 script->varTable[0] = vt0;
91 script->varTable[1] = vt1;
92 script->varTable[2] = vt2;
s32 evt_get_variable(Evt *script, Bytecode var)