Well, I found an issue already. I wasn't checking a set of bits that indicate certain controls should be frozen. Those bits are now checked with a few additional instructions at the beginning of the subroutine I added:
AD 5A 06 LDA 065A
29 00 0F AND #0F00
D0 48 BNE to [end]
This skips setting the running velocities if any of the directional keys are frozen.
Without this check I was able to run around during some events that were supposed to freeze me in place, and everything got way out of sync.
https://dl.dropboxusercontent.com/u/19968993/iog_x_to_run_1_1.ips
No comments:
Post a Comment