[zokumahj] Zoku Mahjong Housoukyoku (Japan)
Posted: Sat Apr 12, 2014 2:32 am
When learning how to make codes, games on similar hardware are always a good place to start looking, especially if they're of the same genre, and same company or partner company thereof... here's one where it's a sequel, at least, as sequel as you're going to get for games of this particular type back in the day, that borrows it's code from it's predecessor (which is to say [mhhonban] - as such, the text/comments can be reused) well, to the point that all you need to do is change the first character in the address locations from a 4 to a C. Sometimes you get lucky and they're the same, but not this time. Now, it looks like this instead...
Code: Select all
<cheat desc="Get winning hand Now!">
<script state="on">
<action>maincpu.pd@C0578=31313132</action>
<action>maincpu.pd@C057C=32323333</action>
<action>maincpu.pd@C0580=33343434</action>
<action>maincpu.pw@C0584=3535</action>
</script>
</cheat>
<cheat desc="Always winning hand">
<script state="run">
<action>maincpu.pd@C0578=31313132</action>
<action>maincpu.pd@C057C=32323333</action>
<action>maincpu.pd@C0580=33343434</action>
<action>maincpu.pw@C0584=3535</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@(C0578 + 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@(C0370 + argindex)</argument>
</output>
</script>
</cheat>