PsgT:		EQU 0
PsgV:		EQU 2
PsgTE:		EQU 4
PsgTD:		EQU 6
PsgNE:		EQU 8
PsgND:		EQU 10
PsgNP:		EQU 12
PsgI:		EQU 14
PsgIP:		EQU 16
PsgEP:		EQU 18
PsgES:		EQU 20

EffectsTable:		DW 0, .Stream1, .Stream2, .Stream3, .Stream4, .Stream5, .Stream6, .Stream7
			DW .Stream8, .Stream9, .Stream10, .Stream11, .Stream12, .Stream13, .Stream14, .Stream15
			DW .Stream16, .Stream17, .Stream18, .Stream19, .Stream20, .Stream21, .Stream22, .Stream23
			DW .Stream24, .Stream25, .Stream26, .Stream27, .Stream28, .Stream29, .Stream30, .Stream31
			DW .Stream32, .Stream33, .Stream34, .Stream35, .Stream36, .Stream37, .Stream38, .Stream39
			DW .Stream40, .Stream41, .Stream42, .Stream43, .Stream44, .Stream45, .Stream46, .Stream47
			DW .Stream48, .Stream49, .Stream50, .Stream51, .Stream52, .Stream53, .Stream54, .Stream55

	; Format.
	; PsgT, t, t. Tono.
	; PsgV, v. Volume.
	; PsgTE. Tone enable.
	; PsgTD. Tone disable.
	; PsgNE. Noise enable.
	; PsgND. Noise disable.
	; PsgNP, p. Noise period.
	; PsgI, i. Instrument (wave modulation shit).
	; PsgIP, p, p. Instrument period.
	; PsgEP. End period.
	; PsgES. End stream.



.Stream1:
		DB PsgES							; Coin launched.

.Stream2:
		DB PsgES							; Can't buy the item.

.Stream3:
		DB PsgES							; Cursor move.

.Stream4:
		DB PsgES							; Buyed.

.Stream5:	DB PsgV, 5, PsgNP, 3, PsgT, $0F, $02, PsgTE, PsgNE, PsgEP
		DB PsgV, 7, PsgNP, $18, PsgT, $B3, $02, PsgEP
		DB PsgV, 6, PsgNP, $0D, PsgT, $F6, $01, PsgEP
		DB PsgES							; Secondary weapon launched.

.Stream6:	DB PsgV, 9, PsgT, $46, 1, PsgTE, PsgEP
		DB PsgV, 10, PsgT, $DD, 1, PsgEP
		DB PsgV, 11, PsgT, $4E, 2, PsgEP
		DB PsgV, 10, PsgT, $28, 2, PsgEP
		DB PsgV, 9, PsgT, $1C, 2, PsgEP
		DB PsgV, 8, PsgT, $99, 2, PsgEP
		DB PsgT, $5B, 2, PsgEP
		DB PsgT, $28, 2, PsgEP
		DB PsgV, 4, PsgT, $D0, 1, PsgEP
		DB PsgT, $6C, 1, PsgEP
		DB PsgT, $14, 1, PsgEP
		DB PsgV, 5, PsgT, $07, 1, PsgEP
		DB PsgES							; Player hit by damage tile needles & others.

.Stream7:	DB PsgV, 5, PsgNP, 6, PsgNE, PsgEP
		DB PsgV, 11, PsgNP, 8, PsgEP
		DB PsgV, 13, PsgNP, 7, PsgEP
		DB PsgV, 14, PsgNP, 3, PsgEP
		DB PsgV, 9, PsgNP, 3, PsgEP
		DB PsgV, 6, PsgNP, 4, PsgEP
		DB PsgV, 3, PsgEP
		DB PsgV, 1, PsgEP
		DB PsgES							; Player hit by damage tile lava.

.Stream8:	DB PsgV, 13, PsgNP, 2, PsgT, $AF, 0, PsgTE, PsgNE, PsgEP
		DB PsgV, 11, PsgT, $3A, $01, PsgEP
		DB PsgNP, 1, PsgT, $8A, 0, PsgEP
		DB PsgNP, 0, PsgT, $EE, 0, PsgEP
		DB PsgV, 8, PsgT, $AB, 1, PsgEP
		DB PsgV, 6, PsgT, $F6, 1, PsgND, PsgEP
		DB PsgTD, PsgV, 5, PsgEP
		DB PsgT, $5B, 2, PsgTE, PsgEP
		DB PsgT, $17, 3, PsgV, 3, PsgEP
		DB PsgTD, PsgV, 1, PsgEP
		DB PsgV, 0, PsgES						; Fireball launched.

.Stream9:	DB PsgV, 10, PsgT, $B3, 2, PsgTE, PsgEP
		DB PsgT, $A1, 3, PsgEP
		DB PsgT, $F9, 3, PsgEP
		DB PsgT, $0F, 2, PsgEP
		DB PsgT, $74, 2, PsgEP
		DB PsgT, $F9, 3, PsgEP
		DB PsgT, $A1, 3, PsgEP
		DB PsgT, $F9, 3, PsgEP
		DB PsgT, $0F, 2, PsgEP
		DB PsgT, $74, 2, PsgEP
		DB PsgT, $F9, 3, PsgEP
		DB PsgES							; Twister twisting.

.Stream10:	DB PsgV, 15, PsgNP, 1, PsgT, $4B, 0, PsgTE, PsgNE, PsgEP
		DB PsgT, $71, 0, PsgEP
		DB PsgT, $BC, 0, PsgEP
		DB PsgT, $78, 1, PsgEP
		DB PsgV, 14, PsgT, $74, 2, PsgEP
		DB PsgNP, 2, PsgT, $1F, 4, PsgEP
		DB PsgNP, 4, PsgV, 13, PsgT, $2F, 6, PsgEP
		DB PsgNP, 8, PsgV, 12, PsgT, $BC, 8, PsgEP
		DB PsgNP, 15, PsgV, 11, PsgT, $BF, $0A, PsgEP
		DB PsgND, PsgV, 9, PsgT, $E8, $0C, PsgEP
		DB PsgV, 7, PsgT, $22, $0E, PsgEP
		DB PsgV, 6, PsgT, $04, $0F, PsgEP
		DB PsgV, 4, PsgT, $CD, $0F, PsgEP
		DB PsgES							; Thunder.

.Stream11:	DB PsgV, 3, PsgT, $B9, $0E, PsgTE, PsgEP
		DB PsgV, 4, PsgT, $83, $0C, PsgEP
		DB PsgV, 5, PsgNP, 11, PsgT, $66, $05, PsgNE, PsgEP
		DB PsgV, 4, PsgND, PsgT, $27, $05, PsgEP
		DB PsgV, 1, PsgT, $E8, $04, PsgEP
		DB PsgES							; Punch.


.Stream12:	DB PsgV, 7, PsgT, $25, 0, PsgTE, PsgEP
		DB PsgV, 9, PsgNP, 10, PsgT, $57, 0, PsgNE, PsgEP
		DB PsgV, 10, PsgNP, 11, PsgT, $3E, 0, PsgEP
		DB PsgV, 9, PsgND, PsgT, $19, 0, PsgEP
		DB PsgV, 8, PsgT, $32, 0, PsgEP
		DB PsgES							; Dagger Attack.


.Stream13:	DB PsgV, 12, PsgNP, $1B, PsgNE, PsgEP
		DB PsgV, 13, PsgNP, $1D, PsgEP
		DB PsgV, 14, PsgNP, $1F, PsgEP
		DB PsgV, 13, PsgEP
		DB PsgV, 11, PsgEP
		DB PsgV, 9, PsgNP, $1D, PsgEP
		DB PsgES							; Axe Attack.


.Stream14:	DB PsgV, 4, PsgNP, 3, PsgNE, PsgEP
		DB PsgV, 6, PsgNP, 7, PsgEP
		DB PsgV, 10, PsgNP, 10, PsgEP
		DB PsgV, 9, PsgEP
		DB PsgV, 6, PsgNP, 4, PsgEP
		DB PsgV, 13, PsgNP, 5, PsgEP
		DB PsgV, 14, PsgNP, $11, PsgEP
		DB PsgV, 12, PsgNP, $19, PsgEP
		DB PsgV, 5, PsgNP, $1C,PsgEP
		DB PsgES							; knife attack.

.Stream15:
		DB PsgES							; Rambo knife attack.

.Stream16:
		DB PsgES							; Sword attack.





.Stream17:
		DB PsgES							; Cancel the buy.

.Stream18:
		DB PsgES							; Revival formula used.

.Stream19:
		DB PsgES							; Player just died.

.Stream20:
		DB PsgES							; Door knock.

.Stream21:
		DB PsgES							; Player attacked in the head.

.Stream22:
		DB PsgES							; Player attacked in the body.

.Stream23:
		DB PsgES							; Turtle being killed by damaging tile.

.Stream24:
		DB PsgES							; Turtle attacks.

.Stream25:
		DB PsgES							; Spider being killed by damaging tile.

.Stream26:
		DB PsgES							; Spider attacks.

.Stream27:
		DB PsgES							; Frog being killed by damaging tile.

.Stream28:
		DB PsgES							; Frog attacks.

.Stream29:
		DB PsgES							; Guard being killed by damaging tile.

.Stream30:
		DB PsgES							; Guard attacks.

.Stream31:
		DB PsgES							; Dog being killed by damaging tile.

.Stream32:
		DB PsgES							; Dog attacks.

.Stream33:
		DB PsgES							; Wizard being killed by damaging tile.

.Stream34:
		DB PsgES							; Wizard attacks.

.Stream35:
		DB PsgES							; Demon being killed by damaging tile.

.Stream36:
		DB PsgES							; Demon attacks.

.Stream37:
		DB PsgES							; Any character actually being hit.

.Stream38:
		DB PsgES							; Bomb bouncing.

.Stream39:
		DB PsgES							; Bomb explosion.

.Stream40:
		DB PsgES							; Player collects a coin.

.Stream41:
		DB PsgES							; Player collect a bar of gold or gold coin.

.Stream42:
		DB PsgES							; Gain points.

.Stream43:
		DB PsgES							; Grab the revival potion and store it in the vault.

.Stream44:
		DB PsgES							; Grab a health up item (drinks and so).

.Stream45:
		DB PsgES							; .

.Stream46:
		DB PsgES							; .

.Stream47:
		DB PsgES							; .

.Stream48:
		DB PsgES							; .

.Stream49:
		DB PsgES							; .

.Stream50:
		DB PsgES							; .

.Stream51:
		DB PsgES							; .

.Stream52:
		DB PsgES							; .

.Stream53:
		DB PsgES							; .

.Stream54:
		DB PsgES							; .

.Stream55:
		DB PsgES							; .


