[sfa3]Street Fighter Alpha3

This forum is for posting M.A.M.E. arcade cheats. Requests will be fulfilled here....but please keep the requests to the requests forum.
Post Reply
M.bison resaecher
Posts: 1
Joined: Tue Jul 01, 2025 7:53 am

[sfa3]Street Fighter Alpha3

Post by M.bison resaecher »

Gentleman Pugsy, nice to meet you and how are you doing?
(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>
The code is limited to Shin-Bison, Continue adding up to the gauge limit of 90, For each frame selected by pram, Write the value obtained by adding 1 to the gauge amount to temp0, then write it back.
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. :P
User avatar
Pugsy
Posts: 3689
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 19 times
Contact:

Re: [sfa3]Street Fighter Alpha3

Post by Pugsy »

Cheat engine uses pretty much the standard C notation so == is "if equal to" and % will return the remainder of dividing frame by param.

The use of the temp0 variable is pointless in this case, basically it would just be
maincpu.pb@FF851F=(maincpu.pb@FF851F)+1

could be even simpler like this:-

Code: Select all

  <cheat desc="P1 Shin-Bison's Guage boiling!">
    <script state="run">
      <action condition="(maincpu.pb@FF855D==01) AND (maincpu.pb@FF851F LT 90) AND (frame % 2 == 0)">maincpu.pb@FF851F+=1</action>
    </script>
  </cheat>
But not sure of the point of the cheat.

(frame % 2 == 0)
is
every 2nd frame
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.264 XML cheat collection (3 APRIL 2024) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/SxsQUJoT#jBdz6GLm_ ... QzFGSMms2c (ZIP Archive 3.8 MB)
Post Reply