From d8767bf2587a14a46c86f8ced7a9653ef3c52c0d Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 6 Jun 2009 07:46:33 +0000 Subject: Fixed spirit to write to QUEST_MAGIC2 variable, doc updates --- npc/doc/magic | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'npc/doc/magic') diff --git a/npc/doc/magic b/npc/doc/magic index 931e637e..3e5863e0 100644 --- a/npc/doc/magic +++ b/npc/doc/magic @@ -11,3 +11,13 @@ Nibble use: N1: Elanore N2: Wyara N3: Elanore subquests (Cure Kadiya) + N4-N7: may be messy at this point + +The various magic scripts pack their status into these variables. +Locally, they use `@Q_status' to maintain the state, and use a function +`S_update_var' to update it. This is all re-using the same code, setting +the `@Q_MASK' and `@Q_SHIFT' variables appropriately. + + There are a few exceptions (such as the Kadiya quest) wherein +a separate helper function sets a dedicated local variable, or some hackery +in Auldsbel wherein we read stati directly, merely to enable certain options. \ No newline at end of file -- cgit v1.2.3-70-g09d2