Users browsing this thread: 1 Guest(s)
Boost Atma Weapon

#2
Posts: 382
Threads: 34
Thanks Received: 10
Thanks Given: 11
Joined: Dec 2018
Reputation: 18
Status
Moog
Code:
C2/0E58: A9 05 00     LDA #$0005
C2/0E5B: 20 D1 0D     JSR $0DD1      (Divide 24-bit Damage in $E8 by 64. [note that
                                     calculation operates on 4 bytes])
According to Assassin's disassembly, entering that subroutine at $0DD1 takes the number and divides it by 2^(A+1).
Because A is set to 5 right before the subroutine, the result is 2^6, or division by 64.

You could change LDA #$0005 to #$0004 to make the division 32 instead (doubling the damage), but getting a divisor that isn't a power of two won't be possible with an in-line change.
  Find
Quote  
[-] The following 1 user says Thank You to C-Dude for this post:
  • doofenH (06-17-2020)



Messages In This Thread
Boost Atma Weapon - by doofenH - 06-17-2020, 08:55 AM
RE: Boost Atma Weapon - by C-Dude - 06-17-2020, 12:55 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite