Page 1 of 1
[sf2ce] Cheat for disable Vega from leaning on the fence, when doing the "Barcelona attack" on Vega's stage
Posted: Sun May 12, 2024 3:19 am
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,
Re: [sf2ce] Cheat for disable Vega from leaning on the fence, when doing the "Barcelona attack" on Vega's stage
Posted: Sun May 12, 2024 9:57 pm
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>
Re: [sf2ce] Cheat for disable Vega from leaning on the fence, when doing the "Barcelona attack" on Vega's stage
Posted: Mon May 13, 2024 6:05 am
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.
Re: [sf2ce] Cheat for disable Vega from leaning on the fence, when doing the "Barcelona attack" on Vega's stage
Posted: Thu May 16, 2024 11:54 am
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>