This context comes form the video game "Divinity Original Sin II"
The skeleton reaches into the folds of his robes and pulls out a small black mass
What does the folds mean? It appeared in the game twice already. The other time it was a letter that was also in the folds of a robe.
- a mark, crease, or hollow made by folding (source:Collins English Dictionary)
The definition says "hollow made by folding". Pocket is a hollow so I guess if you folded fabric with which you were making a piece of clothing you might make a pocket but this would require some stitching and not only folding. Does fold simply mean pocket?