A little bug, while having one hit left to be defeated if you go do a transition lets say go to the houses , the slimes are still moving and if they hit you while doing the transition the character is defeated but the transition takes effect and when you are back to the houses your health will be at max and you will be on the spot where the transition takes you as normal, I think it there should be some code added to have all enemies and enemy projectiles (if there are going to be any) to freeze frame so the transition can go as intended .