release:zzt_enhancer:oop_enhancements
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
release:zzt_enhancer:oop_enhancements [2021/05/28 21:35] – asie | release:zzt_enhancer:oop_enhancements [2021/05/29 10:47] (current) – asie | ||
---|---|---|---|
Line 14: | Line 14: | ||
TODO (potential names: '' | TODO (potential names: '' | ||
- | ===== Commands | + | ===== String IDs ===== |
- | ==== ne, sw, se, nw ==== | + | ^ ID ^ String ^ |
+ | | 7 | '' | ||
+ | | 8 | '' | ||
+ | | 11 | '' | ||
+ | | 25 | '' | ||
- | TODO | + | TODO: Complete list. |
- | ==== tn, ts, te, tw ==== | + | ===== Commands ===== |
+ | |||
+ | ==== n, s, e, w, ne, sw, se, nw ==== | ||
+ | |||
+ | Move while preserving background color. | ||
TODO | TODO | ||
- | ==== tne, tsw, tse, tnw ==== | + | ==== tn, ts, te, tw, tne, tsw, tse, tnw ==== |
TODO | TODO | ||
Line 40: | Line 48: | ||
==== addcstat ==== | ==== addcstat ==== | ||
- | Takes five arguments. | + | Syntax: '' |
+ | |||
+ | Adds a stat to the sidebar, at Y position '' | ||
==== allocscreen ==== | ==== allocscreen ==== | ||
- | Takes one argument. | + | Syntax: '' |
+ | |||
+ | Allocate '' | ||
==== becomeb ==== | ==== becomeb ==== | ||
- | Takes two arguments. | + | Syntax: '' |
+ | |||
+ | Becomes a statless '' | ||
==== becomeo ==== | ==== becomeo ==== | ||
- | Takes five arguments. | + | Syntax: '' |
+ | |||
+ | Becomes a statted element with the specified parameters. | ||
==== bgfade ==== | ==== bgfade ==== | ||
Line 68: | Line 84: | ||
==== changeb ==== | ==== changeb ==== | ||
- | Takes four arguments. | + | Syntax: '' |
+ | |||
+ | Changes all instances of a given element ID and color to the other element ID and color. ? may be used as a wildcard in from_color. Faster than ZZT ''# | ||
+ | |||
+ | TODO: Can ? be used elsewhere? | ||
==== charedit ==== | ==== charedit ==== | ||
Line 76: | Line 96: | ||
==== charid ==== | ==== charid ==== | ||
- | Takes two arguments. | + | Syntax: '' |
+ | |||
+ | Changes the rendering character for '' | ||
+ | |||
+ | TODO: Does this work on elements with custom rendering logic? (Text, objects, etc.) | ||
==== chstr ==== | ==== chstr ==== | ||
- | Takes one argument. | + | Syntax: '' |
+ | |||
+ | Replaces the string with ID '' | ||
==== color, colour ==== | ==== color, colour ==== | ||
Line 94: | Line 120: | ||
==== cropscreen ==== | ==== cropscreen ==== | ||
- | Takes seven arguments. | + | Syntax: '' |
+ | |||
+ | TODO | ||
==== defaultpal ==== | ==== defaultpal ==== | ||
Line 105: | Line 133: | ||
Deletes the variable ''" | Deletes the variable ''" | ||
+ | |||
+ | ==== deletecstat ==== | ||
+ | |||
+ | Seemingly **not implemented** as of Enhancer 0.3b. TODO: Verify | ||
+ | |||
+ | Syntax: '' | ||
+ | |||
+ | Removes the custom stat at '' | ||
==== dieitem ==== | ==== dieitem ==== | ||
- | Takes no arguments. | + | Syntax: '' |
+ | |||
+ | Destroys the object and moves stat 0 - the player - to its location. | ||
==== divide ==== | ==== divide ==== | ||
Line 125: | Line 163: | ||
==== enhance ==== | ==== enhance ==== | ||
+ | |||
+ | Syntax: '' | ||
TODO | TODO | ||
Line 146: | Line 186: | ||
==== freescreen ==== | ==== freescreen ==== | ||
- | Takes no arguments. | + | Syntax: '' |
+ | |||
+ | Deallocate all allocated screens. The opposite of '' | ||
==== freewav ==== | ==== freewav ==== | ||
Line 223: | Line 265: | ||
==== loadscreenres ==== | ==== loadscreenres ==== | ||
- | Takes two arguments. | + | Syntax: '' |
+ | |||
+ | Loads screen from resource '' | ||
==== loadwav ==== | ==== loadwav ==== | ||
Line 269: | Line 313: | ||
==== playerchar ==== | ==== playerchar ==== | ||
- | Takes one argument. | + | Syntax: '' |
+ | |||
+ | Sets the player character to '' | ||
==== playercharn, | ==== playercharn, | ||
Line 277: | Line 323: | ||
==== playercol ==== | ==== playercol ==== | ||
- | Takes one argument. | + | Syntax: '' |
+ | |||
+ | Sets the player color to '' | ||
==== playsong ==== | ==== playsong ==== | ||
Line 287: | Line 335: | ||
==== playsongres ==== | ==== playsongres ==== | ||
- | Takes one argument. | + | Syntax: '' |
+ | |||
+ | Playes the song at asset index '' | ||
==== playwav ==== | ==== playwav ==== | ||
Line 295: | Line 345: | ||
==== putblock ==== | ==== putblock ==== | ||
- | Takes four arguments. | + | Syntax: '' |
+ | |||
+ | Place a statless '' | ||
==== putcolor, putcolour ==== | ==== putcolor, putcolour ==== | ||
Line 307: | Line 359: | ||
==== putobj ==== | ==== putobj ==== | ||
- | Takes seven arguments. | + | Syntax: '' |
+ | |||
+ | Place a statted element with the specified parameters at location '' | ||
==== putobjup ==== | ==== putobjup ==== | ||
- | Takes five arguments. | + | Syntax: '' |
+ | |||
+ | TODO | ||
==== putsave ==== | ==== putsave ==== | ||
Line 339: | Line 395: | ||
==== restorescreen ==== | ==== restorescreen ==== | ||
- | Takes three arguments. | + | Syntax: '' |
+ | |||
+ | Restores the screen slot '' | ||
==== rgb ==== | ==== rgb ==== | ||
- | Takes four arguments. | + | Syntax: '' |
+ | |||
+ | Set the color '' | ||
==== savescreen ==== | ==== savescreen ==== | ||
- | Takes five arguments. | + | Syntax: '' |
+ | |||
+ | Saves the screen area from ('' | ||
==== scrollchar ==== | ==== scrollchar ==== | ||
Line 425: | Line 487: | ||
==== walk ==== | ==== walk ==== | ||
- | Takes two arguments. | + | Syntax: '' |
+ | |||
+ | Sets the walking direction to '' | ||
==== walkxy ==== | ==== walkxy ==== | ||
Takes four arguments. | Takes four arguments. |
release/zzt_enhancer/oop_enhancements.1622237727.txt.gz · Last modified: 2021/05/28 21:35 by asie