![]() |
Routines |
| Prev: F173 | Up: Map | Next: F1B7 |
|
Place the put-down entity to the carrier's left.
|
||||||||
| ScriptRoutine_PlacePutDownLeft | F1A1 | BIT 4,(IX+$03) | Is bit 04 of flags byte 3 (IX+03) set? If not, jump to AdvanceScriptInstruction. | |||||
| F1A5 | JP Z,AdvanceScriptInstruction | |||||||
| F1A8 | LD A,($72ED) | Load A with the saved held-entity width from CameraYCoordinate. | ||||||
| F1AB | LD D,A | Copy A into D as a saved coordinate / value. | ||||||
| F1AC | INC A | Step the put-down placement index on by one. | ||||||
| F1AD | SRL A | Shift A right logical. | ||||||
| F1AF | LD E,A | Copy A into E as a saved coordinate / value. | ||||||
| F1B0 | XOR A | Clear A to 00. | ||||||
| F1B1 | SUB E | Subtract E from A. | ||||||
| F1B2 | ADD A,(IX+$07) | Add the entity byte at offset 07 to A. | ||||||
| F1B5 | JR ScriptRoutine_PlacePutDownLeft_WritePutDown | Jump to ScriptRoutine_PlacePutDownLeft_WritePutDown to script Routine 12 Write Put Down. | ||||||
| Prev: F173 | Up: Map | Next: F1B7 |