Routines

26910: Update SRB to remove speech bubble


Used by routine at 27144

26910 E5 PUSH HL
26911 CDE168 CALL 26849 Reset bits in SRB corresponding to speech bubble
26914 2EF8 LD L,248 HL=32760
26916 7E LD A,(HL)
26917 A7 AND A Is the speech bubble on-screen?
26918 2813 JR Z,26939 Jump if not
26920 3600 LD (HL),0 Signal: no one's talking now
26922 6F LD L,A HL points to SRB byte corresponding to lip of speech bubble
26923 3AF97F LD A,(32761) Bit set in A corresponds to bit of SRB byte for lip
26926 B6 OR (HL) Make sure this is set (force refresh)
26927 77 LD (HL),A Update SRB for where lip of speech bubble was
26928 7D LD A,L Update SRB for where bottom line of speech bubble was
26929 C6FC ADD A,252
26931 6F LD L,A
26932 36FF LD (HL),255
26934 C6FC ADD A,252 Update SRB for where top line of speech bubble was
26936 6F LD L,A
26937 36FF LD (HL),255
26939 E1 POP HL
26940 C9 RET