Skip to content
This repository was archived by the owner on Jul 15, 2021. It is now read-only.

Commit

Permalink
Merge pull request #18 from dshahidehpour/master
Browse files Browse the repository at this point in the history
Fireballs on enemy use Kick.wav
  • Loading branch information
Josh Goldberg committed Oct 10, 2013
2 parents 95e0662 + a317009 commit ac9e0be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions things.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function FireBall(me, moveleft) {
}
function fireEnemy(enemy, me) {
if(!me.alive || me.emerging || enemy.nofire || enemy.height <= unitsize) return;
playLocal("Bump.wav", me.right);
playLocal("Kick.wav", me.right);
if(!enemy.solid) {
enemy.death(enemy, 2);
scoreEnemyFire(enemy);
Expand Down Expand Up @@ -3009,4 +3009,4 @@ function Collider(me, size, funcs) {
}
setSolid(me, "collider blue " + me.func.name);
me.hidden = true;
}
}

0 comments on commit ac9e0be

Please sign in to comment.