| 1 |
if (global.battle_enemy_name_1 == "trihecta") |
| 2 |
damage_number = scr_determine_damage_number_enemyscr_determine_damage_number_enemyfunction scr_determine_damage_number_enemy(arg0, arg1, arg2)
{
var enemy_count = global.enemy_count;
if (global.battle_enemy_name_1 == arg0)
return 1;
else if (enemy_count >= 2 && global.battle_enemy_name_2 == arg1)
return 2;
else if (enemy_count >= 3 && global.battle_enemy_name_3 == arg2)
return 3;
else
return 0;
} ("trihecta", "void", "void"); |
| 3 |
else |
| 4 |
damage_number = scr_determine_damage_number_enemyscr_determine_damage_number_enemyfunction scr_determine_damage_number_enemy(arg0, arg1, arg2)
{
var enemy_count = global.enemy_count;
if (global.battle_enemy_name_1 == arg0)
return 1;
else if (enemy_count >= 2 && global.battle_enemy_name_2 == arg1)
return 2;
else if (enemy_count >= 3 && global.battle_enemy_name_3 == arg2)
return 3;
else
return 0;
} ("tri", "hec", "ta"); |
| 5 |
var x_factor; |
| 6 |
if (x < (obj_dialogue_box_battle_transformation_any.bbox_left + (obj_dialogue_box_battle_transformation_any.sprite_width / 2))) |
| 7 |
x_factor = 1; |
| 8 |
else |
| 9 |
x_factor = -1; |
| 10 |
x_speed = 5 * x_factor; |
| 11 |
started = false; |
| 12 |
image_speed = 0; |
| 13 |
image_index = 0; |
| 14 |
image_alpha = 0; |
| 15 |
x_list = ds_list_create(); |
| 16 |
y_list = ds_list_create(); |
| 17 |
max_points_trail = 10; |
| 18 |
trail_sprite = 2314; |