1 |
global.monstergold[3] += global.monstergold[myself]; |
2 |
global.monsterexp[3] += global.monsterexp[myself]; |
3 |
if (global.flag[51 + myself] == 0) |
4 |
{ |
5 |
global.flag[51 + myself] = 2; |
6 |
if (global.monsterhp[myself] <= 0) |
7 |
global.flag[51 + myself] = 1; |
8 |
} |
9 |
if (global.flag[51 + myself] == 1) |
10 |
{ |
11 |
global.flag[40 violences] += 1; |
12 |
if (fatal == 1) |
13 |
global.flag[44 kills]++; |
14 |
} |
15 |
if (global.flag[51 + myself] == 2) |
16 |
global.flag[41 spares] += 1; |
17 |
if (global.flag[51 + myself] == 3) |
18 |
global.flag[42 pacifies] += 1; |
19 |
if (global.flag[51 + myself] == 5) |
20 |
global.flag[43 autosusie_violences] += 1; |
21 |
if (global.flag[51 + myself] == 6) |
22 |
{ |
23 |
global.flag[45 freezes] += 1; |
24 |
global.monstergold[3] += 24; |
25 |
} |
26 |
_amt_add = 0; |
27 |
_frozened = 0; |
28 |
_violenced = 0; |
29 |
_spared = 0; |
30 |
_pacified = 0; |
31 |
for (d_i = 0; d_i < 3; d_i += 1) |
32 |
{ |
33 |
if (global.flag[51 + d_i] != 0) |
34 |
_amt_add += 1; |
35 |
if (global.flag[51 + d_i] == 1) |
36 |
_violenced += 1; |
37 |
if (global.flag[51 + d_i] == 2) |
38 |
_spared += 1; |
39 |
if (global.flag[51 + d_i] == 3) |
40 |
_pacified += 1; |
41 |
if (global.flag[51 + d_i] == 6) |
42 |
_frozened += 1; |
43 |
} |
44 |
if (_frozened > 0) |
45 |
global.flag[50 last_encounter_end] = 6; |
46 |
if (_pacified > 0) |
47 |
global.flag[50 last_encounter_end] = 3; |
48 |
if (_spared > 0) |
49 |
global.flag[50 last_encounter_end] = 2; |
50 |
if (_violenced > 0) |
51 |
global.flag[50 last_encounter_end] = 1; |
52 |
if (global.flag[50 last_encounter_end] == 6) |
53 |
global.flag[926 iceshocked_encounters]++; |
54 |
if (global.flag[54 encounter_pointer] != 0) |
55 |
{ |
56 |
global.flag[global.flag[54 encounter_pointer]] = global.flag[50 last_encounter_end]; |
57 |
global.flag[54 encounter_pointer] = 0; |
58 |
} |