
// aciML_Event startupTypes...
#define AML_KEY 		0
#define AML_STARTUP		1
#define AML_SHUTDOWN		2

// aciML_Event IDs...
#define AML_GO_INFINITE 	1
#define AML_GO_PHASE		2
#define AML_PUT_IN_QUEUE	3
#define AML_PUT_IN_CH_QUEUE	4
#define AML_ADD_IN_CH_QUEUE	5
#define AML_STOP		6
#define AML_STOP_CHANNEL	7
#define AML_SET_PHASE		8

#define AML_PAUSE_ALL		9
#define AML_RESUME_ALL		10

#define AML_LOCK		11
#define AML_UNLOCK		12

#define AML_NEXT_PHRASE 	13
#define AML_CLOSE_ML		14
#define AML_INVERT_PHASE	15
#define AML_SHUTDOWN_EV 	16

#define AML_KEY_TRAP		17

#define AML_IS_LOCKED		18
#define AML_IS_NOT_LOCKED	19
#define AML_IS_ACTIVE		20
#define AML_EVENT_IS_ACTIVE	21
#define AML_SEND2ACTINT 	22
#define AML_CLEAR_QUEUE 	23
#define AML_REWIND		24
#define AML_START_SOUND 	25
#define AML_PUT_SEQUENCE	26
#define AML_WAIT_CHANNEL	27
#define AML_DISABLE_CHANNEL	28
#define AML_EXIT		29
#define AML_CLOSE_SPEECH	30
#define AML_BREATH_ON		31
#define AML_BREATH_OFF		32

#define AML_DISABLE_ML		33
#define AML_ENABLE_ML		34

// Special events...
#define AML_GET_QUESTION		1
#define AML_TAKE_ELEECH 		2
#define AML_CLEAR_QUESTION		3
#define AML_ABORT_ESCAVE_SESSION	4
#define AML_BLOCK_SHOP			5
#define AML_WAIT_NEXT_PERIOD		6
#define AML_TAKE_WEEZYK 		7
#define AML_LAMPASSO_THEEND		8
#define AML_CHANGE_TO_RAFFA		9
#define AML_EXPROPRIATION		10
#define AML_ACCEPT_RUBBOX		11
#define AML_UNBLOCK_SHOP		12
#define AML_BLOCK_EXIT			13
#define AML_UNBLOCK_EXIT		14
#define AML_KICK_OUT_FROM_ESCAVE	15
#define AML_ADD_RUBBOX			16

// Event key codes...
#define AML_ELEECH_CODE 	7000
#define AML_KILL_ELEECH_CODE	7001

#define AML_START_SPEECH_CODE	7002
#define AML_START_SPEECH2_CODE	7003
#define AML_MORE_SPEECH_CODE	7004
#define AML_MORE_SPEECH2_CODE	7005
#define AML_END_SPEECH_CODE	7006
#define AML_FORCED_EXIT_CODE	7007
#define AML_RUBOX_CODE		7008

// Speech Sequences...
#define AML_UNLOCK0_SEQ 	8000
#define AML_UNLOCK1_SEQ 	8001
#define AML_UNLOCK2_SEQ 	8002
#define AML_UNLOCK3_SEQ 	8003

#define AML_PREPARE0_SEQ	8004
#define AML_PREPARE1_SEQ	8005
#define AML_PREPARE2_SEQ	8006
#define AML_PREPARE3_SEQ	8007

#define AML_SPEECH0_SEQ 	8008
#define AML_SPEECH1_SEQ 	8009
#define AML_SPEECH2_SEQ 	8010
#define AML_SPEECH3_SEQ 	8011

#define AML_END0_SEQ		8012
#define AML_END1_SEQ		8013
#define AML_END2_SEQ		8014
#define AML_END3_SEQ		8015

#define AML_LOCK0_SEQ		8016
#define AML_LOCK1_SEQ		8017
#define AML_LOCK2_SEQ		8018
#define AML_LOCK3_SEQ		8019

#define AML_PREPARE0_SEQ2	8020
#define AML_PREPARE1_SEQ2	8021
#define AML_PREPARE2_SEQ2	8022
#define AML_PREPARE3_SEQ2	8023

#define AML_END0_SEQ2		8024
#define AML_END1_SEQ2		8025
#define AML_END2_SEQ2		8026
#define AML_END3_SEQ2		8027

// Speech events...
#define AML_SPEECH0_CH0 	2010
#define AML_SPEECH0_EV		2011
#define AML_SPEECH0_CH1 	2012

#define AML_SPEECH1_CH0 	2013
#define AML_SPEECH1_EV		2014
#define AML_SPEECH1_CH1 	2015

#define AML_SPEECH2_CH0 	2016
#define AML_SPEECH2_EV		2017
#define AML_SPEECH2_CH1 	2018

#define AML_SPEECH3_CH0 	2019
#define AML_SPEECH3_EV		2020
#define AML_SPEECH3_CH1 	2021

#define AML_BEG_SPEECH_EV	2022
#define AML_END_SPEECH_EV	2023

// Some definitions...
#define ACI_MORE_SPEECH_INDEX	2

