diff --git a/docs/map_event_scripts.md b/docs/map_event_scripts.md index 954e6a5c0..b9f2f35a8 100644 --- a/docs/map_event_scripts.md +++ b/docs/map_event_scripts.md @@ -1,6 +1,26 @@ # Map Event Scripts +## Contents + +- [Object constants](#object-constants) +- [Map scripts](#map-scripts) + - [Scene scripts](#scene-scripts) + - [Callbacks](#callbacks) + - [Callback types](#callback-types) +- [Event scripts](#event-scripts) +- [Text](#text) +- [Movement data](#movement-data) +- [Map events](#map-events) + - [Warp events](#warp-events) + - [Coord events](#coord-events) + - [BG events](#bg-events) + - [BG event types](#bg-event-types) + - [Object events](#object-events) + - [Movement types](#movement-types) + - [Object types](#object-types) + + ## Object constants
@@ -31,7 +51,7 @@ const_value set 2 ; object constants callback type, script-Callback types: +#### Callback types - `MAPCALLBACK_NEWMAP` @@ -105,7 +125,7 @@ Callback types: bg_event x, y, type, script -BG event types: +#### BG event types - `BGEVENT_READ` @@ -132,7 +152,7 @@ BG event types: object_event x, y, sprite, movement, rx, ry, h1, h2, palette, type, range, script, event_flag -Movement types: +#### Movement types - `SPRITEMOVEDATA_STILL` @@ -168,7 +188,7 @@ Movement types: - `SPRITEMOVEDATA_SWIM_WANDER` -Object types: +#### Object types - `OBJECTTYPE_SCRIPT`