JSR Returning to wrong place in code
#11
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.
Reply
#12
(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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Map graphics error and wrong location name Gestahl 4 5,688 03-04-2020, 05:09 PM
Last Post: Gestahl
  Wake Up animation is wrong doofenH 2 2,363 02-01-2020, 06:20 PM
Last Post: C-Dude
Dark Knight FF6 SNES vs GBA code differences? Royaken 2 2,583 11-01-2019, 07:32 PM
Last Post: Royaken
  Peer Sprite Viewer (what am I doing wrong?) romraptor 7 5,414 08-22-2019, 03:04 PM
Last Post: romraptor
  Sorry if this is the wrong place need help Zinchi 2 2,619 11-12-2017, 10:13 PM
Last Post: Zinchi
  Event Hacking - What am I doing wrong? PowerPanda 7 6,731 05-04-2017, 07:29 PM
Last Post: PowerPanda
  asm hacking: "faking" short jumps from your code (in a new bank) to old code Eggers 2 3,905 04-16-2016, 07:18 PM
Last Post: madsiur
  Magic Control Code sleepydude 16 14,312 09-19-2015, 02:41 PM
Last Post: Tenkarider
  Sprite Armor Code Royaken 2 3,576 05-30-2015, 11:26 AM
Last Post: Catone
  How to Place your Custom Boss Hack and how to hide Ayamatsuno148 1 2,704 02-11-2014, 11:49 AM
Last Post: SSJ Rick

Forum Jump:


Users browsing this thread: 1 Guest(s)