Megaluavania.lua

This page is still under heavy construction and by no means complete!

Megaluavania is an API that aims to recreate battles in the style of the game Undertale in SMBX.

Installation
Just download this and extract it. Then, copy the contents of the Megaluavania folder into either your level's custom graphics folder for use in a level, along with a lunadll.lua file, or in the same directory as your .wld file along with a lunaworld.lua file for use throughout an entire episode.. Rinkas;Tale, an example level, is included, too.

Setup
To enable the Megaluavania library for a specific level, add this line to lunadll.lua: This will load the megaluavania API.

Encounters
You can set up a new encounter with encounter = megaluavania.newEncounter. Then, you can set any of the following attributes: