Update 1989766083
Update 1989766083
y = 10;
}
if (x < 10) {
x = (room_width - 15)
}
if(x > (room_width - 10)){
x = 15;
}
if ((y >= room_height - vsp) || (y <= vsp && state == PS_HITSTUN))
{
y = 1;
vsp = 0;
}
if (introTimer < 4) {
draw_indicator = false;
} else {
draw_indicator = true;
}
//this stops the overhead HUD from getting in the way of the animation. If your
animation does not involve much movement, this may not be necessary.
if (state == PS_DASH_STOP) {
if (state_timer == 3) {
sound_play(sound_get("stick_release"));
}
}
if swallowed {
swallowed = 0
var ability_spr = sprite_get("dspecial_kirby");
var ability_hurt = sprite_get("dspecial_kirby_hurt");
var ability_sfx = sound_get("fox_shine");
with enemykirby {
set_attack_value(AT_EXTRA_3, AG_CATEGORY, 2);
set_attack_value(AT_EXTRA_3, AG_SPRITE, ability_spr);
set_attack_value(AT_EXTRA_3, AG_NUM_WINDOWS, 2);
set_attack_value(AT_EXTRA_3, AG_HAS_LANDING_LAG, 4);
set_attack_value(AT_EXTRA_3, AG_OFF_LEDGE, 1);
set_attack_value(AT_EXTRA_3, AG_HURTBOX_SPRITE, ability_hurt);
set_attack_value(AT_EXTRA_3, AG_USES_CUSTOM_GRAVITY, 1);
set_num_hitboxes(AT_EXTRA_3, 1);