Prev: 24924 Up: Map Next: 24951
24925: Reset a gangster's location and restart the command list
Used by the command list at 25066. 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.
Input
H 224 (Gangster)
24925 LD DE,6648 E=248, D=25 (coordinates of the spot where the gangster at no. 15 waits for Sam)
24928 LD A,1 1=z-coordinate (indoors)
24930 JR 24937
This entry point is used by the command list at 64902; 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.
24932 LD DE,8851 E=147, D=34 (coordinates of the base location of the gangster who watches for Sam outside the police station)
24935 LD A,4 4=z-coordinate (on the sidewalk)
24937 LD L,4 Point HL at byte 4 of the gangster's buffer
24939 LD (HL),A Set the gangster's x-, y- and z-coordinates
24940 DEC L
24941 DEC L
24942 LD (HL),D
24943 DEC L
24944 LD (HL),E
24945 DEC L Set the gangster's animatory state to 160
24946 LD (HL),160
24948 JP 63198 Restart the gangster's command list
Prev: 24924 Up: Map Next: 24951