Users browsing this thread: 1 Guest(s)
Roster, Party Select, Graphics OAM

#2
Posts: 383
Threads: 34
Thanks Received: 10
Thanks Given: 13
Joined: Dec 2018
Reputation: 18
Status
Moog
Not sure if this will help, but I got three hits for $D8E917 [the OAM pointer table] in the C3 bank... one at 196C for the save files, one at C0C1 for the shops, and one at 7902... which is in a subroutine that gets called during party selection.
Code:
Load pointer to actor's animation table
C3/78EB:    0A          ASL A          ; Actor x2
C3/78EC:    AA          TAX            ; Index it
C3/78ED:    C220        REP #$20       ; 16-bit A
C3/78EF:    BF6969C3    LDA $C36969,X  ; Actor address
C3/78F3:    AA          TAX            ; Index it
C3/78F4:    E220        SEP #$20       ; 8-bit A
C3/78F6:    7B          TDC            ; Clear A
C3/78F7:    BD0100      LDA $0001,X    ; Sprite set
C3/78FA:    0A          ASL A          ; Double it
C3/78FB:    AA          TAX            ; Index it
C3/78FC:    A97E        LDA #$7E       ; Bank: 7E
C3/78FE:    48          PHA            ; Put on stack
C3/78FF:    AB          PLB            ; Set DB to 7E
C3/7900:    C220        REP #$20       ; 16-bit A
     C3/7902:          BF17E9D8          LDA $D8E917,X  ; Anim table ptr
C3/7906:    99C932      STA $32C9,Y    ; Set sprite's
C3/7909:    E220        SEP #$20       ; 8-bit A
C3/790B:    60          RTS
Did you change this pointer too?
  Find
Quote  



Messages In This Thread
Roster, Party Select, Graphics OAM - by Catone - 09-03-2022, 05:40 AM
RE: Roster, Party Select, Graphics OAM - by C-Dude - 09-03-2022, 07:51 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite