So, I have a problem. My problem is that I'm either not understanding, or utterly screwing up, something in my Link to the Past randomized ROM.
See, what I'm trying to do is add Kazuto's "AST Dashing" patch to the randomized ROM. The patch consists of changing the original Pegasus Boots code to call to code located in an empty place of the ROM – a place which is full of data, in the Randomized ROMs. Now, this isn't the problem, as I've already found an empty place to put the extra call functionality. The problem I'm encountering seems to be actually making it work properly.
The original Pegasus Boots code is located at $31195, in the randomized ROM. I've replaced that part with the custom call code that Kazuto came up with. In a normal, US Link to the Past ROM that's been patched with Kazuto's "AST Dashing" patch, the code, normally located at $3911B-$3912A, would make a call to secondary code, located at $3F89F-$3F8CF. In the randomized ROM, I had to move that secondary code over to $3B526-$3B556 and change the JSR code in the first address' code from 22 9F F8 07 to 22 26 B5 07. While this still allows for straight dashing, trying to change direction causes the game to crash. So, what am I doing wrong?
Sidenote: If this isn't enough information, I can provide more code, but I'm trying to be considerate, to Kazuto, by not posting the entirety of their work, here.
Hoping for good news,
Joseph