[kof96] Update/ add.cheats

This forum is for posting M.A.M.E. arcade cheats. Requests will be fulfilled here....but please keep the requests to the requests forum.
Post Reply
mezdap
Posts: 150
Joined: Sun Feb 04, 2018 5:16 am
Has thanked: 3 times
Been thanked: 2 times

[kof96] Update/ add.cheats

Post by mezdap »

kof96.xml and clones

Code: Select all

  <cheat desc="Infinite Character Select Time">
    <script state="run">
      <action condition="(maincpu.pb@1085D6==1 OR maincpu.pb@1085D6==2)">maincpu.pb@1085D5=5A</action>
    </script>
  </cheat>
mezdap
Posts: 150
Joined: Sun Feb 04, 2018 5:16 am
Has thanked: 3 times
Been thanked: 2 times

Re: [kof96] Character Control by CPU

Post by mezdap »

kof96.xml, kof96h.xml

P1 Character Control by CPU:

Code: Select all

  <cheat desc="P1 Character Control by CPU (AI)">
    <script state="run">
      <action>maincpu.pb@108270=80</action>
    </script>
    <script state="off">
      <action>maincpu.pb@108270=00</action>
    </script>
  </cheat>
P2 Character Control by CPU:

Code: Select all

  <cheat desc="P2 Character Control by CPU (AI)">
    <script state="run">
      <action>maincpu.pb@108470=81</action>
    </script>
    <script state="off">
      <action>maincpu.pb@108470=01</action>
    </script>
  </cheat>
mezdap
Posts: 150
Joined: Sun Feb 04, 2018 5:16 am
Has thanked: 3 times
Been thanked: 2 times

Re: [kof96] Drain all Energy Now!

Post by mezdap »

kof96.xml, kof96h.xml

P1 Drain all Energy Now!:

Code: Select all

  <cheat desc="P1 Drain all Energy Now!">
    <script state="on">
      <action>maincpu.pb@108239=01</action>
    </script>
  </cheat>
P2 Drain all Energy Now!:

Code: Select all

  <cheat desc="P2 Drain all Energy Now!">
    <script state="on">
      <action>maincpu.pb@108439=01</action>
    </script>
  </cheat>
mezdap
Posts: 150
Joined: Sun Feb 04, 2018 5:16 am
Has thanked: 3 times
Been thanked: 2 times

Re: [kof96] Finish Round Now!

Post by mezdap »

kof96.xml, kof96h.xml

Finish Round Now!:

Code: Select all

  <cheat desc="Finish Round Now!">
    <script state="on">
      <action>maincpu.pb@10A836=00</action>
    </script>
  </cheat>
mezdap
Posts: 150
Joined: Sun Feb 04, 2018 5:16 am
Has thanked: 3 times
Been thanked: 2 times

Re: [kof96] Reselect Character

Post by mezdap »

kof96.xml, kof96h.xml

Reselect Character:

Code: Select all

  <cheat desc="Reselect Character"> <comment>Lets you reselect character on the select screen for P1 and P2.</comment>
    <script state="on">
      <action>temp0=maincpu.rw@01BD36</action>
    </script>
    <script state="run">
      <action>maincpu.rw@01BD36=6810</action> <!-- This ROM cheat was made by mezdap -->
	</script>
    <script state="off">
      <action>maincpu.rw@01BD36=temp0</action>
    </script>
  </cheat>
jman
Posts: 887
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 4 times

Re: [kof96] Update/ add.cheats

Post by jman »

mezdap wrote:

Code: Select all

  <cheat desc="Reselect Character"> <comment>Lets you reselect character on the select screen for P1 and P2.</comment>
    <script state="on">
      <action>temp0=maincpu.rw@01BD36</action>
    </script>
    <script state="run">
      <action>maincpu.rw@01BD36=6810</action> <!-- This ROM cheat was made by mezdap -->
	</script>
    <script state="off">
      <action>maincpu.rw@01BD36=temp0</action>
    </script>
  </cheat>
"68xx" is "bvc" (branch if v flag is clear)...???
If v flag is set, bvc doesn't branch so that reselect character doesn't work.
mezdap should explain why he adopts bvc.
Simply, "bra" (always branch) will be suitable, I think.

Code: Select all

    <cheat desc="Reselect Character">
        <comment>Lets you reselect character on the select screen for P1 and P2</comment>
        <script state="on">
            <action>temp0 = maincpu.rb@1BD36</action>
        </script>
        <script state="run">
            <action>maincpu.rb@1BD36 = 60</action>
        </script>
        <script state="off">
            <action>maincpu.rb@1BD36 = temp0</action>
        </script>
    </cheat>
Post Reply