hp=580
sp=345
IF HP<0 OR HP>99 THEN HP=99
IF SP<0 OR SP>99 THEN SP=99
SaveGame$="Data:"
SaveGame$=SaveGame$+hp$+Sp$
SAVE"TXT:SAVE",SaveGame$
LOAD "TXT:SAVE" OUT SAVEGAME$
then
HP$=MID$(GAMESAVE$,0,2)
SP$=MID$(GAMESAVE$,2,2)
hp$=val(hp)
sp$=val(sp)
1そうだね プレイ済み