I set up an array called Player(2). Player(1)=100 , and Player(2)=0
I have the subs
Do
Gosub _playerstart
GoSub _Battle
Gosub _encounter
Loop
_playerstart:
Player(1)=100
Player(2)=0
Set cursor 20,20
Print "Health is At ",Player(1)
set cursor 20,40
Print "? level is At ",Player(2)
_Battle:
Set cursor 20,80
Print "Zombies Health is At ",Zombie(1)
Set cursor 20,100
Print "Zombie has ",Zombie(2)," Limbs"
SawZombie=1
_encounter:
If SawZombie=1
Player(1)=Player(1)+40
print "saw zombie"
endif
When SawZombie=1 , i want Player(2) array to increase by 40 , but it is not updating itself. Ive looked over the forum for a solution but could not find one. Help would be appreciated , Thank You
Zach
HaHaHa, Its G-Unit Baby...Running a Amd AthlonXP 2800 , 120 GB , 512 MB , Radeon 7000