This is an algorithm which is made to update save codes for growing games. An adapted version can be used to update save codes for @sippingcider's game Adventures in Phycia: https://scratch.mit.edu/projects/237787163/
https://scratch.mit.edu/discuss/post/3347616/ Sorry it's a bit messy, I should probably add comments. List A is a users save list. List B is a blank save list. When changes are made to List B, they are saved in Versions so that the user's save data in List A can be updated. The first item of each list holds its version. List A can be updated multiple versions up to B as long as Versions is kept.