The black square is the player character and the red squares are enemies. When the bar fills up the menu will appear. Navigate the menu using the arrow keys and press Z to select an option.
This is a simple engine I made for an RPG game. It has damage calculation based on stats, working menus, and animated attacks. If you want to use this to make a game please give credit :)