![]() |
Routines |
| Prev: B626 | Up: Map | Next: B64F |
|
Used by the routine at bounce_ball_set_sense.
Nothing changes while the ball is in the air. When the last move left it standing on something, dZ is set to the bounce value and a new heading is chosen in bounce_ball_pick_axis.
|
||||||||
| bounce_ball_on_landing | B63C | BIT 2,(IX+$0C) | not on the ground: keep flying | |||||
| B640 | JR Z,bounce_ball_animate | |||||||
| B642 | LD (IX+$0B),A | landed: jump | ||||||
| B645 | LD A,($5BC2) | thud only if it was falling, not if it was already resting | ||||||
| B648 | AND A | |||||||
| B649 | JP P,bounce_ball_pick_axis | |||||||
| B64C | CALL sound_thud | |||||||
| Prev: B626 | Up: Map | Next: B64F |