+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Chrono Trigger - Character Scrolling X/Y? (Main Menu)
Pages: [1]
Author Topic: Chrono Trigger - Character Scrolling X/Y? (Main Menu)  (Read 285 times)
justin3009
Guest
« on: December 07, 2007, 12:56:10 pm »

- The areas in red are what i'm talking about.  As you can see, i'm trying to flip the stats of the menu.  So far i've figured everything else out except for the element header and the portrait and...this. 

Does anyone know where the X/Y coordinates of the scrolling character menu is?  I've gone through a huge chunk that I believe Geiger or JLukas listed on the Compendium and I wasn't able to find it...i've gone above it and beyond it as well and still no luck..
Lenophis
Guest
« Reply #1 on: December 08, 2007, 12:45:58 am »

After finally taking a look at it, I wasn't able to find it. However, I think I'm on the right track.

Code:
C2/E9E2: 08      PHP
C2/E9E3: E230    SEP #$30
C2/E9E5: A554    LDA $54
C2/E9E7: 8581    STA $81
C2/E9E9: A980    LDA #$80
C2/E9EB: 8D1E0D  STA $0D1E
C2/E9EE: A200    LDX #$00
C2/E9F0: A5F5    LDA $F5
C2/E9F2: 855A    STA $5A
C2/E9F4: 4A      LSR A
C2/E9F5: B007    BCS $E9FE
C2/E9F7: E8      INX
C2/E9F8: E004    CPX #$04
C2/E9FA: 90F8    BCC $E9F4
C2/E9FC: 801C    BRA $EA1A
C2/E9FE: 8E1E0D  STX $0D1E
C2/EA01: AD1F0D  LDA $0D1F
C2/EA04: D014    BNE $EA1A
C2/EA06: A554    LDA $54
C2/EA08: 2027EA  JSR $EA27
C2/EA0B: 9B      TXY
C2/EA0C: A554    LDA $54
C2/EA0E: 8555    STA $55
C2/EA10: AD1E0D  LDA $0D1E
C2/EA13: 0A      ASL A
C2/EA14: AA      TAX
C2/EA15: C210    REP #$10
C2/EA17: FC1FEA  JSR ($EA1F,X)
C2/EA1A: 9C1F0D  STZ $0D1F
C2/EA1D: 28      PLP
C2/EA1E: 60      RTS

The value to pay attention to is $54. In FF6, we called that the "hotspot" value, it's the current position of the finger in a given menu. The thing to note is that anytime you scroll (even if it's not actual scrolling, just going up and down), that portrait has to be refreshed. If you keep an eye on this value, you'll eventually find it...I hope. Undecided\
justin3009
Guest
« Reply #2 on: December 08, 2007, 09:26:36 am »

Mmk.  Thanks, i'll mess around with it a bit.
justin3009
Guest
« Reply #3 on: December 08, 2007, 02:37:32 pm »

Hm...I went 200-400 bytes above and below and I wasn't able to find it.  I ran into palettes and...some other strange stuff..Unless i'm missing something blaintly obvious...I'll mess around with it more later today, right now i'm working on something else.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC