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
 1546

Super Jump in Asm

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

[3=@SelfOptionsSuperJump_]

:SelfOptionsSuperJump_
StaticGet 1
Push1 3
CallNative "IS_BIT_SET" 2 1
JumpFalse @TurnOnSuperJump_
pStatic 1
Push1 3
CallNative "CLEAR_BIT" 2 0
Jump @SelfOptionsReturn_
:TurnOnSuperJump_
pStatic 1
Push1 3
CallNative "SET_BIT" 2 0
Jump @SelfOptionsReturn_

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

Users browsing: 1 Guest(s)