Users browsing this thread: 1 Guest(s)
Shorter Rage List? (Battle)
02-21-2020, 07:44 PM
Oh, hey, I have notes on this!
You've found the appropriate addresses, but I can offer a little more clarity on the values. Here's the snippet I did up for BNW:
For each battle menu, the value you're looking for is "number of total rows - number of initially displayed rows". Since the menus display four rows to start with, the second value is always 4. The first value varies based on a few things. Rages (and magic) are divided by two because there are two columns, and interestingly there's actually a minor bug in the in-battle Lore menu, because despite the menu being converted to one-column in the English version, it still halves the base-value based on it being a two-column menu in Jp. The value is the correct #14 at C1/8336 (for menu length), i.e. 20d = 24 - 4, but is the original Jp #08 at C1/838F (24 / 2 - 4), causing the scrollbar to act improperly.
You've found the appropriate addresses, but I can offer a little more clarity on the values. Here's the snippet I did up for BNW:
Code:
; Rage menu length
org $C184F9
CMP #$1C ; Total rages /2 - 4
; Rage scrollbar
org $C1854A
LDA #$1C ; # of scrollbar rows (see above)
STA $36
LDX #$0140 ; (pixels?) per scrollbar row
STX $2E ; Adjust as necessary so scrollbar end-point is where you want it. This should be appropriate-ish, but can definitely be fine-tuned.
For each battle menu, the value you're looking for is "number of total rows - number of initially displayed rows". Since the menus display four rows to start with, the second value is always 4. The first value varies based on a few things. Rages (and magic) are divided by two because there are two columns, and interestingly there's actually a minor bug in the in-battle Lore menu, because despite the menu being converted to one-column in the English version, it still halves the base-value based on it being a two-column menu in Jp. The value is the correct #14 at C1/8336 (for menu length), i.e. 20d = 24 - 4, but is the original Jp #08 at C1/838F (24 / 2 - 4), causing the scrollbar to act improperly.
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)