<cheat desc="Backgrounds colours always good"> <comment>This cheat remove Rugal second form bad colours glitch fix from all 8 stages backgrounds.Work for both players Rugal second form and also CPU rugal second form on all normal teams stages.</comment>
<script state="run">
<action>maincpu.mw@35390=6002</action>
<action>maincpu.mw@3539A=6000</action>
</script>
<script state="off">
<action>maincpu.mw@35390=6700</action>
<action>maincpu.mw@3539A=6600</action>
</script>
</cheat>
Pugsy,My laptop is not working that time.This rom cheat i hack almost 1 year before but second cheat is necessary.It is for PL2 or maybe CPU rugal second form comes normal stages with character select cheat,backgrounds is good with second cheat for CPU or PL2.
zakria wrote: ↑Mon Jun 15, 2020 11:10 am
but second cheat is necessary.It is for PL2 or maybe CPU rugal second form comes normal stages with character select cheat,backgrounds is good with second cheat for CPU or PL2.
Sorry, Im not sure you uderstand 68000 assembly enough...
Original Code:
03538A: cmpi.w #$19, ($170,A5)
035390: beq $3539e
035394: cmpi.w #$19, ($370,A5)
03539A: bne $353a4
03539E: jsr $31c4.l
0353A4: clr.l ($104c,A5)
You changed four bytes:-
03538A: cmpi.w #$19, ($170,A5)
035390: bra $35394
035394: cmpi.w #$19, ($370,A5)
03539A: bra $353a4
03539E: jsr $31c4.l <--code never run
0353A4: clr.l ($104c,A5)
You could of just changed two bytes to do the same thing:-
03538A: cmpi.w #$19, ($170,A5)
035390: bra $353a4
035394: cmpi.w #$19, ($370,A5) <--code never run
03539A: bne $353a4 <--code never run
03539E: jsr $31c4.l <--code never run
0353A4: clr.l ($104c,A5)