Users browsing this thread: 1 Guest(s)
Just a thought

#2
Posts: 2,550
Threads: 98
Thanks Received: 148
Thanks Given: 160
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
It looks like there is actually an unused function that works just like the HP healing Tintinabar, but for MP.
At C0/4A6F it checks for the Tintinabar, and if it is equipped it branches to a jump that goes to C0/AEE8, which is the routine to heal HP (I think).

C0/4A6C: B92316 LDA $1623,Y (Load character's relic 1)
C0/4A6F: C9E5 CMP #$E5 (Is it Tintinabar?)
C0/4A71: F007 BEQ $4A7A (Branch if it is)
C0/4A73: B92416 LDA $1624,Y (Load character's relic 2)
C0/4A76: C9E5 CMP #$E5 (Is it Tintinabar?)
C0/4A78: D019 BNE $4A93 (Branch if it's not)
C0/4A7A: 20E8AE JSR $AEE8
etc.

So I'm guessing that maybe changing that JSR to
$A3AF (C0/AFA3) so it jumps to what looks like the same routine but for MP healing might just work... Or it might not work the same at all, considering it's MP, I'm really not sure. Might fill it to max or something on one step. I should test this before even posting...

EDIT: Okay sadly there must be more to it than this, it doesn't seem to do anything for MP and still heals HP, changed two other instances of $AEE8 but no dice. *slaps self for attempting to answer an assembly-related question*


We are born, live, die and then do the same thing over again.
Quote  



Messages In This Thread
Just a thought - by Cyprus - 07-03-2015, 09:07 PM
RE: Just a thought - by Gi Nattak - 07-03-2015, 10:18 PM
RE: Just a thought - by HatZen08 - 07-04-2015, 06:05 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite