Prev: C192 Up: Map Next: C23B
C1C2: Disparar contra o ladrão
Used by the routine at ladrao.
Input
Output
LC1C2 C1C2 LD A,($C33D) Se não tiver pistola chama nao_tenho_pistola
C1C5 CP $00
C1C7 CALL Z,nao_tenho_pistola
C1CA LD A,($C33D)
C1CD CP $00
C1CF JP Z,ladrao_0
C1D2 LD A,$00
C1D4 LD ($C34A),A
This entry point is used by the routine at ladrao.
LC1C2_0 C1D7 LD A,($C33D)
C1DA CP $00
C1DC CALL Z,nao_tenho_pistola
C1DF LD A,($C33D)
C1E2 CP $00
C1E4 JP Z,ladrao_3
This entry point is used by the routine at LC0F8.
LC1C2_1 C1E7 CALL saca_a_pistola Saca a pistola para fora!
C1EA LD A,$01 Delay com a duracao do valor em A
C1EC CALL delay_em_A
C1EF CALL LBEC5
C1F2 CALL LBDA0
C1F5 CALL LBD15
C1F8 LD A,($C336)
C1FB CP $01
C1FD JP Z,LC192
C200 LD A,$05
C202 CALL delay_em_A
C205 LD B,$03
C207 CALL LBA0D
This entry point is used by the routine at LC192.
LC1C2_2 C20A LD HL,$C0CA
C20D CALL desenhaFrameHL
C210 CALL ladrao_virar_esquerda
C213 LD HL,$C0CA
C216 CALL desenhaFrameHL
C219 CALL ladrao_entra_porta
C21C LD DE,$D5D9
C21F CALL de_to_chars
C222 LD HL,$C07C
C225 CALL desenhaFrameHL
C228 LD A,$04
C22A CALL delay_em_A
C22D CALL fecha_a_porta
C230 LD A,$02
C232 CALL delay_em_A
C235 CALL desenhaCorpo
C238 JP main_1
Prev: C192 Up: Map Next: C23B