Qhimm.com Forums
Miscellaneous Forums => Gameplay => Topic started by: cloudiar on 2012-10-09 22:34:15
-
I try the new system for battle, to expand difficulty.
To try character loses all MP in case of death, somes problem but finally to obtain, this change its possible in IA of player!
(run in Death Counter)
-- OPCODE
12 2060
12 4140
80
02 2060
02 4140
80
02 2060
02 4140
80
31
90
73
-- ASM
0000: PUSH (2060) Type (12)
0003: PUSH (4140) Type (12)
0006: MASK
0007: PSHA (2060) Type (02)
000A: PSHA (4140) Type (02)
000D: MASK
000E: PSHA (2060) Type (02)
0011: PSHA (4140) Type (02)
0014: MASK
0015: SUB
0016: STRA
0017: END
-- C STYLE
Self.MP <- Self.MP - Self.MP
SCRIPT END
The opcodes run very nice, first problem in case lose PM limited to 255, though this problem is solved and can reset PM to 0 even 65535 :-D
The really problem?
Only run in Cloud...try in Barret and Tifa, ¡not effect! death and MP not change :|
Anyone know possible reason? The opcode in other character is some of Cloud.
Thanks
-
Only run in Cloud...try in Barret and Tifa, ¡not effect! death and MP not change :|
Anyone know possible reason?
Yep. Barret's, Tifa's, and Yuffie's scripts are linked to Aerith's. You'll need to put this code on Aerith's Death Counter for this to work correctly for those three. Then you've solved the problem for four characters with one script. :) You'll still have to add it to the other characters' scripts.
-
Thank you, I try and go back to talk to you about the result.
You're always offering support to the people of the community, thank you for helping me develop the mod, your contribution is important and everyone will know that you are part of this work.
-
Add in start "Death counter" in Aeris...Run in Yuffie, Tifa, Aeris!!
But Barret fail...This fix rewrite this opcodes in there IA.
Cloud new fail buged, in death only can loser 113 PM , and never repeat lose in new death.
In case changes comment.