JSR Returning to wrong place in code - 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: JSR Returning to wrong place in code (/thread-3370.html) Pages:
1
2
|
RE: JSR Returning to wrong place in code - seibaby - 12-04-2016 Glad you fixed it. One thing to also look out for is that you need to keep track of register width (8/16-bit A and X/Y) inbetween stack accesses so that you don't accidentally push/pull too many or too few bytes to/from the stack. This is why you generally place PHP at the very start and PLP at the very end of functions. RE: JSR Returning to wrong place in code - B-Run - 12-05-2016 (12-03-2016, 01:48 PM)Madsiur Wrote: I've never done any serious battle menu coding but B-Run has a good understanding of this I think with his work on CoV. Well, I've coded some logic, and manipulated some minor menu stuff. I'd say me and the menu's have a sort of respect for one another, even though we don't entirely get along. But I'm happy to help any way that I can. |