OK, well Im coding the menu system for Eternal Destiny, and its coming along fine. I have it so it will read the item, and if you do want to use the item, then it will have the desired effects on the character.
As you would probably imagine I am using FLAGS for the item slots, eg
Dim Itemflags(20)
And if an item is in the first slot then
itemflags(1)=1
Now, how can I read through the array, until I find the quickest place that an itemflags() is equal to 0? I do not want to code the whole thing by hand because I know there is a way to do this. Help please!!!
One other thing- when I find which slot is open, how can I assign each slot a different SET CURSOR value. Eg
If itemflags(2)=0 then set cursor slot2 : print "potion"
How would I assign words to SET CURSOR (yea I know, that did sound noobish didnt it
)
My brains sorta been in weird mode for a while so dont mind if these are really, really noobish questions
Thanks in advance-
RPGamer