Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Question about negative MP values
#1
I will soon start working on Goku's Spirit Bomb attack. it will have 3 levels: small, big and huge. Press DvJ to start charging and press A to fire when it's at level 1, 2 or 3.

I got a question about the MP. Is there a way to use negative MP values like MP: -7, that makes the character go to a certain frame (throw the spirit bomb) when MP runs out?

For example:
start (level 1) = MP: 175
Level 2 = MP: -175 (When mana is less than 175, go to frame x)
Level 3 = MP: -175 (When mana is less than 175, frame x)
Original character edits
Goku2021
LF2 Timelapse (open source mod)

Reply
Thanks given by:
#2
mp: -x hit_d: y
go to frame y
if mana is below 0 within this frame
or if D is pressed (preventable by using mp: 99999 in frame y)
or if opposite direction (right/left) is held
Reply
Thanks given by: Memento
#3
When you use mp: -x then no matter how much mp you have the move will work.
Suppose you have 150 mp but the move require 175 mp, then also the move works
But your mp will become 0 ofc
...............
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)