Main > Code > ASM > Object > Movement Scripts

Double Jump: playerDoubleJumpPress.asm

Submitter: wolfmerrik

Description: This script will be called when the "A" button is pressed

For more details on how to use this, check out this thread:

To use this, you will need to add both these lines to SystemVariables:

canDoubleJump .dsb 1

didDoubleJump .dsb 1

This file is one of the three files needed for this to work:

Credits: If you find a great use for this or improvement, post it in the thread mentioned above!


Tags: doublejump, jump, platformer

ASM Preview:

;  This is the actual "press" script, that checks for the DoubleJump

;  This was created by WolfMerrik, and is the first revision of this script

;  lets call it v1.1

;  for info on using it, check out:

LDA canDoubleJump ;  Can we double jump?


LDA didDoubleJump ;  Did we already do a double jump?


LDA Object_status,x ;  Are we on the ground?

; This is an incomplete preview.
; Download for the full code

Download: Here

Size: 619 B

Downloads: 282 (1 Users)

Rating: This has not been rated yet



There are no comments yet.