fixed enemy generation (div by 0), improved combat methods, ordered code.