If it has bytes, we can change it. Talk about anything relating to hacking and emulation here.

Moderators: General Moderator, Game Moderator


Postby Gogo13 » Wed Feb 23, 2011 10:10 am

I've been just wasting some time trying to make morph longer/faster to re-enable with no success, so a quick question on coding:
(If anyone has already altered morph successfully, feel free to ignore this question and dump your awesomeness on the forum.)

Code: Select all
C2/5E2F: B9 D8 3E     LDA $3ED8,Y (Which character it is)
C2/5E32: C9 00        CMP #$00
C2/5E34: D0 13        BNE $5E49   (Branch if not Terra)
C2/5E36: A5 F1        LDA $F1
C2/5E38: F0 0F        BEQ $5E49
C2/5E3A: 04 F0        TSB $F0
C2/5E3C: A5 FB        LDA $FB     (Number of Magic Points gained from battle)
C2/5E3E: 0A           ASL         (* 2)
C2/5E3F: 6D F6 1C     ADC $1CF6   (Add to Morph supply)
C2/5E42: 90 02        BCC $5E46   (If it didn't overflow, branch)
C2/5E44: A9 FF        LDA #$FF    (Since it DID overflow, just set it to maximum)
C2/5E46: 8D F6 1C     STA $1CF6   (Set Morph supply)

C2/5E3E: 0A is an ASL that apparently doubles magic points gained at the end of battle. The higher tallied, the faster Terra can morph again. Can 0A be turned into anything that quadruples, etc?
User avatar
Regular User
Regular User
Posts: 163
Joined: Sun Nov 14, 2010 10:42 pm

Return to ROM Hacking and Emulation

Who is online

Users browsing this forum: No registered users and 2 guests