![]()  | 
Routines | 
| Prev: 52842 | Up: Map | Next: 52879 | 
| 
 
Used by the routines at ContinueScriptExecution and 52920.
 
 | 
||||
| GetCurrentScriptState | 52867 | LD IY,(40923) | IY=*CurrentCharacter_TimetablePointer. | |
| 52871 | LD HL,(40921) | IX=*CurrentCharacter_CommandPosition (using the stack). | ||
| 52874 | PUSH HL | |||
| 52875 | POP IX | |||
| 52877 | LD A,(HL) | Get the current command byte. | ||
| 52878 | RET | Return. | ||
| Prev: 52842 | Up: Map | Next: 52879 |