Users browsing this thread: 1 Guest(s)
Turning Runic into Cover

#9
Posts: 763
Threads: 83
Thanks Received: 55
Thanks Given: 7
Joined: Apr 2015
Reputation: 22
Status
Obliviscence
Ok, so I need some help with Runic's targeting? I see the table in the CF bank, but that still doesn't allow me to change runic's target... It seems some abilities have hard-coded targeting but I'm having a heck of a time tracking it down. I don't think it's in the C2 Bank at all unless I am missing something major. If how I'm reading it is right, C2 has more to do with the actual actions as they are performed; while the C1 bank deals with action selection through menus and whatnot as well as sprites and some other stuff... so I would expect to find it in the C1 Bank... but so far all I'm finding is Runic's animation.

All targeting for non-listed abilities appears to happen here:
Code:
Several Commands

C1/7792:    9C412F        STZ $2F41        (Fight jumps here)
C1/7795:    A938        LDA #$38
C1/7797:    48        PHA
C1/7798:    EE6B7B      INC $7B6B
C1/779B:    ADC27B      LDA $7BC2
C1/779E:    8D837A      STA $7A83
C1/77A1:    9C7D7B      STZ $7B7D
C1/77A4:    9C7E7B      STZ $7B7E
C1/77A7:    9C7F7B      STZ $7B7F
C1/77AA:    9CCE7A      STZ $7ACE
C1/77AD:    9CCF7A      STZ $7ACF
C1/77B0:    9CB162      STZ $62B1
C1/77B3:    9CB262      STZ $62B2
C1/77B6:    9CB462      STZ $62B4
C1/77B9:    AD847A      LDA $7A84      (character targeting)
C1/77BC:    3006        BMI $77C4      (branch if random target is set)
C1/77BE:    8536        STA $36        (otherwise save for now)
C1/77C0:    C902        CMP #$02       (is only "one side only" set?)
C1/77C2:    D00D        BNE $77D1      (branch if not)
C1/77C4:    AECA62      LDX $62CA
C1/77C7:    BF6177C1    LDA $C17761,X
C1/77CB:    8D7D7B      STA $7B7D
C1/77CE:    4C0179      JMP $7901

etc...

but I can't find anything, beyond the things affected by the targeting table in the CF bank, that are mentioned here that would differentiate abilities like Runic from abilities like Jump or Steal that allow for targeting. I have tried changing all of Runic's targeting bits to match Steal and Jump, still can't retarget Runic. I get that Runic is designed to only affect the character using it, I just don't see anything in the code that should keep me from moving the cursor after changing the targeting bits.

Once I understand targeting more fully, I think I will be ready to turn Runic to Cover.
  Find
Quote  



Messages In This Thread
Turning Runic into Cover - by B-Run - 07-20-2012, 05:19 PM
RE: Turning Runic into Cover - by Gi Nattak - 07-21-2012, 02:31 PM
RE: Turning Runic into Cover - by SSJ Rick - 07-21-2012, 03:34 PM
RE: Turning Runic into Cover - by Sutebenukun - 07-21-2012, 04:21 PM
RE: Turning Runic into Cover - by madsiur - 07-21-2012, 06:05 PM
RE: Turning Runic into Cover - by B-Run - 07-22-2012, 07:00 PM
RE: Turning Runic into Cover - by madsiur - 07-24-2012, 08:50 PM
RE: Turning Runic into Cover - by B-Run - 07-24-2012, 11:19 PM
RE: Turning Runic into Cover - by B-Run - 07-26-2012, 08:07 PM
RE: Turning Runic into Cover - by madsiur - 07-27-2012, 12:29 PM
RE: Turning Runic into Cover - by B-Run - 08-15-2012, 11:47 AM
RE: Turning Runic into Cover - by Catone - 08-15-2012, 01:39 PM
RE: Turning Runic into Cover - by B-Run - 08-15-2012, 01:58 PM
RE: Turning Runic into Cover - by Catone - 08-15-2012, 05:04 PM
RE: Turning Runic into Cover - by B-Run - 08-15-2012, 09:17 PM
RE: Turning Runic into Cover - by Catone - 08-15-2012, 10:06 PM
RE: Turning Runic into Cover - by Timbo - 04-22-2017, 05:13 PM
RE: Turning Runic into Cover - by B-Run - 04-24-2017, 07:30 AM
RE: Turning Runic into Cover - by Timbo - 04-25-2017, 12:24 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite