Prev: 38694 Up: Map Next: 38968
38946: Jump To InPlay Girl Routine
Used by the routines at InitialiseNewGame and GirlLostRound.
JumpToInPlayGirlRoutine 38946 LD A,(39139) Return if *CurrentStage is equal to 17.
38949 CP 17
38951 RET Z
38952 INC A Increment *CurrentStage by one.
38953 LD (39139),A
38956 LD HL,39136 HL=39136 (i.e. JumpTable_StageData).
FindCurrentGirlJumpRoutine 38959 INC HL Increment HL by five.
38960 INC HL
38961 INC HL
38962 INC HL
38963 INC HL
38964 DEC A Decrease A by one and jump back to FindCurrentGirlJumpRoutine until A is zero.
38965 JR NZ,FindCurrentGirlJumpRoutine
38967 JP (HL) Jump to the address held by HL.
Prev: 38694 Up: Map Next: 38968