Skip to content
Snippets Groups Projects
Commit 3c58ac7a authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Erase NPC menu after interacting.

This was the bit that irritated me the most about CNW, so I fixed
it.
parent 0f404afe
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -801,12 +801,14 @@ You also earned 200 experience points and another quest point.`k ...@@ -801,12 +801,14 @@ You also earned 200 experience points and another quest point.`k
@closescript @closescript
@label leave @label leave
@routine clearmenu
@do `p20 is 1 @do `p20 is 1
;@do moveback ;@do moveback
@update @update
@closescript @closescript
@label leave2 @label leave2
@routine clearmenu
@do `p20 is 1 @do `p20 is 1
;@drawmap ;@drawmap
@do saybar @do saybar
...@@ -816,6 +818,7 @@ You also earned 200 experience points and another quest point.`k ...@@ -816,6 +818,7 @@ You also earned 200 experience points and another quest point.`k
@closescript @closescript
@label leave3 @label leave3
@routine clearmenu
@do `p20 is 1 @do `p20 is 1
@dataload npc/npc-`p70.idf &playernum `p21 @dataload npc/npc-`p70.idf &playernum `p21
@do `p22 random 10 1 @do `p22 random 10 1
...@@ -831,6 +834,7 @@ You also earned 200 experience points and another quest point.`k ...@@ -831,6 +834,7 @@ You also earned 200 experience points and another quest point.`k
@closescript @closescript
@label leave4 @label leave4
@routine clearmenu
@do `p20 is 1 @do `p20 is 1
;@drawmap ;@drawmap
@do saybar @do saybar
...@@ -840,9 +844,25 @@ You also earned 200 experience points and another quest point.`k ...@@ -840,9 +844,25 @@ You also earned 200 experience points and another quest point.`k
@closescript @closescript
@label leave5 @label leave5
@routine clearmenu
@do `p20 is 1 @do `p20 is 1
;@do moveback ;@do moveback
@update @update
@closescript @closescript
@#clearmenu
@do `p40 is 2
@do `p41 is 63
@label clearmenunext
@drawpart `p41 `p40
@do `p41 + 1
@if `p41 is 81 then do
@begin
@do `p41 is 63
@do `p40 + 1
@if `p40 is 9 then goto doneclear
@end
@do goto clearmenunext
@label doneclear
@#NOMORE @#NOMORE
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment