How?
Posted: Sat May 13, 2017 4:44 pm
How do you enable peach to be able to spin jump? Does someone have a code of how?
I don't think that user exists..timocomsmbx2345 wrote:ask Pixel fkjfhdskjbvhdfkjshflkhsdkljhfvkjlsdahfkjshdkPESTfjbsadnmdbkjaskjfds
Basically this.HenryRichard wrote:Not 100% sure how you would do it, but you could check if the player just jumped and is holding the alt jump key, and then set the spinjump state to true.
Code: Select all
function onInputUpdate()
if (player.character == CHARACTER_PEACH) and (player.altJumpKeyPressing) and (player:isGroundTouching()) then
player:mem(0x50, FIELD_BOOL, true);
end
end
That will, I think, also allow you to turn a regular jump into a spinjump. You may also need to test player:isGroundTouching(). Also you should use CHARACTER_PEACH, rather than 3.PixelPest wrote:Basically this.HenryRichard wrote:Not 100% sure how you would do it, but you could check if the player just jumped and is holding the alt jump key, and then set the spinjump state to true.
The following should work:Code: Select all
function onInputUpdate() if (player.character == 3) and (player.altJumpKeyPressing) then player:mem(0x50, FIELD_BOOL, true); end end