Prev: 43097 Up: Map Next: 43157
43140: Handler: Print Yes/ No
Used by the routines at Player_Name and Controller_Yes_No.
Handler_Yes_No 43140 BIT 5,A Test bit 5 of A.
Default to using "NO".
43142 LD HL,44274 HL=Messaging_No.
43145 JR Z,Handler_Yes_No_Write Jump to Handler_Yes_No_Write if bit 5 of A is not set.
Else, use "YES.
43147 LD HL,44278 HL=Messaging_Yes.
Handler_Yes_No_Write 43150 LD DE,18650 DE=18650 (screen buffer location).
43153 CALL PrintString Call PrintString.
43156 RET Return.
Prev: 43097 Up: Map Next: 43157