Prev: BA3E Up: Map Next: BB5C
BB46: Save The Object State
Used by the routine at RecordResultCharacterScript.
Records the result in BA60, sets the byte at BA61, and copies three object bytes from BA13+06 to BA62.
SaveObjectState BB46 PUSH AF Set the byte at BA61, keeping A.
BB47 LD A,$01
BB49 LD ($BA61),A
BB4C POP AF
BB4D LD ($BA60),A Store it in the workspace byte at BA60.
BB50 LD HL,$BA19 Point HL at BA13+06 and DE at BA62.
BB53 LD DE,$BA62
BB56 LD BC,$0003 Take a length of 03 bytes.
BB59 LDIR Copy the counted bytes.
BB5B RET Return.
Prev: BA3E Up: Map Next: BB5C