![]() |
Routines |
| Prev: 788D | Up: Map | Next: 7D2B |
|
Used by the routine at cafe_encounter.
|
||||
| main | 7CF0 | NOP | NOP sled — patchable entry point | |
| 7CF1 | NOP | |||
| 7CF2 | NOP | |||
| 7CF3 | NOP | |||
| 7CF4 | NOP | |||
| 7CF5 | NOP | |||
| 7CF6 | NOP | |||
|
This entry point is used by the routines at randomize_usr, prostitute_room, reinaldo_encounter and post_sex_update.
|
||||
| main_0 | 7CF7 | CALL draw_background | Draw floor, high-score line and blue background (draw_background) | |
| 7CFA | CALL draw_hero | Draw hero body (draw_hero) | ||
| 7CFD | CALL draw_hiscore | Draw high-score display (draw_hiscore) | ||
|
This entry point is used by the routines at police, oldwoman_encounter, cafe_door, refuse_prostitute, thief_encounter, thief_lighter and thief_flees.
|
||||
| main_1 | 7D00 | CALL draw_hud | Draw score and money display (draw_hud) | |
| 7D03 | NOP | NOP sled — patchable | ||
| 7D04 | NOP | |||
| 7D05 | NOP | |||
| 7D06 | NOP | |||
| 7D07 | NOP | |||
| 7D08 | NOP | |||
| 7D09 | NOP | |||
| 7D0A | NOP | |||
| 7D0B | NOP | |||
| 7D0C | NOP | |||
| 7D0D | NOP | |||
| 7D0E | NOP | |||
| main_2 | 7D0F | CALL draw_door | Draw/advance sliding door (draw_door) | |
| 7D12 | CALL draw_hero_legs | Advance hero walk cycle (draw_hero_legs) | ||
| 7D15 | CALL scroll_hiscore | Scroll high-score strip one pixel right (scroll_hiscore) | ||
| 7D18 | LD A,$01 | Delay 1 tick (delay) | ||
| 7D1A | CALL delay | |||
| 7D1D | CALL prng_tick | Advance PRNG (prng_tick) | ||
| 7D20 | NOP | NOP sled (8 bytes) | ||
| 7D21 | NOP | |||
| 7D22 | NOP | |||
| 7D23 | NOP | |||
| 7D24 | NOP | |||
| 7D25 | NOP | |||
| 7D26 | NOP | |||
| 7D27 | NOP | |||
| 7D28 | JP main_2 | Loop back to inner loop body | ||
| Prev: 788D | Up: Map | Next: 7D2B |