Loading Gold from a Save from another Game (Resolved by myself)

Started by G_G, April 25, 2009, 12:04:38 pm

Previous topic - Next topic

G_G

QuoteOk so I was thinking this is possible. I had this in my mind. If RMXP dumps $game_party.gold into a Save.rxdata wouldnt we be able to load the gold from that rxdata and transfer it to a different game?

Here's what I mean.
Minigames Project ~ PLay a bunch of minigames make alot of gold then save game
Main Project ~ Load the $game_party.gold from the Save1.rxdata from Minigames Project and add it into Main Projects gold.


I had this idea for something. So wouldnt it be possible? Like instead of having something in Scene_Load do
$game_party         = Marshal.load(file)

WE could do
$dummy_game_party         = Marshal.load(file)
$game_party.gain_gold($dummy_game_party.gold)


I got to thinking about this and I really think this is possible. I started to do it but I got no where :(


Nevermind I got this one all by myself!!!! I figured it out hurray!!!!!