Opcodes used in the scripting system of a video game made by the maker of Cave Story.
It has only flags, and jump if flag set, sort of resembling action instructions in WarioWare DIY.
Syntax | Probably stands for | Effect |
<ge | Game End | Plays the animation of the player shooting up into the sky, even if they are not on the ship |
<dl | Data Load | Loads the player's progress |
<ds | Data Save | Saves the player's progress |
<ynXXXX | Yes or No | Pops up the 'yes or no' buttons and if the user chooses yes, jump to event XXXX |
<e+ | Energy (Give) | Restores all the player's health |
<waXXXX | Wait | Wait XXXX ticks |
<i+XXXX | Item (Give) | Gives item XXXX to the player (0011 turns on the ship) |
<i-XXXX | Item (Take) | Takes item XXXX from the player |
<f+XXXX | Flag (Give) | Turns flag XXXX on |
<f-XXXX | Flag (Take) | Turns flag XXXX off |
<seXXXX | Sound Effect | Plays sound effect XXXX |
<end | End | Ends the current event |
<ejXXXX-YYYY | Entity jump? | Not figured out yet |
<ijXXXX-YYYY | Item jump | If the user has item XXXX, jump to event YYYY |
<fjXXXX-YYYY | Flag jump | If flag XXXX is on, jump to event YYYY |
<ec | Entity ??? | Called when people get on the ship... |
<ex | Exit | Exits the whole game |
<pcXXXX-YYYY-ZZZZ | ??? Change | Seems to change the block at XXXX,YYYY to ZZZZ |
<ek | Earthquake | Makes the earthquake effect |
<le | ??? Earthquake | Makes the effect for when you're gathering the last few people |
<ma | Mask vision | Makes it so the player can't see. Usually goes with <fo |
<nm | No Mask | Makes it so the player can see. Usually follows <fi |
<ps | PMD file (Stop) | Stops the current music |
<pp | PMD file (Play) | Plays the current music |
<pf | PMD file (Fade) | Fades the music out |
<ph | PMD file (Half) | Plays at half volume |
<pdXXXX | PMD file (Different) | Sets the music to XXXX |
<fi | Fade in | Fade the screen in |
<fo | Fade out | Fade the screen out |
<cmXXXX-YYYY-ZZZZ | ??? Move | Moves the entity somewhere else |
<* | Well... * is a star... | Display the ending illustration |
<boXXXX | Boss | Starts a boss battle |
<reXXXX | Remove? | Can cancel <ge, but removes all your items |
Number | Item |
0001 | Spike Hat |
0002 | Suka bread |
0003 | Herbal serum |
0004 | Ironhead's code |
0005 | Pearl |
0006 | Shrimp cocktail |
0007 | Crab soup |
0008 | Capacitor. Adding this lets you break spongy rock even if you don't have the spike hat |
0009 | Globefish platter |
0010 | Ben |
0011 | Ship. Automatically displayed |