Users browsing this thread: 1 Guest(s)
New patch: Banon Riding Glitch fix

#2
Posts: 2,550
Threads: 98
Thanks Received: 149
Thanks Given: 162
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
Madsiur actually made a version of this for my hack a long time ago to allow Banon's sprite and the ghost also I think. I'm fairly sure he won't mind me posting it if it might help you out with yours:

Code:
This code assume sprite 17 riding pose is at FF/2EE0 and sprite 20 at FF/5C40
funny at FF/3D20

EE/8943:    2000B0      JSR $B000      (Jump to empty space)

EE/B000:    ADFB11      LDA $11FB      (Sprite number for map character)
EE/B003:    C911        CMP #$11       (Compare to sprite ID 17)
EE/B005:    F005        BEQ $B00C
EE/B007:    C914        CMP #$14       (Compare to sprite ID 20)
EE/B009:    F012        BEQ $B01A
EE/B00B:    60            RTS               (Return if not an exception)
EE/B00C:    A960        LDA #$C0       (Low byte of sprite 17 offset)
EE/B00E:    856A        STA $6A
EE/B010:    A929        LDA #$3C       (Middle byte of sprite 17 offset)
EE/B012:    856B        STA $6B
EE/B014:    A9FF        LDA #$FF       (High byte of sprite 17 offset)
EE/B016:    856C        STA $6C
EE/B0XX   AB                       PLB
EE/B0XX   AB                       PLB
EE/B018:    4C8089        JMP $8980
EE/B01A:    A980        LDA #$40       (Low byte of sprite 20 offset)
EE/B01C:    856A        STA $6A
EE/B01E:    A94B        LDA #$5C       (Middle byte of sprite 20 offset)
EE/B020:    856B        STA $6B
EE/B022:    A9FF        LDA #$FF       (High byte of sprite 20 offset)
EE/B024:    856C        STA $6C
EE/B026: AB                      PLB
EE/B027: AB                      PLB
EE/B028:    4C8089        JMP $8980

I'm confident this was the final version of the code, it's the only one I can find in my asm files folder.


We are born, live, die and then do the same thing over again.
Quote  
[-] The following 1 user says Thank You to Gi Nattak for this post:
  • 13375K37CH3R (12-10-2015)



Messages In This Thread
RE: New patch: Banon Riding Glitch fix BETA - by Gi Nattak - 12-10-2015, 03:53 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite