Prev: E808 Up: Map Next: E82C
E819: Graphic Layout: Random Address Jump
Choose one of the following graphic-layout addresses at random and continue drawing from it.
GraphicLayoutRoutine_JumpRandomFromList E819 LD A,(IX+$00) Fetch the random-maximum parameter from the layout byte at IX.
E81C INC IX Advance IX past the graphic-layout operand byte.
E81E CALL PseudoRandom Call PseudoRandom to pick a pseudo-random value and keep it in C.
E821 LD C,A
E822 ADD A,A Double A, then with the next add form a ×03 index.
E823 ADD A,C A+=C.
E824 LD C,A Keep A in C for the next calculation.
E825 LD B,$00 Load B with 00.
E827 ADD IX,BC IX+=BC.
E829 JP Process_GraphicLayoutData Jump to Process_GraphicLayoutData to process graphic layout data.
View the equivalent code in;
Prev: E808 Up: Map Next: E82C