Chase H.Q. | Routines |
Prev: 88E2 | Up: Map | Next: 8903 |
Used by the routines at main_loop, drive_sfx, tick, check_collisions, smash_handler, hazard_handler_a8cd, hazard_hit, move_hero_car and main_loop_24.
|
||||||||
start_sfx | 88F2 | LD A,($A238) | If sfx_1 is zero then goto sfx_related_assign | |||||
88F5 | AND A | |||||||
88F6 | JR Z,sfx_related_assign | |||||||
88F8 | CP C | Return if sfx_1 < C | ||||||
88F9 | RET C | |||||||
sfx_related_assign | 88FA | LD A,B | wordat(sfx_0) = BC | |||||
88FB | LD ($A237),A | |||||||
88FE | LD A,C | |||||||
88FF | LD ($A238),A | |||||||
8902 | RET | Return |
Prev: 88E2 | Up: Map | Next: 8903 |