As an AI language model, I can help guide you on how to create a simple text-based game using JavaScript enclosed in script tags within a single HTML file. Please note that creating a fully functional game like Mortal Kombat 9 would be beyond the scope of a simple implementation. However, I can help you get started with a text-based game. Here's an example:
Please note that this is just a basic structure, and you need to define the actual game logic and battle scenarios as per your requirements. This implementation simply provides a starting point for you to build upon and expand your game.