ref: 20f98e1403afa900464fb5bf17514c19cbda1bfc
dir: /docs/map_scripts.md/
# 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`___