Users browsing this thread: 1 Guest(s)
Edit Berserk

#1
Posts: 144
Threads: 46
Thanks Received: 4
Thanks Given: 42
Joined: Jan 2020
Reputation: 0
Status
None
I would like to know how to edit berserk status to no longer randomly pick Attack, Mug, Jump, Rage, & MagiTek. If the character is under berserk status, they will always use normal attack, or always Jump under Dragoon Boots if possible. The exception will be Umaro who use an unique commands, and maybe Magitek commands but I'm not sure. Although I don't think I can just change all those random commands to Attack &/or Jump.
  Find
Quote  

#2
Posts: 160
Threads: 2
Thanks Received: 154
Thanks Given: 22
Joined: Apr 2015
Reputation: 20
Status
None
There is a subroutine starting at C2/0420 that automatically chooses commands for characters. For berserk specifically, it uses a table at C2/04D4 to determine which commands are allowed.

Code:
; bitmask of berserk/zombie commands:
;  fight, capture, rage, jump, magitek
C2/04D4:              .DB $41, $00, $41, $20

There are 32 bits, one for each command. You can allow other commands to be used while berserk by modifying this table. There is a list of commands on the wiki: https://www.ff6hacking.com/wiki/doku.php...lecommands. For example, to allow the steal command you would set bit 5, so the first byte becomes $61 instead of $41.

If you want to make more detailed changes, you will need to make an asm hack to modify this subroutine.
  Find
Quote  



Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite