Users browsing this thread: 1 Guest(s)
"Instant Death" over-rides "Miss if prot. from ailments"

#5
Posts: 32
Threads: 4
Thanks Received: 0
Thanks Given: 0
Joined: Mar 2012
Reputation: 0
Status
None
A crude code did get some results, however...

Code:
B9 80 3C     LDA $3C80,Y
89 04        BIT #$04       (Is Can't Suplex set in Misc/Special enemy byte?)
F0 04        BEQ $3C5A      (If not, branch)
4C 1B 3B     JMP $3B1B      (flag Miss)
60           RTS
4C 8c 3c     JMP $3C8C        Jump to X-Zone effect

...it seems that missing the opponent by these means is also over-riden by the skill causing instant death. In other words, Oblivion is successfully missing enemies marked "Can't Suplex", but Death is still being inflicted. I tried flagging the Death stat to the actual Suplex skill (whose code is untouched) to see if there was anything wrong with my coding, and I got the same results: Sabin failed to Suplex his opponent, and his opponent perished.

It seems I will have to pursue other options. I could fumble around with Reflect???'s code (in which invalid targets are simply not targetted) or I could try a code which sets the Death stat itself on condition that the attack hits (Metamorph seems a healthy launching point), but I'm not sure how status effects work.
  Find
Quote  



Messages In This Thread
RE: "Instant Death" over-rides "Miss if prot. from ailments" - by Marketa Lazarova - 07-26-2013, 06:30 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite