Users browsing this thread: 1 Guest(s)
Edit Berserk
05-09-2022, 08:24 AM
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.
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.
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.
« Next Oldest | Next Newest »
|
||||
Users browsing this thread: 1 Guest(s)