<mamecheat version="1">

  <cheat desc="Infinite Money">
    <script state="run">
      <action>maincpu.pb@D88158=27</action>
      <action>maincpu.pb@D88159=0F</action>
    </script>
  </cheat>

  <cheat desc="CPU Money Permanently 0">
    <script state="run">
      <action>maincpu.pb@D88156=00</action>
      <action>maincpu.pb@D88157=00</action>
    </script>
  </cheat>

  <cheat desc=" "/>
  <cheat desc="The winning hand cheat must be activated when there are 14 tiles in your"/>
  <cheat desc="hand, then press the RON key ('Z' by default). The tiles do not visually"/>
  <cheat desc="change until you make a move."/>
  <cheat desc=" "/>

  <cheat desc="Always winning hand">
    <script state="run">
      <action>sub.pd@00C100=00000000</action>
      <action>sub.pd@00C104=00000000</action>
      <action>sub.pd@00C108=00000000</action>
      <action>sub.pd@00C110=00000000</action>
      <action>sub.pd@00C114=00000000</action>
      <action>sub.pb@00C118=00</action>
      <action>sub.pd@00C120=00000000</action>
      <action>sub.pd@00C124=00000000</action>
      <action>sub.pb@00C128=00</action>
      <action>sub.pd@00C130=00000302</action>
      <action>sub.pd@00C134=00030303|(sub.pd@00C134 BAND ~00FFFFFF)</action>
      <action>sub.pd@00C600=00000000</action>
      <action>sub.pd@00C604=00000000</action>
      <action>sub.pd@00C608=00000000</action>
      <action>sub.pd@00C610=00000000</action>
      <action>sub.pd@00C614=00000000</action>
      <action>sub.pb@00C618=00</action>
      <action>sub.pd@00C620=00000000</action>
      <action>sub.pd@00C624=00000000</action>
      <action>sub.pb@00C628=00</action>
      <action>sub.pd@00C630=00000302</action>
      <action>sub.pd@00C634=00030303|(sub.pd@00C634 BAND ~00FFFFFF)</action>
    </script>
  </cheat>

  <cheat desc="Watch tile A - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88019)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile B - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D8801B)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile C - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D8801D)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile D - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D8801F)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile E - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88021)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile F - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88023)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile G - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88025)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile H - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88027)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile I - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88029)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile J - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D8802B)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile K - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D8802D)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile L - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D8802F)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile M - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88031)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile N - Player">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88033)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile A - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D8806F)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile B - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88071)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile C - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88073)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile D - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88075)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile E - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88077)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile F - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88079)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile G - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D8807B)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile H - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D8807D)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile I - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D8807F)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile J - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88081)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile K - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88083)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile L - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88085)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile M - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88087)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch tile N - C.P.U.">
    <script state="run">
      <output format="%02X">
        <argument>maincpu.pb@(D88089)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc=" "/>
  <cheat desc="Here is the look-up list for the above watches."/>
  <cheat desc="value     common name    chinese"/>
  <cheat desc="??h       - no tile -"/>
  <cheat desc="00h-08h   1-9 'chars'    1-9 'wan'"/>
  <cheat desc="10h-18h   1-9 'dots'     1-9 'tung'"/>
  <cheat desc="20h-28h   1-9 'bamboo'   1-9 'tiao'"/>
  <cheat desc="30h-33h   East,South,West+North 'wind'"/>
  <cheat desc="34h-36h   White,Green+Red 'dragon'"/>

</mamecheat>
<!-- Cheat file downloaded from http://www.mamecheat.co.uk, see cheat.txt for list of contributors. -->
