Command MapLoad
	String mapName
	# [AK] Also send the current position of the map rotation.
	Byte currentPosition
EndCommand

Command MapNew
	String mapName
EndCommand

Command MapExit
	Byte position
	String nextMap
EndCommand

Command MapAuthenticate
	String mapName
EndCommand

Command SetMapTime
	Long time
EndCommand

Command SetMapNumKilledMonsters
	Variable killedMonsters
EndCommand

Command SetMapNumFoundItems
	Variable foundItems
EndCommand

Command SetMapNumFoundSecrets
	Variable foundSecrets
EndCommand

Command SetMapNumTotalMonsters
	Variable totalMonsters
EndCommand

Command SetMapNumTotalItems
	Variable totalItems
EndCommand

Command SetMapNumTotalSecrets
	ExtendedCommand
	Variable totalSecrets
EndCommand

Command SetMapMusic
	String music
	Byte order
EndCommand

Command SetMapSky
	String sky1
	String sky2
EndCommand

Command SetMapSkyScrollSpeed
	ExtendedCommand
	Bool isSky1
	Float value
EndCommand

Command SecretFound
	ExtendedCommand
	Actor actor
	Byte secretFlags
EndCommand

Command SecretMarkSectorFound
	ExtendedCommand
	Sector sector
EndCommand

Command DoScroller
	Byte type
	Fixed x
	Fixed y
	Long affectee
	Bool accel
	Bool hasControl
	Bool hasPos

	If (hasControl)
		Sector sector
	EndIf

	If (hasPos)
		Byte pos
	EndIf	
EndCommand
