Difference between revisions of "ActionC"

From GRFSpecs
Jump to navigationJump to search
m (Bot: Automated text replacement (--= +==))
m (Beautify wiki markup)
 
Line 1: Line 1:
 
 
== Introduction ==
 
== Introduction ==
   
Line 8: Line 7:
 
Action C is a NOP (no operation). It can be used to temporarily comment out a sprite while testing.
 
Action C is a NOP (no operation). It can be used to temporarily comment out a sprite while testing.
   
==Syntax==
+
== Syntax ==
   
 
The data looks as follows:
 
The data looks as follows:
Line 30: Line 29:
 
|}
 
|}
   
==Description==
+
== Description ==
   
===Sprite-number===
+
=== Sprite-number ===
   
 
This is just the number you are at.
 
This is just the number you are at.
   
===Length===
+
=== Length ===
   
 
Count the number of bytes in this action.
 
Count the number of bytes in this action.
   
===ignored===
+
=== ignored ===
   
 
These bytes, if present at all, are ignored. The action does nothing.
 
These bytes, if present at all, are ignored. The action does nothing.
   
==Example==
+
== Example ==
   
 
<span style='color:#808080'>Something to go here</span>
 
<span style='color:#808080'>Something to go here</span>

Latest revision as of 14:48, 15 June 2011

Introduction

Do nothing.


Action C is a NOP (no operation). It can be used to temporarily comment out a sprite while testing.

Syntax

The data looks as follows:

<Sprite-number> * <Length> 0C [<ignored>]
Element Size Description
<Sprite-number> dec A sequential sprite number
<length> dec The total number of bytes used in this action
0C B Defines action 0C
<ignored> V Anything following the action byte 0C is ignored entirely

Description

Sprite-number

This is just the number you are at.

Length

Count the number of bytes in this action.

ignored

These bytes, if present at all, are ignored. The action does nothing.

Example

Something to go here