![]() |
Routines |
| Prev: 40657 | Up: Map | Next: 40760 |
|
Used by the routine at CharacterAction_Gardener.
|
||||||||||||||||
| UpdateCharacterStateAndLocation | 40734 | LD (HL),A | Write A to *HL (update character state). | |||||||||||||
| 40735 | LD IX,(40983) | IX=*CurrentCharacterData (load current character data pointer). | ||||||||||||||
| 40739 | LD (IX+15),B | Write B to *IX+15 (update character attribute). | ||||||||||||||
| 40742 | LD (IX+1),255 | Write 255 to *IX+1 (mark as moved). | ||||||||||||||
|
Update character's location in timetable.
|
||||||||||||||||
| 40746 | LD L,(IY+6) | L=*IY+6 (load low byte of location). | ||||||||||||||
| 40749 | LD H,(IY+7) | H=*IY+7 (load high byte of location). | ||||||||||||||
| 40752 | ADD HL,DE | HL+=DE (add location offset). | ||||||||||||||
| 40753 | LD (IY+6),L | Write L to *IY+6 (store updated low byte). | ||||||||||||||
| 40756 | LD (IY+7),H | Write H to *IY+7 (store updated high byte). | ||||||||||||||
| 40759 | RET | Return. | ||||||||||||||
| Prev: 40657 | Up: Map | Next: 40760 |