Rockbadger weapons capture
Submitted by RockbadgerX on September 7, 2014 - 10:22pm
A screenshot of code that I wish to reduce to a simpler version rather than all the If statements.
If this appears somewhere random then I blame the Infinite Improbability Drive.
Taxonomy:
Image:

Comments
Re: Rockbadger weapons capture
Rather than variable Pn, instead use an array PA(n).
2210 WP$ = P$(PE) : GL = GL + PA(PE) : GOSUB 85 : GOTO 800
DEL 2220,2320