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 = obj_dialogue_box_battle_transformation_any |
5 |
image_alpha = 0 |
6 |
scene = 0 |
7 |
cutscene_timer = 0 |
8 |
bullet_spawn_direction = irandom_range(0, 360) |
9 |
bullet_spawn_direction_inc = 30 |
10 |
fireball_count = 5 |
11 |
if (global.hotland_flag[2] == 2) |
12 |
fireball_count = 6 |
13 |
if (global.hotland_flag[2] == 3) |
14 |
fireball_count = 7 |
15 |
fireball_list = ds_list_create() |
16 |
bullet_hit_points = 3 |
17 |
bullet_hit_draw_timer = 0 |
18 |
bullet_destroy_self = false |
19 |
if (x < battle_box.x) |
20 |
x_target = battle_box.bbox_right + 50 |
21 |
else |
22 |
x_target = battle_box.bbox_left - 50 |
23 |
hspeed_target = (sign(battle_box.x - x)) * 3 |
24 |
if (global.hotland_flag[2] == 3) |
25 |
hspeed_target = (sign(battle_box.x - x)) * 4 |
26 |
fade_out = false |