SuperNatetendo
New member
So, the ladder tile did some weird things with my animations as I jumped through it. Here's a slightly modified version that checks if you're in the air/jumping. If you are, the tile is not solid.
Just paste this over your ladder tile collision script:
Let me know if there's some dumb bug I don't know of.
EDIT: fixed a small thing...
Just paste this over your ladder tile collision script:
Code:
LDA gamepad
AND #%00110000 ; if down/up is pressed
BNE youreClimbing
GetCurrentActionType player1_object
CMP #$02
BEQ noLadder
LDA Object_v_speed_hi, x
CMP #$00
BNE noLadder
youreClimbing:
LDA #%00000010
STA tile_solidity
noLadder:
;;do nothing
Let me know if there's some dumb bug I don't know of.
EDIT: fixed a small thing...