Hector Valle
New member
Hello Guys! I'm trying to implement "spike enemies" in my platform game, but obviously I can beat them if I jump on them because that's how it is set in the hurtPlayer_PlataformerBase.asm Try placing this little piece of code on top:
LDA Object_type, x
CMP #$12 (that's the number of my enemy)
BNE + skipDoingThis
Now what happens is that if I jump on any enemy, I die as if it were the enemy with spikes. Can someone help me fix this please?
LDA Object_type, x
CMP #$12 (that's the number of my enemy)
BNE + skipDoingThis
Now what happens is that if I jump on any enemy, I die as if it were the enemy with spikes. Can someone help me fix this please?