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) |
6 |
var sign_factor = 1 |
7 |
else |
8 |
sign_factor = -1 |
9 |
x_speed = sign_factor * (irandom_range(2, 4)) |
10 |
execute_end = false |
11 |
bounce_sound_execute = true |
12 |
bounce_sound_can_check = false |
13 |
image_speed = 0.5 |
14 |
image_index = 0 |