Hold B to Walk - 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: Hold B to Walk (/thread-3551.html) |
Hold B to Walk - PowerPanda - 10-23-2017 This is a small one, but I wanted to post it. I love the idea of MasterZED's "Hold B to Run" patch, but the amount of time that I spend running vs the amount of time I spend walking made me want to only hold a button if I intended to move slowly. I took a look at his code, and realized if I swapped $C0/432F with $C0/4E33, it would have the desired effect. Code: ORIGINAL (Hold B to Run) I'm sure there's a way to modify his other two patches also; the ones that stack with Sprint Shoes, but since I am removing Sprint Shoes from the game, I have not tested them out. RE: Hold B to Walk - GrayShadows - 10-23-2017 If you want to save a few CPU cycles, you can actually modify it a little bit further: Code: MODIFIED This removes the check for the Sprint Shoes bit, since you're not using them anyway; hilariously, if you WERE using the Sprint Shoes, the change you made would cause them to have the same effect as pressing B -- your character would walk slowly. RE: Hold B to Walk - PowerPanda - 07-09-2018 Wow, I know a whole lot more about ASM than I did 8 months ago. Gray Shadows, there is something off in your code. The player has to press B once in order for the run speed to take effect. I think the problem is a miscounted byte. 4E2B should be $09, not $08. (EDIT, July 7th, 2018: There were 2 error. 4E2B should have been 09, and 4E2D should have been 03) Either way, I re-wrote the whole thing and cleaned it up. It's tested and working. (EDIT: after cleanup, it ended up the same as yours) Code: MODIFIED |