script "Select starting round" \
 "comm:You should enable this cheat on the Press START button screen,  ie. after credits have been inserted!" \
 inter=1,7,1 
on:
    poke $101C87 $FF
change:
    poke $101C87 (param-$1)
script "Select next round" \
 inter=1,7,1 
change:
    poke $101C87 (param-$1)
script " "  
script "P1 Infinite Lives"  
run:
    poke $101BA1 $09
script "P1 Max Power"  
run:
    poke $101B79 $03
script "P1 Auto Fire" \
 "comm:Press F6 to stop fire"  
on:
    temp0=peek($101B7C)
run:
    if (frame%60==$0)and(peek($101B7C)!=temp0)
      poke $101B7C $01
    endif
script "P1 Invincibility"  
run:
    poke $101B9D $02
    poke $103805 $01|(peek($103805)&~$01)
script " "  
script "P2 Infinite Lives"  
run:
    poke $101BA3 $09
script "P2 Max Power"  
run:
    poke $101B7B $03
script "P2 Auto Fire" \
 "comm:Press F6 to stop fire"  
on:
    temp0=peek($101B7E)
run:
    if (frame%60==$0)and(peek($101B7E)!=temp0)
      poke $101B7E $01
    endif
script "P2 Invincibility"  
run:
    poke $101B9F $02
    poke $104405 $01|(peek($104405)&~$01)
script " "  
script "Select Cartridge/NeoGeo Type" \
 "comm:Use in conjunction with the 'Skip RAM/ROM Checks' cheat for the best effect, then enable it and reset. The Home (NEOGEO) setting may open up other aspects of the game or it may even make the game unplayable." \
 "0x80/Arcade (MVS)"\
 "0x00/Home (NEOGEO)" 
run:
    poke $10FD82 param
script "Skip RAM/ROM Checks" \
 "comm:Also allows a quicker start-up without the green screens."  
on:
    temp0=lpeek($C1315C)
    temp1=lpeek($C1314E)
    temp2=lpeek($C131E8)
    temp3=lpeek($C13184)
    temp4=lpeek($C1212E)
    temp5=lpeek($C134FA)
run:
    if (lpeek($C1315C)==$51CFFFF2)
      lpoke $C1315C $6000EB08
    endif
    if (lpeek($C1314E)==$51CFFFF2)
      lpoke $C1314E $6000EB16
    endif
    if (lpeek($C131E8)==$51CFFFF2)
      lpoke $C131E8 $6000EA52
    endif
    if (lpeek($C13184)==$51CFFFF2)
      lpoke $C13184 $6000EAB6
    endif
    if (lpeek($C1212E)==$51CFFFF2)
      lpoke $C1212E $6000EB36
    endif
    if (lpeek($C134FA)==$51CFFFF2)
      lpoke $C134FA $6000E892
    endif
off:
    lpoke $C1315C temp0
    lpoke $C1314E temp1
    lpoke $C131E8 temp2
    lpoke $C13184 temp3
    lpoke $C1212E temp4
    lpoke $C134FA temp5
script "Infinite Credits" \
 "comm:Alternatively just set Free Play to ON in the Dip Switches menu"  
run:
    poke $D00034 $99
