diff options
Diffstat (limited to 'world/map/npc/022-1/tutorial.txt')
-rw-r--r-- | world/map/npc/022-1/tutorial.txt | 53 |
1 files changed, 42 insertions, 11 deletions
diff --git a/world/map/npc/022-1/tutorial.txt b/world/map/npc/022-1/tutorial.txt index 93f1700a..c249d79d 100644 --- a/world/map/npc/022-1/tutorial.txt +++ b/world/map/npc/022-1/tutorial.txt @@ -4,14 +4,46 @@ // Tutorial // Nibble 0 // 1-4: Sorfina - -022-1.gat,46,82,0|script|#tutorial-outside1|45,2,1 -{ - callfunc "TutorialCompleted"; - warp "042-1.gat", 115, 85; - end; -} - +// 5-7: Tanisha +// 8-13: Kaan & Hasan +// 14: Hasan Complete +// 15: Open +// Nibble 1 +// 4: Sorfina Bit +// 5: Tanisha Bit +// 6: Valon Start +// 7: Valon Done +// Nibble 2 +// 1: Maggots +// 2: House Maggots +// 3: TameScorpion +// 4: Scorpion +// 5-15: Open +// Nibble 3 +// 1-15: Count +// Nibble 4 +// 16: Start +// 17: Barrel +// 18: Barrel +// 19: Barrel +// Nibble 5 +// 20: Barrel +// 21: Barrel +// 22: Barrel +// 23: Found +// Nibble 6 +// 1: Seen +// 2: Started +// 3: +// 24: Magic +// 25: +// 26: +// 27: +// Nibble 7 +// 28: Magic Start +// 29: Magic End +// 30: Zegas Met +// 31: Hasan Complete -|script|#TutorialConfig|-1, { end; @@ -22,25 +54,24 @@ OnInit: set $@ScorpDeath, 0; set $@SorfinaHasanBit, (1 << 4); set $@TanishaHasanBit, (1 << 5); + set $@HasanCompleteBit, (1 << 31); end; } - function|script|TutorialState|, { callfunc "ClearVariables"; set @tutorial, ((TUTORIAL & NIBBLE_0_MASK) >> NIBBLE_0_SHIFT); set @sorfina_hasan, (TUTORIAL & $@SorfinaHasanBit); set @tanisha_hasan, (TUTORIAL & $@TanishaHasanBit); + set @hasan_complete, (TUTORIAL & $@HasanCompleteBit); return; } - function|script|SetTutorialMask|, { set TUTORIAL, (TUTORIAL & ~(NIBBLE_0_MASK) | (@tutorial_tmp << NIBBLE_0_SHIFT)); set @tutorial_tmp, 0; return; } - function|script|TutorialCompleted|, { set FLAGS, FLAGS | FLAG_TUTORIAL_DONE; |