1 | sprite_index = spr_ch2_dojo_puzzlebullet; |
2 | image_index = floor(random(sprite_get_number(sprite_index))); |
3 | image_speed = 0; |
4 | grazed = 0; |
5 | target = 0; |
6 | inv = 120; |
7 | damage = 124; |
8 | element = "none"; |
9 | grazepoints = 5; |
10 | timepoints = 5; |
11 | active = 0; |
12 | activetimer = 0; |
13 | times = 5; |
14 | timesfired = 0; |
15 | timetarg = 0; |
16 | bulletspeed = 5; |
17 | image_alpha = 0; |
18 | if (instance_exists(obj_heart)) |
19 | futuredir = point_direction(x, y, obj_heart.x + 8, obj_heart.y + 8); |
20 | else |
21 | instance_destroy(); |