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(argument0, argument1, argument2) //gml_Script_scr_determine_damage_number_enemy
{
var enemy_count = global.enemy_count
if (global.battle_enemy_name_1 == argument0)
return 1;
else if (enemy_count >= 2 && global.battle_enemy_name_2 == argument1)
return 2;
else if (enemy_count >= 3 && global.battle_enemy_name_3 == argument2)
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(argument0, argument1, argument2) //gml_Script_scr_determine_damage_number_enemy
{
var enemy_count = global.enemy_count
if (global.battle_enemy_name_1 == argument0)
return 1;
else if (enemy_count >= 2 && global.battle_enemy_name_2 == argument1)
return 2;
else if (enemy_count >= 3 && global.battle_enemy_name_3 == argument2)
return 3;
else
return 0;
} ("tri", "hec", "ta") |
5 |
if (x < (obj_dialogue_box_battle_transformation_any.bbox_left + obj_dialogue_box_battle_transformation_any.sprite_width / 2)) |
6 |
var x_factor = 1 |
7 |
else |
8 |
x_factor = -1 |
9 |
x_speed = 5 * x_factor |
10 |
started = false |
11 |
image_speed = 0 |
12 |
image_index = 0 |
13 |
image_alpha = 0 |
14 |
x_list = ds_list_create() |
15 |
y_list = ds_list_create() |
16 |
max_points_trail = 10 |
17 |
trail_sprite = 2314 |