1 |
if live_call() |
2 |
return global.live_result; |
3 |
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;
} ("ceroba", "void", "void") |
4 |
var battle_box = 3154 |
5 |
target_x = obj_heart_battle_fighting_parent.x |
6 |
target_y = obj_heart_battle_fighting_parent.y |
7 |
turn_rate = 0.06 |
8 |
if (!instance_exists(obj_ceroba_bullet_particle_controller)) |
9 |
instance_create(0, 0, obj_ceroba_bullet_particle_controller) |
10 |
sprite_index_og = sprite_index |
11 |
sprite_index = -4 |
12 |
image_alpha = 0 |
13 |
image_speed = 0 |
14 |
warning_id = -4 |
15 |
noloop = true |
16 |
alarm[0] = 1alarm[0]if live_call()
return global.live_result;
var xx = x
var yy = y - 30
warning_id = instance_create_depth(xx, yy, -120, obj_attack_warning_exclamation_mark)
noloop = false |
17 |
attack_delay = 30 |