Users browsing this thread: 1 Guest(s)
Rage and Dance descriptions

#1
Posts: 110
Threads: 4
Thanks Received: 4
Thanks Given: 1
Joined: Jan 2012
Reputation: 4
Status
None
Figured I'd dump this since it's fairly isolated anyway.

Code:
hirom

; set up dance descriptions
ORG $C328AA
jsr dances
lda $09
bit #$80 ; did you press B?
beq return_Dance ; branch if not
jsr $29A5
return_Dance:
rts


; set up rage descriptions
; Insert address for 'rageDescript' below, and uncomment this JSR.
org $c328ba
;jsr rageDescript
rts

; insert your address here
org InsertAddressHere
rageDescript:
lda #$10
trb $45
lda #$03
sta $2a
jsr $0EFD
jsr $1f64
bcs rage_End
jsr $4c52

ldx #$2700 ; pointer offset
stx $e7
ldx #$0000 ; text
stx $eb
lda #$xx ; bank
sta $e9
lda #$xx ; bank
sta $ed
jsr $572a

lda $09
bit #$80
beq rage_End
jsr $29A5
rage_End:
rts

dances:
lda #$10
trb $45
jsr $0EFD
jsr $4BD4
jsr dance_Desc
rts

dance_Desc:
ldx #$2500 ; pointer offset
stx $E7
ldx #$0000 ; text
lda #$xx ; bank
sta $e9
lda #$xx ; bank
sta $ed
jmp $572a
  Find
Quote  
[-] The following 3 users say Thank You to dn for this post:
  • Gi Nattak (02-26-2016), SilentEnigma (09-15-2021), SSJ Rick (07-09-2021)

#2
Posts: 61
Threads: 18
Thanks Received: 1
Thanks Given: 47
Joined: May 2014
Status
None
This looks awesome---wish I knew what to do with it! I haven't needed an assembler yet (if that's what's actually needed).
  Find
Quote  

#3
Posts: 110
Threads: 4
Thanks Received: 4
Thanks Given: 1
Joined: Jan 2012
Reputation: 4
Status
None
You could theoretically do it in hex but you're going to be spending some time looking up opcodes.
  Find
Quote  

#4
Posts: 676
Threads: 44
Thanks Received: 26
Thanks Given: 21
Joined: Jan 2015
Reputation: 11
Status
Zombie
This is set to display the descriptions in battle or is it worked into the menu?


The only true wisdom is knowing you know nothing.
  Find
Quote  

#5
Posts: 110
Threads: 4
Thanks Received: 4
Thanks Given: 1
Joined: Jan 2012
Reputation: 4
Status
None
It's menu code. There is no way to display the descriptions in battle. Flat out not enough VRAM for that kind of thing.
  Find
Quote  

#6
Posts: 734
Threads: 36
Thanks Received: 12
Thanks Given: 41
Joined: Jan 2016
Reputation: 6
Status
None
I admit I'm a bit confused reading this, how do we implement these?
  Find
Quote  

#7
Posts: 3,969
Threads: 279
Thanks Received: 236
Thanks Given: 57
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(05-12-2016, 11:12 PM)DrakeyC Wrote: I admit I'm a bit confused reading this, how do we implement these?

You'll need to add pointers and descriptions yourself. Pointers are two bytes.

1) Find space for this routine; modify "org InsertAddressHere" with good address.

2) Uncomment this: ";jsr rageDescript"

3) Then change LDA or LDX if neccesary to suit you. You obviously need to change both banks (xx):

Pointer address (xx/2700)
Code:
ldx #$2700 ; pointer offset
stx $e7

Code:
lda #$xx ; bank
sta $e9


descriptions (xx/0000)
Code:
ldx #$0000 ; text
stx $eb

Code:
lda #$xx ; bank
sta $ed
  Find
Quote  
[-] The following 2 users say Thank You to madsiur for this post:
  • h.carrell (12-29-2021), Rodimus Primal (07-07-2021)

#8
Posts: 139
Threads: 6
Thanks Received: 1
Thanks Given: 4
Joined: May 2013
Reputation: 0
Status
None
I know this is an old thread, but would anyone be willing to add in the Dance descriptions as a patch using this code?


Experience is the benchmark to maturity.

Final Fantasy VI - Ted Woolsey Uncensored Edition:
http://www.romhacking.net/hacks/1386

Final Fantasy IV - Namingway Edition:
http://www.romhacking.net/hacks/2337
  Find
Quote  

#9
Posts: 174
Threads: 23
Thanks Received: 22
Thanks Given: 7
Joined: Feb 2016
Reputation: 8
Status
Enlight
FYI, there is an error in dn's code under the "dance_Desc" label -- missing stx $eb after the "text" line.
Below is the fix.

Code:
dance_Desc:
ldx #$2500 ; pointer offset
stx $E7
ldx #$0000 ; text
stx $eb
lda #$xx ; bank
sta $e9
lda #$xx ; bank
sta $ed
jmp $572a



@"Rodimus Primal" This ought to fit the bill:
https://www.ff6hacking.com/forums/thread...40473.html
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite