Changes

Jump to navigation Jump to search
133 bytes added ,  03:13, 2 April 2020
→‎Basic format: fix explanations of fade and changeToTemporaryMap based on Event.command_*
Line 294: Line 294:  
|-
 
|-
 
| <tt>changeToTemporaryMap {{t|map}} {{o|pan}}</tt>
 
| <tt>changeToTemporaryMap {{t|map}} {{o|pan}}</tt>
| Change the location to a temporary one loaded from the map file specified by {{t|map}}. The {{o|pan}} argument indicates the tile coordinates to pan to (defaults to <tt>0, 0</tt>).
+
| Change the location to a temporary one loaded from the map file specified by {{t|map}}. If the {{o|pan}} argument is omitted, also pan to tile coordinates <tt>0, 0</tt> on the new map. If any value is given for {{o|pan}}, no panning occurs.
 
|-
 
|-
 
| <tt>changeYSourceRectOffset {{t|npc}} {{t|offset}}</tt>
 
| <tt>changeYSourceRectOffset {{t|npc}} {{t|offset}}</tt>
Line 365: Line 365:  
| Make a named NPC face a [[#Directions|direction]]. If no parameter is supplied for [continue], the game will pause.
 
| Make a named NPC face a [[#Directions|direction]]. If no parameter is supplied for [continue], the game will pause.
 
|-
 
|-
| <tt>fade {{o|fadeOut}}</tt>
+
| <tt>fade {{o|unfade}}</tt>
| If 'fadeOut' is not specified, it will fade in. (?)
+
| Fades out to black if no parameter is supplied. If the parameter is <tt>unfade</tt> (not <tt>true</tt>), fades in from black.
 
|-
 
|-
 
| <tt>farmerAnimation {{t|anim}}</tt>
 
| <tt>farmerAnimation {{t|anim}}</tt>
37

edits

Navigation menu