Prev: 81BB Up: Map Next: 822F
8209: Frame Update
Runs when the FRAMES counter has ticked. Marks the frame as updated and walks the actor slots from Laser_Parameter_1 up to Jetman_Slot (the laser beams and explosion), then returns to the current actor.
Mark the frame as updated, then walk the slots up to Jetman_Slot.
FrameUpdate 8209 DI Disable interrupts.
820A LD A,($5C78) Write FRAMES to LastFrame.
820D LD ($5E53),A
8210 LD A,$01 Write 01 to FrameUpdated.
8212 LD ($5E52),A
8215 PUSH IX Stash IX on the stack.
8217 LD HL,$6078 Write Jetman_Slot to 8262.
821A LD ($8262),HL
821D LD A,$C3 Write C3 (JP) to 826A.
821F LD ($826A),A
8222 LD HL,$823F Write ResetModifiedInFrame to 826B.
8225 LD ($826B),HL
8228 LD IX,$6000 IX=Laser_Parameter_1.
822C JP StartGame_NextActor Jump to StartGame_NextActor.
View the equivalent code in;
Prev: 81BB Up: Map Next: 822F