Difference between revisions of "Shrink"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
 
Line 6: Line 6:
  
 
==Use==
 
==Use==
Used to shrink the player(s) to a tiny size
+
Used to shrink the player(s) to a tiny size.
  
(To restore the player to normal size use [[unshrink]].)
+
 
 +
(To restore the player(s) to normal size use [[unshrink]].)
  
 
==Example==
 
==Example==

Latest revision as of 00:14, 18 February 2013

Syntax

Syntax: shrink register

  • register = Players slot number.
  • Reserved register (R250.)

Use

Used to shrink the player(s) to a tiny size.


(To restore the player(s) to normal size use unshrink.)

Example


0:       set_episode 00000000 //sets the episode to 1
         get_slotnumber R250 //Stores the players slot number in R250
         ret 
100:     shrink R250 //Shrinks the character who encounters this function down to a tiny size.
         ret 
101:     unshrink R250 //Unshrinks the character who encounters this function back to normal size after being shrunk by the shrink opt code.
         ret 

Also see

get_slotnumber, Reservedregisters, unshrink, ret