Request: Monster damage in back row only reduced by 25% instead of 50%
#2
You can try this, to be assembled with xkas with a unheadered ROM. I have not tested the code though. You also might have to change the org $C26469 because that free space might be taken by patches already applied. I also don't know if that code is compatible with the 1.1 ROM, if problem check if the $C2339D region is same as 1.0.

To assemble:
Code:
xkas filename.asm romname.smc

Code:
hirom

org $C2339D
jsr free_space
sep #$20       ; 8-bit acc
nop

org $C26469
free_space:
rep #$20       ; 16-bit acc
lda $11B0      ; load damage
lsr a          ; divide by 2
lsr a          ; divide by 2
sta $10        ; save in temp RAM
lda $11B0      ; load damage
sec              
sbc $10        ; damage - 25%
sta $11B0      ; save as damage
rts

Edit: I had forgot to add the "hirom" at top of ASM file.
Reply


Messages In This Thread
RE: Request: Back row = 1/4 damage taken instead of 1/2 - by madsiur - 09-16-2018, 05:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [From Discord] Shock step back C-Dude 0 1,194 01-11-2022, 08:49 PM
Last Post: C-Dude
  FF3 Monster Damage Excel Spreadsheet Lightning 7 5,737 09-22-2018, 11:55 AM
Last Post: BTB
  I'M BACK! Let's see if I can get a move on, eh? Royaken 6 6,764 03-08-2014, 02:28 PM
Last Post: Royaken
  (request) Get Leo Back Side-Quest Royaken 2 4,522 09-20-2012, 07:05 PM
Last Post: Angelo26

Forum Jump:


Users browsing this thread: 2 Guest(s)