Users browsing this thread: 1 Guest(s)
changeing Health command

#11
Posts: 2,769
Threads: 88
Thanks Received: 24
Thanks Given: 87
Joined: Jun 2009
Reputation: 25
Status
None
might be a noobish suggestion but maybe the mantra value is checked in usme (I doubt it but u never know)


"Sometimes ninjas do wrong to each other, and in dat way the force of tha earf' comes around da moon - and at that presence, da dirt, it overshadows the grass, so you're like, I can't cut dis grass, there's no sun comin' through. So in order to enable each other the two fruits have to look each other in da eye and understand we can only be right, as da ripe is wrong, you know what I mean?"

-HNIC
Quote  

#12
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 159
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
Well the mantra status flag is checked for the spell in usme, that's how it does the extra effect of Mantra.


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

#13
Posts: 149
Threads: 21
Thanks Received: 40
Thanks Given: 3
Joined: Dec 2013
Reputation: 9
Status
Auto-life
Shock and Health are connected in their code. The Shock command will use a piece of the Health command. May it be the issue?

Code:
Shock
C2/171A A9 82        LDA #$82
C2/171C 80 02        BRA $1720

Health
C2/171E A9 2E        LDA #$2E
C2/1720 85 B6        STA $B6    
C2/1722 A9 05        LDA #$05
C2/1724 80 3F        BRA $1765

Also, there is something wrong with this line with the new Mantra code:
Code:
C2/4273 F0 01          BEQ $4278

BEQ $4278 should be “F0 03” instead of “F0 01”. However, C2/4278 is in the middle of the opcode and should freeze/break the game. For the “F0 01” opcode it should be BEQ $4276.
  Find
Quote  
[-] The following 1 user says Thank You to HatZen08 for this post:
  • Gi Nattak (03-06-2014)

#14
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 159
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
Oh yes! My bad I forgot to say that the main spell being used is Shock. I'm using Shock, with the Mantra added effect flag. Wow so Shock branches out to Health's code eh? Nice, that explains that. I admit I should have looked for that, or at least considered looking at the Shock code lol.

And thanks for the heads up on the Mantra code, I appreciate it. =)


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

#15
Posts: 2,769
Threads: 88
Thanks Received: 24
Thanks Given: 87
Joined: Jun 2009
Reputation: 25
Status
None
ah you're right I misread what you put before stupid me LOL


"Sometimes ninjas do wrong to each other, and in dat way the force of tha earf' comes around da moon - and at that presence, da dirt, it overshadows the grass, so you're like, I can't cut dis grass, there's no sun comin' through. So in order to enable each other the two fruits have to look each other in da eye and understand we can only be right, as da ripe is wrong, you know what I mean?"

-HNIC
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite