Users browsing this thread: 1 Guest(s)
Making a Weapon Deal 2x Damage to a New Monster Type

#2
Posts: 3,971
Threads: 279
Thanks Received: 237
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
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.
  Find
Quote  
[-] The following 1 user says Thank You to madsiur for this post:
  • ReturnerScum (01-30-2016)



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)


Theme by Madsiur2017Custom Graphics by JamesWhite