Open pamims opened 2 years ago
The code for making hp = 0 when y > screen_height is in the oEnemyParent object's step event. The oEnemyMelee object never calls the inherited event code, so this enemy type never dies when it falls off screen. I added a temporary fix in the latest commit to alex-test branch. It will be worth reviewing the code for enemies to see if there is a better way to organize everything.
When enemy falls off screen, its death does not count toward opening the door at the end of the level.
Not sure yet if due to enemy not dying when it falls off screen or if its death is not being counted somehow.