øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=1490.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index1258.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&board=8.260e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index1258.html.zx:'h^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈà•¤%¶OKtext/htmlISO-8859-1gzip@øÕ%¶ÿÿÿÿÿÿÿÿWed, 11 Mar 2020 00:04:35 GMT0ó°° ®0®P®€§²ð®:'h^”%¶ Help with Runic

Author Topic: Help with Runic  (Read 3255 times)

TheNattak

  • Garula
  • *
  • Posts: 203
  • Gender: Male
  • Mike
    • View Profile
    • Return of the Dark Sorcerer
Help with Runic
« on: November 03, 2010, 01:01:44 AM »
I am trying to make it so that Runic no longer absorbs MP, but HP instead. And then from there, how much HP it absorbs also. I'm pretty sure I found where the data is I would need to look at and edit in the C2 bank. In the disassembly it's called:

Runic Function
and it starts at C2/352B and goes to C2/35B8

Problem is I do not know what to change to what. If I had to guess I would say it might be this piece of code: C2/3581: 8D A3 11     STA $11A3   (Set concern MP, not reflectable, Unblockable, Heal)
But like I say, I'm just not sure.

Lenophis

  • Forum Overlord
  • *
  • Posts: 1,688
  • Gender: Male
  • I sad
    • View Profile
    • Slick Productions
Re: Help with Runic
« Reply #1 on: November 03, 2010, 01:32:32 PM »
The line you pasted directly says "concern MP" and you aren't sure? Are you too afraid to try, or can you not read?

119 bugs fixed and counting.

TheNattak

  • Garula
  • *
  • Posts: 203
  • Gender: Male
  • Mike
    • View Profile
    • Return of the Dark Sorcerer
Re: Help with Runic
« Reply #2 on: November 03, 2010, 04:12:38 PM »
Since my reading skills seem to be up to par I suppose I am too afraid to try.  :isuck: That, and I don't know what byte/bytes to change it to so it absorbs HP. I suppose I'll experiment around with some bytes until I get it.

Lenophis

  • Forum Overlord
  • *
  • Posts: 1,688
  • Gender: Male
  • I sad
    • View Profile
    • Slick Productions
Re: Help with Runic
« Reply #3 on: November 03, 2010, 05:34:07 PM »
You know how assassin, Terii Senshi, Novalia Spirit, Master ZED, RuneLancer, etc all figured stuff out? They looked at the code, and they tried.

Look through the disassembly, find more instances where MP is concerned. :tongue:

119 bugs fixed and counting.

TheNattak

  • Garula
  • *
  • Posts: 203
  • Gender: Male
  • Mike
    • View Profile
    • Return of the Dark Sorcerer
Re: Help with Runic
« Reply #4 on: November 03, 2010, 09:10:44 PM »
I've been at it all day. The only thing that I can make it do different is deal the small damage to the Runic user, that would normally be the mp absorb, as well as some glitchy stuff, and dealing full damage to the Runic user while healing the monster to full. I've checked out all the instances where MP is concerned, (there are very few) as well as trying tons of different things like "(Add to HP)" and "(Max HP)" as well as "(Add Max HP - Current HP to damage)" Things like that. But I can't find the byte I need to make it into a damn Drain effect instead of Osmose.

I don't know... I always think these things are going to be easier than they turn out. It seems to me like I need to change the Concern MP to Concern HP. But of coarse there seems to not be one of those. *sigh* Well, if you or anyone happens to feel like helping any more. I'd be really appreciative. Believe me, I like to do these things myself, but I have to throw in the towel sometimes and ask for help.

Lenophis

  • Forum Overlord
  • *
  • Posts: 1,688
  • Gender: Male
  • I sad
    • View Profile
    • Slick Productions
Re: Help with Runic
« Reply #5 on: November 03, 2010, 10:29:18 PM »
I could just tell you the answer, but I'm not going to do that. Let's go over what you pasted again:

Code: [Select]
C2/357E: A9 82 21     LDA #$2182
C2/3581: 8D A3 11     STA $11A3   (Set concern MP, not reflectable, Unblockable, Heal)
You see 4 effects before you. Command? LDA! This chicken-scratch is the cause of your heartache. But you don't get why. You see "2182" and go "dammit, FF6, stop talking about my house's address" and wonder why it's not clicking.

Solution: don't think of that number as a number, think of it as a series of flags. Binary numbers. $11A3 is a set of flags for various effects, such as targeting MP, healing, and unblockable.

But of coarse there seems to not be one of those.
There is, clear the flag that targets MP. HP will be targeted instead. If HP isn't targeted, MP is, and vice versa.

119 bugs fixed and counting.

TheNattak

  • Garula
  • *
  • Posts: 203
  • Gender: Male
  • Mike
    • View Profile
    • Return of the Dark Sorcerer
Re: Help with Runic
« Reply #6 on: November 03, 2010, 11:17:37 PM »
Thank you so much, Lenophis! I was able to finally do it, and you managed to teach me stuff at the same time. I'm still very unfamiliar with the assembly commands like PHP, REP, LDA, STA, etc. The only one I know well is of coarse, NOP. Is there a list of what all these mean somewhere? Now I need to figure out how to change the amount of HP is gained, because it's still doing the low Runic MP amount. But that should be a lot easier now that I got a basic understanding of flags.

assassin

  • Bane of Retards
  • *
  • Posts: 1,033
  • space bears are not gentle!
    • View Profile
    • My Barren Webpage
Re: Help with Runic
« Reply #7 on: November 04, 2010, 02:36:06 AM »
i got this document from ZED awhile back:

http://www14.brinkster.com/assassin17/thegun.htm

it's very good.  there's one or two minor inaccuracies, but i can't remember what.

EDIT: "one or two minor accuracies"?  i accidentally compared the document to a tabloid.
« Last Edit: November 04, 2010, 11:56:34 PM by assassin »

TheNattak

  • Garula
  • *
  • Posts: 203
  • Gender: Male
  • Mike
    • View Profile
    • Return of the Dark Sorcerer
Re: Help with Runic
« Reply #8 on: November 04, 2010, 02:20:41 PM »
Thank you, assassin. That is perfect.