pokecrystal-board/docs/map_scripts.md

32 lines
843 B
Markdown
Raw Normal View History

2017-12-11 18:40:21 -08:00
# 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`___