Users browsing this thread: 1 Guest(s)
Two question - regen, imp -
02-05-2014, 07:21 AM
hello everyone.
I have two question.
1, regen
Can I do the upper limit of the amount of regen recovery?
I want to change the 254-512(or more), the upper limit.
2,imp
Is it possible to not display the animation of weapon when status imp?
(like a no weapon)
I'm sorry you have just always question. Please let me know if anyone knows someone.
I have two question.
1, regen
Can I do the upper limit of the amount of regen recovery?
I want to change the 254-512(or more), the upper limit.
2,imp
Is it possible to not display the animation of weapon when status imp?
(like a no weapon)
I'm sorry you have just always question. Please let me know if anyone knows someone.
02-05-2014, 10:54 AM
both of these require a lot of hard code ASM hacking, its possible, but it'll be a long and difficult process, I doubt you are going to find anyone willing to do it for you, if anyone can find the offsets and know how to change what into what then they can guide you in the right direction
"Sometimes ninjas do wrong to each other, and in dat way the force of tha earf' comes around da moon - and at that presence, da dirt, it overshadows the grass, so you're like, I can't cut dis grass, there's no sun comin' through. So in order to enable each other the two fruits have to look each other in da eye and understand we can only be right, as da ripe is wrong, you know what I mean?"
-HNIC
As for your regen question the damage is set on 1 byte ($11A6). $11A7 being taken for something else labeled as special byte 3, you won't be able to allocate the damage on two bytes, unless you find free RAM (if that ever exists). If you manage to do that, you would also have to change some code where the damage/battle power ($11A6) is used.
Here's how regen is calculated, according to Assassin's C2 disassembly:
Here's how regen is calculated, according to Assassin's C2 disassembly:
Code:
C2/5051: B9 40 3B LDA $3B40,Y (Stamina) (Figure damage)
C2/5054: 85 E8 STA $E8
C2/5056: C2 20 REP #$20
C2/5058: B9 1C 3C LDA $3C1C,Y (Max HP)
C2/505B: 20 B7 47 JSR $47B7 (Max HP * Stamina / 256)
C2/505E: 4A LSR
C2/505F: 4A LSR
C2/5060: C9 FE CMP #$00FE
C2/5063: E2 20 SEP #$20
C2/5065: 90 02 BCC $5069 (If under 254)
C2/5067: A9 FC LDA #$FC (set to 253)
C2/5069: 69 02 ADC #$02
C2/506B: 8D A6 11 STA $11A6 (Store damage in battle power)
02-05-2014, 10:26 PM
Thanks for the advice both of them!
Do I need to change the location of all damage set bit ($11A6) about regen question?
If so, it is seems difficult to me.
How about, Is it possible to be doubled or more the regen?
Do I need to change the location of all damage set bit ($11A6) about regen question?
If so, it is seems difficult to me.
How about, Is it possible to be doubled or more the regen?
02-07-2014, 04:19 PM
It's not a matter of changing all the damage set code ($11A6) to your new RAM location but making an exception where that positive damage is used to use your new RAM location. I don't know where that code is though.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)