whupsie. looks like i introduced quite some errors when adding boundary checks for the maps.
i’ll just found more “once in a blue moon errors”.
for now you can just add the following before line 226
xmin,ymin = 60,60
i’ll cut out the level generation code in a seperate file and clean it up later on.
[edit] more whupsie … totaly broke the level saving code… i tried to fix it. download link is upadted