Users browsing this thread: 1 Guest(s)
GrayShadow's 'Giving Gogo Magic' code

#21
Posts: 734
Threads: 36
Thanks Received: 12
Thanks Given: 41
Joined: Jan 2016
Reputation: 6
Status
None
So what do I need to do to try? Even if you're not sure, I have a backup so what have I got to lose? I'd like SOMETHING to go right today.

EDIT - If you mean the 08 at C0/D691 should be 04, mine is.
  Find
Quote  

#22
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 158
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
No not that, I see in the asm file you edited that was changed.
I said this: CMP $1608,Y ; Check against current level.
In the RelmRecruit section.
You should take a bit of time to read carefully exactly what was said, please lol.

Do a search (cntr f) for CMP $1608,Y if you can't find it manually there, although I can't imagine why not.
Might try changing that 1608 to 1604. Though like I say this might not be directly related to Relm at all, just that 08 there seems like it to me and since it's in the 'RelmRecruit' section.
Quote  

#23
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 158
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
Shit yeah that's not gonna work actually, it's something related to all characters learning not just relm, as it's used for the other characters I see now.

Hmm well I'm out of ideas at the moment to try >_< My lack of assembly know-how limits me greatly!
Quote  

#24
Posts: 734
Threads: 36
Thanks Received: 12
Thanks Given: 41
Joined: Jan 2016
Reputation: 6
Status
None
Well, Edgar doesn't have any other "learn by level" abilities (he has Summon), if that knowledge helps at all.
  Find
Quote  

#25
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 158
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
That one 08 at C0/D691 is the only thing I can spot that seems like changing it should work, but I guess there's more to it. A coder like Madsiur etc. might be able to notice something else, why it's not working. As for me though I must bow out gracefully I'm afraid lol.
Quote  

#26
Posts: 3,969
Threads: 279
Thanks Received: 236
Thanks Given: 57
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(03-13-2016, 02:42 PM)DrakeyC Wrote: Although, Gi said to use 0E?

He's right and wrong. I had in mind your character to get magic was $0C but it's $0D, right? Branching for character $0E and above is correct but this has a consequence of having chars $0C and $0D learn magic. There's not enought SRAM for that, well not in the way GrayShadow designed his hack.

(03-13-2016, 02:42 PM)DrakeyC Wrote: EDIT - Didn't work. Started a new game, Edgar has no natural magic.

Obviously you have problems with applying the patch. My statement was referring to your characters having garbage value is his magic table. Did the garbage disappeared? Yes? ok.
  Find
Quote  

#27
Posts: 734
Threads: 36
Thanks Received: 12
Thanks Given: 41
Joined: Jan 2016
Reputation: 6
Status
None
Nope, patch was fine. I double-checked the indicated values in the patch notes on my rom, they say what they should.

As for the garbage, impossible to say until I get to recruiting Umaro again.
  Find
Quote  

#28
Posts: 3,969
Threads: 279
Thanks Received: 236
Thanks Given: 57
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(03-13-2016, 04:59 PM)Gi Nattak Wrote: As for natural magic not working for Edgar, you might need to change this as well in the 'RelmRecruit' section:
CMP $1608,Y      ; Check against current level.

This should stay the same it has nothing to do with the character ID.

You should have two thing to modify:

Code:
CMP #$08         ;  
BEQ RelmRecruit  ; If Relm, branch.


Code:
CMP #$08         ; 
BEQ LvlUpMagic   ; Branches to teach natural magic.

Edit: You character should also have the magic command from the start.
  Find
Quote  

#29
Posts: 734
Threads: 36
Thanks Received: 12
Thanks Given: 41
Joined: Jan 2016
Reputation: 6
Status
None
Well, they do have the Magic command assigned. Does it just not appear until the Zozo event? Because the things you listed as needing to change, I already had changed originally.
  Find
Quote  

#30
Posts: 3,969
Threads: 279
Thanks Received: 236
Thanks Given: 57
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
You need to point an instruction of the code to your character SRAM spell block:

For Relm:
Code:
STA $1C1E,Y      ; Teach it.

Each block is $36 bytes. Terra block start at $1A6E. Just do $1A6E + (character ID * $36).

ID | block
$01 | $1AA4
$02 | $1ADA
etc.
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite