added conditionals, moved enemy console.log