![]() |
Routines |
| Prev: C1C2 | Up: Map | Next: C1E7 |
|
Reached when the player presses '0' after the thief has drawn his gun (robbery phase, thief_encounter_1 poll loop).
Checks the gun flag (var_inv_gun): if zero, calls no_gun_bubble (hero says "Não tenho pistola"). If still unarmed, returns to the wallet-hand-over sequence at thief_encounter_3.
If the hero has the gun, falls through to thief_shot to fire.
|
||||
|
Check gun
|
||||
| shoot_robbery | C1D7 | LD A,($C33D) | If no gun (var_inv_gun == 0) → say "Não tenho pistola" (no_gun_bubble) | |
| C1DA | CP $00 | |||
| C1DC | CALL Z,no_gun_bubble | |||
| C1DF | LD A,($C33D) | If still no gun (var_inv_gun == 0) → robbery continues (thief_encounter_3) | ||
| C1E2 | CP $00 | |||
| C1E4 | JP Z,thief_encounter_3 | |||
| Prev: C1C2 | Up: Map | Next: C1E7 |