just backpack the sprite splat(:2 and ur all good so basicly i coded it to spit out diamond armor and axes and swords. take out the forever loop in it but keep the repeat 6. Tags (:<
thanks to @griffpatch for the tiles sprite.