Users browsing this thread: 1 Guest(s)
Armor appearance change???

#11
Posts: 831
Threads: 41
Thanks Received: 16
Thanks Given: 12
Joined: Nov 2009
Reputation: 18
Status
None
(03-20-2012, 11:41 PM)Madsiur Wrote: By reading the thread I linked carefully and check the code and comments Lenophis and Angelo posted there you would find your answer.

Agreed 100% here, lol.

(03-20-2012, 11:41 PM)Madsiur Wrote: And yes you could use the empty space in C2 to put the extra code with an extra JSR instruction and a RTS instruction at the end of the extra code. This is also mentioned in the thread I linked.

Right. Reread the original thread before I get psycho and remove the code from the post, lol
Quote  

#12
Posts: 315
Threads: 50
Thanks Received: 7
Thanks Given: 25
Joined: Feb 2012
Reputation: 4
Status
None
What does NOP mean when reffering to this?

"NOP all code from C2/2877 TO C2/2880"

EDIT: From what I read and could understand, this is what I have currently

[Image: 1a01ea4b.png]

It gets me a glitched screen in battle, but am I on the right track? I'm sure there's something I'm not understanding, but I'm giving it a shot xD

EDIT2: Figured out what NOP meant o.o

EDIT3: Here's what I got(screen shot would take too long)

C2/2872: A5 C9 LDA $C9 ($11C9)
C2/2874: 20 70 66 JSR $6670
NOP all code from C2/2877 TO C2/2880 (from the opcodes, NOP code is EA So I asusme that mean change each byte here to EA but C2/2881 isn't included?)
C2/2882: 60 RTS

Then in the C2 Bank:

C9 9A CMP #$9A (Genji Armor)
D0 0B BNE $2883 (if not, branch)
8A TXA
0A ASL
0A ASL
0A ASL
0A ASL
A8 TAY
A9 10 LDA #$10 (Leo sprite)
99 AE 2E STA $2EAE,Y

I tried this which I thought would work looking at thread and the Opcodes Madsiur provided(TY SO MUCH!)
and when I enter battle I go to the opening credits o.o. Still not sure what I'm doing wrong >.>. Or right for that matter xD

EDIT4: I GOT IT!!!!!!!!

C2/2872: A5 C9 LDA $C9 ($11C9)
C2/2874: 20 70 66 JSR $6670
C2/2877~C2/2882: EA NOP

Then in the C2 Bank:

C9 9A CMP #$9A (Genji Armor)
D0 0B BNE $2883 (if not, branch)
8A TXA
0A ASL
0A ASL
0A ASL
0A ASL
A8 TAY
A9 10 LDA #$10 (Leo sprite)
99 AE 2E STA $2EAE,Y
60

WORKS LIKE A CHARM! THANKS SO MUCH GUYS!!!!! Especially you Madsiur as always!
  Find
Quote  
[-] The following 1 user says Thank You to Royaken for this post:
  • DrakeyC (08-10-2016)

#13
Posts: 831
Threads: 41
Thanks Received: 16
Thanks Given: 12
Joined: Nov 2009
Reputation: 18
Status
None
It wasn't that hard to figure out or was it? I'm glad you got it on your own.
Quote  

#14
Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(03-21-2012, 01:13 AM)Royaken Vendeta Wrote: WORKS LIKE A CHARM! THANKS SO MUCH GUYS!!!!!

You see the results when you put effort to understand by yourself. Good work. Now you should be able to add multiple checks like you wanted.
  Find
Quote  
[-] The following 1 user says Thank You to madsiur for this post:
  • Royaken (03-08-2014)

#15
Posts: 315
Threads: 50
Thanks Received: 7
Thanks Given: 25
Joined: Feb 2012
Reputation: 4
Status
None
I did! Thank you. I have 6 new pieces of armor set up! Onto my next challenge!

Well, my 2 problems were NOP and the RTS. I was kinda trying to follow what was in your post Angelo. It said to NOP from C2/2877 to C2/2880 and it had the RTS at C2/2882. Well I was unsure as to where C2/2881 was suppose to fit into all this and why the RTS was on the same line as the JSR even though RTS is returning to JSR... Then I re-read Madsiurs post "RTS and the end of the extra code" So I face palmed, and then put the RTS at the end of my new code. I figure then it was common sense that any code from C2/2877 to C2/2882 wasn't gonna be needed so I NOP the code. And it worked!

This I assumed since there was only 1 JSR, there didn't need to be more then one RTS so I put the code for Genji to Leo then right after that I put Behemoth to Kefka and put the RTS after. It worked out for both armos so I figured it out from there. Thanx so much again guys. And to you Madsiur. I know you came back and looked here and there and instead of giving me the answer, you editted yer post I think twice to give me little bits of more info. I appreciate the help! This certainly boosted my confidence xD!
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite