help with lots of code

BlitzMax Forums/BlitzMax Programming/help with lots of code

I know there has to be some better way to do this, but I just can't figure it out.
Encapsulate them in objects? That way you'd be able to push/pull objects from the stack too...