To do the enemies and wall thing, you would need to keep track of how many enemies there are in each room. Then when an enemy dies you just have to decrease the enemy counter and then you can just check if it is equal 0. Also a little Tip, from what I've seen when decompiling the game (just doing it for fun), you can use a single enemy class and then just derive from it to create different behaviour for each one.