Prev: 47678 Up: Map Next: 47964
47942: Save The Object State
Used by the routine at RecordResultCharacterScript.
Records the result in 47712, sets the byte at 47713, and copies three object bytes from 47635+6 to 47714.
SaveObjectState 47942 PUSH AF Set the byte at 47713, keeping A.
47943 LD A,1
47945 LD (47713),A
47948 POP AF
47949 LD (47712),A Store it in the workspace byte at 47712.
47952 LD HL,47641 Point HL at 47635+6 and DE at 47714.
47955 LD DE,47714
47958 LD BC,3 Take a length of 3 bytes.
47961 LDIR Copy the counted bytes.
47963 RET Return.
Prev: 47678 Up: Map Next: 47964