Re: [stella] Climber 5 RC#03

Subject: Re: [stella] Climber 5 RC#03
From: Manuel Rotschkar <cybergoth@xxxxxxxx>
Date: Tue, 10 Feb 2004 23:45:52 +0100
Hi Dennis!

.checkObstacleCollision
   ldx obstacleType
   cpx #$04
the climber
   lda CXPPMM
   bpl .overscanWait
big wait

I think the lda CXPPMM was conflicting with my cpx.

Exactly. LDA does an implicit


CMP #$00

so the flag content you were expecting was destroyed.

I bet you have used this as a "feature" a zillion times as in

LDA someState
BNE / BEQ somewhere

:-)

Looking forward to check out the new BIN.

Greetings,
	Manuel
----------------------------------------------------------------------------------------------
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/


Current Thread