Similarly, to load the data back, you'd use another numerical array and the LOAD command. You can keep the array empty as it will be expanded automatically. All data will be in the same order as you saved it. I suggest wrapping the load in a CHKFILE conditional.
IF CHKFILE("DAT:FILENAME") THEN
DIM LOADARR[0]
LOAD "DAT:FILENAME",LOADARR,FALSE
HP=LOADARR[0]
XP=LOADARR[1]
IDK=LOADARR[2]
ENDIF
0そうだね プレイ済み