Making a Weapon Deal 2x Damage to a New Monster Type
#2
Good little detailed tutorial!

There's only a small thing that seems not really on point:

(01-30-2016, 09:45 PM)ReturnerScum Wrote: Technically, any matches of bits from the compared byte versus the BIT operation in the A register results in a "1" bit in the byte of the A register.  So all 1s that match go into the A register byte.

The accumulator remains unaltered from the BIT operation. It's like an AND that doesn't affect A and the result is stored in Z (like you say after) and not in A.
Reply


Messages In This Thread
RE: Newbie Coding 01: Making a Weapon Deal 2x Dmg to a New Monster Type - by madsiur - 01-30-2016, 11:40 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)