Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if time = -1 {
- hspeed = 0;
- state_type = "attack";
- attack_type = "dthrow";
- image_speed = 0.25;
- sprite_index = jump_sprite;
- image_index=0;
- timer = 0;
- time = 32;
- timer_speed=1;
- target.timer_speed = 0;
- target.alarm[0] = 50
- }
- if timer < time {
- state_type = "attack";
- if timer = 4 {
- sprite_index = dthrow_sprite
- image_index = 0
- target.x = x+9-facing*18;
- target.y = y -3
- instance_create(x,y-22,obj_spark_effect) }
- if timer = 7
- target.y = y - 1
- if timer = 8 {
- sound_play(tail_sound2);
- sound_play(choose(attack_voice1,attack_voice2,attack_voice3));
- create_hitbox(2,361,7.6,0,1,8,kick3,obj_down_impact,0.75,0.7,9,4,self.id,1,5);
- hitbox.shake_kb = 0;
- hitbox.shake_ampl = 1.2; }
- }
- if timer = 9 {
- create_throw_box(6,75+facing*30,5.5,3,1,1,-1,-1,0.7,0.7,9,4,self.id,1);
- hitbox.hit_stun = 8; }
- if timer = 20
- interrupt = 1;
- if timer >= time-1 && state_type != "flinch" && state_type != "air_flinch" {
- attack_type = "none";
- state_type = "stand";
- timer = 0;
- time =-1;
- }
Add Comment
Please, Sign In to add comment