mirror of https://github.com/pret/pokecrystal.git
Add TOC
This commit is contained in:
parent
50a78c0876
commit
9e368eee1f
|
@ -1,6 +1,26 @@
|
||||||
# Map Event Scripts
|
# 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
|
## Object constants
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
|
@ -31,7 +51,7 @@ const_value set 2 ; object constants
|
||||||
callback <i>type</i>, <i>script</i>
|
callback <i>type</i>, <i>script</i>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Callback types:
|
#### Callback types
|
||||||
|
|
||||||
- `MAPCALLBACK_NEWMAP`
|
- `MAPCALLBACK_NEWMAP`
|
||||||
|
|
||||||
|
@ -105,7 +125,7 @@ Callback types:
|
||||||
bg_event <i>x</i>, <i>y</i>, <i>type</i>, <i>script</i>
|
bg_event <i>x</i>, <i>y</i>, <i>type</i>, <i>script</i>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
BG event types:
|
#### BG event types
|
||||||
|
|
||||||
- `BGEVENT_READ`
|
- `BGEVENT_READ`
|
||||||
|
|
||||||
|
@ -132,7 +152,7 @@ BG event types:
|
||||||
object_event <i>x</i>, <i>y</i>, <i>sprite</i>, <i>movement</i>, <i>rx</i>, <i>ry</i>, <i>h1</i>, <i>h2</i>, <i>palette</i>, <i>type</i>, <i>range</i>, <i>script</i>, <i>event_flag</i>
|
object_event <i>x</i>, <i>y</i>, <i>sprite</i>, <i>movement</i>, <i>rx</i>, <i>ry</i>, <i>h1</i>, <i>h2</i>, <i>palette</i>, <i>type</i>, <i>range</i>, <i>script</i>, <i>event_flag</i>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
Movement types:
|
#### Movement types
|
||||||
|
|
||||||
- `SPRITEMOVEDATA_STILL`
|
- `SPRITEMOVEDATA_STILL`
|
||||||
|
|
||||||
|
@ -168,7 +188,7 @@ Movement types:
|
||||||
|
|
||||||
- `SPRITEMOVEDATA_SWIM_WANDER`
|
- `SPRITEMOVEDATA_SWIM_WANDER`
|
||||||
|
|
||||||
Object types:
|
#### Object types
|
||||||
|
|
||||||
- `OBJECTTYPE_SCRIPT`
|
- `OBJECTTYPE_SCRIPT`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue