Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: Raziel80 on 2019-11-29 21:22:17

Title: How to multiply / divide the number of gained limit bar units?
Post by: Raziel80 on 2019-11-29 21:22:17
How to multiply / divide the number of gained limit bar units, during fury/sadness, by 0, 3, 4, 6, 8 and not overwrite next instruction?
Code: [Select]
FF7_EN.exe+1DF2A2 - D1 E1                 - shl ecx,1   - multiply by 2, once  -> instruction for fury
FF7_EN.exe+1DF2BF - D1 F9                 - sar ecx,1   - signed divide by 2, once  -> instruction for sadness