Users browsing this thread: 1 Guest(s)
Kefka final battle and Statue of the Gods 3 tier Question

#8
Posts: 181
Threads: 3
Thanks Received: 26
Thanks Given: 4
Joined: Apr 2015
Reputation: 18
Status
None
Here is the relevant code:

Code:
C2/4A31: BD A0 3A     LDA $3AA0,X
C2/4A34: 4A           LSR
C2/4A35: 90 1D        BCC $4A54       ; $3AA0.0 branch if character is not present
C2/4A37: BD E4 3E     LDA $3EE4,X
C2/4A3A: 89 C2        BIT #$C2
C2/4A3C: D0 16        BNE $4A54       ; branch if character has zombie, poison, or wound status
C2/4A3E: BD 05 32     LDA $3205,X
C2/4A41: 89 04        BIT #$04
C2/4A43: F0 0F        BEQ $4A54       ; branch if character has air anchor effect ($3205.2)
C2/4A45: C2 20        REP #$20
C2/4A47: BD F8 3E     LDA $3EF8,X     ; status 3 & 4
C2/4A4A: 29 FE EE     AND #$EEFE      ; remove dance, rage, and trance status
C2/4A4D: 9D F8 3E     STA $3EF8,X
C2/4A50: E2 20        SEP #$20
C2/4A52: 80 14        BRA $4A68
C2/4A54: A9 FF        LDA #$FF
C2/4A56: 9D D8 3E     STA $3ED8,X     ; clear actor
C2/4A59: BD 18 30     LDA $3018,X
C2/4A5C: 1C 2C 3F     TRB $3F2C       ; clear jump/seize characters
C2/4A5F: 1C 2E 3F     TRB $3F2E       ; clear characters with an esper equipped
C2/4A62: 1C 2F 3F     TRB $3F2F       ; clear characters that have used a desperation attack
C2/4A65: 20 9E 4A     JSR $4A9E       ; clear all statuses

It removes characters with zombie, poison, and dead status, which are all in status byte 1. Near fatal status is in status byte 2, so you would need to modify this code a bit to get it to check that as well. An easy way would be to remove the air anchor check since that's unlikely to be applied to a character. Replace five bytes at C2/4A3F with E5 3E 89 02 D0. I think that should do it.

Again though, if all of your remaining characters are dead or near-fatal this will give you an empty party. If there are no characters left to replace them the game will probably hang.
  Find
Quote  



Messages In This Thread
RE: Kefka final battle and Statue of the Gods 3 tier Question - by Everything - 07-10-2023, 09:34 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite