Prev: E443 Up: Map Next: E45F
E451: Accelerate Eagle Up
Used by the routine at Handle_Carrying_Eagle.
Decreases the y velocity of the eagle by one, but not below C7 as the eagle is below its target.
Input
A Y velocity of the eagle
IX Object record of the eagle
Accelerate_Eagle_Up E451 DEC A Subtract one from the y velocity.
E452 BIT 7,A Jump to Handle_Carrying_Eagle_Store_Y_Velocity to store it if it is positive.
E454 JP Z,Handle_Carrying_Eagle_Store_Y_Velocity
E457 CP $C7 Jump to Handle_Carrying_Eagle_Check_Contact without storing it if it is less than C7.
E459 JP C,Handle_Carrying_Eagle_Check_Contact
E45C JP Handle_Carrying_Eagle_Store_Y_Velocity Jump to Handle_Carrying_Eagle_Store_Y_Velocity to store it.
Prev: E443 Up: Map Next: E45F