Atarath
Member
I obviously don't have a grasp on the fundamentals of asm. I'm trying to put a roof on a house that hasn't been built.
That said, I'm trying to change the action step of a monster object. I placed my code in the Handle Object Collision script under the otherIsNotAcollectable label
My thought is that I would check the id to see if it equals the monster I want. BNE would imply it would jump to the + if not equal, meaning the code in between would run, right? It's not working lol.
That said, I'm trying to change the action step of a monster object. I placed my code in the Handle Object Collision script under the otherIsNotAcollectable label
Code:
otherIsNotAcollectable:
LDA Object_ID,x
CMP #25
BNE +
ChangeObjectState #$00, #$01
+
My thought is that I would check the id to see if it equals the monster I want. BNE would imply it would jump to the + if not equal, meaning the code in between would run, right? It's not working lol.