Prev: 43870 Up: Map Next: 43915
43891: Action: Write Saved Byte
Writes the second operand through the state-byte pointer selected from Table_SavedStateAddresses.
When the condition succeeded, write the second operand through the address selected from Table_SavedStateAddresses.
Action_WriteSavedByte 43891 JP NZ,Handler_RunScript_9 Leave the saved bytes alone.
43894 LD L,(IX+1) The first operand selects a saved byte.
43897 LD H,0
43899 LD A,(IX+2) The second operand is the new value.
43902 ADD HL,HL Look up its address in Table_SavedStateAddresses.
43903 LD DE,47865
43906 ADD HL,DE
43907 LD E,(HL) That address.
43908 INC HL
43909 LD D,(HL)
43910 EX DE,HL
43911 LD (HL),A Write the new value there.
43912 JP Handler_RunScript_9 Resume the script.
Prev: 43870 Up: Map Next: 43915