1 |
grav = 1 |
2 |
vsp = -8 |
3 |
starting_point = y |
4 |
if (object_index == obj_text_damage_count) |
5 |
{ |
6 |
if (global.fight_number == 1) |
7 |
{ |
8 |
global.enemy_hit = true |
9 |
global.hit_count += 1 |
10 |
} |
11 |
else if (global.fight_number == 2) |
12 |
{ |
13 |
global.enemy_hit_2 = true |
14 |
global.hit_count_2 += 1 |
15 |
} |
16 |
else if (global.fight_number == 3) |
17 |
{ |
18 |
global.enemy_hit_3 = true |
19 |
global.hit_count_3 += 1 |
20 |
} |
21 |
} |
22 |
else if (object_index == obj_text_miss) |
23 |
{ |
24 |
if (global.fight_number == 1) |
25 |
global.miss_count += 1 |
26 |
else if (global.fight_number == 2) |
27 |
global.miss_count_2 += 1 |
28 |
else if (global.fight_number == 3) |
29 |
global.miss_count_3 += 1 |
30 |
} |