Swdtech/Runic weapon check, for other skills? - 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: Swdtech/Runic weapon check, for other skills? (/thread-3271.html) |
Swdtech/Runic weapon check, for other skills? - FF6Fanatic - 06-19-2016 Code: Check for greyed out commands (judging from this, adding Sketch shouldn't be difficult) ^From Lenophis' site. I want this kind of check to be made for the Lore command. So if the player doesn't have the appropriate weapon equipped, Lore should be greyed out. I also have this: Code: Hex values for skills: So let's say I want the weapon check for Runic to effect Lore instead. It should be a simple matter of replacing hex, right? Like Code: C3/5F26: C90B CMP #$0B (is it runic?) to Code: C3/5F26: C90C CMP #$0C (is it lore?) Thats the "check for greyed out commands" part. But what about the "grey out Runic command if no weapons have Runic ability"? Looking at the code for that part, it's not really obvious what I should do. Any ideas? RE: Swdtech/Runic weapon check, for other skills? - HatZen08 - 06-19-2016 I suspect the code you mentioned is for the menus outside battle. For the menus inside battle, you also need to check the code at C2/527D. The following tables, related with this code, may be relevant: Code: (Data - commands that can potentially get grayed out on the menu in battle, Code: (Data - addresses of functions to check whether above command should be RE: Swdtech/Runic weapon check, for other skills? - FF6Fanatic - 06-19-2016 I found a workaround, it's already functional. Thanks Hatzen, I'll copy that data to my notes. I'm a fan of your hacks, btw. |