The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.3.33 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Users browsing this thread: 1 Guest(s)
New Skill ASM help

#1
Posts: 2,550
Threads: 98
Thanks Received: 149
Thanks Given: 160
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
Old Mantra to New Skill

First of all I have little to no skill with assembly, but what I'm trying to do here is have a skill that damages equal to the users current HP like Mantra, and also throws out a random status ailment out of the ones checked like the Evil Toot skill does, basically combine the two.

In other words, for my Shock skill I have it using the Mantra extra effect set via usme and I want to make a jump now in the Mantra code to do the Evil Toot extra effect as well.

My code:
C2/4263: A9 60 LDA #$60
C2/4265: 9C 14 34 STZ $3414 (Set to not modify damage)
C2/4268: C2 20 REP #$20 (Set 16-bit Accumulator)
C2/426A: B9 18 30 LDA $3018,Y
C2/426D: 20 CB 3B JSR $3BCB (Sets a random status from attack data)
C2/4270: CA DEX
C2/4171: B9 F4 3B LDA $3BF4,Y
C2/4274: 8D B0 11 STA $11B0 (Set damage)
C2/4277: EA EA EA EA EA EA EA EA NOP
C2/427F: 60 RTS

The damage part works fine, the problem I'm having is that the Evil Toot random status is attacking the user/character instead of the monster... It seems to be jumping to the code okay and doing it, but switching the target or getting confused or something.

Any ideas?


We are born, live, die and then do the same thing over again.
Quote  



Messages In This Thread
New Skill ASM help - by Gi Nattak - 05-26-2013, 09:01 PM
RE: New Skill ASM help - by Ghost XIII - 05-27-2013, 04:44 AM
RE: New Skill ASM help - by madsiur - 05-27-2013, 01:39 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite