[sf2ce] Cheat for disable Vega from leaning on the fence, when doing the "Barcelona attack" on Vega's stage

This FORUM is ONLY for posting requests for M.A.M.E. arcade cheats. The actual cheats should be posted in the M.A.M.E. "Arcade" Cheats forum. For cheat requests a 'please' would do no harm...
Post Reply
yacsha
Posts: 15
Joined: Tue Nov 12, 2019 6:56 am
Location: Perú
Contact:

[sf2ce] Cheat for disable Vega from leaning on the fence, when doing the "Barcelona attack" on Vega's stage

Post by yacsha »

Hello, in sf2ce I am looking for a cheat to disable Vega from leaning on the fence, when doing the "Barcelona attack", in the Vega stage, and rather from leaning on the left or right edge of the screen, as he does in the other scenarios. If anyone has an idea where to start or if there is a similar cheat that has already been developed, I would appreciate some help.

Greetings,
a big fan of SF2CE :D
Youtube channel: Yacsha Games
User avatar
Abystus
Posts: 591
Joined: Sun Jul 23, 2006 6:53 am
Has thanked: 5 times
Been thanked: 59 times

Re: [sf2ce] Cheat for disable Vega from leaning on the fence, when doing the "Barcelona attack" on Vega's stage

Post by Abystus »

Try this out and see if it is what you wanted:

sf2ce.xml

Code: Select all

  <cheat desc="Vega's Barcelona Attack Will Attach To...">
    <parameter>
      <item value="0x01">Background</item>
      <item value="0x02">Edge of Screen</item>
    </parameter>
    <script state="on">
      <action>temp0=maincpu.mw@045980</action>
    </script>
    <script state="run">
      <action condition="param==01">maincpu.mw@045980=6006</action> <!-- This Program Code cheat was made by Abystus -->
      <action condition="param==02">maincpu.mw@045980=4E71</action>
    </script>
    <script state="off">
      <action>maincpu.mw@045980=temp0</action>
    </script>
  </cheat>
Bored? Watch some of my hacks here.
yacsha
Posts: 15
Joined: Tue Nov 12, 2019 6:56 am
Location: Perú
Contact:

Re: [sf2ce] Cheat for disable Vega from leaning on the fence, when doing the "Barcelona attack" on Vega's stage

Post by yacsha »

Thank you very much Abystus, it was just what I was looking for, it works perfectly. You can even change where he will lean in the middle of the fight. It even works in a Vega mirror duel.

Best regards.
a big fan of SF2CE :D
Youtube channel: Yacsha Games
jman
Posts: 889
Joined: Tue Dec 01, 2020 1:24 pm
Been thanked: 4 times

Re: [sf2ce] Cheat for disable Vega from leaning on the fence, when doing the "Barcelona attack" on Vega's stage

Post by jman »

Abystus wrote: sf2ce.xml

Code: Select all

  <cheat desc="Vega's Barcelona Attack Will Attach To...">
    <parameter>
      <item value="0x01">Background</item>
      <item value="0x02">Edge of Screen</item>
    </parameter>
    <script state="on">
      <action>temp0=maincpu.mw@045980</action>
    </script>
    <script state="run">
      <action condition="param==01">maincpu.mw@045980=6006</action> <!-- This Program Code cheat was made by Abystus -->
      <action condition="param==02">maincpu.mw@045980=4E71</action>
    </script>
    <script state="off">
      <action>maincpu.mw@045980=temp0</action>
    </script>
  </cheat>
Abystus doesn't need to check parameter in condition. Abystus can write parameter value into $45980 directly.

Code: Select all

    <cheat desc="Vega's Barcelona Attack Will Attach To...">
        <parameter>
            <item value="0x6006">Background</item>
            <item value="0x4E71">Edge of Screen</item>
        </parameter>
        <script state="on">
            <action>temp0 = maincpu.mw@45980</action>
        </script>
        <script state="run">
            <action>maincpu.mw@45980 = param</action>
        </script>
        <script state="off">
            <action>maincpu.mw@45980 = temp0</action>
        </script>
    </cheat>
These users thanked the author jman for the post:
Abystus
Rating: 33.33%
 
Post Reply