Prev: 33697 Up: Map Next: 33750
33742: Print Text Repeatedly
Used by the routines at CompletePlanet, DrawHUD and ShowTitleScreen.
Calls PrintText several times with the same text record.
repeated-title
Input
B Number of times to print the text
DE Address of the text record
PrintTextRepeatedly 33742 PUSH BC Save the counter.
33743 CALL PrintText Print the text record.
33746 POP BC Restore the counter.
33747 DJNZ PrintTextRepeatedly Decrease the counter by one and loop back to PrintTextRepeatedly until none remain.
33749 RET Return.
View the equivalent code in;
Prev: 33697 Up: Map Next: 33750