ActionC

From GRFSpecs
Revision as of 19:02, 12 June 2011 by Orudge (talk | contribs) (3 revisions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Do nothing.

Action C

Do nothing.

-=Introduction=-

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

-=Format=-

The data looks as follows:

 -+<Sprite-number> * <Length> 0C <nowiki>[<ignored>]</nowiki>+-

||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||

-=Filling in the terms=-

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