![]() |
Routines |
| Prev: D1AC | Up: Map | Next: D1CC |
|
Slide the vat one character left when the left side is clear.
|
||||||||
| ScriptRoutine_VatDecXIfClearLeft | D1BD | CALL Test_EntityOnLeft | Call Test_EntityOnLeft to test whether a solid entity sits on the left. | |||||
| D1C0 | JR C,ScriptRoutine_VatDecXIfClearLeft_DecX | Is the space on the left clear (carry set)? If so, jump to ScriptRoutine_VatDecXIfClearLeft_DecX to shift left. | ||||||
| D1C2 | CP $32 | Is A less than 32? If not, jump to ScriptRoutine_VatDecY. | ||||||
| D1C4 | JR NC,ScriptRoutine_VatDecY | |||||||
|
Shift the vat one character left when the left side is clear (or close).
|
||||||||
| ScriptRoutine_VatDecXIfClearLeft_DecX | D1C6 | DEC (IX+$07) | Move this entity one character left. | |||||
| D1C9 | DEC (IX+$08) | |||||||
| Prev: D1AC | Up: Map | Next: D1CC |