Start documentation for map scripts

This commit is contained in:
Remy Oukaour
2017-12-11 21:40:21 -05:00
parent 11b9bcb9e5
commit 20f98e1403
3 changed files with 250 additions and 219 deletions

31
docs/map_scripts.md Normal file
View File

@@ -0,0 +1,31 @@
# Map Scripts
## `const_value set 2`
## *`MapName`*`_MapScriptHeader:`
## `.MapTriggers:`
**`maptrigger `**___`script`___
## `.MapCallbacks:`
**`dbw `**___`type`___**`, `**___`script`___
## *`MapName`*`_MapScriptHeader:`
## `.Warps:`
**`warp_def `**___`y`___**`, `**___`x`___**`, `**___`id`___**`, `**___`map`___
## `.XYTriggers:`
**`xy_trigger `**___`id`___**`, `**___`y`___**`, `**___`x`___**`, $0, `**___`script`___**`, $0, $0`**
## `.Signposts:`
**`signpost `**___`y`___**`, `**___`x`___**`, `**___`type`___**`, `**___`script``___
## `.PersonEvents:`
**`person_event `**___`sprite`___**`, `**___`y`___**`, `**___`x`___**`, `**___`movement`___**`, `**___`ry`___**`, `**___`rx`___**`, `**___`hour`___**`, `**___`day`___**`, `**___`palette`___**`, `**___`type`___**`, `**___`range`___**`, `**___`script`___**`, `**___`flag`___