<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ffrtt.ru/index.php?action=history&amp;feed=atom&amp;title=FF7%2FField%2FScript%2FOpcodes%2F38_STTIM</id>
	<title>FF7/Field/Script/Opcodes/38 STTIM - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ffrtt.ru/index.php?action=history&amp;feed=atom&amp;title=FF7%2FField%2FScript%2FOpcodes%2F38_STTIM"/>
	<link rel="alternate" type="text/html" href="https://wiki.ffrtt.ru/index.php?title=FF7/Field/Script/Opcodes/38_STTIM&amp;action=history"/>
	<updated>2026-08-04T11:38:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>https://wiki.ffrtt.ru/index.php?title=FF7/Field/Script/Opcodes/38_STTIM&amp;diff=1251&amp;oldid=prev</id>
		<title>BukTop: 3 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.ffrtt.ru/index.php?title=FF7/Field/Script/Opcodes/38_STTIM&amp;diff=1251&amp;oldid=prev"/>
		<updated>2019-05-23T02:16:38Z</updated>

		<summary type="html">&lt;p&gt;3 revisions imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:16, 23 May 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>BukTop</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.ffrtt.ru/index.php?title=FF7/Field/Script/Opcodes/38_STTIM&amp;diff=1250&amp;oldid=prev</id>
		<title>my_wiki&gt;BukTop: 2 revisions imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.ffrtt.ru/index.php?title=FF7/Field/Script/Opcodes/38_STTIM&amp;diff=1250&amp;oldid=prev"/>
		<updated>2018-04-04T09:34:37Z</updated>

		<summary type="html">&lt;p&gt;2 revisions imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 09:34, 4 April 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>my_wiki&gt;BukTop</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.ffrtt.ru/index.php?title=FF7/Field/Script/Opcodes/38_STTIM&amp;diff=1249&amp;oldid=prev</id>
		<title>my_wiki&gt;Synergy Blades: hours</title>
		<link rel="alternate" type="text/html" href="https://wiki.ffrtt.ru/index.php?title=FF7/Field/Script/Opcodes/38_STTIM&amp;diff=1249&amp;oldid=prev"/>
		<updated>2006-09-21T16:00:45Z</updated>

		<summary type="html">&lt;p&gt;hours&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:00, 21 September 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l28&quot; &gt;Line 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the hours, minutes or seconds are specified in the argument, the corresponding ''B'' nybble is zero. Otherwise, the value for the time component is retrieved from the bank and address specified. The seperate time components can be retrieved from memory or specified as a value, in the same argument list, as demonstrated below.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the hours, minutes or seconds are specified in the argument, the corresponding ''B'' nybble is zero. Otherwise, the value for the time component is retrieved from the bank and address specified. The seperate time components can be retrieved from memory or specified as a value, in the same argument list, as demonstrated below.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Hours are not directly visible on the clock, as it only displays minutes and seconds. Hours are translated into minutes, so if you specify one hour, the clock displays 60 minutes, and so on.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Example ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Example ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>my_wiki&gt;Synergy Blades</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.ffrtt.ru/index.php?title=FF7/Field/Script/Opcodes/38_STTIM&amp;diff=1248&amp;oldid=prev</id>
		<title>my_wiki&gt;Synergy Blades at 01:15, 8 September 2006</title>
		<link rel="alternate" type="text/html" href="https://wiki.ffrtt.ru/index.php?title=FF7/Field/Script/Opcodes/38_STTIM&amp;diff=1248&amp;oldid=prev"/>
		<updated>2006-09-08T01:15:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;* Opcode: '''0x38'''&lt;br /&gt;
* Short name: '''STTIM'''&lt;br /&gt;
* Long name: Set Timer&lt;br /&gt;
&lt;br /&gt;
==== Memory layout ====&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellspacing=&amp;quot;1&amp;quot; cellpadding=&amp;quot;3&amp;quot; style=&amp;quot;border: 1px solid black; border-collapse: collapse;&amp;quot;&lt;br /&gt;
! width=&amp;quot;40&amp;quot; | 0x38&lt;br /&gt;
! width=&amp;quot;50&amp;quot; | ''B1 / B2''&lt;br /&gt;
! width=&amp;quot;50&amp;quot; | ''0 / B3''&lt;br /&gt;
! width=&amp;quot;40&amp;quot; | ''H''&lt;br /&gt;
! width=&amp;quot;40&amp;quot; | ''M''&lt;br /&gt;
! width=&amp;quot;40&amp;quot; | ''S''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Arguments ====&lt;br /&gt;
&lt;br /&gt;
* '''const Bit[4]''' ''B1'': Bank to find hours value, or zero if hours (''B1'') is passed as a value.&lt;br /&gt;
* '''const Bit[4]''' ''B2'': Bank to find minutes value, or zero if minutes (''B2'') is passed as a value.&lt;br /&gt;
* '''const Bit[4]''' ''0'': Zero.&lt;br /&gt;
* '''const Bit[4]''' ''B3'': Bank to find seconds value, or zero if seconds (''B3'') is passed as a value.&lt;br /&gt;
* '''const UByte''' ''H'': Hours, or address to find hours value, if ''B1'' is non-zero.&lt;br /&gt;
* '''const UByte''' ''M'': Minutes, or address to find minutes value, if ''B2'' is non-zero.&lt;br /&gt;
* '''const UByte''' ''S'': Seconds, or address to find seconds value, if ''B3'' is non-zero.&lt;br /&gt;
&lt;br /&gt;
==== Description ====&lt;br /&gt;
&lt;br /&gt;
Sets the clock, as found in the [[FF7/Field/Script/Opcodes/36 WSPCL|WSPCL]] opcode.&lt;br /&gt;
&lt;br /&gt;
If the hours, minutes or seconds are specified in the argument, the corresponding ''B'' nybble is zero. Otherwise, the value for the time component is retrieved from the bank and address specified. The seperate time components can be retrieved from memory or specified as a value, in the same argument list, as demonstrated below.&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&lt;br /&gt;
The following example sets the clock to 67:34 using literal values for hours, and retrieved values for minutes and seconds.&lt;br /&gt;
&lt;br /&gt;
 SETBYTE(50,12,7)             // Bank 5, Address 0x12: 7 minutes&lt;br /&gt;
 SETBYTE(50,14,22)            // Bank 5, Address 0x14: 34 seconds&lt;br /&gt;
 STTIM(5,5,1,12,14)           // One hour, retrieved vals for minutes/seconds&lt;br /&gt;
 WINDOW(0,20,20,75,75)        // Set up a window&lt;br /&gt;
 WSPCL(0,1,5,5)               // Set the window to a timer type&lt;br /&gt;
 WMODE(0,2,1)                 // Transparent, non-closable window&lt;br /&gt;
 MESSAGE(0,1)                 // Display the window &amp;amp; timer&lt;/div&gt;</summary>
		<author><name>my_wiki&gt;Synergy Blades</name></author>
		
	</entry>
</feed>