Sure:
Saving Line: gosub convert_vars:save array "Data1", svar(15)
Loading Line: load array "Data1", svar(15):gosub use_vars
Here are the gosubs:
convert_vars:
dim svar(15)
svar(1)=potion#
svar(2)=elixer#
svar(3)=strgem#
svar(4)=x
svar(5)=y
svar(6)=scene#
svar(7)=done#
svar(8)=done2#
svar(9)=said#
svar(10)=found#
svar(11)=HPPLAYER#
svar(12)=HPPLAYERMAX#
svar(13)=MPPLAYER#
svar(14)=MPPLAYERMAX#
svar(15)=STRPLAYER#
return
use_vars:
potion#=svar(1)
elixer#=svar(2)
strgem#=svar(3)
x=svar(4)
y=svar(5)
scene#=svar(6)
done#=svar(7)
done2#=svar(8)
said#=svar(9)
found#=svar(10)
HPPLAYER#=svar(11)
HPPLAYERMAX#=svar(12)
MPPLAYER#=svar(13)
MPPLAYERMAX#=svar(14)
STRPLAYER#=svar(15)
return
At the beginning of my game I just use dim svar(15) to intialise it.
I described how this system of saving was supposed to work in the first post.
Thanks for the response!