Hey there! ^_^
So my big question here is; How could Final Fantasy 7, Castlevania, Breath of Fire etc, have endless inventory spaces?
U can store up so ridicously many items, how does that not lag the game?
Alsow hen u open inventory in these RPG games, is it counted as a new Layout?
How can these old games on these old systems handle it?
There are a couple of ways to do inventory:
You can use an array which is a little complicated to set up and you need to study the array tutorials but works well and can store massive amounts of items.
OR you can use a separate layer or layout and use sprite place holders for items stored.
I have used both and prefer the sprite inventory for most games because I can see the items as I create them and place them as needed on the inventory screen but both work well.
You also want to study families to keep items organized.
As for lag, once the game is loaded there should not be a lag with inventory but you probably remember some of those old games had a long load time. That was a result of large inventories and music . Today's systems operate much faster so the lag time is negligible and there are a few tricks to reduce lag time on loading using streaming music and loading images only as used.