view 06/msg.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 f82309a9465e
children 2925b0e246c6
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../html.xsl"?>
<?xml-stylesheet type="text/css" href="../style.css"?>
<!DOCTYPE html>
<opcodes xmlns="urn:opcodes:description">
	<title>MSG opcodes</title>

	<op>
		<num>0</num>
		<name></name>
		<desc></desc>
	</op>

	<op>
		<num>1</num>
		<name></name>
		<params>
			<param type="s"></param>
			<param type="s"></param>
		</params>
		<desc></desc>
	</op>

	<op>
		<num>2</num>
		<name>change_face</name>
		<params>
			<param type="s" values="1, 0">Affected girl (0 is left, 1 is right)</param>
			<param type="s">Sprite to use.</param>
		</params>
		<desc></desc>
	</op>

	<op>
		<num>3</num>
		<name>display</name>
		<params>
			<param type="s" values="0, 1">Girl speaking (0 is left, 1 is right)</param>
			<param type="s" values="0, 1">Line to which display.</param>
			<param type="z">The text to display.</param>
		</params>
		<desc>Displays a line of text.</desc>
	</op>

	<op>
		<num>4</num>
		<name>pause</name>
		<params>
			<param type="S">Number of frames to wait.</param>
		</params>
		<desc>Wait for the user to provide an input, or timeout.</desc>
	</op>

	<op>
		<num>5</num>
		<name>switch</name>
		<params>
			<param type="s" values="1, 0">Affected girl (0 is left, 1 is right)</param>
			<param type="s" min="0" max="5">Animation to use (0=?; 1=appear; 2=unused (leave too?); 3=front; 4=back; 5=leave)</param>
		</params>
		<desc>Makes one of the two girls come to or leave the screen.</desc>
	</op>

	<op>
		<num>6</num>
		<name>appear_enemy</name>
		<desc>Makes the enemy sprite come in the game area.</desc>
	</op>

	<op>
		<num>7</num>
		<name>music</name>
		<params>
			<param type="S">Music number.</param>
		</params>
		<desc>Plays the selected music.</desc>
	</op>

	<op>
		<num>8</num>
		<name>display2</name>
		<params>
			<param type="s" values="0, 1">Girl speaking (0 is left, 1 is right)</param>
			<param type="s" values="0, 1">Line to which display.</param>
			<param type="z">The text to display.</param>
		</params>
		<desc>Displays a line of text on a character. Always used to introduce her.</desc>
	</op>

	<op>
		<num>9</num>
		<name></name>
		<params>
			<param type="S"></param>
		</params>
		<desc></desc>
	</op>

	<op>
		<num>10</num>
		<name></name>
		<desc></desc>
	</op>

	<op>
		<num>11</num>
		<name>next_level</name>
		<desc>Close the score panel and launch the next level.</desc>
	</op>

	<op>
		<num>12</num>
		<name></name>
		<desc></desc>
	</op>

	<op>
		<num>13</num>
		<name></name>
		<params>
			<param type="S"></param>
		</params>
		<desc></desc>
	</op>

	<op>
		<num>14</num>
		<name></name>
		<desc></desc>
	</op>
</opcodes>