C1C2: Disparar contra o ladrão
LC1C2 |
C1C2 |
LD A,($C33D) |
|
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 |
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 |
LC1C2_1 |
C1E7 |
CALL saca_a_pistola |
|
C1EA |
LD A,$01 |
|
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 |
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 |