Routines |
Prev: 615C | Up: Map | Next: 6177 |
Used by the command list at 61EA. Makes the gangster at no. 15 return to no. 15 instantly after dropping Sam off the roof of no. 19, and restarts his command list.
|
||||||||
615D | LD DE,$19F8 | E=248, D=25 (coordinates of the spot where the gangster at no. 15 waits for Sam) | ||||||
6160 | LD A,$01 | 1=z-coordinate (indoors) | ||||||
6162 | JR $6169 | |||||||
This entry point is used by the command list at FD86; it makes the gangster who watches for Sam outside the police station return instantly to the police station after dropping Sam off the roof of no. 19, and restarts his command list.
|
||||||||
6164 | LD DE,$2293 | E=147, D=34 (coordinates of the base location of the gangster who watches for Sam outside the police station) | ||||||
6167 | LD A,$04 | 4=z-coordinate (on the sidewalk) | ||||||
6169 | LD L,$04 | Point HL at byte 0x04 of the gangster's buffer | ||||||
616B | LD (HL),A | Set the gangster's x-, y- and z-coordinates | ||||||
616C | DEC L | |||||||
616D | DEC L | |||||||
616E | LD (HL),D | |||||||
616F | DEC L | |||||||
6170 | LD (HL),E | |||||||
6171 | DEC L | Set the gangster's animatory state to 0xA0 | ||||||
6172 | LD (HL),$A0 | |||||||
6174 | JP $F6DE | Restart the gangster's command list |
Prev: 615C | Up: Map | Next: 6177 |