Users browsing this thread: 1 Guest(s)
Monsters are invincible/Algorithm question???

#7
Posts: 281
Threads: 18
Thanks Received: 13
Thanks Given: 8
Joined: Mar 2014
Reputation: 8
Status
None
Monsters and player characters use the same damage calculation for magical attacks, handled at C2/2B69. You can check the physical damage calculation at C2/2B9D to see how it handles calculating damage differently for monsters and PCs.

The X register usually holds the attacker ID, a number from $00 to $14, for each of the ten possible entities in battle. For PCs it is $00, $02, $04, or $06, so CPX #$08 and BCC is often used to differentiate between characters and monsters. For targets, the Y register is used instead.
  Find
Quote  



Messages In This Thread
RE: Monsters are invincible??? - by Gi Nattak - 10-24-2017, 09:12 PM
RE: Monsters are invincible??? - by ExiaTreason - 10-25-2017, 03:08 AM
RE: Monsters are invincible/Algorithm question??? - by seibaby - 10-26-2017, 08:47 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite