diff --git a/src/objects/Enemy.ts b/src/objects/Enemy.ts index fc9a501..751b7ef 100644 --- a/src/objects/Enemy.ts +++ b/src/objects/Enemy.ts @@ -93,7 +93,7 @@ export function enemy(options: Partial = {}): EnemyComp { play('enemy_squash', { volume: getVol(DATA_SFX_VOL) }); this.trigger(ON_SQUASH, this); wait(0.5, ()=>this.pos = vec2(-50)); - wait(randi(8, 20), ()=>{ + wait(randi(8, 15), ()=>{ this.setAnim(vec2(0)); this.pos = opt.pos.clone(); this.unfreeze();