DocNES
Member
@Jonny Mahalo. I'll give it a look over, though my skill are limited. Funny timing, I was actually looking at some old code from Mugi on their wall grab, that allows for jumping by bypass gravity based jumping, since gravity is turned off when you hang on the wall.
I haven't been successful yet with it.
To do so, the following will have to be added and adapted to your jump script. I believe it uses some old commands that aren't in the current version.
I haven't been successful yet with it.
To do so, the following will have to be added and adapted to your jump script. I believe it uses some old commands that aren't in the current version.
Code:
GetCurrentActionType player1_object
CMP #$06
BEQ doWallClimbJumpThing
JMP dontDoWallClimbJumpThing
doWallClimbJumpThing:
ChangeObjectState #$02, #$03 ; Assumes Tile #03
LDA #$00
SEC
SBC #JUMP_SPEED_LO
STA Object_v_speed_lo,x
LDA #$00
SEC
SBC #JUMP_SPEED_HI
STA Object_v_speed_hi,x
RTS
dontDoWallClimbJumpThing: