Pokémaniac
Awesome Bro
Asdfghjkl I should be able to do this by now, but I can't(I've been editting scripts all day, to absolutely no success :|).
Basically, I want to be able to store a copy of the player's inventory at a point in time, then change the player's inventory to the stored version at a later point in time. So far, my messing around has got me to these 2 snippets;
in one common event
and in another common event
However, when I run this, the next time anything happens involving $game_party.items, the game crashes with the error "Script Game_Party line 52: NoMethod Error / undefined method "keys" for array blahblahblah"
I can't work out how to do this. Help please?
Basically, I want to be able to store a copy of the player's inventory at a point in time, then change the player's inventory to the stored version at a later point in time. So far, my messing around has got me to these 2 snippets;
in one common event
Code:
item = $game_party.items
$inventory = item
Code:
item = $inventory
$game_party.items = item
However, when I run this, the next time anything happens involving $game_party.items, the game crashes with the error "Script Game_Party line 52: NoMethod Error / undefined method "keys" for array blahblahblah"
I can't work out how to do this. Help please?