Prev: 8FEB Up: Map Next: 908B
9052: Initialise Sub-Game
Used by the routine at Handler_SubGame.
Initialise_SubGame 9052 CALL CopySubGameData Call CopySubGameData.
9055 CALL ClearShadowBuffer Call ClearShadowBuffer.
9058 CALL $90A2 Call 90A2.
905B CALL $90FC Call 90FC.
905E CALL $9194 Call 9194.
9061 LD HL,($99D1) Write *99D1 to *92BE.
9064 LD ($92BE),HL
9067 LD HL,($99D5) Write *99D5 to *7204.
906A LD ($7204),HL
906D LD HL,$9A32 Write 9A32 to *99BA.
9070 LD ($99BA),HL
9073 LD HL,$99F0 Write 99F0 to *99A7.
9076 LD ($99A7),HL
Self-modifying code; alters the CALL location target below.
9079 LD HL,($99D3) Call the routine pointed to by *ActiveSubGameInitialisation.
907C LD ($9080),HL
907F CALL $0000
9082 CALL CopyBufferToScreen Call CopyBufferToScreen.
9085 CALL PaintHeaderFooter Call PaintHeaderFooter.
9088 JP $9270 Jump to 9270.
Prev: 8FEB Up: Map Next: 908B