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;
} ("martlet", "void", "void") |
4 |
x_previous = x |
5 |
y_previous = y |
6 |
id_checker = global.id_store |
7 |
global.id_store = id |
8 |
x_list = ds_list_create() |
9 |
y_list = ds_list_create() |
10 |
angle_list = ds_list_create() |
11 |
max_points_trail = 3 |
12 |
trail_cc_max = 3 |
13 |
trail_cc_start = trail_cc_max - 1 |
14 |
trail_cc_current = trail_cc_start |
15 |
bullet_hit_points = 1 |
16 |
bullet_hit_draw_timer = 0 |
17 |
bullet_destroy_self = false |
18 |
speed = 10 |