ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2880

Super Punch in Asm

by Torxi - 07-09-2020 - 09:10 AM
#1
Code:
PushString "Super Punch"
StaticGet 1
Push1 2
CallNative "IS_BIT_SET" 2 1
push_1
Call @AddBoolOption_

[2=@SelfOptionsExplosiveMelee_]

:SelfOptionsExplosiveMelee_
StaticGet 1
Push1 2
CallNative "IS_BIT_SET" 2 1
JumpFalse @TurnOnExplosiveMelee_
pStatic 1
Push1 2
CallNative "CLEAR_BIT" 2 0
Jump @SelfOptionsReturn_
:TurnOnExplosiveMelee_
pStatic 1
Push1 2
CallNative "SET_BIT" 2 0
Jump @SelfOptionsReturn_

:ExplosiveMelee_  // Loop this
StaticGet 1
Push1 2
CallNative "IS_BIT_SET" 2 1
JumpFalse @FOR THE NEXT LOOP OPION
CallNative "PLAYER_ID" 0 1
CallNative "SET_EXPLOSIVE_MELEE_THIS_FRAME" 1 0
Reply

Users browsing: 1 Guest(s)