Users browsing this thread: 1 Guest(s)
World of Ruin Dance backgrounds patch
05-08-2018, 04:45 PM
Yup, here's the code for the Dance command:
Look at C2/17A3 - C2/17AB. You'll want to replace those bytes with NOP (hex opcode: EA) using your hex editor. Or you can just overwrite the code at C2/17A3 with JMP $1741 (4C 41 17).
Code:
Dance
C2/177D: B9 F8 3E LDA $3EF8,Y
C2/1780: 09 01 ORA #$01
C2/1782: 99 F8 3E STA $3EF8,Y (Set Dance status)
C2/1785: A9 FF LDA #$FF
C2/1787: 85 B7 STA $B7 (default animation to not affecting background)
C2/1789: B9 E1 32 LDA $32E1,Y (Which dance is selected for this character)
C2/178C: 10 06 BPL $1794 (branch if already defined)
C2/178E: AD 6F 3A LDA $3A6F (if not, read a "global" dance variable set
by last character to choose Dance)
C2/1791: 99 E1 32 STA $32E1,Y (and save it as this character's dance)
C2/1794: AE E2 11 LDX $11E2
C2/1797: DF 5B 8E ED CMP $ED8E5B,X (Check if current background is associated with
this dance)
C2/179B: F0 A4 BEQ $1741 (Branch if it is)
C2/179D: 20 53 4B JSR $4B53 (random, 0 or 1 in Carry)
C2/17A0: 90 0D BCC $17AF (50% chance of branch and stumble)
C2/17A2: AA TAX
C2/17A3: BF AB F9 D1 LDA $D1F9AB,X (get default background for this Dance)
C2/17A7: 85 B7 STA $B7 (set it in animation)
C2/17A9: 8D E2 11 STA $11E2 (and change current background to it)
C2/17AC: 4C 41 17 JMP $1741 (BRA $1741?)
Look at C2/17A3 - C2/17AB. You'll want to replace those bytes with NOP (hex opcode: EA) using your hex editor. Or you can just overwrite the code at C2/17A3 with JMP $1741 (4C 41 17).
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)