Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Speed */
- x -= 0.25;
- /* Attack */
- if ( instance_exists(par_player) )
- {
- if( attack != 5 )
- {
- if( abs(par_player.x - x) < 120 )
- {
- if( timer != 0 )
- {
- timer -= 1;
- };
- else if( timer = 0 )
- {
- //if ( my_projectile[attack].y > 529 && my_projectile[attack].y < 530 )
- if ( my_projectile[attack].y > y && my_projectile[attack].x < x )
- {
- with( my_projectile[attack] ) { attack = true }
- timer = 120;
- attack += 1;
- };
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement