script "Infinite Continues"  
run:
    poke $100490 $64
script "Infinite Time"  
run:
    poke $100482 $99
script " "  
script "P1 Infinite Lives"  
run:
    poke $100CF7 $63
script "P1 Infinite Energy"  
run:
    poke $100CF6 $06
script "P1 Infinite Bombs"  
run:
    poke $100CF5 $06
script "P1 Max Weapon Power"  
run:
    poke $100CF8 $02
script "P1 Invincibility"  
run:
    poke $100C67 $02
script "P1 Permanent '8 Power' 'ON'"  
run:
    poke $100CC2 $01
script "P1 Permanent '8 Power' 'OFF'"  
on:
    poke $100CC2 $00
script " "  
script "P2 Infinite Lives"  
run:
    poke $1011F7 $63
script "P2 Infinite Energy"  
run:
    poke $1011F6 $06
script "P2 Infinite Bombs"  
run:
    poke $1011F5 $06
script "P2 Max Weapon Power"  
run:
    poke $1011F8 $02
script "P2 Invincibility"  
run:
    poke $101167 $02
script "P2 Permanent '8 Power' 'ON'"  
run:
    poke $1011C2 $01
script "P2 Permanent '8 Power' 'OFF'"  
on:
    poke $1011C2 $00
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
