DIALOGUE STATE WITH NPC


It seems that theses datas are used for keeping the state of your dialog with NPC (Non Player Characters). I didn't have time to analyse it all yet.

There are 2 datas for each difficulty's level. Each of these data are 8 bytes size. Only the first 4 bytes of the datas are used (1 byte per act, I'm almost sure), and the 4 last bytes are always set to zero (reserved for futur use ?) .

Here are the offsets where you can find them :


  Normal Nightmare Hell
Data 1
Data 2
200h
218h
208h
220h
210h
228h



Not exhaustive description of the lowest byte of Data 1 (byte at offset 200h) :

Bit 0 : ?
Bit 1 : Gheed introduction
Bit 2 : Akara introduction
Bit 3 : Kashia introduction
Bit 4 : ?
Bit 5 : Charsi introduction
Bit 6 : ?
Bit 7 : Something (but not for cain I think)

For the introduction bits : if it's cleared, the NPC will give you his introduction speech the first time you'll speak to him. If it's set, he already gave you. The proof : after a bit is set, clear it, and the NPC will introduce himself again.


Back to Part 1