![]()  | 
Routines | 
| Prev: 52879 | Up: Map | Next: 52958 | 
| 
 | 
||||
| 52920 | LD HL,52235 | Increment *52235 by one. | ||
| 52923 | INC (HL) | |||
| 52924 | CALL GetCurrentScriptState | Call GetCurrentScriptState. | ||
| 52927 | CALL 52990 | Call 52990. | ||
| 52930 | BIT 4,(IX+0) | Jump to 52940 if bit 4 of *IX+0 is not set. | ||
| 52934 | JR Z,52940 | |||
| 52936 | LD E,(HL) | E=*HL. | ||
| 52937 | INC HL | Increment HL by one. | ||
| 52938 | LD D,(HL) | D=*HL. | ||
| 52939 | EX DE,HL | Exchange the DE and HL registers. | ||
| 52940 | LD (IY+1),L | Write L to *IY+1. | ||
| 52943 | LD (IY+2),H | Write H to *IY+2. | ||
| 52946 | PUSH IX | DE=IX (using the stack). | ||
| 52948 | POP DE | |||
| 52949 | AND A | HL-=DE (with carry). | ||
| 52950 | SBC HL,DE | |||
| 52952 | JP Z,TerminateCharacterScript | Jump to TerminateCharacterScript if HL is equal to A. | ||
| 52955 | JP ScriptInterpreter_0 | Jump to ScriptInterpreter_0. | ||
| Prev: 52879 | Up: Map | Next: 52958 |