If you check files there is folder "scripts" and inside should be file called "gen_GenerateSprite.gml" This is where my generation algorithm is allocated. You can open it with notepad++ if you don't have GMS. Everything is well commented if you will have problem in understanding anything then ask questions here :)