Users browsing this thread: 1 Guest(s)
Event bits in ASM and World Map Load events

#6
Posts: 3,971
Threads: 279
Thanks Received: 238
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
I think your code is almost ok. I remember using a JMP instruction somewhere, then wrote some code to finish it with a RTS and the game was freezing. This was due to altering the PB register. I had to have a PLB or PHB instruction before my RTS to fix this. If you strictly uses JSR, JSL, RTS or RTL this shouldn't happen though.

Also, you should do LDA $1EC1 to load the event bit. I'm not sure LDA $7E1EC1 is the same... Maybe but maybe not. I'm no ASM master.
  Find
Quote  



Messages In This Thread
RE: Event bits in ASM and World Map Load events - by madsiur - 03-06-2015, 08:33 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite