Users browsing this thread: 1 Guest(s)
Event bits in ASM and World Map Load events
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.
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.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)