Routines |
Prev: 57949 | Up: Map | Next: 58021 |
|
||||
Human_Hiding | 58005 | POP HL | Restore human table pointer from the stack. | |
Decrease the countdown and just skip this human while they're still hiding.
|
||||
58006 | LD A,(HL) | Decrease the humans action countdown by one. | ||
58007 | DEC A | |||
58008 | LD (HL),A | |||
58009 | JP NZ,Handler_Humans_Skip | Jump to Handler_Humans_Skip until the countdown is zero. | ||
Now the countdown has expired.
|
||||
58012 | LD (HL),16 | Update the countdown to 16. | ||
58014 | DEC HL | Decrease the human table pointer by one (back to the "type"). | ||
58015 | LD (HL),2 | Write human type 2 to *HL. | ||
58017 | POP BC | Restore the current human ID from the stack. | ||
58018 | JP Handler_Humans_Loop | Jump to Handler_Humans_Loop. |
Prev: 57949 | Up: Map | Next: 58021 |