1 |
trail_cc_current = trail_cc_start |
2 |
target_speed = spin_angle_speed |
3 |
x_destination = obj_heart_battle_fighting_parent.x |
4 |
y_destination = obj_heart_battle_fighting_parent.y |
5 |
angle_destination = point_direction(x, y, obj_heart_battle_fighting_parent.x, obj_heart_battle_fighting_parent.y) |
6 |
target_direction = 1 |
7 |
obj_battle_enemy_attack_martlet_feather_circle_checker.x_store = x_destination |
8 |
obj_battle_enemy_attack_martlet_feather_circle_checker.y_store = y_destination |
9 |
obj_battle_enemy_attack_martlet_feather_circle_checker.angle_store = angle_destination |
10 |
global.id_store = id |
11 |
instance_create(x_destination, y_destination, obj_battle_enemy_attack_martlet_feather_circle_target_1_axis) |
12 |
id_target = global.id_store |
13 |
state = 2 |
14 |
switch sprite_index |
15 |
{ |
16 |
case spr_battle_enemy_attack_martlet_feather_1: |
17 |
audio_play_sound(snd_mart_feather_atk3, 20, 0) |
18 |
break |
19 |
case 2274: |
20 |
case 2275: |
21 |
audio_play_sound(snd_mart_feather_atk1, 20, 0) |
22 |
break |
23 |
case 2276: |
24 |
case 2278: |
25 |
audio_play_sound(snd_mart_feather_atk2, 20, 0) |
26 |
break |
27 |
default: |
28 |
audio_play_sound(snd_mart_feather_atk1, 20, 0) |
29 |
} |