Prev: 8BB1 Up: Map Next: 8C08
8BCD: Shifts the rocket based on set up by actions Action10_LiftOffFromEarth and Action11_LiftOffFromMoon.
Input
Output
Action_LiftRocket 8BCD CALL Wally_Erase Make it look like Wally enters the rocket.
8BD0 LD C,$88 Number of times run animation.
Action_LiftRocket_0 8BD2 LD B,$87 Height of rocket.
8BD4 LD IX,DF_lookup_Row6
Action_LiftRocket_1 8BD8 PUSH BC
8BD9 LD L,(IX+$00) Row on screen to draw to.
8BDC LD H,(IX+$01)
8BDF LD DE,$0016
8BE2 ADD HL,DE
8BE3 EX DE,HL
8BE4 LD L,(IX+$02) Row on screen to copy from.
8BE7 LD H,(IX+$03)
8BEA LD BC,$0016
8BED ADD HL,BC
8BEE INC IX
8BF0 INC IX
8BF2 LD BC,$0003 Copy 3 columns.
8BF5 LDIR
8BF7 POP BC Repeat for height of rocket.
8BF8 DJNZ Action_LiftRocket_1
8BFA DEC C Repeat until rocket is gone.
8BFB JR NZ,Action_LiftRocket_0
8BFD POP HL
8BFE LD A,(IgnoreEnergy) Check flag to see if we are playing...
8C01 OR A
8C02 JP Z,Room_TestEvents_0
8C05 JP Demo_10 Or watching the demo.
Prev: 8BB1 Up: Map Next: 8C08