event_inherited();

hp = 16;

fly_spd = 6;
var _dir = random_range(15, 45);
x_base_spd = lengthdir_x(fly_spd, _dir);
y_base_spd = lengthdir_y(fly_spd, _dir);

facing_y = 1;

credit = 5;

enemy_ai = enemy_flying_ai;

hitbox = enemy_create_hitboxMC(56, 56);

set_sprite(sEnemyFlying);