Prev: D82D Up: Map Next: D877
D864: Handler: Kempston Climb
Used by the routine at Handler_Combination.
Reads Kempston while climbing and jumps to the matching climb routine.
Bail out if the port is unstable.
Controls_Kempston_Climb D864 CALL Read_Kempston Call Read_Kempston.
D867 JP NZ,Handler_Player_Commit Jump to Handler_Player_Commit if the port is unstable.
Climb up.
D86A CP $08 Jump to Player_ClimbUp_Anim if up (bit 3) is pressed.
D86C JP Z,Player_ClimbUp_Anim
Climb down.
D86F CP $04 Jump to Player_ClimbDown_Anim if down (bit 2) is pressed.
D871 JP Z,Player_ClimbDown_Anim
Hold the current climb if neither direction is pressed.
D874 JP Handler_Player_Commit Jump to Handler_Player_Commit.
Prev: D82D Up: Map Next: D877