bchopper.xml
Code: Select all
<cheat desc="Always have Shield">
<script state="run">
<action>maincpu.pw@A0ABE = 0014</action> <!-- counter -->
<action>maincpu.pb@A3762 = 01</action> <!-- flag -->
</script>
<script state="off">
<action>maincpu.pw@A0A80 = 4CC7</action> <!-- call address -->
<action>maincpu.pw@A0ABE = FFFF</action>
<action>maincpu.pb@A3762 = 00</action>
</script>
</cheat>
Code: Select all
<cheat desc="Always have Shield">
<script state="run">
<action>maincpu.pw@A0ABE = 0014</action> <!-- counter -->
<action>maincpu.pb@A3762 = 01</action> <!-- flag -->
</script>
<script state="off">
<action>maincpu.pw@A0A80 = 4CBA</action> <!-- call address -->
<action>maincpu.pw@A0ABE = FFFF</action>
<action>maincpu.pb@A3762 = 00</action>
</script>
</cheat>
bchopper.xml and mrheli.xml
Code: Select all
<cheat desc="Select Starting Stage">
<comment>common code for both players</comment>
<parameter>
<item value="0x0000">Stage 1</item>
<item value="0x0003">Stage 1 (Maze)</item>
<item value="0x0005">Stage 2</item>
<item value="0x0008">Stage 2 (Maze)</item>
<item value="0x000B">Stage 3</item>
<item value="0x000E">Stage 3 (Maze)</item>
<item value="0x0012">Stage 4</item>
<item value="0x0015">Stage 4 (Maze)</item>
<item value="0x0018">Stage 5</item>
<item value="0x001B">Stage 5 (Maze)</item>
<item value="0x001D">Stage 6</item>
</parameter>
<script state="run">
<action condition="maincpu.pw@A296E == 0000">maincpu.pb@A296E = param</action>
</script>
</cheat>