- AtariAge Forums
- → Viewing Profile: Topics: RevEng
Male
Wed Sep 21, 2011 11:24 AM
Sat Aug 20, 2011 11:45 AM
rem ***** do this...
timer=0:level=0:deathflag=0:soundindex=0
rem ***** instead of this...
timer=0
level=0
deathflag=0
soundindex=0
rem ***** do this... if lives=1 then gosub utilityjump health=1 gosub utilityjump goto mainloop utilityjump goto utility bank3 rem ***** instead of this... if lives=1 then gosub utility bank3 health=1 gosub utility bank3 goto mainloop
rem ***** use this... if lives=3 then temp1=0:gosub enterbank2 if enemies=0 then temp1=1:gosub enterbank2 if gold=1 then temp1=2:gosub enterbank2 goto mainloop enterbank2 goto dispatcher2 bank2 bank 2 dispatcher2 on temp1 goto routine1 routine2 routine3 routine1 rem do stuff return otherbank routine2 rem do stuff return otherbank routine3 rem do stuff return otherbank rem ***** instead of this... if lives=3 then temp1=0:gosub routine1 bank2 if enemies=0 then temp1=1:gosub routine2 bank2 if gold=1 then temp1=2:gosub routine3 bank2 goto mainloop bank 2 routine1 rem do stuff return otherbank routine2 rem do stuff return otherbank routine3 rem do stuff return otherbank
rem ***** use this... channel=songvolumechannel[i]&15 volume=songvolumechannel[i]/16 data songvolumechannel $86, $48, $84, $86 end rem ***** instead of this... channel=songchannel[i] volume=songvolume[i] data songchannel 6, 8, 4, 6 end data songvolume 8, 4, 8, 8 end
rem ***** use this... dim monster1x=g dim monster2x=h dim monster3x=i dim monster4x=j for temp1=0 to 3 if monster1x[temp1]>25 then monster1x[temp1]=1 if monster1x[temp1]<0 then monster1x[temp1]=24 next rem ***** instead of this... if monster1x>25 then monster1x=1 if monster1x<0 then monster1x=24 if monster2x>25 then monster2x=1 if monster2x<0 then monster2x=24 if monster3x>25 then monster3x=1 if monster3x<0 then monster3x=24

Find content