make a database or an array and save what your player has, then load it OnStart of Layout.
In my game I use RexRainbow's CSV plugin and save everything to a "database", then load it when I go to a new layout.
No need to keep anything global, unless the sword itself has sprite-specific data --like if your swords broke after a certain amount of usage like in Minecraft, then you need to store that data across layouts, and most likely there could be many many swords.. but even then I'd use some sort of database.