Prev: CCC7 Up: Map Next: CD24
CCF3: Handle Command Type 0E/0C/0B/0A
Used by the routine at ScriptInterpreter.
Input
A Command type
HandleCommandType_0E_0C_0B_0A CCF3 CP $0E Jump to HandleCommandType_0E_0C_0B_0A_0 if A is not equal to 0E.
CCF5 JR NZ,HandleCommandType_0E_0C_0B_0A_0
CCF7 LD A,(IX+$01) Write *IX+01 to *IY+01.
CCFA LD (IY+$01),A
CCFD LD A,(IX+$02) Write *IX+02 to *IY+02.
CD00 LD (IY+$02),A
CD03 JP ScriptInterpreter_0 Jump to ScriptInterpreter_0.
HandleCommandType_0E_0C_0B_0A_0 CD06 CP $0C Jump to HandleCommandType_0E_0C_0B_0A_1 if A is equal to 0C.
HandleCommandType_0E_0C_0B_0A_1 CD08 JR Z,HandleCommandType_0E_0C_0B_0A_1
CD0A CP $0B Jump to HandleCommandType_0E_0C_0B_0A_2 if A is not equal to 0B.
CD0C JR NZ,HandleCommandType_0E_0C_0B_0A_2
CD0E CALL GetScriptPointer Call GetScriptPointer.
CD11 CP $02 Return if A is equal to 02.
CD13 RET Z
CD14 JP ContinueScriptExecution Jump to ContinueScriptExecution.
HandleCommandType_0E_0C_0B_0A_2 CD17 CP $0A Jump to SetCharacterScriptError if A is not equal to 0A.
CD19 JR NZ,SetCharacterScriptError
CD1B CALL GetScriptPointer Call GetScriptPointer.
CD1E CP $02 Return if A is equal to 02.
CD20 RET Z
CD21 JP ProcessScriptCommandWithCounter Jump to ProcessScriptCommandWithCounter.
Prev: CCC7 Up: Map Next: CD24