Users browsing this thread: 1 Guest(s)
Chainsaw Effect

#1
Posts: 324
Threads: 25
Thanks Received: 13
Thanks Given: 15
Joined: Oct 2013
Reputation: 2
Status
X-Zone
Greetings all.Hello

I have a question considering the Chainsaw Tool for the Tools Command.
I would like to change it in which that when the user of the tool puts on the Jason Mask and and results in Instant Death. I Would like to change to where it instead deals massive damage. The other possibility where the User spins around the enemy with the Chainsaw, I would like change it to where it spreads the damage out to all of the enemies in the Battle.
Would this be Possible?


Shine 
  Find
Quote  

#2
Posts: 149
Threads: 21
Thanks Received: 40
Thanks Given: 3
Joined: Dec 2013
Reputation: 9
Status
Auto-life
It is possible, but the tools are hard coded by assembly code. Unfortunately, for the original game, you can't change it only with the alteration of the data of the Tools items. You need to change the code by hex editing. The relevant codes are:

Pointers for the Tools:
Code:
C2/2B1A: 2A 2B     (Noise Blaster)
C2/2B1C: 2F 2B     (Bio Blaster) (do nothing)
C2/2B1E: 2F 2B     (Flash) (do nothing)
C2/2B20: 30 2B     (Chainsaw)
C2/2B22: 53 2B     (Debilitator)
C2/2B24: 4D 2B     (Drill)
C2/2B26: 57 2B     (Air Anchor)
C2/2B28: 5D 2B     (Autocrossbow)

The Chainsaw code:
Code:
C2/2B30: 20 5A 4B     JSR $4B5A   (0 to 255)
C2/2B33: 29 03        AND #$03
C2/2B35: D0 16        BNE $2B4D   (75% chance)
C2/2B37: A9 08        LDA #$08
C2/2B39: 85 B6        STA $B6     (Animation)
C2/2B3B: 9C A6 11     STZ $11A6   (Battle power)
C2/2B3E: A9 80        LDA #$80
C2/2B40: 0C AA 11     TSB $11AA   (Set death status)
C2/2B43: A9 10        LDA #$10    
C2/2B45: 8D A4 11     STA $11A4   (Set stamina can block)
C2/2B48: A9 02        LDA #$02
C2/2B4A: 0C A2 11     TSB $11A2   (Set miss if death prot.)
C2/2B4D: A9 20        LDA #$20
C2/2B4F: 0C A2 11     TSB $11A2   (Set ignore defense)
C2/2B52: 60           RTS

You can also try the Custom Tools patch. It will replace the Tools attack data with a specific spell data, but you must edit all Tools data and probably update or replace existing spells or attacks data for the use of the new Tools. You can consult the documentation for better details:

http://www.romhacking.net/hacks/2076/
  Find
Quote  
[-] The following 2 users say Thank You to HatZen08 for this post:
  • Cyprus (08-22-2014), ReturnerScum (12-29-2014)

#3
Posts: 324
Threads: 25
Thanks Received: 13
Thanks Given: 15
Joined: Oct 2013
Reputation: 2
Status
X-Zone
Thank you HatZen, this helps a lot. Objection!


Shine 
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite