Oops. Just after the line "game.save_between_maps = require("scripts/save_between_maps")" add this one:
I use that list to store entities that save their position when left in some map (it can be used with the "metal ball", although that can be used for other types of entities too).
Code Select
game.independent_entities = {}
I use that list to store entities that save their position when left in some map (it can be used with the "metal ball", although that can be used for other types of entities too).