Prev: 52423 Up: Map Next: 52516
52467: Handle Command Type 0E/0C/0B/0A
Used by the routine at ScriptInterpreter.
Input
A Command type
HandleCommandType_0E_0C_0B_0A 52467 CP 14 Jump to HandleCommandType_0E_0C_0B_0A_0 if A is not equal to 14.
52469 JR NZ,HandleCommandType_0E_0C_0B_0A_0
52471 LD A,(IX+1) Write *IX+1 to *IY+1.
52474 LD (IY+1),A
52477 LD A,(IX+2) Write *IX+2 to *IY+2.
52480 LD (IY+2),A
52483 JP ScriptInterpreter_0 Jump to ScriptInterpreter_0.
HandleCommandType_0E_0C_0B_0A_0 52486 CP 12 Jump to HandleCommandType_0E_0C_0B_0A_1 if A is equal to 12.
HandleCommandType_0E_0C_0B_0A_1 52488 JR Z,HandleCommandType_0E_0C_0B_0A_1
52490 CP 11 Jump to HandleCommandType_0E_0C_0B_0A_2 if A is not equal to 11.
52492 JR NZ,HandleCommandType_0E_0C_0B_0A_2
52494 CALL GetScriptPointer Call GetScriptPointer.
52497 CP 2 Return if A is equal to 2.
52499 RET Z
52500 JP ContinueScriptExecution Jump to ContinueScriptExecution.
HandleCommandType_0E_0C_0B_0A_2 52503 CP 10 Jump to SetCharacterScriptError if A is not equal to 10.
52505 JR NZ,SetCharacterScriptError
52507 CALL GetScriptPointer Call GetScriptPointer.
52510 CP 2 Return if A is equal to 2.
52512 RET Z
52513 JP ProcessScriptCommandWithCounter Jump to ProcessScriptCommandWithCounter.
Prev: 52423 Up: Map Next: 52516