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

Posts: 145
Threads: 47
Thanks Received: 0
Thanks Given: 0
Joined: Jan 2020
Reputation: 0
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.

Posts: 170
Threads: 2
Thanks Received: 22
Thanks Given: 3
Joined: Apr 2015
Reputation: 18
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.

; 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: 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.

Forum Jump:

Users browsing this thread: 1 Guest(s)

Theme by Madsiur2017Custom Graphics by JamesWhite