1 | global.flag[200 kills_area_pointer] = argument3; |
2 | if ((argument2 - global.flag[argument3]) > 0) |
3 | { |
4 | populationfactor = argument2 / (argument2 - global.flag[argument3]); |
5 | if (populationfactor > 8) |
6 | populationfactor = 8; |
7 | steps = (argument0 + round(random(argument1))) * populationfactor; |
8 | } |
9 | else |
10 | { |
11 | if (alldead == 0 || alldead == 1) |
12 | steps = 20; |
13 | else |
14 | steps = (argument0 + round(argument1 / 2)) * 5; |
15 | if (alldead == 0) |
16 | alldead = 1; |
17 | } |