script "P1 Infinite Continues"  
run:
    poke $10090C $64
script "P1 Minimum Piece Speed"  
run:
    poke $100642 $00
    poke $100643 $00
script "P1 Max L-Ball"  
run:
    poke $100904 $0C
script "P1 Select Perm. Next Shape" \
 "comm:Use this during Play Only!" \
 "0x00/Red"\
 "0x01/Purple"\
 "0x02/Orange"\
 "0x03/Blue"\
 "0x04/Yellow"\
 "0x05/Green"\
 "0x06/Cyan" 
run:
    poke $100673 param
script "P1 Select Temp. Next Shape" \
 "comm:Use this during Play Only!" \
 "0x00/Red"\
 "0x01/Purple"\
 "0x02/Orange"\
 "0x03/Blue"\
 "0x04/Yellow"\
 "0x05/Green"\
 "0x06/Cyan" 
change:
    poke $100673 param
script " "  
script "P2 Infinite Continues"  
run:
    poke $100C1C $64
script "P2 Minimum Piece Speed"  
run:
    poke $100952 $00
    poke $100953 $00
script "P2 Max L-Ball"  
run:
    poke $100C14 $0C
script "P2 Select Perm. Next Shape" \
 "comm:Use this during Play Only!" \
 "0x00/Red"\
 "0x01/Purple"\
 "0x02/Orange"\
 "0x03/Blue"\
 "0x04/Yellow"\
 "0x05/Green"\
 "0x06/Cyan" 
run:
    poke $100983 param
script "P2 Select Temp. Next Shape" \
 "comm:Use this during Play Only!" \
 "0x00/Red"\
 "0x01/Purple"\
 "0x02/Orange"\
 "0x03/Blue"\
 "0x04/Yellow"\
 "0x05/Green"\
 "0x06/Cyan" 
change:
    poke $100983 param
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=maincpu.rd@C1315C
    temp1=maincpu.rd@C1314E
    temp2=maincpu.rd@C131E8
    temp3=maincpu.rd@C13184
    temp4=maincpu.rd@C1212E
    temp5=maincpu.rd@C134FA
run:
    if (maincpu.rd@C1315C==$51CFFFF2)
      maincpu.rd@C1315C=$6000EB08
    endif
    if (maincpu.rd@C1314E==$51CFFFF2)
      maincpu.rd@C1314E=$6000EB16
    endif
    if (maincpu.rd@C131E8==$51CFFFF2)
      maincpu.rd@C131E8=$6000EA52
    endif
    if (maincpu.rd@C13184==$51CFFFF2)
      maincpu.rd@C13184=$6000EAB6
    endif
    if (maincpu.rd@C1212E==$51CFFFF2)
      maincpu.rd@C1212E=$6000EB36
    endif
    if (maincpu.rd@C134FA==$51CFFFF2)
      maincpu.rd@C134FA=$6000E892
    endif
off:
    maincpu.rd@C1315C=temp0
    maincpu.rd@C1314E=temp1
    maincpu.rd@C131E8=temp2
    maincpu.rd@C13184=temp3
    maincpu.rd@C1212E=temp4
    maincpu.rd@C134FA=temp5
script "Infinite Credits" \
 "comm:Alternatively just set Free Play to ON in the Dip Switches menu"  
run:
    maincpu.rb@D00034=$99
