Mercurial > touhou-doc
annotate 06/ecl.xml @ 7:2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Tue, 23 Aug 2011 11:58:03 +0200 |
parents | 578e67aa3c03 |
children | 79dfd9765a67 |
rev | line source |
---|---|
0 | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <?xml-stylesheet type="text/xsl" href="../html.xsl"?> | |
3 <?xml-stylesheet type="text/css" href="../style.css"?> | |
4 <!DOCTYPE html> | |
5 <opcodes xmlns="urn:opcodes:description"> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
6 <title>ECL Sub format</title> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
7 |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
8 <text> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
9 <div xmlns="http://www.w3.org/1999/xhtml"> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
10 <h2>Lvalues and Rvalues / direct vs memory indirect addressing</h2> |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
11 <p>In EoSD, most 32-bits arguments passed to instructions may be actual values or variable indexes.<br/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
12 Values comprised between -10025 and -10001 are variable indexes, whereas other values are actual values. |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
13 Values passed through variable/register indexes are Lvalues, other values are not. Some instructions require some of their operands to be Lvalues.</p> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
14 |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
15 <h2>Accessing values</h2> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
16 <p>[TODO: verify] How the game accesses values passed as argument is as follows:<br/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
17 TYPE is the type of the argument (float, int32, ...):</p> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
18 |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
19 <pre>if ((TYPE) argument < -10000) |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
20 return *(TYPE*) &variables[(int)(-10000-(TYPE) argument)]; |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
21 else |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
22 return (TYPE) argument;</pre> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
23 |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
24 <h2>Variables</h2> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
25 <p>Only variables in the range [-10001, -10025] without -10014, -10020 and -10023 are used in the game.</p> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
26 |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
27 <h3>Local variables</h3> |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
28 <p>Local variables may be read or written by the script, they are local to a subroutine, and put on a stack when a subroutine is called. They are not used by the game engine itself.</p> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
29 <table> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
30 <tr><th>Number</th><th>Type</th></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
31 <tr><td>-10001</td><td>int</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
32 <tr><td>-10002</td><td>int</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
33 <tr><td>-10003</td><td>int</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
34 <tr><td>-10004</td><td>int</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
35 <tr><td>-10005</td><td>float</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
36 <tr><td>-10006</td><td>float</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
37 <tr><td>-10007</td><td>float</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
38 <tr><td>-10008</td><td>float</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
39 <tr><td>-10009</td><td>int</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
40 <tr><td>-10010</td><td>int</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
41 <tr><td>-10011</td><td>int</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
42 <tr><td>-10012</td><td>int</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
43 </table> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
44 |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
45 <h3>Special variables</h3> |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
46 <p>Special variables are game or enemy-scoped variables and most of them cannot be overriden by the script.</p> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
47 <table> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
48 <tr><th>Number</th><th>Type</th> <th>Name</th> <th>RW/RO</th> <th>Notes</th></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
49 <tr><td>-10013</td><td>int</td> <td>rank</td> <td>ro</td> <td></td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
50 <tr><td>-10014</td><td>int</td> <td>difficulty</td> <td>ro</td> <td>Unused.</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
51 <tr><td>-10015</td><td>float</td> <td>x</td> <td>rw</td> <td></td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
52 <tr><td>-10016</td><td>float</td> <td>y</td> <td>rw</td> <td></td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
53 <tr><td>-10017</td><td>float</td> <td>z</td> <td>rw</td> <td></td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
54 <tr><td>-10018</td><td>float</td> <td>player_x</td> <td>ro</td> <td></td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
55 <tr><td>-10019</td><td>float</td> <td>player_y</td> <td>ro</td> <td></td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
56 <tr><td>-10020</td><td>float</td> <td></td> <td>ro</td> <td>Unused.</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
57 <tr><td>-10021</td><td>float</td> <td>enemy_player_angle</td> <td>ro</td> <td></td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
58 <tr><td>-10022</td><td>int</td> <td>last_frame</td> <td>rw</td> <td></td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
59 <tr><td>-10023</td><td>float</td> <td>enemy_player_distance</td><td>ro</td><td>Unused.</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
60 <tr><td>-10024</td><td>int</td> <td>life</td> <td>rw</td> <td></td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
61 <tr><td>-10025</td><td>int</td> <td>player</td> <td>ro</td> <td>0 = ReimuA, 1 = ReimuB, 2 = MarisaA, 3 = MarisaB</td></tr> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
62 </table> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
63 |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
64 <h2>Opcodes</h2> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
65 </div> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
66 </text> |
0 | 67 |
68 <op> | |
69 <num>0</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
70 <name>noop</name> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
71 <desc>Do nothing.</desc> |
0 | 72 </op> |
73 | |
74 <op> | |
75 <num>1</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
76 <name>delete</name> |
0 | 77 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
78 <param type="S" values="0">Unknown</param> |
0 | 79 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
80 <desc>Delete the sprite and perhaps free the memory used.</desc> |
0 | 81 </op> |
82 | |
83 <op> | |
84 <num>2</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
85 <name>relative_jump</name> |
0 | 86 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
87 <param type="S" name="new_frame" unit="frame" values="0 to 360"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
88 <param type="S" name="relative_offset" unit="bytes" values="-2032 to 632">Starting from the start of the current opcode.</param> |
0 | 89 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
90 <desc>Unconditionally jump to relative_offset with new frame counter. Used as a while.</desc> |
0 | 91 </op> |
92 | |
93 <op> | |
94 <num>3</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
95 <name>relative_jump_ex</name> |
0 | 96 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
97 <param type="S" name="new_frame" unit="frame" values="0 to 532"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
98 <param type="S" name="relative_offset" unit="bytes" values="-1376 to -12"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
99 <param type="S" name="counter_id" unit="var_id" var="must" values="-10011 to -10009"/> |
0 | 100 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
101 <desc>If the counter is non-null, jump to relative_offset with new frame counter, and decrease counter counter_id by 1. Used as a for.</desc> |
0 | 102 </op> |
103 | |
104 <op> | |
105 <num>4</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
106 <name>set_int</name> |
0 | 107 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
108 <param type="S" name="variable" unit="var_id" var="must" values="-10012 to -10001"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
109 <param type="S" name="value" var="can" values="-10005 to -10021, 0 to 300"/> |
0 | 110 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
111 <desc>Assign a value to the variable. Sometimes, value can be another variable.</desc> |
0 | 112 </op> |
113 | |
114 <op> | |
115 <num>5</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
116 <name>set_float</name> |
0 | 117 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
118 <param type="S" name="variable" unit="var_id" var="must" values="-10005 to -10017"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
119 <param type="f" name="value" var="can" values="-12.0f to 460.0f"/> |
0 | 120 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
121 <desc>Like <ref>4</ref>, but with a float as value.</desc> |
0 | 122 </op> |
123 | |
124 <op> | |
125 <num>6</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
126 <name>set_random_int</name> |
0 | 127 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
128 <param type="S" name="variable" unit="var_id" var="must" values="-10001"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
129 <param type="S" name="value" var="can" values="2, 3"/> |
0 | 130 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
131 <desc>Assign an integer in the [0, value) range to the variable.</desc> |
0 | 132 </op> |
133 | |
134 <op> | |
135 <num>8</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
136 <name>set_random_float</name> |
0 | 137 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
138 <param type="S" name="variable" unit="var_id" var="must"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
139 <param type="f" name="maximum" var="can" values="1.0f to 2pi to 384.0f"/> |
0 | 140 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
141 <desc>Like <ref>6</ref>, but with a float as value.</desc> |
0 | 142 </op> |
143 | |
144 <op> | |
145 <num>9</num> | |
146 <name></name> | |
147 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
148 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
149 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
150 <param type="f"/> |
0 | 151 </params> |
152 <desc></desc> | |
153 </op> | |
154 | |
155 <op> | |
156 <num>10</num> | |
157 <name></name> | |
158 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
159 <param type="S" var="can/must" values="-10005"/> |
0 | 160 </params> |
161 <desc>Used only one time, in <stage>2</stage>.</desc> | |
162 </op> | |
163 | |
164 <op> | |
165 <num>13</num> | |
166 <name></name> | |
167 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
168 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
169 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
170 <param type="S"/> |
0 | 171 </params> |
172 <desc></desc> | |
173 </op> | |
174 | |
175 <op> | |
176 <num>14</num> | |
177 <name></name> | |
178 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
179 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
180 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
181 <param type="S"/> |
0 | 182 </params> |
183 <desc></desc> | |
184 </op> | |
185 | |
186 <op> | |
187 <num>15</num> | |
188 <name></name> | |
189 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
190 <param type="S" var="can/must" values="-10001"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
191 <param type="S" var="can/must" values="-10012"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
192 <param type="S" values="1 to 5"/> |
0 | 193 </params> |
194 <desc></desc> | |
195 </op> | |
196 | |
197 <op> | |
198 <num>16</num> | |
199 <name></name> | |
200 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
201 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
202 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
203 <param type="S"/> |
0 | 204 </params> |
205 <desc></desc> | |
206 </op> | |
207 | |
208 <op> | |
209 <num>17</num> | |
210 <name></name> | |
211 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
212 <param type="S" name="variable1?"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
213 <param type="S" name="variable2?"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
214 <param type="S"/> |
0 | 215 </params> |
216 <desc></desc> | |
217 </op> | |
218 | |
219 <op> | |
220 <num>18</num> | |
221 <name></name> | |
222 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
223 <param type="S" name="variable?" var="can/must" values="-10012, -10004, -10002, -10001"/> |
0 | 224 </params> |
225 <desc></desc> | |
226 </op> | |
227 | |
228 <op> | |
229 <num>20</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
230 <name>add</name> |
0 | 231 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
232 <param type="S" name="variable" unit="var_id" var="must"/> |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
233 <param type="f" var="can" name="a"/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
234 <param type="f" var="can" name="b"/> |
0 | 235 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
236 <desc>variable = a + b; Warning: a and b will be dereferenced as integers (not converted) if variable is an integer!</desc> |
0 | 237 </op> |
238 | |
239 <op> | |
240 <num>21</num> | |
241 <name></name> | |
242 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
243 <param type="S" name="variable" unit="var_id" var="must"/> |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
244 <param type="f" var="can" name="a"/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
245 <param type="f" var="can" name="b"/> |
0 | 246 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
247 <desc>variable = a - b; Warning: a and b will be dereferenced as integers (not converted) if variable is an integer!</desc> |
0 | 248 </op> |
249 | |
250 <op> | |
251 <num>23</num> | |
252 <name></name> | |
253 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
254 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
255 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
256 <param type="f"/> |
0 | 257 </params> |
258 <desc></desc> | |
259 </op> | |
260 | |
261 <op> | |
262 <num>25</num> | |
263 <name></name> | |
264 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
265 <param type="S" var="can/must" values="-10005"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
266 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
267 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
268 <param type="f" values="192.0f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
269 <param type="f" values="224.0f"/> |
0 | 270 </params> |
271 <desc></desc> | |
272 </op> | |
273 | |
274 <op> | |
275 <num>26</num> | |
276 <name></name> | |
277 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
278 <param type="S"/> |
0 | 279 </params> |
280 <desc></desc> | |
281 </op> | |
282 | |
283 <op> | |
284 <num>27</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
285 <name>compare_ints</name> |
0 | 286 <params> |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
287 <param type="S" var="can" name="a"/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
288 <param type="S" var="can" name="b"/> |
0 | 289 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
290 <desc>Compare a and b, store the result (-1 if a < b, 0 if a == b, 1 if a > b) in the "comparison register".</desc> |
0 | 291 </op> |
292 | |
293 <op> | |
294 <num>28</num> | |
295 <name></name> | |
296 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
297 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
298 <param type="f"/> |
0 | 299 </params> |
300 <desc></desc> | |
301 </op> | |
302 | |
303 <op> | |
304 <num>29</num> | |
305 <name></name> | |
306 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
307 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
308 <param type="S"/> |
0 | 309 </params> |
310 <desc></desc> | |
311 </op> | |
312 | |
313 <op> | |
314 <num>30</num> | |
315 <name></name> | |
316 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
317 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
318 <param type="S"/> |
0 | 319 </params> |
320 <desc></desc> | |
321 </op> | |
322 | |
323 <op> | |
324 <num>31</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
325 <name>relative_jump_if_equal</name> |
0 | 326 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
327 <param type="S" name="new_frame" unit="frame" values="0, 2, 60"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
328 <param type="S" name="relative_offset" unit="bytes" values="44, 176, 324">Starting from the start of the current opcode.</param> |
0 | 329 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
330 <desc>Jump if the "comparison register" equals to 0, that is, if the compared values are equal.</desc> |
0 | 331 </op> |
332 | |
333 <op> | |
334 <num>32</num> | |
335 <name></name> | |
336 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
337 <param type="S" value="120"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
338 <param type="S" value="64"/> |
0 | 339 </params> |
340 <desc>Used only one time in <stage>4</stage></desc> | |
341 </op> | |
342 | |
343 <op> | |
344 <num>33</num> | |
345 <name></name> | |
346 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
347 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
348 <param type="S"/> |
0 | 349 </params> |
350 <desc></desc> | |
351 </op> | |
352 | |
353 <op> | |
354 <num>34</num> | |
355 <name></name> | |
356 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
357 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
358 <param type="S"/> |
0 | 359 </params> |
360 <desc></desc> | |
361 </op> | |
362 | |
363 <op> | |
364 <num>35</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
365 <name>call</name> |
0 | 366 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
367 <param type="S" name="function" unit="sub"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
368 <param type="S" name="param1"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
369 <param type="f" name="param2" values="-0.31415927f to 0.31415927f"/> |
0 | 370 </params> |
6
578e67aa3c03
Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
371 <desc>Call given sub with -10001 = param1, -10005 = param2.</desc> |
0 | 372 </op> |
373 | |
374 <op> | |
375 <num>36</num> | |
376 <name>return</name> | |
377 <desc>Almost always called at the end of the function. See stage3 for two times where it is called before <ref>1</ref>.</desc> | |
378 </op> | |
379 | |
380 <op> | |
381 <num>39</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
382 <name>call_if_equal</name> |
0 | 383 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
384 <param type="S" name="function" unit="sub"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
385 <param type="S" values="0" name="param1"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
386 <param type="f" values="0" name="param2"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
387 <param type="S" name="a"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
388 <param type="S" name="b"/> |
0 | 389 </params> |
6
578e67aa3c03
Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
390 <desc>Call given sub with -10001 = param1, -10005 = param2 if a == b.</desc> |
0 | 391 </op> |
392 | |
393 <op> | |
394 <num>43</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
395 <name>set_position</name> |
0 | 396 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
397 <param type="f" name="x"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
398 <param type="f" name="y"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
399 <param type="f" name="y" values="0">Ignored</param> |
0 | 400 </params> |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
401 <desc>Move the enemy to a new position, used for interpolation.</desc> |
0 | 402 </op> |
403 | |
404 <op> | |
405 <num>45</num> | |
406 <name>set_angle_speed</name> | |
407 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
408 <param type="f" name="angle" unit="radian">0.0f is left, PI/2 is down.</param> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
409 <param type="f" name="speed" unit="pixels/frame"/> |
0 | 410 </params> |
411 <desc>Set the angular trajectory and speed of the enemy.</desc> | |
412 </op> | |
413 | |
414 <op> | |
415 <num>46</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
416 <name>set_rotation_speed</name> |
0 | 417 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
418 <param type="f" name="speed" unit="radian/frame"/> |
0 | 419 </params> |
420 <desc>Change the angular trajectory of the enemy. It continues to turn until this function is called again.</desc> | |
421 </op> | |
422 | |
423 <op> | |
424 <num>47</num> | |
425 <name>set_speed</name> | |
426 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
427 <param type="f" name="speed" unit="pixels/frame"/> |
0 | 428 </params> |
429 <desc>Change the speed of the enemy.</desc> | |
430 </op> | |
431 | |
432 <op> | |
433 <num>48</num> | |
434 <name>set_acceleration</name> | |
435 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
436 <param type="f" name="step" unit="pixels/frame"/> |
0 | 437 </params> |
438 <desc>Change the speed of the enemy step by step, at each frame.</desc> | |
439 </op> | |
440 | |
441 <op> | |
442 <num>49</num> | |
3
bd0f1253691d
Add documentation of ECL format.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
443 <name>set_random_?</name> |
0 | 444 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
445 <param type="f" values="0.7853982f">The new angle?</param> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
446 <param type="f" values="2.3561945f">Some deplacement?</param> |
0 | 447 </params> |
3
bd0f1253691d
Add documentation of ECL format.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
448 <desc>Used only five times, in <stage>2</stage>. Seems to involve some randomness.</desc> |
0 | 449 </op> |
450 | |
451 <op> | |
452 <num>50</num> | |
453 <name></name> | |
454 <params> | |
6
578e67aa3c03
Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
455 <param type="f" values="-PI (-3.1415927f)"/> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
456 <param type="f" values="PI (3.1415927f)"/> |
0 | 457 </params> |
458 <desc></desc> | |
459 </op> | |
460 | |
461 <op> | |
462 <num>51</num> | |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
463 <name>set_speed_towards_player</name> |
0 | 464 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
465 <param type="S" value="0">Ignored</param> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
466 <param type="f" name="speed" unit="pixels/frame"/> |
0 | 467 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
468 <desc>Sets the speed of the enemy, and change its direction to where the player is at that frame. Used only one time in <stage>2</stage>.</desc> |
0 | 469 </op> |
470 | |
471 <op> | |
472 <num>52</num> | |
473 <name></name> | |
474 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
475 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
476 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
477 <param type="f"/> |
0 | 478 </params> |
479 <desc></desc> | |
480 </op> | |
481 | |
482 <op> | |
483 <num>56</num> | |
484 <name></name> | |
485 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
486 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
487 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
488 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
489 <param type="S" values="0"/> |
0 | 490 </params> |
491 <desc>Used only two times in <stage>7</stage></desc> | |
492 </op> | |
493 | |
494 <op> | |
495 <num>57</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
496 <name>move_to</name> |
0 | 497 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
498 <param type="S" name="duration" unit="frames"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
499 <param type="f" name="x" unit="pixels"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
500 <param type="f" name="y" unit="pixels"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
501 <param type="f" name="z" unit="pixels" values="0.0f">Ignored</param> |
0 | 502 </params> |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
503 <desc>Move the enemy to the new position in this amount of frames. TODO: find the exact interpolation method</desc> |
0 | 504 </op> |
505 | |
506 <op> | |
507 <num>59</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
508 <name>move_to2</name> |
0 | 509 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
510 <param type="S" name="duration" unit="frames"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
511 <param type="f" name="x" unit="pixels" values="192.0f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
512 <param type="f" name="y" unit="pixels" values="-64.0f, 150.0f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
513 <param type="f" name="z" unit="pixels" values="0.0f"/> |
0 | 514 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
515 <desc>Move the enemy to the new position in this amount of frames. TODO: how it is different from move_to?</desc> |
0 | 516 </op> |
517 | |
518 <op> | |
519 <num>61</num> | |
6
578e67aa3c03
Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
520 <name>stop_in_decel</name> |
0 | 521 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
522 <param type="S" name="duration" unit="frames"/> |
0 | 523 </params> |
6
578e67aa3c03
Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
524 <desc>Keep a straight trajectory with decelerating speed to stop in duration frames.</desc> |
0 | 525 </op> |
526 | |
527 <op> | |
528 <num>63</num> | |
6
578e67aa3c03
Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
529 <name>stop_in_accel</name> |
0 | 530 <params> |
6
578e67aa3c03
Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
531 <param type="S" name="duration" unit="frames"/> |
0 | 532 </params> |
6
578e67aa3c03
Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
533 <desc>Like <ref>61</ref> but with acceleration instead of deceleration.</desc> |
0 | 534 </op> |
535 | |
536 <op> | |
537 <num>65</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
538 <name>set_screen_box</name> |
0 | 539 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
540 <param type="f" name="x1" unit="pixels"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
541 <param type="f" name="y1" unit="pixels"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
542 <param type="f" name="x2" unit="pixels"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
543 <param type="f" name="y2" unit="pixels"/> |
0 | 544 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
545 <desc>Disallow an enemy to quit the defined rectangle. If it goes outside it is destroyed. By default this rectangle is the displayed screen.</desc> |
0 | 546 </op> |
547 | |
548 <op> | |
549 <num>66</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
550 <name>clear_screen_box</name> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
551 <desc>Remove the limit set in <ref>65</ref>.</desc> |
0 | 552 </op> |
553 | |
554 <op> | |
555 <num>67</num> | |
556 <name>set_bullet_attributes</name> | |
557 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
558 <param type="s" name="bullet" unit="script"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
559 <param type="s" name="launch" unit="script"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
560 <param type="S" name="bullets_per_shot"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
561 <param type="S" name="number_of_shots"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
562 <param type="f" name="speed" unit="pixels/frame"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
563 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
564 <param type="f" name="launch_angle" unit="radian"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
565 <param type="f" name="angle_between_two_bullets" unit="radian"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
566 <param type="S" name="flags">>= 64, freezed</param> |
0 | 567 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
568 <desc>Modify the attributes of the next enemy attack. Directs it to the player.</desc> |
0 | 569 </op> |
570 | |
571 <op> | |
572 <num>68</num> | |
573 <name></name> | |
574 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
575 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
576 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
577 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
578 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
579 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
580 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
581 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
582 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
583 <param type="S"/> |
0 | 584 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
585 <desc>The same as <ref>67</ref>, except the shot is directed to the right of the enemy.</desc> |
0 | 586 </op> |
587 | |
588 <op> | |
589 <num>69</num> | |
590 <name></name> | |
591 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
592 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
593 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
594 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
595 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
596 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
597 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
598 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
599 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
600 <param type="S"/> |
0 | 601 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
602 <desc>No visible difference from <ref>67</ref>.</desc> |
0 | 603 </op> |
604 | |
605 <op> | |
606 <num>70</num> | |
607 <name></name> | |
608 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
609 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
610 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
611 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
612 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
613 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
614 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
615 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
616 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
617 <param type="S"/> |
0 | 618 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
619 <desc>No visible difference from <ref>68</ref>.</desc> |
0 | 620 </op> |
621 | |
622 <op> | |
623 <num>71</num> | |
624 <name></name> | |
625 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
626 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
627 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
628 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
629 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
630 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
631 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
632 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
633 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
634 <param type="S"/> |
0 | 635 </params> |
636 <desc></desc> | |
637 </op> | |
638 | |
639 <op> | |
640 <num>74</num> | |
641 <name></name> | |
642 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
643 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
644 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
645 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
646 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
647 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
648 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
649 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
650 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
651 <param type="S"/> |
0 | 652 </params> |
653 <desc>Used only one time, in <stage>3</stage>.</desc> | |
654 </op> | |
655 | |
656 <op> | |
657 <num>75</num> | |
658 <name></name> | |
659 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
660 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
661 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
662 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
663 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
664 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
665 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
666 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
667 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
668 <param type="S"/> |
0 | 669 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
670 <desc>Seems like <ref>68</ref>, but with some differences in speed.</desc> |
0 | 671 </op> |
672 | |
673 <op> | |
674 <num>76</num> | |
675 <name></name> | |
676 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
677 <param type="S"/> |
0 | 678 </params> |
679 <desc></desc> | |
680 </op> | |
681 | |
682 <op> | |
683 <num>77</num> | |
684 <name>bullet_interval</name> | |
685 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
686 <param type="S" name="interval" unit="frames"/> |
0 | 687 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
688 <desc>Time between two shots.</desc> |
0 | 689 </op> |
690 | |
691 <op> | |
692 <num>78</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
693 <name>delay_attack</name> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
694 <desc>If present, delays the first attack of the amount of frames defined by <ref>77</ref>. If not, the enemy shoots instantly after setting the bullets attributes.</desc> |
0 | 695 </op> |
696 | |
697 <op> | |
698 <num>79</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
699 <name>no_delay_attack</name> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
700 <desc></desc> |
0 | 701 </op> |
702 | |
703 <op> | |
704 <num>81</num> | |
705 <name>bullet_launch_offset</name> | |
706 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
707 <param type="f" name="x" unit="pixels"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
708 <param type="f" name="y" unit="pixels"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
709 <param type="f" name="z" unit="pixels" values="0">Ignored</param> |
0 | 710 </params> |
711 <desc>Change the offset of the launch of bullets.</desc> | |
712 </op> | |
713 | |
714 <op> | |
715 <num>82</num> | |
716 <name></name> | |
717 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
718 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
719 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
720 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
721 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
722 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
723 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
724 <param type="f" values="-1.0f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
725 <param type="f" values="-1.0f"/> |
0 | 726 </params> |
727 <desc></desc> | |
728 </op> | |
729 | |
730 <op> | |
731 <num>83</num> | |
732 <name></name> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
733 <desc>No-op? Doesn't seem to change anything.</desc> |
0 | 734 </op> |
735 | |
736 <op> | |
737 <num>84</num> | |
738 <name></name> | |
739 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
740 <param type="S"/> |
0 | 741 </params> |
742 <desc></desc> | |
743 </op> | |
744 | |
745 <op> | |
746 <num>85</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
747 <name>laser</name> |
0 | 748 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
749 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
750 <param type="s"/> |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
751 <param type="f" name="angle" unit="radian">clockwise, from the +x axis</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
752 <param type="S" name="speed" unit="pixels/frame">speed of the laser along its axis</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
753 <param type="f" name="start_offset" unit="pixels">offset along the laser axis, relative to the enemy. If negative, it is considered as 0.</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
754 <param type="f" name="end_offset" unit="pixels">offset along the laser axis, relative to the enemy. Can be negative. In case end_offset < start_offset, the laser will be in the oposite direction.</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
755 <param type="f" name="length" unit="pixels">TODO: Not really a length, something really odd. The laser starts at max(start_offset, end_offset - length) and ends at end_offset.</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
756 <param type="f" name="width" unit="pixels"/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
757 <param type="S" name="start_duration" unit="frames"/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
758 <param type="S" name="duration" unit="frames"/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
759 <param type="S" name="stop_duration" unit="frames"/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
760 <param type="S" name="grazing_dealy" unit="frames">how long to wait before allowing grazing</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
761 <param type="S" name="grazing_extra_duration" unit="frames">how long to allow grazing after the laser started to disappear</param> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
762 <param type="S" values="0"/> |
0 | 763 </params> |
764 <desc></desc> | |
765 </op> | |
766 | |
767 <op> | |
768 <num>86</num> | |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
769 <name>laser_towards_player</name> |
0 | 770 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
771 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
772 <param type="s"/> |
7
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
773 <param type="f" name="angle" unit="radian">clockwise, from the enemy->player axis</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
774 <param type="S" name="speed" unit="pixels/frame">speed of the laser along its axis</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
775 <param type="f" name="start_offset" unit="pixels">offset along the laser axis, relative to the enemy. If negative, it is considered as 0.</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
776 <param type="f" name="end_offset" unit="pixels">offset along the laser axis, relative to the enemy. Can be negative. In case end_offset < start_offset, the laser will be in the oposite direction.</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
777 <param type="f" name="length" unit="pixels">TODO: Not really a length, something really odd. The laser starts at max(start_offset, end_offset - length) and ends at end_offset.</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
778 <param type="f" name="width" unit="pixels"/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
779 <param type="S" name="start_duration" unit="frames"/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
780 <param type="S" name="duration" unit="frames"/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
781 <param type="S" name="stop_duration" unit="frames"/> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
782 <param type="S" name="grazing_dealy" unit="frames">how long to wait before allowing grazing</param> |
2a7b9d62c0c4
Fix details, and details and documentation for a few instructions
Thibaut Girka <thib@sitedethib.com>
parents:
6
diff
changeset
|
783 <param type="S" name="grazing_extra_duration" unit="frames">how long to allow grazing after the laser started to disappear</param> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
784 <param type="S" values="0"/> |
0 | 785 </params> |
786 <desc></desc> | |
787 </op> | |
788 | |
789 <op> | |
790 <num>87</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
791 <name>set_upcoming_id</name> |
0 | 792 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
793 <param type="S" name="laser" unit="laser_id"/> |
0 | 794 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
795 <desc>Sets upcoming laser to a given id, in order to manipulate it later.</desc> |
0 | 796 </op> |
797 | |
798 <op> | |
799 <num>88</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
800 <name>alter_laser_angle</name> |
0 | 801 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
802 <param type="S" name="laser" unit="laser_id"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
803 <param type="f" name="delta" unit="radian"/> |
0 | 804 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
805 <desc>Adds delta to the laser's angle.</desc> |
0 | 806 </op> |
807 | |
808 <op> | |
809 <num>90</num> | |
810 <name></name> | |
811 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
812 <param type="S" values="0 to 3"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
813 <param type="S" values="0"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
814 <param type="S" values="0"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
815 <param type="S" values="0"/> |
0 | 816 </params> |
817 <desc>Used only one time, in <stage>7</stage>.</desc> | |
818 </op> | |
819 | |
820 <op> | |
821 <num>92</num> | |
822 <name></name> | |
823 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
824 <param type="S"/> |
0 | 825 </params> |
826 <desc></desc> | |
827 </op> | |
828 | |
829 <op> | |
830 <num>93</num> | |
831 <name>set_spellcard</name> | |
832 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
833 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
834 <param type="s" name="number">As in the captured spellcards screen, minus 1.</param> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
835 <param type="z" name="name">In SHIFT_JIS</param> |
0 | 836 </params> |
837 <desc></desc> | |
838 </op> | |
839 | |
840 <op> | |
841 <num>94</num> | |
842 <name></name> | |
843 <desc></desc> | |
844 </op> | |
845 | |
846 <op> | |
847 <num>95</num> | |
848 <name></name> | |
849 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
850 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
851 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
852 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
853 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
854 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
855 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
856 <param type="S"/> |
0 | 857 </params> |
858 <desc></desc> | |
859 </op> | |
860 | |
861 <op> | |
862 <num>96</num> | |
863 <name></name> | |
864 <desc></desc> | |
865 </op> | |
866 | |
867 <op> | |
868 <num>97</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
869 <name>set_enemy_anim</name> |
0 | 870 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
871 <param type="S" name="anim" unit="script"/> |
0 | 872 </params> |
873 <desc>Set a sprite (taken from current anm) for the enemy.</desc> | |
874 </op> | |
875 | |
876 <op> | |
877 <num>98</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
878 <name>set_boss_anims</name> |
0 | 879 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
880 <param type="s" name="default" unit="script"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
881 <param type="s" name="far_left" unit="script"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
882 <param type="s" name="far_right" unit="script"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
883 <param type="s" name="left" unit="script"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
884 <param type="S" name="right" unit="script">Perhaps two int16_t instead.</param> |
0 | 885 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
886 <desc>Give a set of animations for a boss deplacements.</desc> |
0 | 887 </op> |
888 | |
889 <op> | |
890 <num>99</num> | |
891 <name></name> | |
892 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
893 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
894 <param type="S"/> |
0 | 895 </params> |
896 <desc></desc> | |
897 </op> | |
898 | |
899 <op> | |
900 <num>100</num> | |
901 <name>set_death_anim</name> | |
902 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
903 <param type="S" name="anim" unit="script" values="768, 769, 258">In fact, any 256n+[0-2] works and is the same; other values make the program crash.</param> |
0 | 904 </params> |
905 <desc>When the enemy is destroyed, the animation used.</desc> | |
906 </op> | |
907 | |
908 <op> | |
909 <num>101</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
910 <name>set_boss_mode</name> |
0 | 911 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
912 <param type="S" values="-1, 0">Unknown meaning, seems to be 0 for mid-boss and -1 for real boss.</param> |
0 | 913 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
914 <desc>Activates the boss mode, with her life bar and lives number displayed on the top. Doesn't do anything before calling <ref>126</ref>.</desc> |
0 | 915 </op> |
916 | |
917 <op> | |
918 <num>102</num> | |
919 <name></name> | |
920 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
921 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
922 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
923 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
924 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
925 <param type="f" values="48.0f"/> |
0 | 926 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
927 <desc>Create the "squares" running around Rumia ???</desc> |
0 | 928 </op> |
929 | |
930 <op> | |
931 <num>103</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
932 <name>set_enemy_hitbox</name> |
0 | 933 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
934 <param type="f" name="width" unit="pixels" values="16 to 56"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
935 <param type="f" name="height" unit="pixels" values="16 to 56"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
936 <param type="f" name="depth" unit="pixels" values="32.0f">Ignored</param> |
0 | 937 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
938 <desc></desc> |
0 | 939 </op> |
940 | |
941 <op> | |
942 <num>104</num> | |
943 <name></name> | |
944 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
945 <param type="S" values="0, 1"/> |
0 | 946 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
947 <desc>noop?</desc> |
0 | 948 </op> |
949 | |
950 <op> | |
951 <num>105</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
952 <name>set_vulnerable</name> |
0 | 953 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
954 <param type="S" name="x" values="0, 1"/> |
0 | 955 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
956 <desc>if x & 1, the enemy can take damage, else it cannot.</desc> |
0 | 957 </op> |
958 | |
959 <op> | |
960 <num>106</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
961 <name>play_sound</name> |
0 | 962 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
963 <param type="S"/> |
0 | 964 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
965 <desc>Play a sound.</desc> |
0 | 966 </op> |
967 | |
968 <op> | |
969 <num>107</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
970 <name>set_death_flags</name> |
0 | 971 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
972 <param type="S"/> |
0 | 973 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
974 <desc>Control what to do when life falls to zero. 0 = normal, 1 = don't clean the sprite, 2 = don't die, 4 (unused) = don't die and don't drop bonus. These are flags that can be combined.</desc> |
0 | 975 </op> |
976 | |
977 <op> | |
978 <num>108</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
979 <name>call_when_killed</name> |
0 | 980 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
981 <param type="S" name="function" unit="sub"/> |
0 | 982 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
983 <desc>Specify the subroutine to call when the enemy is killed.</desc> |
0 | 984 </op> |
985 | |
986 <op> | |
987 <num>109</num> | |
988 <name></name> | |
989 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
990 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
991 <param type="S" values="0"/> |
0 | 992 </params> |
993 <desc></desc> | |
994 </op> | |
995 | |
996 <op> | |
997 <num>111</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
998 <name>set_life</name> |
0 | 999 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1000 <param type="S" name="life"/> |
0 | 1001 </params> |
6
578e67aa3c03
Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
1002 <desc>equivalent to <ref>4</ref>(-10024, life).</desc> |
0 | 1003 </op> |
1004 | |
1005 <op> | |
1006 <num>112</num> | |
1007 <name></name> | |
1008 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1009 <param type="S" values="0, 99999"/> |
0 | 1010 </params> |
1011 <desc></desc> | |
1012 </op> | |
1013 | |
1014 <op> | |
1015 <num>113</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1016 <name>set_boss_lower_life_limit</name> |
0 | 1017 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1018 <param type="S" name="limit" unit="life" values="-1, 500-3400"/> |
0 | 1019 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1020 <desc>When enemy's life gets lower or equal to the limit, the callback set by <ref>114</ref> is called.</desc> |
0 | 1021 </op> |
1022 | |
1023 <op> | |
1024 <num>114</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1025 <name>set_boss_callback</name> |
0 | 1026 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1027 <param type="S" name="callback" unit="sub" values="9-68"/> |
0 | 1028 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1029 <desc>Specify the sub to call when the enemy's life gets below a certain amount set by a <ref>113</ref>.</desc> |
0 | 1030 </op> |
1031 | |
1032 <op> | |
1033 <num>115</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1034 <name>set_timeout</name> |
0 | 1035 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1036 <param type="S" name="timeout" unit="frame"/> |
0 | 1037 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1038 <desc>Sets the timeout of the current boss attack.</desc> |
0 | 1039 </op> |
1040 | |
1041 <op> | |
1042 <num>116</num> | |
1043 <name></name> | |
1044 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1045 <param type="S"/> |
0 | 1046 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1047 <desc>Doesn't seem to do anything. Tried to remove it, use 0, 1, 127, 1023, 1024, 4096 as an argument, nothing... ???</desc> |
0 | 1048 </op> |
1049 | |
1050 <op> | |
1051 <num>117</num> | |
1052 <name></name> | |
1053 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1054 <param type="S"/> |
0 | 1055 </params> |
1056 <desc></desc> | |
1057 </op> | |
1058 | |
1059 <op> | |
1060 <num>118</num> | |
1061 <name></name> | |
1062 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1063 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1064 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1065 <param type="s"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1066 <param type="s"/> |
0 | 1067 </params> |
6
578e67aa3c03
Minor ECL fixes.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
5
diff
changeset
|
1068 <desc>TODO: "explosion" (dying boss).</desc> |
0 | 1069 </op> |
1070 | |
1071 <op> | |
1072 <num>119</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1073 <name>drop_bonus</name> |
0 | 1074 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1075 <param type="S" name="number" values="3, 4, 5, 6, 8, 10, 12, 20"/> |
0 | 1076 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1077 <desc>Drop a certain number of bonus at the frame it is called. If the power is not max, drop power items, else drop point items.</desc> |
0 | 1078 </op> |
1079 | |
1080 <op> | |
1081 <num>120</num> | |
1082 <name></name> | |
1083 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1084 <param type="S"/> |
0 | 1085 </params> |
1086 <desc></desc> | |
1087 </op> | |
1088 | |
1089 <op> | |
1090 <num>121</num> | |
1091 <name></name> | |
1092 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1093 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1094 <param type="S"/> |
0 | 1095 </params> |
1096 <desc></desc> | |
1097 </op> | |
1098 | |
1099 <op> | |
1100 <num>122</num> | |
1101 <name></name> | |
1102 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1103 <param type="S"/> |
0 | 1104 </params> |
1105 <desc></desc> | |
1106 </op> | |
1107 | |
1108 <op> | |
1109 <num>123</num> | |
1110 <name></name> | |
1111 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1112 <param type="S"/> |
0 | 1113 </params> |
1114 <desc></desc> | |
1115 </op> | |
1116 | |
1117 <op> | |
1118 <num>124</num> | |
1119 <name></name> | |
1120 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1121 <param type="S"/> |
0 | 1122 </params> |
1123 <desc></desc> | |
1124 </op> | |
1125 | |
1126 <op> | |
1127 <num>125</num> | |
1128 <name></name> | |
1129 <desc></desc> | |
1130 </op> | |
1131 | |
1132 <op> | |
1133 <num>126</num> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1134 <name>set_boss_lives</name> |
0 | 1135 <params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1136 <param type="S" name="lives">Can even be negative. :D</param> |
0 | 1137 </params> |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1138 <desc>Sets the remaining lives of a boss. Should be called at the start of each round.</desc> |
0 | 1139 </op> |
1140 | |
1141 <op> | |
1142 <num>127</num> | |
1143 <name></name> | |
1144 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1145 <param type="S"/> |
0 | 1146 </params> |
1147 <desc></desc> | |
1148 </op> | |
1149 | |
1150 <op> | |
1151 <num>128</num> | |
1152 <name></name> | |
1153 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1154 <param type="S"/> |
0 | 1155 </params> |
1156 <desc></desc> | |
1157 </op> | |
1158 | |
1159 <op> | |
1160 <num>129</num> | |
1161 <name></name> | |
1162 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1163 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1164 <param type="S"/> |
0 | 1165 </params> |
1166 <desc></desc> | |
1167 </op> | |
1168 | |
1169 <op> | |
1170 <num>130</num> | |
1171 <name></name> | |
1172 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1173 <param type="S"/> |
0 | 1174 </params> |
1175 <desc></desc> | |
1176 </op> | |
1177 | |
1178 <op> | |
1179 <num>131</num> | |
1180 <name></name> | |
1181 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1182 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1183 <param type="f"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1184 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1185 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1186 <param type="S"/> |
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1187 <param type="S"/> |
0 | 1188 </params> |
1189 <desc></desc> | |
1190 </op> | |
1191 | |
1192 <op> | |
1193 <num>132</num> | |
1194 <name></name> | |
1195 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1196 <param type="S"/> |
0 | 1197 </params> |
1198 <desc></desc> | |
1199 </op> | |
1200 | |
1201 <op> | |
1202 <num>133</num> | |
1203 <name></name> | |
1204 <desc></desc> | |
1205 </op> | |
1206 | |
1207 <op> | |
1208 <num>134</num> | |
1209 <name></name> | |
1210 <desc></desc> | |
1211 </op> | |
1212 | |
1213 <op> | |
1214 <num>135</num> | |
1215 <name></name> | |
1216 <params> | |
5
b3644dff344c
Way too much changes. :/
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
3
diff
changeset
|
1217 <param type="S"/> |
0 | 1218 </params> |
1219 <desc></desc> | |
1220 </op> | |
1221 </opcodes> |