Posted by: JLE
« on: May 19, 2017, 09:03:44 PM »Rest in Silence's Shop which is just across the road to the east from the Elfsong Tavern. She'll also buy anything.
////////////////////////////////////////////////////////////////////////////////////////
// Elf Song
COPY_EXISTING ~%EBaldursGate_ElfsongTavern_L1%.ARE~ ~override~ // Restore Elfsong bartender
PATCH_IF (SOURCE_SIZE > 0x11c) BEGIN
READ_LONG 0x54 actOff
FOR (READ_SHORT 0x58 numAct; numAct; numAct -= 0x1) BEGIN
READ_ASCII actOff + 0x80 actor
PATCH_IF !("%actor%" STRING_COMPARE_CASE "%tutu_var%BART11") BEGIN
WRITE_EVALUATED_ASCII actOff + 0x80 ~%tutu_var%BART8~ #8
END
actOff += 0x110
END
END
BUT_ONLY_IF_IT_CHANGES
COPY_EXISTING ~%tutu_var%TAV0705.STO~ ~override~ // Elf Song
SAY 0x0C #11674
BUT_ONLY_IF_IT_CHANGES