1 |
var player_character = global.player_character |
2 |
draw_set_font(fnt_hachicro) |
3 |
draw_set_color(c_red) |
4 |
draw_set_halign(fa_center) |
5 |
draw_set_valign(fa_top) |
6 |
draw_set_alpha(image_alpha) |
7 |
if (obj_target_bar_battle.damage_type == "betrayed") |
8 |
draw_text(x, y, string_hash_to_newline(string(global.attacking_damage_stat_betrayal))) |
9 |
else if (obj_target_bar_battle.damage_type == "critical") |
10 |
{ |
11 |
if (global.fight_number == 1) |
12 |
draw_text(x, y, string_hash_to_newline(string(global.attacking_damage_stat_critical))) |
13 |
if (global.fight_number == 2) |
14 |
draw_text(x, y, string_hash_to_newline(string(global.attacking_damage_stat_critical_2))) |
15 |
if (global.fight_number == 3) |
16 |
draw_text(x, y, string_hash_to_newline(string(global.attacking_damage_stat_critical_3))) |
17 |
} |
18 |
else |
19 |
draw_text(x, y, string_hash_to_newline(string(global.attacking_damage_stat))) |
20 |
draw_set_alpha(1) |