lnr/Originals/Website/worlds/help/scripts.html
2021-04-15 17:26:34 -07:00

118 lines
2.5 KiB
HTML
Executable File

<html>
<head>
<title>Help -- LNR Worlds</title>
<link rel="StyleSheet" type="text/css" href="../../script/styles.css">
</head>
<body bgcolor="black" text="white" link="yellow" vlink="yellow" alink="yellow"
background="../../images/stars.jpg">
<pre>
<font color="pink">// LNR Worlds Scripts</font>
<font color="cyan">// LNR Worlds Shop Scripts</font>
<font color="cyan"> // Ideya Capture</font>
on (release) {
if (ideyas &lt; 10) {
if (money &gt; 1) {
purchases += "Ideya Capture\n";
tempnum = ideyas;
ideyas = "";
ideyas = tempnum + 1;
tempnum = "";
money = money - 2;
}
}
}
<font color="cyan">// Script at Orb Lake in EXPLORE</font>
on (keyPress "&lt;Right&gt;") {
gotoAndStop (6);
}
on (keyPress "&lt;Left&gt;") {
gotoAndStop (8);
}
on (keyPress "b") {
gotoAndStop ("Battles", 1);
}
on (keyPress "i") {
if (ideyas&gt;0) {
probability = random(5);
if (probability == 1) {
monsters += "Orb\n";
ideyas = ideyas-1;
gotoAndPlay ("Index", 8);
} else if (probability != 1) {
gotoAndPlay ("Index", 9);
}
}
}
on (keyPress "g") {
if (gideya&gt;0) {
probability = random(2);
if (probability == 1) {
monsters += "Orb\n";
gideya = gideya-1;
gotoAndPlay ("Index", 8);
} else if (probability != 1) {
gotoAndPlay ("Index", 9);
}
}
}
on (keyPress "m") {
if (mideya&gt;0) {
monsters += "Orb\n";
mideya = mideya-1;
gotoAndPlay ("Index", 8);
}
}
<font color="cyan">// Script in the Illusion Cave</font>
on (release, keyPress "&lt;Up&gt;") {
locale = random(10);
if (locale == 9) {
gotoAndStop (5);
}
if (locale == 2) {
gotoAndStop (20);
}
}
on (release, keyPress "&lt;Left&gt;") {
locale = random(10);
if (locale == 9) {
gotoAndStop (5);
}
if (locale == 2) {
gotoAndStop (20);
}
}
on (release, keyPress "&lt;Down&gt;") {
locale = random(10);
if (locale == 9) {
gotoAndStop (5);
}
if (locale == 2) {
gotoAndStop (20);
}
}
on (release, keyPress "&lt;Right&gt;") {
locale = random(10);
if (locale == 9) {
gotoAndStop (5);
}
if (locale == 2) {
gotoAndStop (20);
}
}
on (keyPress "m") {
if (mideya>0) {
monsters += "Myst\n";
mideya = mideya-1;
gotoAndPlay ("Index", 8);
}
}
<font color="pink">// All the above scripts are Copyright&copy; 2002 LNR Universe</font>
</pre>
</body>
</html>