Issues with a flash money system, Adding like '7525' where it should be '100'

I’m sure this is some dumb mistake I made, but… what is causing this is just… hidden…

  sum = 0; money = 250; pot = 0; minumum = 25; betCash = 0; card1 = 0; card2 = 0; card3 = 0; card4 = 0; card5 = 0; allowDeal = true; round1 = true; round2 = false; allowNext = false; madeBet = true; message1 = 'Start by clicking "deal"!'; onEnterFrame = function () { 	if (money=0) { 					trace(pot) 					pot += betCash; 					money -= betCash; 					madeBet = true; 				} else { 					money = 0; 					message1 = 'cannot bet, you have no cash!'; 				} 			}; 			_root.next1.onRelease = _root.next1.onReleaseOutside=function () { 				if (allowNext == true) { 					round1 = false; 					round2 = true; 					if (madeBet == false) { 						money -= minumum; 						pot += minumum; 					} 				} 			}; 		}; 	} };