To make a battle, remix then project. set the stats and all that stuff with 105256, then click See Inside, go to the Monster sprites code, and insert attack blocks from My Blocks into the Attack 1, Attack 2, Attack 3, and Attack 4. Then click the Green Flag, and there's your battle! If you accidentally click the Green Flag, go the backdrops, and click the custom block "Use this if you accidentally click the Green Flag!" Then you should be good to go.
Credit to Toby Fox for Undertale.