Difference between revisions of "NERPs documentation"
Jessietail (talk | contribs) m (Jessietail moved page NERP commands to NERPs documentation: Consistent with other documentation pages) |
Jessietail (talk | contribs) m (Changing samp to code, adding a little info for ? and page opening) |
||
Line 1: | Line 1: | ||
{{WIP}} | |||
This is an '''extremely''' WIP page to document all [[NERPs]] code from [[LEGO Rock Raiders (video game)|''LEGO Rock Raiders'']] for Windows. '''Do not document what a function does unless it's been tested and its use is 100% clear'''. Many of these are obvious from their names, but have been left as "unknown" for now simply because they haven't been tested. | |||
Use information from [[User:Jessietail/NERPs reference|Addict's old NERPs reference]] and the old [https://web.archive.org/web/20131206122442/http://rru-stuff.org/nerpfuncs.html rru-stuff.org NERPs function list] to help build this page, though ultimately that just helps give a rough idea of what things are; everything needs to be further tested and verified for this article. | |||
==Comparison | Effects written //Like this are Karl White's original comments. These should probably be saved in some form, though not used as the main definitions. | ||
==Comparison operators== | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 10: | Line 13: | ||
! Action | ! Action | ||
|- | |- | ||
| {{nowrap|< | | {{nowrap|<code>01 00 01 00</code>}} | ||
| +{{verify}} | | +{{verify}} | ||
| | | ''Unknown'' | ||
|- | |- | ||
| < | | <code>02 00 01 00</code> | ||
| #{{verify}} | | #{{verify}} | ||
| | | ''Unknown'' | ||
|- | |- | ||
| < | | <code>03 00 01 00</code> | ||
| /{{verify}} | | /{{verify}} | ||
| | | ''Unknown'' | ||
|- | |- | ||
| < | | <code>04 00 01 00</code> | ||
| ? | | ? | ||
| {{nowrap| | |Acts like an "if" clause, using the format {{nowrap|<code>Expression ? Action</code>}}.<br /> Basically: if(Expression) Action(), or "if ''Expression'' is true, then perform ''Action''."<br /> Example usage: {{nowrap|<code>GetCrystalsCurrentlyStored > 24 ? SetLevelCompleted</code>}} which states that if 25 or more energy crystals are stored, the current mission will be set to complete.<br /> Not to be confused with the C++ [[wikipedia:?:#C++|ternary operator]] <code>?:</code>.<!-- NOT at all like the c++ ternary operator. Take a look at some of the stock [[NRM_file|nrm]] files for proper usage. Here, example usage:<br>Expression ? Action<br>See? The ternary operator is like an if clause.<br>if(Expression) Action()<br>Pretty simple stuff! ~ Addictgamer--> | ||
|- | |- | ||
| < | | <code>05 00 01 00</code> | ||
| > | | > | ||
| Is greater than | | Is greater than | ||
|- | |- | ||
| < | | <code>06 00 01 00</code> | ||
| < | | < | ||
| Is less than than | | Is less than than | ||
|- | |- | ||
| < | | <code>07 00 01 00</code> | ||
| = | | = | ||
| Is equal to | | Is equal to | ||
|- | |- | ||
| < | | <code>08 00 01 00</code> | ||
| >= | | >= | ||
| Is greater than or equal to | | Is greater than or equal to | ||
|- | |- | ||
| < | | <code>09 00 01 00</code> | ||
| <= | | <= | ||
| Is less than or equal to | | Is less than or equal to | ||
|- | |- | ||
| < | | <code>0A 00 01 00</code> | ||
| != | | != | ||
| Is not equal to | | Is not equal to | ||
Line 53: | Line 55: | ||
==Function calls== | ==Function calls== | ||
Function calls are defined in the executable file. All functions end with a value of <code>02 00</code>. There are 293 functions | Function calls are defined in the executable file. All functions end with a value of <code>02 00</code>. There are a grand total of 293 known functions. | ||
<!--'''Parameters''' are pieces of script that designate a very specific property. These are essential to [[Programming Mission Objectives]]. When encrypted into [[NPL file|NPL Files]], they are given a simple 8 character hex-string. Basic Parameter hex-strings end in <code>02 00</code> to indicate itself. [[Special Parameters]], which are different than basic parameters in function, end in <code>04 00</code> and <code>08 00</code>. Each parameter is given a number value, which is the first two pairs of the hex-string.--> | <!--'''Parameters''' are pieces of script that designate a very specific property. These are essential to [[Programming Mission Objectives]]. When encrypted into [[NPL file|NPL Files]], they are given a simple 8 character hex-string. Basic Parameter hex-strings end in <code>02 00</code> to indicate itself. [[Special Parameters]], which are different than basic parameters in function, end in <code>04 00</code> and <code>08 00</code>. Each parameter is given a number value, which is the first two pairs of the hex-string.--> | ||
===Expressions=== | ===Expressions=== | ||
Line 62: | Line 64: | ||
! Action | ! Action | ||
|- | |- | ||
| {{nowrap|< | | {{nowrap|<code>00 00 02 00</code>}} | ||
| Stop | | Stop | ||
| {{nowrap|Ends the script for the current tick | | {{nowrap|Ends the script for the current tick (Requires no condition)}} | ||
|- | |- | ||
| < | | <code>01 00 02 00</code> | ||
| True | | True | ||
| Returns true | | Returns true | ||
|- | |- | ||
| < | | <code>02 00 02 00</code> | ||
| False | | False | ||
| Returns false | | Returns false | ||
|- | |- | ||
| < | | <code>03 00 02 00</code> | ||
| Null | | Null | ||
| Returns null (possibly useless) | | Returns null (possibly useless) | ||
Line 86: | Line 88: | ||
! Action | ! Action | ||
|- | |- | ||
| {{nowrap|< | | {{nowrap|<code>04 00 02 00</code>}} | ||
| GetRandom | | GetRandom | ||
| | | | ||
|- | |- | ||
| < | | <code>05 00 02 00</code> | ||
| GetRandom10 | | GetRandom10 | ||
| | | | ||
|- | |- | ||
| < | | <code>06 00 02 00</code> | ||
| GetRandom100 | | GetRandom100 | ||
| | | | ||
|- | |- | ||
| < | | <code>07 00 02 00</code> | ||
| GetRandomTrueFalse | | GetRandomTrueFalse | ||
| | | | ||
Line 110: | Line 112: | ||
! Action | ! Action | ||
|- | |- | ||
| {{nowrap|< | | {{nowrap|<code>08 00 02 00</code>}} | ||
| SetLevelCompleted | | SetLevelCompleted | ||
| | | | ||
|- | |- | ||
| < | | <code>09 00 02 00</code> | ||
| SetLevelFail | | SetLevelFail | ||
| | | | ||
|- | |- | ||
| < | | <code>0A 00 02 00</code> | ||
| SetGameCompleted | | SetGameCompleted | ||
| | | | ||
|- | |- | ||
| < | | <code>0B 00 02 00</code> | ||
| SetGameFail | | SetGameFail | ||
| | | | ||
|- | |- | ||
| < | | <code>0C 00 02 00</code> | ||
| GetCrystalsPickedUp | | GetCrystalsPickedUp | ||
| | | | ||
|- | |- | ||
| < | | <code>0D 00 02 00</code> | ||
| {{nowrap|GetCrystalsCurrentlyStored}} | | {{nowrap|GetCrystalsCurrentlyStored}} | ||
| Returns the number of [[ | | Returns the number of [[energy crystal]]s currently stored. Should be followed by a symbol and a value – for [[NERPs material collecting objective|collection objectives]], this will by default be a greater than sign and a value one less than the desired goal. | ||
|- | |- | ||
| < | | <code>0E 00 02 00</code> | ||
| GetCrystalsUsed | | GetCrystalsUsed | ||
| //CRYSTALS USED FOR CONSTRUCTIONS ETC | | //CRYSTALS USED FOR CONSTRUCTIONS ETC | ||
|- | |- | ||
| < | | <code>0F 00 02 00</code> | ||
| GetCrystalsStolen | | GetCrystalsStolen | ||
| | | | ||
|- | |- | ||
| < | | <code>10 00 02 00</code> | ||
| SetMessage | | SetMessage | ||
| | | | ||
Line 154: | Line 156: | ||
! Action | ! Action | ||
|- | |- | ||
| {{nowrap|< | | {{nowrap|<code>11 00 02 00</code>}} | ||
| GetR0 | | GetR0 | ||
| //get current value | | <!--All of the following return the value of their respective register.-->//get current value | ||
|- | |- | ||
| < | | <code>12 00 02 00</code> | ||
| GetR1 | | GetR1 | ||
| | | | ||
|- | |- | ||
| < | | <code>13 00 02 00</code> | ||
| GetR2 | | GetR2 | ||
| | | | ||
|- | |- | ||
| < | | <code>14 00 02 00</code> | ||
| GetR3 | | GetR3 | ||
| | | | ||
|- | |- | ||
| < | | <code>15 00 02 00</code> | ||
| GetR4 | | GetR4 | ||
| | | | ||
|- | |- | ||
| < | | <code>16 00 02 00</code> | ||
| GetR5 | | GetR5 | ||
| | | | ||
|- | |- | ||
| < | | <code>17 00 02 00</code> | ||
| GetR6 | | GetR6 | ||
| | | | ||
|- | |- | ||
| < | | <code>18 00 02 00</code> | ||
| GetR7 | | GetR7 | ||
| | | | ||
|- | |- | ||
| < | | <code>19 00 02 00</code> | ||
| SetR0 | | SetR0<!-- x--> | ||
| //set current value | | <!--All of the following return the value of their respective register. x is any numerical value.-->//set current value | ||
|- | |- | ||
| < | | <code>1A 00 02 00</code> | ||
| SetR1 | | SetR1 | ||
| | | | ||
|- | |- | ||
| < | | <code>1B 00 02 00</code> | ||
| SetR2 | | SetR2 | ||
| | | | ||
|- | |- | ||
| < | | <code>1C 00 02 00</code> | ||
| SetR3 | | SetR3 | ||
| | | | ||
|- | |- | ||
| < | | <code>1D 00 02 00</code> | ||
| SetR4 | | SetR4 | ||
| | | | ||
|- | |- | ||
| < | | <code>1E 00 02 00</code> | ||
| SetR5 | | SetR5 | ||
| | | | ||
|- | |- | ||
| < | | <code>1F 00 02 00</code> | ||
| SetR6 | | SetR6 | ||
| | | | ||
|- | |- | ||
| < | | <code>20 00 02 00</code> | ||
| SetR7 | | SetR7 | ||
| | | | ||
|- | |- | ||
| < | | <code>21 00 02 00</code> | ||
| AddR0 | | AddR0 | ||
| | | <!--Addition functions. All of them add x to their respective registers. x is any numerical value.--> | ||
|- | |- | ||
| < | | <code>22 00 02 00</code> | ||
| AddR1 | | AddR1 | ||
| | | | ||
|- | |- | ||
| < | | <code>23 00 02 00</code> | ||
| AddR2 | | AddR2 | ||
| | | | ||
|- | |- | ||
| < | | <code>24 00 02 00</code> | ||
| AddR3 | | AddR3 | ||
| | | | ||
|- | |- | ||
| < | | <code>25 00 02 00</code> | ||
| AddR4 | | AddR4 | ||
| | | | ||
|- | |- | ||
| < | | <code>26 00 02 00</code> | ||
| AddR5 | | AddR5 | ||
| | | | ||
|- | |- | ||
| < | | <code>27 00 02 00</code> | ||
| AddR6 | | AddR6 | ||
| | | | ||
|- | |- | ||
| < | | <code>28 00 02 00</code> | ||
| AddR7 | | AddR7 | ||
| | | | ||
|- | |- | ||
| < | | <code>29 00 02 00</code> | ||
| SubR0 | | SubR0 | ||
| | | <!--Subtraction functions. All of them subtract x from their respective registers. x is any numerical value.--> | ||
|- | |- | ||
| < | | <code>2A 00 02 00</code> | ||
| SubR1 | | SubR1 | ||
| | | | ||
|- | |- | ||
| < | | <code>2B 00 02 00</code> | ||
| SubR2 | | SubR2 | ||
| | | | ||
|- | |- | ||
| < | | <code>2C 00 02 00</code> | ||
| SubR3 | | SubR3 | ||
| | | | ||
|- | |- | ||
| < | | <code>2D 00 02 00</code> | ||
| SubR4 | | SubR4 | ||
| | | | ||
|- | |- | ||
| < | | <code>2E 00 02 00</code> | ||
| SubR5 | | SubR5 | ||
| | | | ||
|- | |- | ||
| < | | <code>2F 00 00 00</code> | ||
| SubR6 | | SubR6 | ||
| | | | ||
|- | |- | ||
| < | | <code>30 00 02 00</code> | ||
| SubR7 | | SubR7 | ||
| | | | ||
Line 289: | Line 291: | ||
! Action | ! Action | ||
|- | |- | ||
| {{nowrap|< | | {{nowrap|<code>31 00 02 00</code>}} | ||
| SetMessagePermit | | SetMessagePermit | ||
| | | | ||
|- | |- | ||
| < | | <code>32 00 02 00</code> | ||
| GetObjectiveShowing | | GetObjectiveShowing | ||
| | | | ||
|- | |- | ||
| < | | <code>33 00 02 00</code> | ||
| GetTeleportIconClicked | | GetTeleportIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>34 00 02 00</code> | ||
| GetMiniFiguresOnLevel | | GetMiniFiguresOnLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>35 00 02 00</code> | ||
| GetBuildIconClicked | | GetBuildIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>36 00 02 00</code> | ||
| SetBuildIconClicked | | SetBuildIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>37 00 02 00</code> | ||
| SetTeleportIconClicked | | SetTeleportIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>38 00 02 00</code> | ||
| SetToolStoreIconClicked | | SetToolStoreIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>39 00 02 00</code> | ||
| GetToolStoreIconClicked | | GetToolStoreIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>3A 00 02 00</code> | ||
| FlashToolStoreIcon | | FlashToolStoreIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>3B 00 02 00</code> | ||
| FlashBuildIcon | | FlashBuildIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>3C 00 02 00</code> | ||
| FlashTeleportIcon | | FlashTeleportIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>3D 00 02 00</code> | ||
| SetGoBackIconClicked | | SetGoBackIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>3E 00 02 00</code> | ||
| GetGoBackIconClicked | | GetGoBackIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>3F 00 02 00</code> | ||
| FlashGoBackIcon | | FlashGoBackIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>40 00 02 00</code> | ||
| SetDigIconClicked | | SetDigIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>41 00 02 00</code> | ||
| GetDigIconClicked | | GetDigIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>42 00 02 00</code> | ||
| FlashDigIcon | | FlashDigIcon | ||
| | | | ||
Line 369: | Line 371: | ||
! Action | ! Action | ||
|- | |- | ||
| {{nowrap|< | | {{nowrap|<code>43 00 02 00</code>}} | ||
| GetTimer0 | | GetTimer0 | ||
| {{nowrap|//get current time in seconds}} | | {{nowrap|//get current time in seconds}} | ||
|- | |- | ||
| < | | <code>44 00 02 00</code> | ||
| GetTimer1 | | GetTimer1 | ||
| | | | ||
|- | |- | ||
| < | | <code>45 00 02 00</code> | ||
| GetTimer2 | | GetTimer2 | ||
| | | | ||
|- | |- | ||
| < | | <code>46 00 02 00</code> | ||
| GetTimer3 | | GetTimer3 | ||
| | | | ||
|- | |- | ||
| < | | <code>47 00 02 00</code> | ||
| SetTimer0 | | SetTimer0 | ||
| //set current time in seconds | | //set current time in seconds | ||
|- | |- | ||
| < | | <code>48 00 02 00</code> | ||
| SetTimer1 | | SetTimer1 | ||
| | | | ||
|- | |- | ||
| < | | <code>49 00 02 00</code> | ||
| SetTimer2 | | SetTimer2 | ||
| | | | ||
|- | |- | ||
| < | | <code>4A 00 02 00</code> | ||
| SetTimer3 | | SetTimer3 | ||
| | | | ||
Line 408: | Line 410: | ||
! Action | ! Action | ||
|- | |- | ||
| {{nowrap|< | | {{nowrap|<code>4B 00 02 00</code>}} | ||
| GetBarracksBuilt | | GetBarracksBuilt | ||
| //Number of barracks | | //Number of barracks | ||
|- | |- | ||
| < | | <code>4C 00 02 00</code> | ||
| GetOreRefineriesBuilt | | GetOreRefineriesBuilt | ||
| //Number of Ore Refineries | | //Number of Ore Refineries | ||
|- | |- | ||
| < | | <code>4D 00 02 00</code> | ||
| GetToolStoresBuilt | | GetToolStoresBuilt | ||
| //Number of Tool Stores | | //Number of Tool Stores | ||
|- | |- | ||
| < | | <code>4E 00 02 00</code> | ||
| GetStudCount | | GetStudCount | ||
| //Number of studs | | //Number of studs | ||
|- | |- | ||
| < | | <code>4F 00 02 00</code> | ||
| GetTeleportsBuilt | | GetTeleportsBuilt | ||
| //Number of teleport pads | | //Number of teleport pads | ||
|- | |- | ||
| < | | <code>50 00 02 00</code> | ||
| GetMiniFigureSelected | | GetMiniFigureSelected | ||
| //Is a minifigure selected? | | //Is a minifigure selected? | ||
|- | |- | ||
| < | | <code>51 00 02 00</code> | ||
| GetSmallDiggerSelected | | GetSmallDiggerSelected | ||
| //Is a small digger selected | | //Is a small digger selected | ||
|- | |- | ||
| < | | <code>52 00 02 00</code> | ||
| GetMiniFigureInSmallDigger | | GetMiniFigureInSmallDigger | ||
| //Is there a minifigure in a small digger somewhere | | //Is there a minifigure in a small digger somewhere | ||
|- | |- | ||
| < | | <code>53 00 02 00</code> | ||
| GetTrainFlags | | GetTrainFlags | ||
| | | | ||
|- | |- | ||
| < | | <code>54 00 02 00</code> | ||
| SetTrainFlags | | SetTrainFlags | ||
| | | | ||
|- | |- | ||
| < | | <code>55 00 02 00</code> | ||
| SetIconPos | | SetIconPos | ||
| //Sets position of icons displayed with message | | //Sets position of icons displayed with message | ||
|- | |- | ||
| < | | <code>56 00 02 00</code> | ||
| SetIconSpace | | SetIconSpace | ||
| //Sets spacing of icons displayed with message | | //Sets spacing of icons displayed with message | ||
|- | |- | ||
| < | | <code>57 00 02 00</code> | ||
| SetIconWidth | | SetIconWidth | ||
| //Sets width of icons displayed with message | | //Sets width of icons displayed with message | ||
|- | |- | ||
| < | | <code>58 00 02 00</code> | ||
| SetMessageWait | | SetMessageWait | ||
| | | | ||
|- | |- | ||
| < | | <code>59 00 02 00</code> | ||
| GetMountIconClicked | | GetMountIconClicked | ||
| //Has mount icon been clicked | | //Has mount icon been clicked | ||
|- | |- | ||
| < | | <code>5A 00 02 00</code> | ||
| SetMountIconClicked | | SetMountIconClicked | ||
| //Manually set value of above | | //Manually set value of above | ||
|- | |- | ||
| < | | <code>5B 00 02 00</code> | ||
| FlashMountIcon | | FlashMountIcon | ||
| //Flash the mount icon | | //Flash the mount icon | ||
|- | |- | ||
| < | | <code>5C 00 02 00</code> | ||
| SetTutorialPointer | | SetTutorialPointer | ||
| //Make a pointer appear above tutorial block number x | | //Make a pointer appear above tutorial block number x | ||
|- | |- | ||
| < | | <code>5D 00 02 00</code> | ||
| GetTutorialFlags | | GetTutorialFlags | ||
| //Get the current tutorial flags | | //Get the current tutorial flags | ||
|- | |- | ||
| < | | <code>5E 00 02 00</code> | ||
| SetTutorialFlags | | SetTutorialFlags | ||
| //Sets tutorial flags (0 = allow any click anywhere anytime 3 = Disallow invalid clicks) | | //Sets tutorial flags (0 = allow any click anywhere anytime 3 = Disallow invalid clicks) | ||
|- | |- | ||
| < | | <code>5F 00 02 00</code> | ||
| SetRockMonster | | SetRockMonster | ||
| //Make a rock monster appear at block x,y | | //Make a rock monster appear at block x,y | ||
|- | |- | ||
| < | | <code>60 00 02 00</code> | ||
| GetOrePickedUp | | GetOrePickedUp | ||
| //How much ore is currently being carried | | //How much ore is currently being carried | ||
|- | |- | ||
| < | | <code>61 00 02 00</code> | ||
| GetOreCurrentlyStored | | GetOreCurrentlyStored | ||
| //How much ore is stored | | //How much ore is stored | ||
|- | |- | ||
| < | | <code>62 00 02 00</code> | ||
| GetOreUsed | | GetOreUsed | ||
| //ORE USED FOR CONSTRUCTIONS ETC<br />//How much ore has been used??? | | //ORE USED FOR CONSTRUCTIONS ETC<br />//How much ore has been used??? | ||
|- | |- | ||
| < | | <code>63 00 02 00</code> | ||
| GetOreStolen | | GetOreStolen | ||
| //How much ore has been stolen??? | | //How much ore has been stolen??? | ||
|- | |- | ||
| < | | <code>64 00 02 00</code> | ||
| GetCrystalRefineriesBuilt | | GetCrystalRefineriesBuilt | ||
| //Has a crystal refinery been built | | //Has a crystal refinery been built | ||
|- | |- | ||
| < | | <code>65 00 02 00</code> | ||
| FlashLayPathIcon | | FlashLayPathIcon | ||
| //Flash the lay path icon | | //Flash the lay path icon | ||
|- | |- | ||
| < | | <code>66 00 02 00</code> | ||
| SetLayPathIconClicked | | SetLayPathIconClicked | ||
| //Set a value for click flag | | //Set a value for click flag | ||
|- | |- | ||
| < | | <code>67 00 02 00</code> | ||
| GetLayPathIconClicked | | GetLayPathIconClicked | ||
| //Has it been clicked | | //Has it been clicked | ||
|- | |- | ||
| < | | <code>68 00 02 00</code> | ||
| GetTeleportPadIconClicked | | GetTeleportPadIconClicked | ||
| //Has teleport icon been clicked | | //Has teleport icon been clicked | ||
|- | |- | ||
| < | | <code>69 00 02 00</code> | ||
| SetTeleportPadIconClicked | | SetTeleportPadIconClicked | ||
| //Reset value to summat | | //Reset value to summat | ||
|- | |- | ||
| < | | <code>6A 00 02 00</code> | ||
| FlashTeleportPadIcon | | FlashTeleportPadIcon | ||
| //Flash teleport minifigure icon | | //Flash teleport minifigure icon | ||
|- | |- | ||
| < | | <code>6B 00 02 00</code> | ||
| GetMessageTimer | | GetMessageTimer | ||
| //Gets how much longer a wav accompanying a message will last | | //Gets how much longer a wav accompanying a message will last | ||
|- | |- | ||
| < | | <code>6C 00 02 00</code> | ||
| SetMessageTimerValues | | SetMessageTimerValues | ||
| //Set defaults (see example) | | //Set defaults (see example) | ||
|- | |- | ||
| < | | <code>6D 00 02 00</code> | ||
| GetTutorialBlockClicks | | GetTutorialBlockClicks | ||
| //Has the block at tutorial block number x been clicked | | //Has the block at tutorial block number x been clicked | ||
|- | |- | ||
| < | | <code>6E 00 02 00</code> | ||
| SetTutorialBlockClicks | | SetTutorialBlockClicks | ||
| //Reset this value | | //Reset this value | ||
|- | |- | ||
| < | | <code>6F 00 02 00</code> | ||
| GetTutorialCrystals | | GetTutorialCrystals | ||
| //How many crystals are at this tutorial block | | //How many crystals are at this tutorial block | ||
|- | |- | ||
| < | | <code>70 00 02 00</code> | ||
| SetTutorialCrystals | | SetTutorialCrystals | ||
| //Set this value | | //Set this value | ||
|- | |- | ||
| < | | <code>71 00 02 00</code> | ||
| GetPathsBuilt | | GetPathsBuilt | ||
| //How many paths have been built | | //How many paths have been built | ||
|- | |- | ||
| < | | <code>72 00 02 00</code> | ||
| GetTutorialBlockIsGround | | GetTutorialBlockIsGround | ||
| //Is there ground at tutorial block x | | //Is there ground at tutorial block x | ||
|- | |- | ||
| < | | <code>73 00 02 00</code> | ||
| SetCameraGotoTutorial | | SetCameraGotoTutorial | ||
| //Make camera look at a particular tutorial block | | //Make camera look at a particular tutorial block | ||
|- | |- | ||
| < | | <code>74 00 02 00</code> | ||
| FlashDynamiteIcon | | FlashDynamiteIcon | ||
| //Make the dynamit icon flash | | //Make the dynamit icon flash | ||
|- | |- | ||
| < | | <code>75 00 02 00</code> | ||
| GetDynamiteClicked | | GetDynamiteClicked | ||
| //Has this icon been clicked | | //Has this icon been clicked | ||
|- | |- | ||
| < | | <code>76 00 02 00</code> | ||
| SetDynamiteClicked | | SetDynamiteClicked | ||
| //Has my life really become this dull? | | //Has my life really become this dull? | ||
|- | |- | ||
| < | | <code>77 00 02 00</code> | ||
| AddPoweredCrystals | | AddPoweredCrystals | ||
| //Why am I writing all of this? | | //Why am I writing all of this? | ||
|- | |- | ||
| < | | <code>78 00 02 00</code> | ||
| GetGraniteGrinderSelected | | GetGraniteGrinderSelected | ||
| //Has the granite grinder been selected | | //Has the granite grinder been selected | ||
|- | |- | ||
| < | | <code>79 00 02 00</code> | ||
| GetChromeCrusherSelected | | GetChromeCrusherSelected | ||
| //Has the chrome crusher(large digger) been selected | | //Has the chrome crusher(large digger) been selected | ||
|- | |- | ||
| < | | <code>7A 00 02 00</code> | ||
| GetTutorialBlockIsPath | | GetTutorialBlockIsPath | ||
| | | | ||
|- | |- | ||
| < | | <code>7B 00 02 00</code> | ||
| GetGunstationIconClicked | | GetGunstationIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>7C 00 02 00</code> | ||
| SetGunstationIconClicked | | SetGunstationIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>7D 00 02 00</code> | ||
| FlashGunStationIcon | | FlashGunStationIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>7E 00 02 00</code> | ||
| GetGunstationsBuilt | | GetGunstationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>7F 00 02 00</code> | ||
| SetOreAtIconPositions | | SetOreAtIconPositions | ||
| | | | ||
|- | |- | ||
| < | | <code>80 00 02 00</code> | ||
| GetVehicleTransportsBuilt | | GetVehicleTransportsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>81 00 02 00</code> | ||
| GetVehicleTransportIconClicked | | GetVehicleTransportIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>82 00 02 00</code> | ||
| SetVehicleTransportIconClicked | | SetVehicleTransportIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>83 00 02 00</code> | ||
| FlashVehicleTransportIcon | | FlashVehicleTransportIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>84 00 02 00</code> | ||
| GetUpgradeStationIconClicked | | GetUpgradeStationIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>85 00 02 00</code> | ||
| SetUpgradeStationIconClicked | | SetUpgradeStationIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>86 00 02 00</code> | ||
| FlashUpgradeStationIcon | | FlashUpgradeStationIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>87 00 02 00</code> | ||
| GetUpgradeStationsBuilt | | GetUpgradeStationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>88 00 02 00</code> | ||
| SetTutorialBlockIsGround | | SetTutorialBlockIsGround | ||
| | | | ||
|- | |- | ||
| < | | <code>89 00 02 00</code> | ||
| SetTutorialBlockIsPath | | SetTutorialBlockIsPath | ||
| | | | ||
|- | |- | ||
| < | | <code>8A 00 02 00</code> | ||
| CameraLockOnObject | | CameraLockOnObject | ||
| | | | ||
|- | |- | ||
| < | | <code>8B 00 02 00</code> | ||
| CameraUnlock | | CameraUnlock | ||
| | | | ||
|- | |- | ||
| < | | <code>8C 00 02 00</code> | ||
| CameraZoomIn | | CameraZoomIn | ||
| | | | ||
|- | |- | ||
| < | | <code>8D 00 02 00</code> | ||
| CameraZoomOut | | CameraZoomOut | ||
| | | | ||
|- | |- | ||
| < | | <code>8E 00 02 00</code> | ||
| CameraRotate | | CameraRotate | ||
| | | | ||
|- | |- | ||
| < | | <code>8F 00 02 00</code> | ||
| GetCameraAtTutorial | | GetCameraAtTutorial | ||
| | | | ||
|- | |- | ||
| < | | <code>90 00 02 00</code> | ||
| GetSelectedRecordedObject | | GetSelectedRecordedObject | ||
| | | | ||
|- | |- | ||
| < | | <code>91 00 02 00</code> | ||
| GetSmallHelicopterSelected | | GetSmallHelicopterSelected | ||
| | | | ||
|- | |- | ||
| < | | <code>92 00 02 00</code> | ||
| GetRapidRiderSelected | | GetRapidRiderSelected | ||
| | | | ||
|- | |- | ||
| < | | <code>93 00 02 00</code> | ||
| GetMinifigureInRapidRider | | GetMinifigureInRapidRider | ||
| | | | ||
|- | |- | ||
| < | | <code>94 00 02 00</code> | ||
| GetDismountIconClicked | | GetDismountIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>95 00 02 00</code> | ||
| SetDismountIconClicked | | SetDismountIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>96 00 02 00</code> | ||
| FlashDismountIcon | | FlashDismountIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>97 00 02 00</code> | ||
| GetGetToolIconClicked | | GetGetToolIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>98 00 02 00</code> | ||
| SetGetToolIconClicked | | SetGetToolIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>99 00 02 00</code> | ||
| FlashGetToolIcon | | FlashGetToolIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>9A 00 02 00</code> | ||
| GetAnyKeyPressed | | GetAnyKeyPressed | ||
| | | | ||
|- | |- | ||
| < | | <code>9B 00 02 00</code> | ||
| SetPauseGame | | SetPauseGame | ||
| | | | ||
|- | |- | ||
| < | | <code>9C 00 02 00</code> | ||
| GetGetLaserIconClicked | | GetGetLaserIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>9D 00 02 00</code> | ||
| SetGetLaserIconClicked | | SetGetLaserIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>9E 00 02 00</code> | ||
| FlashGetLaserIcon | | FlashGetLaserIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>9F 00 02 00</code> | ||
| SetRockMonsterAtTutorial | | SetRockMonsterAtTutorial | ||
| | | | ||
|- | |- | ||
| < | | <code>A0 00 02 00</code> | ||
| GetCallToArmsButtonClicked | | GetCallToArmsButtonClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>A1 00 02 00</code> | ||
| GetRockMonstersDestroyed | | GetRockMonstersDestroyed | ||
| | | | ||
|- | |- | ||
| < | | <code>A2 00 02 00</code> | ||
| SetGetPusherIconClicked | | SetGetPusherIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>A3 00 02 00</code> | ||
| GetGetPusherIconClicked | | GetGetPusherIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>A4 00 02 00</code> | ||
| FlashGetPusherIcon | | FlashGetPusherIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>A5 00 02 00</code> | ||
| GetRockMonsterRunningAway | | GetRockMonsterRunningAway | ||
| | | | ||
|- | |- | ||
| < | | <code>A6 00 02 00</code> | ||
| SetCallToArms | | SetCallToArms | ||
| | | | ||
|- | |- | ||
| < | | <code>A7 00 02 00</code> | ||
| FlashPowerstationIcon | | FlashPowerstationIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>A8 00 02 00</code> | ||
| SetPowerStationIconClicked | | SetPowerStationIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>A9 00 02 00</code> | ||
| GetPowerStationIconClicked | | GetPowerStationIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>AA 00 02 00</code> | ||
| GetPowerStationsBuilt | | GetPowerStationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>AB 00 02 00</code> | ||
| SetAttackDefer | | SetAttackDefer | ||
| | | | ||
|- | |- | ||
| < | | <code>AC 00 02 00</code> | ||
| SetRockMonsterPainThreshold | | SetRockMonsterPainThreshold | ||
| | | | ||
|- | |- | ||
| < | | <code>AD 00 02 00</code> | ||
| SetRockMonsterHealth | | SetRockMonsterHealth | ||
| | | | ||
|- | |- | ||
| < | | <code>AE 00 02 00</code> | ||
| SetGameSpeed | | SetGameSpeed | ||
| | | | ||
|- | |- | ||
| < | | <code>AF 00 02 00</code> | ||
| FlashBarracksIcon | | FlashBarracksIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>B0 00 02 00</code> | ||
| SetBarracksIconClicked | | SetBarracksIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>B1 00 02 00</code> | ||
| GetBarracksIconClicked | | GetBarracksIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>B2 00 02 00</code> | ||
| GetRecordObjectAtTutorial | | GetRecordObjectAtTutorial | ||
| | | | ||
|- | |- | ||
| < | | <code>B3 00 02 00</code> | ||
| GetHiddenObjectsFound | | GetHiddenObjectsFound | ||
| | | | ||
|- | |- | ||
| < | | <code>B4 00 02 00</code> | ||
| SetHiddenObjectsFound | | SetHiddenObjectsFound | ||
| | | | ||
|- | |- | ||
| < | | <code>B5 00 02 00</code> | ||
| GetOxygenLevel | | GetOxygenLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>B6 00 02 00</code> | ||
| FlashGeodomeIcon | | FlashGeodomeIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>B7 00 02 00</code> | ||
| GetGeodomeIconClicked | | GetGeodomeIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>B8 00 02 00</code> | ||
| SetGeodomeIconClicked | | SetGeodomeIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>B9 00 02 00</code> | ||
| GetGeodomeBuilt | | GetGeodomeBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>BA 00 02 00</code> | ||
| AddStoredOre | | AddStoredOre | ||
| | | | ||
|- | |- | ||
| < | | <code>BB 00 02 00</code> | ||
| GenerateSlug | | GenerateSlug | ||
| | | | ||
|- | |- | ||
| < | | <code>BC 00 02 00</code> | ||
| GetSlugsOnLevel | | GetSlugsOnLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>BD 00 02 00</code> | ||
| GetMonstersOnLevel | | GetMonstersOnLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>BE 00 02 00</code> | ||
| SetCongregationAtTutorial | | SetCongregationAtTutorial | ||
| | | | ||
|- | |- | ||
| < | | <code>BF 00 02 00</code> | ||
| SetObjectiveSwitch | | SetObjectiveSwitch | ||
| | | | ||
|- | |- | ||
| < | | <code>C0 00 02 00</code> | ||
| GetObjectiveSwitch | | GetObjectiveSwitch | ||
| | | | ||
|- | |- | ||
| < | | <code>C1 00 02 00</code> | ||
| GetGraniteGrindersOnLevel | | GetGraniteGrindersOnLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>C2 00 02 00</code> | ||
| GetSmallDiggersOnLevel | | GetSmallDiggersOnLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>C3 00 02 00</code> | ||
| GetDocksBuilt | | GetDocksBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>C4 00 02 00</code> | ||
| GetRapidRidersOnLevel | | GetRapidRidersOnLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>C5 00 02 00</code> | ||
| GetUnitAtBlock | | GetUnitAtBlock | ||
| | | | ||
|- | |- | ||
| < | | <code>C6 00 02 00</code> | ||
| GetSmallHelicoptersOnLevel | | GetSmallHelicoptersOnLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>C7 00 02 00</code> | ||
| GetRecordObjectAmountAtTutorial | | GetRecordObjectAmountAtTutorial | ||
| | | | ||
|- | |- | ||
| < | | <code>C8 00 02 00</code> | ||
| AdvanceMessage | | AdvanceMessage | ||
| | | | ||
|- | |- | ||
| < | | <code>C9 00 02 00</code> | ||
| AllowCameraMovement | | AllowCameraMovement | ||
| | | | ||
|- | |- | ||
| < | | <code>CA 00 02 00</code> | ||
| ClickOnlyObjects | | ClickOnlyObjects | ||
| | | | ||
|- | |- | ||
| < | | <code>CB 00 02 00</code> | ||
| ClickOnlyMap | | ClickOnlyMap | ||
| | | | ||
|- | |- | ||
| < | | <code>CC 00 02 00</code> | ||
| ClickOnlyIcon | | ClickOnlyIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>CD 00 02 00</code> | ||
| DisallowAll | | DisallowAll | ||
| | | | ||
|- | |- | ||
| < | | <code>CE 00 02 00</code> | ||
| SupressArrow | | SupressArrow | ||
| | | | ||
|- | |- | ||
| < | | <code>CF 00 02 00</code> | ||
| GetMinifigureInGraniteGrinder | | GetMinifigureInGraniteGrinder | ||
| | | | ||
|- | |- | ||
| < | | <code>D0 00 02 00</code> | ||
| GetMinifigureInChromeCrusher | | GetMinifigureInChromeCrusher | ||
| | | | ||
|- | |- | ||
| < | | <code>D1 00 02 00</code> | ||
| GetMessagesAreUpToDate | | GetMessagesAreUpToDate | ||
| | | | ||
|- | |- | ||
| < | | <code>D2 00 02 00</code> | ||
| SetCrystalPriority | | SetCrystalPriority | ||
| | | | ||
|- | |- | ||
| < | | <code>D3 00 02 00</code> | ||
| MakeSomeoneOnThisBlock-PickUpSomethingOnThisBlock | | MakeSomeoneOnThisBlock-PickUpSomethingOnThisBlock | ||
| | | | ||
|- | |- | ||
| < | | <code>D4 00 02 00</code> | ||
| SetTrainIconClicked | | SetTrainIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>D5 00 02 00</code> | ||
| GetTrainIconClicked | | GetTrainIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>D6 00 02 00</code> | ||
| FlashTrainIcon | | FlashTrainIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>D7 00 02 00</code> | ||
| SetTrainDriverIconClicked | | SetTrainDriverIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>D8 00 02 00</code> | ||
| GetTrainDriverIconClicked | | GetTrainDriverIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>D9 00 02 00</code> | ||
| FlashTrainDriverIcon | | FlashTrainDriverIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>DA 00 02 00</code> | ||
| SetTrainPilotIconClicked | | SetTrainPilotIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>DB 00 02 00</code> | ||
| GetTrainPilotIconClicked | | GetTrainPilotIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>DC 00 02 00</code> | ||
| FlashTrainPilotIcon | | FlashTrainPilotIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>DD 00 02 00</code> | ||
| SetTrainSailorIconClicked | | SetTrainSailorIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>DE 00 02 00</code> | ||
| GetTrainSailorIconClicked | | GetTrainSailorIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>DF 00 02 00</code> | ||
| FlashTrainSailorIcon | | FlashTrainSailorIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>E0 00 02 00</code> | ||
| GetSmallTruckSelected | | GetSmallTruckSelected | ||
| | | | ||
|- | |- | ||
| < | | <code>E1 00 02 00</code> | ||
| GetMinifigureInSmallTruck | | GetMinifigureInSmallTruck | ||
| | | | ||
|- | |- | ||
| < | | <code>E2 00 02 00</code> | ||
| GetMinifigureInSmallHelicopter | | GetMinifigureInSmallHelicopter | ||
| | | | ||
|- | |- | ||
| < | | <code>E3 00 02 00</code> | ||
| SetBarracksLevel | | SetBarracksLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>E4 00 02 00</code> | ||
| SetDocksLevel | | SetDocksLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>E5 00 02 00</code> | ||
| SetGeoDomeLevel | | SetGeoDomeLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>E6 00 02 00</code> | ||
| SetPowerStationLevel | | SetPowerStationLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>E7 00 02 00</code> | ||
| SetToolStoreLevel | | SetToolStoreLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>E8 00 02 00</code> | ||
| SetGunstationLevel | | SetGunstationLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>E9 00 02 00</code> | ||
| SetTeleportPadLevel | | SetTeleportPadLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>EA 00 02 00</code> | ||
| SetSuperTeleportLevel | | SetSuperTeleportLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>EB 00 02 00</code> | ||
| SetUpgradeStationLevel | | SetUpgradeStationLevel | ||
| | | | ||
|- | |- | ||
| < | | <code>EC 00 02 00</code> | ||
| GetBarracksSelected | | GetBarracksSelected | ||
| | | | ||
|- | |- | ||
| < | | <code>ED 00 02 00</code> | ||
| GetDocksSelected | | GetDocksSelected | ||
| | | | ||
|- | |- | ||
| < | | <code>EE 00 02 00</code> | ||
| GetGeoDomeSelected | | GetGeoDomeSelected | ||
| | | | ||
|- | |- | ||
| < | | <code>EF 00 02 00</code> | ||
| GetPowerstationsBuilt | | GetPowerstationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>F0 00 02 00</code> | ||
| GetToolStoreSelected | | GetToolStoreSelected | ||
| | | | ||
|- | |- | ||
| < | | <code>F1 00 02 00</code> | ||
| GetGunstationSelected | | GetGunstationSelected | ||
| | | | ||
|- | |- | ||
| < | | <code>F2 00 02 00</code> | ||
| GetTeleportPadSelected | | GetTeleportPadSelected | ||
| | | | ||
|- | |- | ||
| < | | <code>F3 00 02 00</code> | ||
| GetSuperTeleportSelected | | GetSuperTeleportSelected | ||
| | | | ||
|- | |- | ||
| < | | <code>F4 00 02 00</code> | ||
| GetUpgradeStationSelected | | GetUpgradeStationSelected | ||
| | | | ||
|- | |- | ||
| < | | <code>F5 00 02 00</code> | ||
| SetUpgradeBuildingIconClicked | | SetUpgradeBuildingIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>F6 00 02 00</code> | ||
| GetUpgradeBuildingIconClicked | | GetUpgradeBuildingIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>F7 00 02 00</code> | ||
| FlashUpgradeBuildingIcon | | FlashUpgradeBuildingIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>F8 00 02 00</code> | ||
| GetBuildingsTeleported | | GetBuildingsTeleported | ||
| | | | ||
|- | |- | ||
| < | | <code>F9 00 02 00</code> | ||
| SetBuildingsTeleported | | SetBuildingsTeleported | ||
| | | | ||
|- | |- | ||
| < | | <code>FA 00 02 00</code> | ||
| CameraLockOnMonster | | CameraLockOnMonster | ||
| | | | ||
|- | |- | ||
| < | | <code>FB 00 02 00</code> | ||
| SetMonsterAttackPowerstation | | SetMonsterAttackPowerstation | ||
| | | | ||
|- | |- | ||
| < | | <code>FC 00 02 00</code> | ||
| ClickOnlyCalltoarms | | ClickOnlyCalltoarms | ||
| | | | ||
|- | |- | ||
| < | | <code>FD 00 02 00</code> | ||
| FlashCallToArmsIcon | | FlashCallToArmsIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>FE 00 02 00</code> | ||
| SetRecordObjectPointer | | SetRecordObjectPointer | ||
| | | | ||
|- | |- | ||
| < | | <code>FF 00 02 00</code> | ||
| GetGetSonicBlasterIconClicked | | GetGetSonicBlasterIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>00 01 02 00</code> | ||
| SetGetSonicBlasterIconClicked | | SetGetSonicBlasterIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>01 01 02 00</code> | ||
| FlashGetSonicBlasterIcon | | FlashGetSonicBlasterIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>02 01 02 00</code> | ||
| GetDropSonicBlasterIconClicked | | GetDropSonicBlasterIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>03 01 02 00</code> | ||
| SetDropSonicBlasterIconClicked | | SetDropSonicBlasterIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>04 01 02 00</code> | ||
| FlashDropSonicBlasterIcon | | FlashDropSonicBlasterIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>05 01 02 00</code> | ||
| GetMonsterAtTutorial | | GetMonsterAtTutorial | ||
| | | | ||
|- | |- | ||
| < | | <code>06 01 02 00</code> | ||
| SetMonsterAttackNowt | | SetMonsterAttackNowt | ||
| | | | ||
|- | |- | ||
| < | | <code>07 01 02 00</code> | ||
| GetPlaceFenceIconClicked | | GetPlaceFenceIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>08 01 02 00</code> | ||
| SetPlaceFenceIconClicked | | SetPlaceFenceIconClicked | ||
| | | | ||
|- | |- | ||
| < | | <code>09 01 02 00</code> | ||
| FlashPlaceFenceIcon | | FlashPlaceFenceIcon | ||
| | | | ||
|- | |- | ||
| < | | <code>0A 01 02 00</code> | ||
| GetLevel1BarracksBuilt | | GetLevel1BarracksBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>0B 01 02 00</code> | ||
| GetLevel1DocksBuilt | | GetLevel1DocksBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>0C 01 02 00</code> | ||
| GetLevel1GeodomeBuilt | | GetLevel1GeodomeBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>0D 01 02 00</code> | ||
| GetLevel1PowerdtationsBuilt | | GetLevel1PowerdtationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>0E 01 02 00</code> | ||
| GetLevel1ToolStoresBuilt | | GetLevel1ToolStoresBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>0F 01 02 00</code> | ||
| GetLevel1GunstationsBuilt | | GetLevel1GunstationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>10 01 02 00</code> | ||
| GetLevel1TeleportsBuilt | | GetLevel1TeleportsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>11 01 02 00</code> | ||
| GetLevel1VehicleTeleportsBuilt | | GetLevel1VehicleTeleportsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>12 01 02 00</code> | ||
| GetLevel1UpgradeStationsBuilt | | GetLevel1UpgradeStationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>13 01 02 00</code> | ||
| GetLevel2BarracksBuilt | | GetLevel2BarracksBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>14 01 02 00</code> | ||
| GetLevel2DocksBuilt | | GetLevel2DocksBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>15 01 02 00</code> | ||
| GetLevel2GeodomeBuilt | | GetLevel2GeodomeBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>16 01 02 00</code> | ||
| GetLevel2PowerstationsBuilt | | GetLevel2PowerstationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>17 01 02 00</code> | ||
| GetLevel2ToolStoresBuilt | | GetLevel2ToolStoresBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>18 01 02 00</code> | ||
| GetLevel2GunstationsBuilt | | GetLevel2GunstationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>19 01 02 00</code> | ||
| GetLevel2TeleportsBuilt | | GetLevel2TeleportsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>1A 01 02 00</code> | ||
| GetLevel2VehicleTeleportsBuilt | | GetLevel2VehicleTeleportsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>1B 01 02 00</code> | ||
| GetLevel2UpgradeStationsBuilt | | GetLevel2UpgradeStationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>1C 01 02 00</code> | ||
| GetPoweredBarracksBuilt | | GetPoweredBarracksBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>1D 01 02 00</code> | ||
| GetPoweredDocksBuilt | | GetPoweredDocksBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>1E 01 02 00</code> | ||
| GetPoweredGeodomeBuilt | | GetPoweredGeodomeBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>1F 01 02 00</code> | ||
| GetPoweredPowerStationsBuilt | | GetPoweredPowerStationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>20 01 02 00</code> | ||
| GetPoweredTeleportsBuilt | | GetPoweredTeleportsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>21 01 02 00</code> | ||
| GetPoweredGunstationsBuilt | | GetPoweredGunstationsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>22 01 02 00</code> | ||
| GetPoweredTeleportsBuilt | | GetPoweredTeleportsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>23 01 02 00</code> | ||
| GetPoweredVehicleTeleportsBuilt | | GetPoweredVehicleTeleportsBuilt | ||
| | | | ||
|- | |- | ||
| < | | <code>24 01 02 00</code> | ||
| GetPoweredUpgradeStationsBuilt | | GetPoweredUpgradeStationsBuilt | ||
| | | | ||
Line 1,300: | Line 1,302: | ||
|- | |- | ||
| | | | ||
| < | | <code>00 00 04 00</code> | ||
| Top | | Top | ||
| | | | ||
|- | |- | ||
| {{nowrap|< | | {{nowrap|<code>12 00 08 00</code>}} | ||
| {{nowrap|< | | {{nowrap|<code>00 00 04 00</code>}} | ||
| NoMessage | | NoMessage | ||
| | | | ||
|- | |- | ||
| < | | <code>0D 00 08 00</code> | ||
| < | | <code>01 00 04 00</code> | ||
| Skippedskip | | Skippedskip | ||
| | | | ||
|- | |- | ||
| < | | <code>1A 00 08 00</code> or<br /><code>31 00 08 00</code> or<br /><code>32 00 08 00</code> | ||
| < | | <code>00 00 04 00</code> or<br /><code>01 00 04 00</code> or<br /><code>02 00 04 00</code> | ||
| Skip | | Skip | ||
| | | | ||
|- | |- | ||
| < | | <code>2B 00 08 00</code> | ||
| < | | <code>01 00 04 00</code> | ||
| CanRebuildToolStore | | CanRebuildToolStore | ||
| | | | ||
|- | |- | ||
| < | | <code>54 00 08 00</code> | ||
| < | | <code>02 00 04 00</code> | ||
| NoneStored | | NoneStored | ||
| | | | ||
|- | |- | ||
| | | | ||
| < | | <code>03 00 04 00</code> | ||
| end | | end | ||
| | | | ||
|- | |- | ||
| < | | <code>65 00 08 00</code> or<br /><code>72 00 08 00</code> | ||
| < | | <code>03 00 04 00</code> or<br /><code>02 00 04 00</code> | ||
| CloseDown | | CloseDown | ||
| | | | ||
|- | |- | ||
| | | | ||
| < | | <code>04 00 04 00</code> | ||
| Wbe | | Wbe | ||
| | | | ||
|- | |- | ||
| | | | ||
| < | | <code>05 00 04 00</code> | ||
| Next | | Next | ||
| | | | ||
|- | |- | ||
| | | | ||
| < | | <code>06 00 04 00</code> | ||
| Clear | | Clear | ||
| | | | ||
|- | |- | ||
| | | | ||
| < | | <code>07 00 04 00</code> | ||
| finish | | finish | ||
| | | | ||
|- | |- | ||
| | | | ||
| < | | <code>08 00 04 00</code> | ||
| Complete | | Complete | ||
| | | | ||
|- | |- | ||
| < | | <code>93 00 08 00</code> | ||
| < | | <code>09 00 04 00</code> | ||
| canrebuild | | canrebuild | ||
| | | | ||
|- | |- | ||
| < | | <code>B0 00 08 00</code> | ||
| < | | <code>09 00 04 00</code> | ||
| endmessage | | endmessage | ||
| | | | ||
|- | |- | ||
| < | | <code>B8 00 08 00</code> | ||
| < | | <code>0A 00 04 00</code> | ||
| Events | | Events | ||
| | | | ||
|- | |- | ||
| < | | <code>46 01 08 00</code> | ||
| < | | <code>14 00 04 00</code> | ||
| cestfini | | cestfini | ||
| | | | ||
Line 1,571: | Line 1,573: | ||
</nowiki></pre> | </nowiki></pre> | ||
[[Category:NERPs]] | [[Category:NERPs|documentation]] | ||
[[Category:Documentations]] | [[Category:Documentations]] |
Revision as of 14:46, 8 June 2018
This article is an unfinished work in progress or contains transferred information that needs to be rewritten or reformatted to fit our standards. Please excuse the mess and do not mark for deletion.
This is an extremely WIP page to document all NERPs code from LEGO Rock Raiders for Windows. Do not document what a function does unless it's been tested and its use is 100% clear. Many of these are obvious from their names, but have been left as "unknown" for now simply because they haven't been tested.
Use information from Addict's old NERPs reference and the old rru-stuff.org NERPs function list to help build this page, though ultimately that just helps give a rough idea of what things are; everything needs to be further tested and verified for this article.
Effects written //Like this are Karl White's original comments. These should probably be saved in some form, though not used as the main definitions.
Comparison operators
Value | Function | Action |
---|---|---|
01 00 01 00
|
+[verify] | Unknown |
02 00 01 00
|
#[verify] | Unknown |
03 00 01 00
|
/[verify] | Unknown |
04 00 01 00
|
? | Acts like an "if" clause, using the format Expression ? Action .Basically: if(Expression) Action(), or "if Expression is true, then perform Action." Example usage: GetCrystalsCurrentlyStored > 24 ? SetLevelCompleted which states that if 25 or more energy crystals are stored, the current mission will be set to complete.Not to be confused with the C++ ternary operator ?: .
|
05 00 01 00
|
> | Is greater than |
06 00 01 00
|
< | Is less than than |
07 00 01 00
|
= | Is equal to |
08 00 01 00
|
>= | Is greater than or equal to |
09 00 01 00
|
<= | Is less than or equal to |
0A 00 01 00
|
!= | Is not equal to |
Function calls
Function calls are defined in the executable file. All functions end with a value of 02 00
. There are a grand total of 293 known functions.
Expressions
Value | Function | Action |
---|---|---|
00 00 02 00
|
Stop | Ends the script for the current tick (Requires no condition) |
01 00 02 00
|
True | Returns true |
02 00 02 00
|
False | Returns false |
03 00 02 00
|
Null | Returns null (possibly useless) |
Random functions
Value | Function | Action |
---|---|---|
04 00 02 00
|
GetRandom | |
05 00 02 00
|
GetRandom10 | |
06 00 02 00
|
GetRandom100 | |
07 00 02 00
|
GetRandomTrueFalse |
Goal functions
Value | Function | Action |
---|---|---|
08 00 02 00
|
SetLevelCompleted | |
09 00 02 00
|
SetLevelFail | |
0A 00 02 00
|
SetGameCompleted | |
0B 00 02 00
|
SetGameFail | |
0C 00 02 00
|
GetCrystalsPickedUp | |
0D 00 02 00
|
GetCrystalsCurrentlyStored | Returns the number of energy crystals currently stored. Should be followed by a symbol and a value – for collection objectives, this will by default be a greater than sign and a value one less than the desired goal. |
0E 00 02 00
|
GetCrystalsUsed | //CRYSTALS USED FOR CONSTRUCTIONS ETC |
0F 00 02 00
|
GetCrystalsStolen | |
10 00 02 00
|
SetMessage |
Register functions
Value | Function | Action |
---|---|---|
11 00 02 00
|
GetR0 | //get current value |
12 00 02 00
|
GetR1 | |
13 00 02 00
|
GetR2 | |
14 00 02 00
|
GetR3 | |
15 00 02 00
|
GetR4 | |
16 00 02 00
|
GetR5 | |
17 00 02 00
|
GetR6 | |
18 00 02 00
|
GetR7 | |
19 00 02 00
|
SetR0 | //set current value |
1A 00 02 00
|
SetR1 | |
1B 00 02 00
|
SetR2 | |
1C 00 02 00
|
SetR3 | |
1D 00 02 00
|
SetR4 | |
1E 00 02 00
|
SetR5 | |
1F 00 02 00
|
SetR6 | |
20 00 02 00
|
SetR7 | |
21 00 02 00
|
AddR0 | |
22 00 02 00
|
AddR1 | |
23 00 02 00
|
AddR2 | |
24 00 02 00
|
AddR3 | |
25 00 02 00
|
AddR4 | |
26 00 02 00
|
AddR5 | |
27 00 02 00
|
AddR6 | |
28 00 02 00
|
AddR7 | |
29 00 02 00
|
SubR0 | |
2A 00 02 00
|
SubR1 | |
2B 00 02 00
|
SubR2 | |
2C 00 02 00
|
SubR3 | |
2D 00 02 00
|
SubR4 | |
2E 00 02 00
|
SubR5 | |
2F 00 00 00
|
SubR6 | |
30 00 02 00
|
SubR7 |
Value | Function | Action |
---|---|---|
31 00 02 00
|
SetMessagePermit | |
32 00 02 00
|
GetObjectiveShowing | |
33 00 02 00
|
GetTeleportIconClicked | |
34 00 02 00
|
GetMiniFiguresOnLevel | |
35 00 02 00
|
GetBuildIconClicked | |
36 00 02 00
|
SetBuildIconClicked | |
37 00 02 00
|
SetTeleportIconClicked | |
38 00 02 00
|
SetToolStoreIconClicked | |
39 00 02 00
|
GetToolStoreIconClicked | |
3A 00 02 00
|
FlashToolStoreIcon | |
3B 00 02 00
|
FlashBuildIcon | |
3C 00 02 00
|
FlashTeleportIcon | |
3D 00 02 00
|
SetGoBackIconClicked | |
3E 00 02 00
|
GetGoBackIconClicked | |
3F 00 02 00
|
FlashGoBackIcon | |
40 00 02 00
|
SetDigIconClicked | |
41 00 02 00
|
GetDigIconClicked | |
42 00 02 00
|
FlashDigIcon |
Timer functions
Value | Function | Action |
---|---|---|
43 00 02 00
|
GetTimer0 | //get current time in seconds |
44 00 02 00
|
GetTimer1 | |
45 00 02 00
|
GetTimer2 | |
46 00 02 00
|
GetTimer3 | |
47 00 02 00
|
SetTimer0 | //set current time in seconds |
48 00 02 00
|
SetTimer1 | |
49 00 02 00
|
SetTimer2 | |
4A 00 02 00
|
SetTimer3 |
Value | Function | Action |
---|---|---|
4B 00 02 00
|
GetBarracksBuilt | //Number of barracks |
4C 00 02 00
|
GetOreRefineriesBuilt | //Number of Ore Refineries |
4D 00 02 00
|
GetToolStoresBuilt | //Number of Tool Stores |
4E 00 02 00
|
GetStudCount | //Number of studs |
4F 00 02 00
|
GetTeleportsBuilt | //Number of teleport pads |
50 00 02 00
|
GetMiniFigureSelected | //Is a minifigure selected? |
51 00 02 00
|
GetSmallDiggerSelected | //Is a small digger selected |
52 00 02 00
|
GetMiniFigureInSmallDigger | //Is there a minifigure in a small digger somewhere |
53 00 02 00
|
GetTrainFlags | |
54 00 02 00
|
SetTrainFlags | |
55 00 02 00
|
SetIconPos | //Sets position of icons displayed with message |
56 00 02 00
|
SetIconSpace | //Sets spacing of icons displayed with message |
57 00 02 00
|
SetIconWidth | //Sets width of icons displayed with message |
58 00 02 00
|
SetMessageWait | |
59 00 02 00
|
GetMountIconClicked | //Has mount icon been clicked |
5A 00 02 00
|
SetMountIconClicked | //Manually set value of above |
5B 00 02 00
|
FlashMountIcon | //Flash the mount icon |
5C 00 02 00
|
SetTutorialPointer | //Make a pointer appear above tutorial block number x |
5D 00 02 00
|
GetTutorialFlags | //Get the current tutorial flags |
5E 00 02 00
|
SetTutorialFlags | //Sets tutorial flags (0 = allow any click anywhere anytime 3 = Disallow invalid clicks) |
5F 00 02 00
|
SetRockMonster | //Make a rock monster appear at block x,y |
60 00 02 00
|
GetOrePickedUp | //How much ore is currently being carried |
61 00 02 00
|
GetOreCurrentlyStored | //How much ore is stored |
62 00 02 00
|
GetOreUsed | //ORE USED FOR CONSTRUCTIONS ETC //How much ore has been used??? |
63 00 02 00
|
GetOreStolen | //How much ore has been stolen??? |
64 00 02 00
|
GetCrystalRefineriesBuilt | //Has a crystal refinery been built |
65 00 02 00
|
FlashLayPathIcon | //Flash the lay path icon |
66 00 02 00
|
SetLayPathIconClicked | //Set a value for click flag |
67 00 02 00
|
GetLayPathIconClicked | //Has it been clicked |
68 00 02 00
|
GetTeleportPadIconClicked | //Has teleport icon been clicked |
69 00 02 00
|
SetTeleportPadIconClicked | //Reset value to summat |
6A 00 02 00
|
FlashTeleportPadIcon | //Flash teleport minifigure icon |
6B 00 02 00
|
GetMessageTimer | //Gets how much longer a wav accompanying a message will last |
6C 00 02 00
|
SetMessageTimerValues | //Set defaults (see example) |
6D 00 02 00
|
GetTutorialBlockClicks | //Has the block at tutorial block number x been clicked |
6E 00 02 00
|
SetTutorialBlockClicks | //Reset this value |
6F 00 02 00
|
GetTutorialCrystals | //How many crystals are at this tutorial block |
70 00 02 00
|
SetTutorialCrystals | //Set this value |
71 00 02 00
|
GetPathsBuilt | //How many paths have been built |
72 00 02 00
|
GetTutorialBlockIsGround | //Is there ground at tutorial block x |
73 00 02 00
|
SetCameraGotoTutorial | //Make camera look at a particular tutorial block |
74 00 02 00
|
FlashDynamiteIcon | //Make the dynamit icon flash |
75 00 02 00
|
GetDynamiteClicked | //Has this icon been clicked |
76 00 02 00
|
SetDynamiteClicked | //Has my life really become this dull? |
77 00 02 00
|
AddPoweredCrystals | //Why am I writing all of this? |
78 00 02 00
|
GetGraniteGrinderSelected | //Has the granite grinder been selected |
79 00 02 00
|
GetChromeCrusherSelected | //Has the chrome crusher(large digger) been selected |
7A 00 02 00
|
GetTutorialBlockIsPath | |
7B 00 02 00
|
GetGunstationIconClicked | |
7C 00 02 00
|
SetGunstationIconClicked | |
7D 00 02 00
|
FlashGunStationIcon | |
7E 00 02 00
|
GetGunstationsBuilt | |
7F 00 02 00
|
SetOreAtIconPositions | |
80 00 02 00
|
GetVehicleTransportsBuilt | |
81 00 02 00
|
GetVehicleTransportIconClicked | |
82 00 02 00
|
SetVehicleTransportIconClicked | |
83 00 02 00
|
FlashVehicleTransportIcon | |
84 00 02 00
|
GetUpgradeStationIconClicked | |
85 00 02 00
|
SetUpgradeStationIconClicked | |
86 00 02 00
|
FlashUpgradeStationIcon | |
87 00 02 00
|
GetUpgradeStationsBuilt | |
88 00 02 00
|
SetTutorialBlockIsGround | |
89 00 02 00
|
SetTutorialBlockIsPath | |
8A 00 02 00
|
CameraLockOnObject | |
8B 00 02 00
|
CameraUnlock | |
8C 00 02 00
|
CameraZoomIn | |
8D 00 02 00
|
CameraZoomOut | |
8E 00 02 00
|
CameraRotate | |
8F 00 02 00
|
GetCameraAtTutorial | |
90 00 02 00
|
GetSelectedRecordedObject | |
91 00 02 00
|
GetSmallHelicopterSelected | |
92 00 02 00
|
GetRapidRiderSelected | |
93 00 02 00
|
GetMinifigureInRapidRider | |
94 00 02 00
|
GetDismountIconClicked | |
95 00 02 00
|
SetDismountIconClicked | |
96 00 02 00
|
FlashDismountIcon | |
97 00 02 00
|
GetGetToolIconClicked | |
98 00 02 00
|
SetGetToolIconClicked | |
99 00 02 00
|
FlashGetToolIcon | |
9A 00 02 00
|
GetAnyKeyPressed | |
9B 00 02 00
|
SetPauseGame | |
9C 00 02 00
|
GetGetLaserIconClicked | |
9D 00 02 00
|
SetGetLaserIconClicked | |
9E 00 02 00
|
FlashGetLaserIcon | |
9F 00 02 00
|
SetRockMonsterAtTutorial | |
A0 00 02 00
|
GetCallToArmsButtonClicked | |
A1 00 02 00
|
GetRockMonstersDestroyed | |
A2 00 02 00
|
SetGetPusherIconClicked | |
A3 00 02 00
|
GetGetPusherIconClicked | |
A4 00 02 00
|
FlashGetPusherIcon | |
A5 00 02 00
|
GetRockMonsterRunningAway | |
A6 00 02 00
|
SetCallToArms | |
A7 00 02 00
|
FlashPowerstationIcon | |
A8 00 02 00
|
SetPowerStationIconClicked | |
A9 00 02 00
|
GetPowerStationIconClicked | |
AA 00 02 00
|
GetPowerStationsBuilt | |
AB 00 02 00
|
SetAttackDefer | |
AC 00 02 00
|
SetRockMonsterPainThreshold | |
AD 00 02 00
|
SetRockMonsterHealth | |
AE 00 02 00
|
SetGameSpeed | |
AF 00 02 00
|
FlashBarracksIcon | |
B0 00 02 00
|
SetBarracksIconClicked | |
B1 00 02 00
|
GetBarracksIconClicked | |
B2 00 02 00
|
GetRecordObjectAtTutorial | |
B3 00 02 00
|
GetHiddenObjectsFound | |
B4 00 02 00
|
SetHiddenObjectsFound | |
B5 00 02 00
|
GetOxygenLevel | |
B6 00 02 00
|
FlashGeodomeIcon | |
B7 00 02 00
|
GetGeodomeIconClicked | |
B8 00 02 00
|
SetGeodomeIconClicked | |
B9 00 02 00
|
GetGeodomeBuilt | |
BA 00 02 00
|
AddStoredOre | |
BB 00 02 00
|
GenerateSlug | |
BC 00 02 00
|
GetSlugsOnLevel | |
BD 00 02 00
|
GetMonstersOnLevel | |
BE 00 02 00
|
SetCongregationAtTutorial | |
BF 00 02 00
|
SetObjectiveSwitch | |
C0 00 02 00
|
GetObjectiveSwitch | |
C1 00 02 00
|
GetGraniteGrindersOnLevel | |
C2 00 02 00
|
GetSmallDiggersOnLevel | |
C3 00 02 00
|
GetDocksBuilt | |
C4 00 02 00
|
GetRapidRidersOnLevel | |
C5 00 02 00
|
GetUnitAtBlock | |
C6 00 02 00
|
GetSmallHelicoptersOnLevel | |
C7 00 02 00
|
GetRecordObjectAmountAtTutorial | |
C8 00 02 00
|
AdvanceMessage | |
C9 00 02 00
|
AllowCameraMovement | |
CA 00 02 00
|
ClickOnlyObjects | |
CB 00 02 00
|
ClickOnlyMap | |
CC 00 02 00
|
ClickOnlyIcon | |
CD 00 02 00
|
DisallowAll | |
CE 00 02 00
|
SupressArrow | |
CF 00 02 00
|
GetMinifigureInGraniteGrinder | |
D0 00 02 00
|
GetMinifigureInChromeCrusher | |
D1 00 02 00
|
GetMessagesAreUpToDate | |
D2 00 02 00
|
SetCrystalPriority | |
D3 00 02 00
|
MakeSomeoneOnThisBlock-PickUpSomethingOnThisBlock | |
D4 00 02 00
|
SetTrainIconClicked | |
D5 00 02 00
|
GetTrainIconClicked | |
D6 00 02 00
|
FlashTrainIcon | |
D7 00 02 00
|
SetTrainDriverIconClicked | |
D8 00 02 00
|
GetTrainDriverIconClicked | |
D9 00 02 00
|
FlashTrainDriverIcon | |
DA 00 02 00
|
SetTrainPilotIconClicked | |
DB 00 02 00
|
GetTrainPilotIconClicked | |
DC 00 02 00
|
FlashTrainPilotIcon | |
DD 00 02 00
|
SetTrainSailorIconClicked | |
DE 00 02 00
|
GetTrainSailorIconClicked | |
DF 00 02 00
|
FlashTrainSailorIcon | |
E0 00 02 00
|
GetSmallTruckSelected | |
E1 00 02 00
|
GetMinifigureInSmallTruck | |
E2 00 02 00
|
GetMinifigureInSmallHelicopter | |
E3 00 02 00
|
SetBarracksLevel | |
E4 00 02 00
|
SetDocksLevel | |
E5 00 02 00
|
SetGeoDomeLevel | |
E6 00 02 00
|
SetPowerStationLevel | |
E7 00 02 00
|
SetToolStoreLevel | |
E8 00 02 00
|
SetGunstationLevel | |
E9 00 02 00
|
SetTeleportPadLevel | |
EA 00 02 00
|
SetSuperTeleportLevel | |
EB 00 02 00
|
SetUpgradeStationLevel | |
EC 00 02 00
|
GetBarracksSelected | |
ED 00 02 00
|
GetDocksSelected | |
EE 00 02 00
|
GetGeoDomeSelected | |
EF 00 02 00
|
GetPowerstationsBuilt | |
F0 00 02 00
|
GetToolStoreSelected | |
F1 00 02 00
|
GetGunstationSelected | |
F2 00 02 00
|
GetTeleportPadSelected | |
F3 00 02 00
|
GetSuperTeleportSelected | |
F4 00 02 00
|
GetUpgradeStationSelected | |
F5 00 02 00
|
SetUpgradeBuildingIconClicked | |
F6 00 02 00
|
GetUpgradeBuildingIconClicked | |
F7 00 02 00
|
FlashUpgradeBuildingIcon | |
F8 00 02 00
|
GetBuildingsTeleported | |
F9 00 02 00
|
SetBuildingsTeleported | |
FA 00 02 00
|
CameraLockOnMonster | |
FB 00 02 00
|
SetMonsterAttackPowerstation | |
FC 00 02 00
|
ClickOnlyCalltoarms | |
FD 00 02 00
|
FlashCallToArmsIcon | |
FE 00 02 00
|
SetRecordObjectPointer | |
FF 00 02 00
|
GetGetSonicBlasterIconClicked | |
00 01 02 00
|
SetGetSonicBlasterIconClicked | |
01 01 02 00
|
FlashGetSonicBlasterIcon | |
02 01 02 00
|
GetDropSonicBlasterIconClicked | |
03 01 02 00
|
SetDropSonicBlasterIconClicked | |
04 01 02 00
|
FlashDropSonicBlasterIcon | |
05 01 02 00
|
GetMonsterAtTutorial | |
06 01 02 00
|
SetMonsterAttackNowt | |
07 01 02 00
|
GetPlaceFenceIconClicked | |
08 01 02 00
|
SetPlaceFenceIconClicked | |
09 01 02 00
|
FlashPlaceFenceIcon | |
0A 01 02 00
|
GetLevel1BarracksBuilt | |
0B 01 02 00
|
GetLevel1DocksBuilt | |
0C 01 02 00
|
GetLevel1GeodomeBuilt | |
0D 01 02 00
|
GetLevel1PowerdtationsBuilt | |
0E 01 02 00
|
GetLevel1ToolStoresBuilt | |
0F 01 02 00
|
GetLevel1GunstationsBuilt | |
10 01 02 00
|
GetLevel1TeleportsBuilt | |
11 01 02 00
|
GetLevel1VehicleTeleportsBuilt | |
12 01 02 00
|
GetLevel1UpgradeStationsBuilt | |
13 01 02 00
|
GetLevel2BarracksBuilt | |
14 01 02 00
|
GetLevel2DocksBuilt | |
15 01 02 00
|
GetLevel2GeodomeBuilt | |
16 01 02 00
|
GetLevel2PowerstationsBuilt | |
17 01 02 00
|
GetLevel2ToolStoresBuilt | |
18 01 02 00
|
GetLevel2GunstationsBuilt | |
19 01 02 00
|
GetLevel2TeleportsBuilt | |
1A 01 02 00
|
GetLevel2VehicleTeleportsBuilt | |
1B 01 02 00
|
GetLevel2UpgradeStationsBuilt | |
1C 01 02 00
|
GetPoweredBarracksBuilt | |
1D 01 02 00
|
GetPoweredDocksBuilt | |
1E 01 02 00
|
GetPoweredGeodomeBuilt | |
1F 01 02 00
|
GetPoweredPowerStationsBuilt | |
20 01 02 00
|
GetPoweredTeleportsBuilt | |
21 01 02 00
|
GetPoweredGunstationsBuilt | |
22 01 02 00
|
GetPoweredTeleportsBuilt | |
23 01 02 00
|
GetPoweredVehicleTeleportsBuilt | |
24 01 02 00
|
GetPoweredUpgradeStationsBuilt |
Special Commands
These were on the old wiki on a page "Special Parameters" but I have no idea what any of it means
Special Parameters act much of the same way as Basic Parameters do. They help designate a property, a series of certain basic parameters, or help organize certain basic parameters. The details of their function aren't entirely known.
There are two kinds of Special Parameters, ones that begin with a colon ":" and ones that end with a colon. Each special function has a counterpart of the other kind (for most ones at least). For example, there is both a “:cestfini” and a “cestfini:” because of the way they work in the NRN file. In the encoded NPL file, they each have different hex-strings. Not only do they have different strings but they also have different suffixes. Ones that begin with the colon have the encoded suffix “08 00” and ones that end with it have the suffix “04 00.”
Rather than trying to cover every single number, I will just deal with the special parameters that are common in normal game levels (there are some very specialized ones that only appear in some scripts), and give the encodings for both the one that begins with the colon and the one that ends with it. Here they are (some may be missing one of the encodings simply because I either haven’t found them, or they are unused. You’ll also notice there’s a lot of overlap with the encodings, and several functions do the same thing...which makes no sense):
These parameters have proven to be very confusing, and they are not very well understood.
:Value | Value: | Function | Action |
---|---|---|---|
00 00 04 00
|
Top | ||
12 00 08 00
|
00 00 04 00
|
NoMessage | |
0D 00 08 00
|
01 00 04 00
|
Skippedskip | |
1A 00 08 00 or31 00 08 00 or32 00 08 00
|
00 00 04 00 or01 00 04 00 or02 00 04 00
|
Skip | |
2B 00 08 00
|
01 00 04 00
|
CanRebuildToolStore | |
54 00 08 00
|
02 00 04 00
|
NoneStored | |
03 00 04 00
|
end | ||
65 00 08 00 or72 00 08 00
|
03 00 04 00 or02 00 04 00
|
CloseDown | |
04 00 04 00
|
Wbe | ||
05 00 04 00
|
Next | ||
06 00 04 00
|
Clear | ||
07 00 04 00
|
finish | ||
08 00 04 00
|
Complete | ||
93 00 08 00
|
09 00 04 00
|
canrebuild | |
B0 00 08 00
|
09 00 04 00
|
endmessage | |
B8 00 08 00
|
0A 00 04 00
|
Events | |
46 01 08 00
|
14 00 04 00
|
cestfini |
Old commands
These commands were in the first chunk of the NERP list before the verified positions - many may not work
These commands were tagged // very questionableFunction | Action |
---|---|
GetMinifigureTask | //get number of minifigures doing a task |
GetMinifigureActivity | //get number of minifigures doing an activity |
GetMinifigureHealth | |
GetMinifigureEnergy | |
GetMinifigureTool | //drill, spade |
GetMinifigureCarryObject | //crystal, ore, weapon |
GetMinifigureCurrentTask | //deposit crystal, dig, etc |
GetMinifigureUnderAttack | //weapon type, thrown about, punched,etc |
GetMinifigureScared | //close proximity of enemy |
GetMinifigureCocooned | //trapped by cocoon |
GetBlocksDynamited | |
GetBarriersOnLevel | |
GetElectricFencesOnLevel | |
GetMinifiguresTeleportedIn | |
GetMinifiguresDestroyedIn | |
GetMinifiguresSold | |
GetMinifiguresTeleportedOut | |
GetMinifiguresGrabbed | |
GetMinifiguresScaredCount | //NUMBER OF TIMES MINIFIGURES ARE SCARED, NOT NUMBER OF INDIVIDUAL MINIFIGURES SCARED |
GetMinifiguresSlippedCount | //NUMBER OF TIMES MINIFIGURES SLIPPED, NOT NUMBER OF INDIVIDUAL MINIFIGURES SPLIPPED |
GetMinifiguresCaughtInWeb | |
GetVehiclesTeleportedIn | |
GetVehiclesSold | |
GetVehiclesTeleportedOut | |
GetVehiclesCaughtInWeb | |
GetBuildingsConstructed | |
GetBuildingsDestroyed | |
GetBuildingsSold | |
GetBuildingsTeleportOut | |
GetBuildingsPunched | //NUMBER OF TIMES BUILDINGS ARE PUNCHED |
GetBuildingsHitByBoulder | //NUMBER OF TIMES BUILDINGS ARE HIT BY BOULDER |
GetRockMonstersEmerged | |
GetRockMonstersDestroyed | |
GetRockMonstersEnteredWall | |
GetRockMonstersElectrocutedOnFence | |
SetLevelComplete | |
SetGameComplete | |
SetPrintMessage | |
SetAssignTaskToUnit | |
SetCreateBuilding | |
SetCreateMinifgure | |
SetRockMonsterAggression | |
SetSpiderAggression | |
GetBuildPathIconClicked | //Reset value |
SetBuildPathIconClicked | //Has build path icon been clicked |
FlashBuildPathIcon | //Flash build path icon |
Sample NERP levels //---------------------------- //Example of what to use for sample times //Set wait times (sample length multiplier, time added after sample, time for no sample) TRUE ? SetMessageTimerValues 1000 1000 4000 //---------------------------- //---------------------------- Objective :- Level ends after 5 minutes Solution :- TRUE ? SetTimer0 300 GetTimer0 > 0 ? :Skip TRUE ? SetLevelComplete Skip: //---------------------------------- //---------------------------- Objective :- Level ends after 10 power crystals collected and teleporter built After 9 crystals collected give the message "Only one more crystal to collect" Solution :- GetCrystalsCollected < 10 ? :Skip GetCrystalsCollected = 9 ? SetPrintMessage Only one more crystal to collect GetBuildingsConstructed TELEPORTER <1 ?:Skip TRUE ? SetLevelComplete Skip: //----------------------------------