the following is the code for the sell in my game i am making. but i am having problems. i want it to go all the way through and display a name for the type of items you have. but when i run the program it only displays the first thing it detects how could i fix that.
Code:
Code:
If L2(1)>0 or L2(2)>0 or L2(3)>0 or L2(4)>0 or L2(5)>0 or L2(6)>0 or L2(7)>0
:Then
:Goto A
:Else
:Return
:End
:Lbl A
:Text(9,28,"GOLD:
:Text(9,47,L1(7
:While L2(1)≥1
:Text(15,45,"1.HELMET
:End
:While L2(2)≥1
:Text(21,49,"2.BODY
:While L2(3)≥1
:Text(27,41,"3.LEGGINGS
:While L2(4)≥1
:Text(33,43,"4.ARMLETS
:While L2(5)≥1
:Text(39,43,"5.WEAPONS
:While L2(6)≥1
:Text(45,47,"6.BOOTS
:While L2(7)≥1
:Text(51,45,"7.GLOVES
:End
:End
:End
:End
:End
:End