| Routines

45429: Prepare a character to be walked onto the screen (2)

Continues from 44919. On entry here, the carry flag is set if the character to be walked onto the screen is a boy.
Input
DE | 46572
HL | 39008 (96, 152)
45429 | JR C,45433 | Jump if we are dealing with a boy
45431 | LD H,164 | 164=MR ROCKITT
45433 | EX DE,HL | Change the instruction at 46571 in the routine at 46568 to LD H,152 (boy) or LD H,164 (teacher) as appropriate
45434 | LD (HL),D
45435 | EX DE,HL
45436 | JP 46202 |