<cheat desc="Choose Fruit for the MultiFruit Levels"> <comment>Dictates which Fruit appears on MultiFruit Levels</comment>
<parameter>
<item value="0x00">Cherry</item>
<item value="0x01">Strawberry</item>
<item value="0x02">Orange</item>
<item value="0x03">Pretzel</item>
<item value="0x04">Apple</item>
<item value="0x05">Pear</item>
<item value="0x06">Banana</item>
<item value="0x07">Junior!</item>
</parameter>
<script state="run">
<action>maincpu.mb@18767=08</action> <!-- Random to Include 8th Fruit -->
<action>maincpu.mb@18768=3E</action>
<action>maincpu.mb@18769=param</action>
<action>maincpu.mb@187B3=16</action> <!-- Jr Fruit Color 16=Lt.Blue; Invisible 00 -->
<action>maincpu.mb@187B4=0C</action> <!-- Jr Fruit Score Sprite Correction -->
</script>
<script state="off">
<action>maincpu.mb@18767=07</action> <!-- Restore Random Code -->
<action>maincpu.mw@18768=5FED</action>
<action>maincpu.mb@187B3=00</action> <!-- Jr Fruit Color Normally Invisible 00 -->
<action>maincpu.mb@187B4=0D</action> <!-- Jr Fruit Score Sprite -->
</script>
</cheat>