Prev: C7C8 Up: Map Next: C7E8
C7D1: Return To Town
Used by the routine at InitialiseGame.
Clears PlayfieldBuffer and the object slots. It sets TownOffset to 04, clears StageKind and sets ScreenAttribute to INK:WHITE, PAPER:BLACK (BRIGHT), then jumps to StartStage.
Clear the buffer and the objects.
ReturnToTown C7D1 CALL ClearBuffer Call ClearBuffer.
C7D4 CALL RemoveAllObjects Call RemoveAllObjects.
Put the game back in the town.
C7D7 LD A,$04 Set TownOffset to 04.
C7D9 LD ($A267),A
C7DC XOR A Clear StageKind.
C7DD LD ($A265),A
C7E0 LD A,$47 Set ScreenAttribute to INK:WHITE, PAPER:BLACK (BRIGHT).
C7E2 LD ($A266),A
C7E5 JP StartStage Jump to StartStage.
Prev: C7C8 Up: Map Next: C7E8