Skip to content

Commit aeaa22d

Browse files
committed
fixed very mild error in my ERM script example
1 parent 13fa217 commit aeaa22d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

other/scripts_right.htm

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
!?FU18;
6262
!!UN:Ux1/x2/?y1; [All objects of given type y1]
6363
!!VRv5:S-1; [Reset X variable]
64-
!!VRv6:S-1; [Reset Y variable]
64+
!!VRv6:S0; [Reset Y variable]
6565
!!VRv7:S0; [Reset Z variable]
6666
!!VRv1091:Sx3; [Set magical number]
6767
!!DO29927/1/y1/1:Px1/x2/x4/x5/x6/x7;
@@ -111,7 +111,7 @@
111111
** ?x2 - output, stack number
112112
** x16 - analised stack
113113
!?FU29943;
114-
!!VRy2:S-1; [Set up output vessel: y2]
114+
!!VRy2:S-1; [Initialise output vessel: y2]
115115
!!BMx16:T?y1; [Get Creature type: y1]
116116
!!VRy2&y1=x1:Sx16; [If analised stack is the one we seek, set up output vessel]
117117
!!VRx16&y1=x1:S9999; [Exit loop if creature has been found]

0 commit comments

Comments
 (0)