<mamecheat version="1">

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

  <cheat desc="Get winning hand Now!">
    <script state="on">
      <action>maincpu.pb@FD46=31</action>
      <action>maincpu.pb@FD47=31</action>
      <action>maincpu.pb@FD48=31</action>
      <action>maincpu.pb@FD49=32</action>
      <action>maincpu.pb@FD4A=32</action>
      <action>maincpu.pb@FD4B=32</action>
      <action>maincpu.pb@FD4C=33</action>
      <action>maincpu.pb@FD4D=33</action>
      <action>maincpu.pb@FD4E=33</action>
      <action>maincpu.pb@FD4F=34</action>
      <action>maincpu.pb@FD50=34</action>
      <action>maincpu.pb@FD51=34</action>
      <action>maincpu.pb@FD52=35</action>
      <action>maincpu.pb@FD53=35</action>
    </script>
  </cheat>

  <cheat desc=" "/>
  <cheat desc="At the start of a game, there may be some small glitches on"/>
  <cheat desc="the tiles when using the 'Always' cheats. The cheats should"/>
  <cheat desc="still work as normal though."/>
  <cheat desc=" "/>

  <cheat desc="Always winning hand">
    <script state="run">
      <action>maincpu.pb@FD46=31</action>
      <action>maincpu.pb@FD47=31</action>
      <action>maincpu.pb@FD48=31</action>
      <action>maincpu.pb@FD49=32</action>
      <action>maincpu.pb@FD4A=32</action>
      <action>maincpu.pb@FD4B=32</action>
      <action>maincpu.pb@FD4C=33</action>
      <action>maincpu.pb@FD4D=33</action>
      <action>maincpu.pb@FD4E=33</action>
      <action>maincpu.pb@FD4F=34</action>
      <action>maincpu.pb@FD50=34</action>
      <action>maincpu.pb@FD51=34</action>
      <action>maincpu.pb@FD52=35</action>
      <action>maincpu.pb@FD53=35</action>
    </script>
  </cheat>

  <cheat desc="Watch 14 tiles - Player">
    <script state="run">
      <output format="%02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X">
        <argument count="14">maincpu.pb@(FD46 + argindex)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch 14 tiles - C.P.U.">
    <script state="run">
      <output format="%02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X">
        <argument count="14">maincpu.pb@(FD9B + argindex)</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="01h-09h   1-9 'chars'    1-9 'wan'"/>
  <cheat desc="11h-19h   1-9 'dots'     1-9 'tung'"/>
  <cheat desc="21h-29h   1-9 'bamboo'   1-9 'tiao'"/>
  <cheat desc="31h-34h   East,South,West+North 'wind'"/>
  <cheat desc="35h-37h   White,Green+Red 'dragon'"/>
  <cheat desc="3Fh       - no tile -"/>

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