I find this and change the values and as a reslut i increase the number of the fans that come and watch my team's match.But i think stll have a problem i realize that still cant change the total earnings.Any helpfull tip?
private function getFanCount() : int
{
//d0
_as3_getlocal <0>
//30
_as3_pushscope
//24 00
_as3_pushbyte 0
//d5
_as3_setlocal <1>
//24 00
_as3_pushbyte 0
//d6
_as3_setlocal <2>
//24 00
_as3_pushbyte 0
//d5
_as3_setlocal <1>
//60 b8 0a
_as3_getlex Math
//46 fb 0b 00
_as3_callproperty random(param count:0)
//25 f4 03
_as3_pushshort 500
//a2
_as3_multiply
//73
_as3_convert_i
//d6
_as3_setlocal <2>
//60 a2 07
_as3_getlex fanCount
//60 a0 07
_as3_getlex fanLoyalty
//a2
_as3_multiply
//25 c8 01
_as3_pushshort 200
//a3
_as3_divide
//d2
_as3_getlocal <2>
//a0
_as3_add
//73
_as3_convert_i
//d5
_as3_setlocal <1>
//d1
_as3_getlocal <1>
//60 a7 07
_as3_getlex stadiumCapacity
//0e 13 00 00
_as3_ifngt offset: 19
//60 b8 0a
_as3_getlex Math
//46 fb 0b 00
_as3_callproperty random(param count:0)
//24 64
_as3_pushbyte 100
//a2
_as3_multiply
//73
_as3_convert_i
//d6
_as3_setlocal <2>
//60 a7 07
_as3_getlex stadiumCapacity
//d2
_as3_getlocal <2>
//a1
_as3_subtract
//73
_as3_convert_i
//d5
_as3_setlocal <1>
//5d b5 0a
_as3_findpropstrict trace
//2c be 0f
_as3_pushstring "val:"
//d1
_as3_getlocal <1>
//a0
_as3_add
//4f b5 0a 01
_as3_callpropvoid trace(param count:1)
//d1
_as3_getlocal <1>
//48
_as3_returnvalue
}// end function
D0 30 24 00 D5 24 00 D6 24 00 D5 60 B8 0A 46 FB 0B 00 25 F4 03 A2 73 D6 60 A2 07 60 A0 07 A2 25 C8 01 A3 D2 A0 73 D5 D1 60 A7 07 0E 13 00 00 60 B8 0A 46 FB 0B 00 24 64 A2 73 D6 60 A7 07 D2 A1 73 D5 5D B5 0A 2C BE 0F D1 A0 4F B5 0A 01 D1 48