From ecf10c83a7cb984f81abacfd4d7cefd356a5e6c2 Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 30 Jan 2018 22:38:00 -0500 Subject: [PATCH] Better headings --- docs/map_scripts.md | 46 ++++++++++++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/docs/map_scripts.md b/docs/map_scripts.md index 9c82f8b60..9ac926c5b 100644 --- a/docs/map_scripts.md +++ b/docs/map_scripts.md @@ -1,26 +1,33 @@ # Map Scripts -## const_value set 2 +## Person constants
+const_value set 2
 	const MAPNAME_OBJECTNAME
 
-## MapName_MapScripts: - - -### db N ; scene scripts +## Map scripts
+MapName_MapScripts:
+
+ + +### Scene scripts + +
+	db N ; scene scripts
 	scene_script script
 
-### db N ; callbacks +### Callbacks
+	db N ; callbacks
 	callback type, script
 
@@ -67,30 +74,34 @@ Callback types: [Movement commands](movement_commands.md) -## MapName_MapEvents: - -```asm - db 0, 0 ; filler -``` - - -### db N ; warp events +## Map events
+MapName_MapEvents:
+	db 0, 0 ; filler
+
+ + +### Warp events + +
+	db N ; warp events
 	warp_event x, y, warp_id, map
 
-### db N ; coord events +### Coord events
+	db N ; coord events
 	coord_event x, y, scene_id, script
 
-### db N ; bg events +### BG events
+	db N ; bg events
 	bg_event x, y, type, script
 
@@ -114,9 +125,10 @@ BG event types: - `BGEVENT_COPY` -### db N ; object events +### Object events
+	db N ; object events
 	object_event x, y, sprite, movement, rx, ry, h1, h2, palette, type, range, script, event_flag