Prev: F13E Up: Map Next: F173
F166: Script Routine: (10) Have entity face left after putting down
After a put-down, face the entity left.
Input
IX Address of complex state data for an entity
ScriptRoutine_FaceLeftAfterPutDown F166 BIT 4,(IX+$03) Is bit 04 of flags byte 3 (IX+03) set? If not, jump to AdvanceScriptInstruction.
F16A JP Z,AdvanceScriptInstruction
F16D CALL Script_FaceAfterPutDown_Apply Call Script_FaceAfterPutDown_Apply to script Face After Put Down Apply.
F170 INC A Step the facing / put-down index on by one.
F171 JR ScriptRoutine_FaceLeftAfterPutDown_ApplyFacing Jump to ScriptRoutine_FaceLeftAfterPutDown_ApplyFacing to script Routine 10 Apply Facing.
Prev: F13E Up: Map Next: F173