This is a simple minigame I decided to make. The concept is taken from Fire Emblem, but with a few key differences. The arena master offers you a wager. If you accept, you are pitted against an opponent. The difficulty of the opponent is determined by how high the wager is. If you win, you get double your wager. If you lose, you die, and you lose your money. This minigame is exactly the same except for two differences.1.
You get to make the wager. This lets you spend as much or as little as you desire, as well as lets you choose the difficulty of your opponent. This minigame lets you choose any number between 1 and 999 (can be changed), and still doubles your bet if you win.2.
If you lose, you don't die. You are fully recovered, but you still lose the money. This can be fixed, however, if you want the loser to die.
It's pretty simple, just follow the events in the demo, and with enough eventing knowledge, it's pretty easy to figure out.