DATA_BEEF51.asm
Yoshifanatic1_Donkey-Kong-Country-1-Disassembly/DKC1/GarbageData/DATA_BEEF51.asm

ADDR_BEEF51:
	LDA.w $0E21,y
	JSL.l $BE96FA
	LDA.w $0E21,y
	CMP.w #$4000
	BCS.b ADDR_BEEF67
	LDA.w #!Define_DKC1_SoundID_StompEnemy
	JML.l $BFFB09

ADDR_BEEF67:
	LDA.w #!Define_DKC1_SoundID_KRoolLand
	JML.l $BFFB09

UNK_BEEF6E:
	%DKC1_AnS1_OpXX($40, $16E0)
	%DKC1_AnS1_Op80()

UNK_BEEF73:
	%DKC1_AnS1_OpXX($40, $16E4)
	%DKC1_AnS1_Op80()

UNK_BEEF78:
	%DKC1_AnS1_OpXX($40, $16E8)
	%DKC1_AnS1_Op80()

UNK_BEEF7D:
	%DKC1_AnS1_OpXX($40, $16EC)
	%DKC1_AnS1_Op80()

UNK_BEEF82:
	%DKC1_AnS1_OpXX($40, $182C)
	%DKC1_AnS1_Op80()

UNK_BEEF87:
	%DKC1_AnS1_Op80()

UNK_BEEF89:
	dl $BFFAF3
	%DKC1_AnS1_OpXX($40, $16E0)
	%DKC1_AnS1_Op80()

UNK_BEEF91:
	%DKC1_AnS1_OpXX($40, $16E4)
	%DKC1_AnS1_Op80()

UNK_BEEF96:
	%DKC1_AnS1_OpXX($40, $16E8)
	%DKC1_AnS1_Op80()

UNK_BEEF9B:
	%DKC1_AnS1_OpXX($40, $16EC)
	%DKC1_AnS1_Op80()

UNK_BEEFA0:
	%DKC1_AnS1_OpXX($02, $1644)
	%DKC1_AnS1_OpXX($02, $1648)
	%DKC1_AnS1_OpXX($02, $164C)
	%DKC1_AnS1_Op8F(!Define_DKC1_SoundID_KillKrusha)
	%DKC1_AnS1_OpXX($30, $1650)
	%DKC1_AnS1_OpXX($03, $1654)
	%DKC1_AnS1_OpXX($03, $1658)
	%DKC1_AnS1_OpXX($03, $165C)
	%DKC1_AnS1_OpXX($03, $1660)
	%DKC1_AnS1_OpXX($03, $1664)
	%DKC1_AnS1_Op8F(!Define_DKC1_SoundID_KillKrusha)
	%DKC1_AnS1_Op81(ADDR_BEF115)
	%DKC1_AnS1_OpXX($03, $1668)
	%DKC1_AnS1_OpXX($03, $166C)
	%DKC1_AnS1_Op8F(!Define_DKC1_SoundID_KillKrusha)
	%DKC1_AnS1_OpXX($03, $1670)
	%DKC1_AnS1_OpXX($03, $1674)
	%DKC1_AnS1_Op8F(!Define_DKC1_SoundID_KillKrusha)
	%DKC1_AnS1_OpXX($03, $1678)
	%DKC1_AnS1_OpXX($03, $167C)
	%DKC1_AnS1_Op81(ADDR_BEF051)
	%DKC1_AnS1_OpXX($40, $1680)
	%DKC1_AnS1_Op81(ADDR_BEF0E5)
	%DKC1_AnS1_Op83($BE811B)
	%DKC1_AnS1_Op80()

UNK_BEEFE9:
	%DKC1_AnS1_OpXX($20, $1680)
	%DKC1_AnS1_Op8E(!Define_DKC1_SoundID_RambiStab)
	%DKC1_AnS1_OpXX($08, $167C)
	%DKC1_AnS1_OpXX($10, $1680)
	%DKC1_AnS1_Op8E(!Define_DKC1_SoundID_RambiStab)
	%DKC1_AnS1_OpXX($08, $167C)
	%DKC1_AnS1_OpXX($0C, $1680)
	%DKC1_AnS1_Op8E(!Define_DKC1_SoundID_RambiStab)
	%DKC1_AnS1_OpXX($08, $167C)
	%DKC1_AnS1_OpXX($08, $1680)
	%DKC1_AnS1_Op8E(!Define_DKC1_SoundID_RambiStab)
	%DKC1_AnS1_OpXX($03, $167C)
	%DKC1_AnS1_OpXX($03, $1678)
	%DKC1_AnS1_OpXX($03, $1674)
	%DKC1_AnS1_OpXX($03, $1670)
	%DKC1_AnS1_OpXX($03, $166C)
	%DKC1_AnS1_OpXX($03, $1668)
	%DKC1_AnS1_Op8E(!Define_DKC1_SoundID_AnimalBuddyJump)
	%DKC1_AnS1_OpXX($03, $1664)
	%DKC1_AnS1_OpXX($03, $1660)
	%DKC1_AnS1_OpXX($03, $165C)
	%DKC1_AnS1_OpXX($03, $1658)
	%DKC1_AnS1_OpXX($03, $1654)
	%DKC1_AnS1_OpXX($03, $1650)
	%DKC1_AnS1_OpXX($03, $164C)
	%DKC1_AnS1_OpXX($03, $1648)
	%DKC1_AnS1_OpXX($03, $1644)
	%DKC1_AnS1_OpXX($03, $1640)
	%DKC1_AnS1_OpXX($03, $163C)
	%DKC1_AnS1_OpXX($03, $1638)
	%DKC1_AnS1_OpXX($03, $1634)
	%DKC1_AnS1_Op81(ADDR_BEF0EC)
	%DKC1_AnS1_OpXX($20, $15F8)
	%DKC1_AnS1_Op81(ADDR_BEF0E5)
	%DKC1_AnS1_Op83($BE811B)
	%DKC1_AnS1_Op80()

ADDR_BEF051:
	LDA.w #$0003
	JSL.l $BFFA3A
	LDY.w #$B5FC9F
	JML.l $B5804C

ADDR_BEF05F:
	STZ.w $0DB6,x
	JML.l $BEA93A

ADDR_BEF066:
	LDA.w #$01A8
	JML.l $BE80AF

ADDR_BEF06D:
	JSL.l $BF8151
	LDY.w #$B5FC27
	JSL.l $B5804C
	LDA.b $86
	LDX.b !RAM_DKC1_NorSpr_CurrentIndexLo
	STA.w $14F6,x
	TAY
	LDA.w $0DEA,x
	STA.w $0DEA,y
	LDA.w #$0003
	STA.w $119E,x
	LDA.w #$0002
	STA.w $109A,x
	LDA.w #$0017
	JSL.l $BFFA27
	RTL

ADDR_BEF09A:
	LDA.w #$4000
	STA.w $1102,x
	RTL

ADDR_BEF0A1:
	LDY.w $14F6,x
	LDA.w $14F6,y
	BEQ.b ADDR_BEF09A
	LDA.w $14C2,y
	SEC
	SBC.w #$0030
	BCS.b ADDR_BEF0B6
	LDA.w $14C2,y
	SEC
ADDR_BEF0B6:
	ADC.w #$0007
	XBA
	STA.w $1102,x
	RTL

ADDR_BEF0BE:
	RTL

ADDR_BEF0BF:
	LDY.w $14F6,x
ADDR_BEF0C2:
	LDA.w $14C2,y
	BNE.b ADDR_BEF0BE
	STZ.w $119E,x
	STZ.w $109A,x
	PHX
	STY.b !RAM_DKC1_NorSpr_CurrentIndexLo
	JSL.l $BDF499
	PLX
	STX.b !RAM_DKC1_NorSpr_CurrentIndexLo
	LDA.w #$0000
	JSL.l $BFFA27
	LDA.w #$01A9
	JML.l $BE80AF

ADDR_BEF0E5:
	LDA.w #$0002
	STA.w $152A,x
	RTL

ADDR_BEF0EC:
	LDA.w #$0020
	STA.w $0EBA,x
	STZ.w $0F56,x
	LDY.w #$B5FC53
	JML.l $B5802F

ADDR_BEF0FC:
	RTL

ADDR_BEF0FD:
	LDY.w $0DEA,x
	LDA.w $0E86,y
	STA.w $0E86,x
	LDA.w $0EEE,y
	STA.w $0EEE,x
	BEQ.b ADDR_BEF0FC
	LDA.w #$0001
	JML.l $BFFA58

ADDR_BEF115:
	LDA.w #$0200
	JML.l $BE97B7

ADDR_BEF11C:
	STZ.w $0E86,x
	LDY.w $0DEA,x
	LDA.w $0E1E,y
	JSL.l $BE97B7
	LDA.w $0E1E,y
	CMP.w #$4000
	BCS.b ADDR_BEF138
	LDA.w #$0008
	JML.l $BFFA3A

ADDR_BEF138:
	LDA.w #$0015
	JML.l $BFFA3A

UNK_BEF13F:
	%DKC1_AnS1_OpXX($40, $16E0)
	%DKC1_AnS1_Op80()

UNK_BEF144:
	%DKC1_AnS1_OpXX($40, $16E4)
	%DKC1_AnS1_Op80()

UNK_BEF149:
	%DKC1_AnS1_OpXX($40, $16E8)
	%DKC1_AnS1_Op80()

UNK_BEF14E:
	%DKC1_AnS1_OpXX($40, $16EC)
	%DKC1_AnS1_Op80()

UNK_BEF153:
	%DKC1_AnS1_Op80()

UNK_BEF155:
	%DKC1_AnS1_OpXX($40, $1570)
	%DKC1_AnS1_Op80()
