<mamecheat version="1">

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

  <cheat desc="Get winning hand Now!">
    <script state="on">
      <action>maincpu.pb@F406=31</action>
      <action>maincpu.pb@F407=31</action>
      <action>maincpu.pb@F408=31</action>
      <action>maincpu.pb@F409=32</action>
      <action>maincpu.pb@F40A=32</action>
      <action>maincpu.pb@F40B=32</action>
      <action>maincpu.pb@F40C=33</action>
      <action>maincpu.pb@F40D=33</action>
      <action>maincpu.pb@F40E=33</action>
      <action>maincpu.pb@F40F=34</action>
      <action>maincpu.pb@F410=34</action>
      <action>maincpu.pb@F411=34</action>
      <action>maincpu.pb@F412=35</action>
      <action>maincpu.pb@F413=35</action>
    </script>
  </cheat>

  <cheat desc="Always winning hand">
    <script state="run">
      <action>maincpu.pb@F406=31</action>
      <action>maincpu.pb@F407=31</action>
      <action>maincpu.pb@F408=31</action>
      <action>maincpu.pb@F409=32</action>
      <action>maincpu.pb@F40A=32</action>
      <action>maincpu.pb@F40B=32</action>
      <action>maincpu.pb@F40C=33</action>
      <action>maincpu.pb@F40D=33</action>
      <action>maincpu.pb@F40E=33</action>
      <action>maincpu.pb@F40F=34</action>
      <action>maincpu.pb@F410=34</action>
      <action>maincpu.pb@F411=34</action>
      <action>maincpu.pb@F412=35</action>
      <action>maincpu.pb@F413=35</action>
    </script>
  </cheat>

  <cheat desc="Watch ALL 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@(F406 + argindex)</argument>
      </output>
    </script>
  </cheat>

  <cheat desc="Watch ALL 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@(F486 + 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 -"/>
  <cheat desc="38h-3Bh   'flower' (BONUS TILES?)"/>

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