(This is a machine translation from Japanese, so please forgive any awkward wording.)
I am a newbie to cheat code making, having been familiar with MAME for many years and recently started to get into ROM rewriting cheat codes in earnest.
I hope I am not mistaken, but I found something a little interesting that I have not seen in RAM poke codes.
It is a code that abuses(?) Pugsy's common use of temp. This code to create a pseudo increase along with the passage of time.
I managed to get it into shape through trial and error while making it throw up a lot of unsightly errors.
I know it is my hobbies are too intense, not suitable for use as it is, but please allow me to share it with you.
Code: Select all
<cheat desc="P1 Shin-Bison's Guage boiling!">
<parameter min="1" step="1"/>
<script state="run">
<action condition="maincpu.pb@FF855D==01 and maincpu.pb@FF851F LT 90 and(frame % param == 0)">temp0=(maincpu.pb@FF851F)+1</action>
<action condition="maincpu.pb@FF855D==01 and maincpu.pb@FF851F LT 90 and(frame % param == 0)">maincpu.pb@FF851F=temp0</action>
</script>
</cheat>
It's a little strange, but perhaps the slight time lag across two lines prevented a logical breakdown?
When turned off, the increase stops, and pram=0 causes an error.
The code that skewers the existing unique upper limit is sufficient for the function, but with this, the amount of enhancement can be adjusted as well.
Above all, the gauge of M.bison is certain and dynamically increasing, just like a last boss, and it makes our blood boil.Isn't it?
By the way, I have questions. May I assume that the % symbol represents "p" in "kmph" and other expressions? Also, I don't quite understand the expression "param == 0". == 0 Does have any special meaning? How should I interpret it?
With the help of your wonderful web page, I look forward to discovering more cheat codes in the future with a scone that full of clotted cream, in hand.
Oops, looks like the water is boiling. It's time for tea. See you.
