Advertisement
ZoriaRPG

Debug Cheat Shell DOCS v1.12

Nov 1st, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 5.96 KB | None | 0 0
  1.  
  2. //! ZScript: ZC Shell for Quest Debug and CHeat Commands
  3. //! Docs for v1.12.0
  4.  
  5. /////////////
  6. /// USING ///
  7. /////////////
  8.  
  9. Press F7 to open the shell.
  10. Type an instruction.
  11. Press the DOWN ARROW KEy to ENQUEUE the instruction, or;
  12.     Press ENTER to execute the instruction.
  13. If you have enqueued instructions, press ENTER either at the
  14.     end of an instruction, or on an empty line to EXECUTE
  15.     all of your enqueued instructions.
  16.  
  17. //////////////////////////////
  18. /// Supported Instructions ///
  19. //////////////////////////////
  20.  
  21. Link's Position
  22. w    : Warp Link to a specific dmap and screen
  23. po   : Reposition Link on the screen.
  24. mx   : Move link by +/-n pixels on the X axis.
  25. my   : Move link by +/-n pixels on the Y axis.
  26.  
  27. //Counters
  28. h    : Set Link's HP to a specific value.
  29. m    : Set Link's Magic to a specific value.
  30. a    : Set the current number of Arrows
  31. b    : Set the current number of Bombs
  32. r    : Set the current number of Rupees
  33. mb   : Set the current number of Max Bombs
  34. ma   : Set the current number of Max Arrows
  35. mr   : Set the current number of Max Rupees
  36. k    : Set the current number of Keys
  37. co   : Set an arbitrary counter to a specific value.
  38. rh   : Refill Link's HP to Max.
  39. rm   : Refill Link's HP to Max.
  40. rc   : Refill a specific counter to Max.
  41. mh   : Set Link's Max HP.
  42. mm   : Set Link's Max MP
  43. mc   : Set the maximum value of a specific counter.
  44.  
  45. //Items
  46. lk   : Set the current number of Level Keys for a specific level ID.
  47. lm   : Set if the MAP item for a specific Level is in inventory.
  48. lc   : Set if the COMPASS item for a specific Level is in inventory.
  49. lt   : Set if the TRIFORCE item for a specific Level is in inventory.
  50. lb   : Set if the BOSS KEy item for a specific Level is in inventory.
  51. itm  : Set the state of a specific item in Link's inventory.
  52.  
  53. //Link's States
  54. hb   : Set if Link uses a full tile hitbox. (hitbox)
  55. d    : Set if Link can move diagonally.
  56. inv  : Set Link's Invisible state.
  57.  
  58. //Create Objects
  59. crn  : Create an npc.
  60. cri  : Create an item.
  61.  
  62. //FFC Values
  63. fd   : Set the Data value of one ffc.
  64. fs   : Set the Script value of one ffc.
  65. fc   : Set the CSet of an ffc.
  66. fx   : Set the X component of an ffc.
  67. fy   : Set the Y component of an ffc.
  68. fvx  : Set the X Velocity Component of an ffc.
  69. fvy  : Set the Y Velocity Component of an ffc.
  70. fax  : Set the X Accel. Component of an ffc.
  71. fay  : Set the XYAccel. Component of an ffc.
  72. ffl  : Set an ffc flag state true or false.
  73. fth  : Set the TileHeight of an ffc.
  74. ftw  : Set the TileWidth of an ffc.
  75. feh  : Set the EffectHeight of an ffc.
  76. few  : Set the EffectWidth of an ffc.
  77. fl   : Link an ffc to another, or clear a link.
  78. fm   : Write to the Misc[] values of an ffc.
  79.  
  80. //Audio
  81. pls  : Play a sound effect.
  82. plm  : Play a MIDI.
  83. dmm  : Set the MIDI for a specific DMap to a desired ID.
  84.  
  85. //Visual
  86. pal  : Change a DMap palette.
  87. mon  : Set a monochrome graphical state.
  88. hu   : Set a specific hue effect.
  89. t    : Set a specific tint effect.
  90. cl   : Clear hue/tint.
  91.  
  92. //Misc.
  93. run  : Attempt to run an ffc script.
  94. save : Save the game.
  95.  
  96. //////////////////////
  97. /// LITERAL VALUES ///
  98. //////////////////////
  99. Use these as srg values, if desired, instead of literals:
  100. lx   : The current X-coordinate for Link.
  101. ly   : The current Y-coordinate for Link.
  102.  
  103.  
  104. ////////////////////////
  105. /// Syntax and Usage ///
  106. ////////////////////////
  107.  
  108. //Link's Position
  109. w,1,2       : w,0,32 : Warps Link to DMap 0, screen 32.
  110. po,1,2      : po,60,12 : Set Link's X to 60, and his Y to 12
  111. mx,1        : mx,12 : moves Link +12 pixels on his X coordinate
  112. mx,-1       : mx,-12 : moves Link -12 pixels on his X coordinate
  113. my,1        : my,12 : moves Link +12 pixels on his Y coordinate
  114. my,-1       : my,-12 : moves Link -12 pixels on his Y coordinate
  115.  
  116. //Counters
  117. h           : h,amount
  118. h           : h,amount
  119. m           : m,amount
  120. a           : a,amount
  121. b           : b,amount
  122. r           : r,amount
  123. mb          : mb,amount
  124. ma          : mb,amount
  125. mr          : mr,amount
  126. k           : k,amount
  127. co          : co,counter_id,amount
  128. rh          : Refill Link's HP to full.
  129. rm          : Refill Link's Magic to full.
  130. rc,1        : rc,2 : Refill Counter CR_BOMBS to full.
  131. mh,1        : mh,64 : Set Link's HP to 64
  132. mm,1        : mm,256 : Set Link's Max Magic to 256
  133. mc,1,2      : mc,2,16 : Set the Bombs counter max to 16.
  134.  
  135. //Items
  136. lk          : lk,level_id,,amount
  137. lm          : lm,level_id,true|false
  138. lc          : lc,level_id,true|false
  139. lt          : lt,level_id,true|false
  140. lb          : lb,level_id,tru|false
  141. itm,1,true  : itm,6,true : Set the white sword true in inventory.
  142. itm,1,false : itm,6,true : Set the white sword falsein inventory.
  143.  
  144. //Link's States
  145. hb          : hb,true|false
  146. d           : d,true|false
  147. inv,true    : Set Link's Invincibility state true.
  148. inv,false   : Set Link's Invincibility state false.
  149.  
  150. //Create Objects
  151. cri,1,2,3   : cri,id,x,y : cri,id,lx,ly : Create an item (id) at x,y
  152. crn,1,2,3   : cri,id,x,y : Create n npc (id) at x,y
  153.  
  154. //FFC Values
  155. fc          : fc,ffc_id,cset
  156. fx          : fx,ffc_id,x
  157. fy          : fy,ffc_id,y
  158. fvx         : fvx,ffc_id,vx
  159. fvy         : fvy,ffc_id,vy
  160. fax         : fax,ffc_id,ax
  161. fay         : fay,ffc_id,ay
  162. ffl         : fl,ffc_id,flag_index,(true|false)
  163. fth         : fth,ffc_id,tileheight
  164. ftw         : ftw,ffc_id,tilewidth
  165. feh         : feh,ffc_id,effectheight
  166. few         : few,ffc_id,effecteidth
  167. fl          : fl,ffc_id,link_id
  168. fm          : fm,ffc_id,misc_index,value
  169. fd          : fd,ffc_id,combo_id
  170. fs          : fsscript_id
  171.  
  172. //Audio
  173. pls         : pls,sound_id
  174. plm         : plm,midi_id
  175. dmm         : dmm,dmap_id,midi_id
  176.  
  177. //Visual
  178. hu          : hu,red,green,blue
  179. t           : t,red,green,blue [,distributed (true|false)]
  180. pal         : pal,-1,6 : Sets the current DMap palette to 6.
  181.             : pal,3,6 : Sets the palette for DMap ID 3 to Palette ID 6.
  182. mon         : mon,5 : Sets monochrome (violet hue) mode on. (0 to disable).
  183. cl          : cl
  184.  
  185. //Misc
  186. run         : run,script_id
  187. save        : Save the game.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement