How To: Autocode to LunaLua

This is a guide for converting LunaDLL autocode to SMBX2's LunaLua code. Note that this guide is still incomplete; please refer to the LunaDLL Autocode Reference and LunaLua API for commands and functions not yet featured here.

Important Notes

 * The player2 keyword can be substituted for player to apply any filters/behavior/etc. to the second player instead of the first.
 * Some autocode commands do not have a LunaLua equivalent yet or do not require a LunaLua equivalent due to differences in how code is structured in the two languages.