![]() |
Routines |
| Prev: C17A | Up: Map | Next: C1C2 |
|
Reached when the thief escapes after the lighter encounter without being shot (hero pressed '0' too late, or var_encounter_flag was set).
Clears both speech bubbles. Decrements the score by 3 (B=3, DJNZ loop in score_dec_lo) and refreshes the HUD.
Delays 3 ticks. Sets CHARS=$D579 and draws the thief's parting line (frame_bubble_thief_r8c11). After 11 ticks, erases the sprite column (erase_sprite_col). Falls through to the shared ending at thief_flees.
|
||||
|
Clear bubbles
|
||||
| thief_escape_cleanup | C192 | LD HL,$C026 | Draw frame_clear_street_r2c17 — clear right-side bubble | |
| C195 | CALL draw_frame | |||
| C198 | LD HL,$C052 | Draw frame_clear_hero_r1c1_thief — clear left-side bubble | ||
| C19B | CALL draw_frame | |||
|
Deduct score × 3
|
||||
| C19E | LD B,$03 | B = 3 (repeat count for score_dec_lo) | ||
| C1A0 | CALL score_dec_lo | Decrement score 3 times via DJNZ (score_dec_lo) | ||
| C1A3 | CALL draw_hud | Refresh score/money HUD (draw_hud) | ||
|
Thief's parting taunt
|
||||
| C1A6 | LD A,$03 | Delay 3 ticks | ||
| C1A8 | CALL delay_a | |||
| C1AB | LD DE,$D579 | Set CHARS=$D579 (thief parting-line tileset) | ||
| C1AE | CALL set_chars | |||
| C1B1 | LD HL,$C0B3 | Draw thief parting line (frame_bubble_thief_r8c11) | ||
| C1B4 | CALL draw_frame | |||
| C1B7 | LD A,$0B | Delay 11 ticks | ||
| C1B9 | CALL delay_a | |||
| C1BC | CALL erase_sprite_col | Erase sprite column (erase_sprite_col) | ||
| C1BF | JP thief_flees | Jump to shared thief-flees ending (thief_flees) | ||
| Prev: C17A | Up: Map | Next: C1C2 |