Prev: 751A Up: Map Next: 754F
7535: Print "Demo Mode"
Used by the routines at 7161, InitialiseNewGame and 76D7.
PrintDemoMode 7535 LD A,($782D) Jump to NotDemoMode if the game is not in "demo mode" (the high-order byte of ControlMethod_Pointer does not contain 73).
7538 CP $73
753A JR NZ,NotDemoMode
Print the "DEMO MODE-PRESS A KEY TO PLAY" messaging in the footer.
demo-mode
753C LD A,$82 A=82 (INK: RED, PAPER: BLACK FLASH: ON).
753E LD HL,$BA66 HL=Messaging_DemoMode.
7541 JP PrintFooterColourString Jump to PrintFooterColourString.
If this is not demo mode then set the attributes to INK: BLACK, PAPER: BLACK where it would normally display the demo mode footer messaging.
NotDemoMode 7544 LD HL,$5AE0 HL=5AE0 (footer attribute buffer location).
7547 LD B,$20 B=20.
NotDemoMode_Loop 7549 LD (HL),$00 Write 00 to *HL.
754B INC L Increment L by one.
754C DJNZ NotDemoMode_Loop Decrease counter by one and loop back to NotDemoMode_Loop until counter is zero.
754E RET Return.
Prev: 751A Up: Map Next: 754F