![]() |
Routines |
| Prev: C1E7 | Up: Map | Next: C23B |
|
Shared tail used by both the shot-thief path (thief_shot) and the escape path (thief_escape_cleanup).
Draws frame_thief_erase_knockeddown — erases knocked-down thief (frame_thief_floor) remnants. Turns the thief to face left (thief_face_left). Draws frame_thief_erase_knockeddown again to clear any residual pixels. Sends the thief through the door (thief_enter_door).
Sets CHARS=$D5D9 and draws the "Mãezinha!" bubble (frame_bubble_thief_r3c11). Delays 4 ticks. Closes the door (door_close). Delays 2 ticks. Redraws the hero (draw_hero). Returns to the main loop (main_1).
|
||||
|
Erase thief body
|
||||
| thief_flees | C20A | LD HL,$C0CA | Erase knocked-down thief (frame_thief_erase_knockeddown) | |
| C20D | CALL draw_frame | |||
| C210 | CALL thief_face_left | Turn thief to face left (thief_face_left) | ||
| C213 | LD HL,$C0CA | Erase knocked-down thief residuals (frame_thief_erase_knockeddown) | ||
| C216 | CALL draw_frame | |||
|
Thief exits saying "Mãezinha!"
|
||||
| C219 | CALL thief_enter_door | Thief enters door (thief_enter_door) | ||
| C21C | LD DE,$D5D9 | Set CHARS=$D5D9 ("Mãezinha!" tileset) | ||
| C21F | CALL set_chars | |||
| C222 | LD HL,$C07C | Draw "Mãezinha!" bubble (frame_bubble_thief_r3c11) | ||
| C225 | CALL draw_frame | |||
| C228 | LD A,$04 | Delay 4 ticks | ||
| C22A | CALL delay_a | |||
|
Close door and redraw
|
||||
| C22D | CALL door_close | Close door (door_close) | ||
| C230 | LD A,$02 | Delay 2 ticks | ||
| C232 | CALL delay_a | |||
| C235 | CALL draw_hero | Redraw hero (draw_hero) | ||
| C238 | JP main_1 | Return to main loop (main_1) | ||
| Prev: C1E7 | Up: Map | Next: C23B |