![]()  | 
Routines | 
| Prev: CE83 | Up: Map | Next: CEB8 | 
| 
 
Used by the routines at CCF3, HandlePushStack, HandlePopStack, SetCharacterScriptError, HandleDisplayText, CDA1, CE4F and HandleSimpleAction.
 
 | 
||||
| ContinueScriptExecution | CE8F | CALL GetCurrentScriptState | Call GetCurrentScriptState. | |
| CE92 | CALL $CF03 | Call CF03. | ||
| CE95 | BIT 7,(IX+$00) | Jump to ContinueScriptExecution_0 if bit 7 of *IX+00 is not set. | ||
| CE99 | JR Z,ContinueScriptExecution_0 | |||
| CE9B | LD E,(HL) | E=*HL. | ||
| CE9C | INC HL | Increment HL by one. | ||
| CE9D | LD D,(HL) | D=*HL. | ||
| CE9E | EX DE,HL | Exchange the DE and HL registers. | ||
| CE9F | JR ContinueScriptExecution_1 | Jump to ContinueScriptExecution_1. | ||
| ContinueScriptExecution_0 | CEA1 | BIT 4,(IX+$00) | Call CF40 if bit 4 of *IX+00 is set. | |
| CEA5 | CALL NZ,$CF40 | |||
| ContinueScriptExecution_1 | CEA8 | BIT 5,(IX+$00) | Call CF43 if bit 5 of *IX+00 is set. | |
| CEAC | CALL NZ,$CF43 | |||
| CEAF | LD (IY+$01),L | Write L to *IY+01. | ||
| CEB2 | LD (IY+$02),H | Write H to *IY+02. | ||
| CEB5 | JP TerminateCharacterScript_0 | Jump to TerminateCharacterScript_0. | ||
| Prev: CE83 | Up: Map | Next: CEB8 |