Page 1 of 1

[lkage] The Legend of Kage

Posted: Sun Dec 11, 2011 6:30 pm
by nolberto82
lkage.xml

Code: Select all

  <cheat desc="Hit Anywhere"> <comment>Shurikens only.</comment>
    <script state="run">
      <action>maincpu.mb@5CED=00</action>
    </script>
  </cheat>

Re: [lkage] The Legend of Kage

Posted: Sun Dec 11, 2011 8:46 pm
by Pugsy
Thanks, added and replicated for the various clones.

Re: [lkage] The Legend of Kage

Posted: Sun Jan 28, 2024 2:15 pm
by jman
Sorry about bump of the oldest thread. But this code causes the game crash in playing the game.
Don't report to MAME testers as "bug" even if you encounter this accident. Because the reason is due to cheat.

Unfortunately, current database based on 0.259 doesn't have in-game ROM check skipper.

Code: Select all

    <cheat desc="skip in-game rom check">
        <comment>don't turn off when you use any ROM codes to prevent from the game crash</comment>
        <script state="on">
            <action>temp0 = maincpu.mb@DFA0</action>
        </script>
        <script state="run">
            <action>maincpu.mb@DFA0 = C9</action>
        </script>
        <script state="off">
            <action>maincpu.mb@DFA0 = temp0</action>
        </script>
    </cheat>
$DFA0 is common address for in-game ROM check routine in all sets.

Re: [lkage] The Legend of Kage

Posted: Mon Apr 01, 2024 2:06 pm
by Pugsy
Thanks, added