Shorter Rage List? (Battle) - Printable Version +- FF6 Hacking (https://www.ff6hacking.com/forums) +-- Forum: Discussion Forums (https://www.ff6hacking.com/forums/forum-5.html) +--- Forum: Magitek Research Facility (https://www.ff6hacking.com/forums/forum-9.html) +--- Thread: Shorter Rage List? (Battle) (/thread-3958.html) |
Shorter Rage List? (Battle) - C-Dude - 02-17-2020 Does anybody know how Brave New World's crew went about shortening the scroll on battle's RAGE list? I was able to follow the C3 menu shortening fairly easily (reduced it to 48 rages), but I can't work out how to shorten the list in battle. I can get it to list only the first 49 rages (which admittedly is a problem, but not an insurmountable one), but then there's a bunch of dead scrolling space beyond it. I was hoping to shorten the list to help completionists and to make the Jiujitsu upgrade more powerful (since it would hypothetically draw from all 255 rages instead of the first 48). I can't figure out what controls the scrollbars in battle, though. RE: Shorter Rage List? (Battle) - Catone - 02-17-2020 I used to know something about this... Could have swore battle menu's were drawn in C2 or some such, near the "filling" code (well, in the same bank as the filling code). It has been awhile and despite looking into it, I never went and actually modified any battle windows personally. Either that or they were somewhere uncommon that nobody ever plays with like CE or G2 . Sorry, my memory only works when IT wants to. C2/580C involves "constructing" rage menu, but the code looks more like "filling". "Format for Drawing the Rage Menu (from C1/4CE7)" is at C2/E067 That being said, while it would be pretty well a pipe dream due to the complexity, a battle window of about 10-20 rages that you pick from a list of all known would be (at least I personally think) very cool. Not practical in the doing, but cool yes. Your idea is probably a lot more practical and usable though. Either way, hope that might help, unless you've already looked there. RE: Shorter Rage List? (Battle) - C-Dude - 02-17-2020 I think I found it. I had been using C2/580C to shorten the list, but your note that the format came from C1 made me look there. ...Which got me thinking that MMMMMagic must have encountered the same scrollbar issue when they added 10 spells, so I looked at the notes from that patch. The scroll limits and scrollbar animation is handled in the C1 bank, in the 8100s... but my version of the C1 disassembly doesn't have any annotation in that section, so I had to compare my full-rage list scrolling to the BNW2.0 Rom to find out where the scroll settings were being changed. Relevant addresses: Code: [C3] By coupling this information with Assassin's alphabetical rage patch, I was able to create a sorted list of 48 rages arranged by rough level of power (rather than alphanumerically). With a bypass, this list could be made to read from a different spot depending on a variable of your choice, allowing you to change which rages Gau lists and has access to on command. I didn't mess with muddled/berserk rage selection, though; it still draws from the full count. Anyway, that's not QUITE picking your rages, but you could in theory set up rage sets that are changed by relics or an event (something Gau lets you pick on the airship, maybe?). RE: Shorter Rage List? (Battle) - Catone - 02-18-2020 Interesting, yeah that part of my disassembly is unmarked as well. AND for some reason I don't have the alphabetical rage patch in my files(wtf). Going to have to fix that. Good researching, writing character fitting dialog to choose which group of rages to use while staying in game might be tricky (how would Gau say "I can only have x rages at a time which ones? Without breaking 4th wall?) But yeah, if Most powerful an option, and maybe type/element or by area(based on monster ID value maybe?) Is possible, then personally Rage would be a bit more user friendly. While cool, rage just never seemed worth it to me. The power wasn't great enough to justify going through the entire list, losing control, and the random nature. Even with control, not worth going through the entire menu for 1 rage, for 1 or 2 rounds of combat (the reason some RPGs had the "auto battle" option for junk grind battles. Dialog on the airship would be a good method, but based on equipped relic would probably be the most versital, don't know if it would be worth it to dedicate relics specifically to Gau's rages (like "Grass Necklace for a set, Wind amulet for another, etc) However, having normal relics or armor change the list somehow if he's equipped... Maybe based of element of weapon/shield determines which rages are shown? Good info regardless of what it turns into. RE: Shorter Rage List? (Battle) - C-Dude - 02-18-2020 I was figuring something like "I fight like monsters, how should I fight?" with options like "Aggressive, Support, Defensive" or perhaps calling to FFXIII "Ravager, Saboteur, Sentinel, Commando, Synergist, Medic", each with perhaps 12 Rages. Having Gau change them on the airship lets the player make sure the option they've selected has the Rages they want (or has more than one rage, if they've spent little time filling them in), and it lets us control the rage list with an event bit... a task I have achieved fairly easily with regards to the Shop menu. Alternatively, my thought was that the ReEquip routine triggered by the Relic menu could be extended to change the rage list by again setting event bits... though that approach changes the list if ANYONE equips the relic, not just Gau (a half-problem; the relic could be set to Gau only or could specify that it affects rages). I'm toying with delving into this to set up a Recall style menu for Tellah or a similar character, wherein the player could select a spell and hope it casts (Rage with dummy spell and desired spell) and change which spells are listed with a relic or event. I'll play with it some more when I get around to battle hacking again, and let you know if I come up with anything cool. RE: Shorter Rage List? (Battle) - Catone - 02-20-2020 I remember looking into using Rare Item Bits, last time I looked at the guest added patch. Didn't get far enough to check the fine details, such as is there ANY benefit to using Rare Item bit vs true event bits at all, Or if they were the same thing effectively. Can't really use, equip, or trigger rare item bits much different than normal event range, less I'm forgetting something, which is why I mention it at all. Wait, why couldn't you just add an "is Gau?" Check to the relic menu routine when it checks if the relic is equipped? If the relic is equipped, check is Gau, if not ignore. RE: Shorter Rage List? (Battle) - C-Dude - 02-20-2020 The only advantage Rare item bits have over regular event bits is that they turn on a display in the item menu... which IS advantageous but maybe not for this. As for testing for Gau, the spot in question is less complex than I remembered. Code: Test Reequip activation, select menu commands accordingly Code: Determine whether to trigger Reequip in Relic menu It looks like the code loads data from a character array. In the code itself I see documented relic 1 ($0023 relative to character address) and relic 2 ($0024 relative to character address), but I also found Helmet ($0021) and Armor ($0022). That means you could set it to check an armor type and pick rages accordingly... only problem being that the insertion point I've picked is triggered IN the relic menu... I'd need to see if there's another suitable point to make a check and bypass. RE: Shorter Rage List? (Battle) - GrayShadows - 02-21-2020 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: Code: ; Rage menu length 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. |