Some help for bytecode hacking
Since im new to this, im having some trouble with editing variable's values, i.e.:
_as3_callpropvoid playerHit(param count:2)Searching for the source:
//62 06
_as3_getlocal <6>
//d0
_as3_getlocal <0>
//66 87 05
_as3_getproperty containerType_
//62 08
_as3_getlocal <8>
//d0
_as3_getlocal <0>
//66 a4 02
_as3_getproperty _-Il
//66 b7 03
_as3_getproperty effects_
//27
_as3_pushfalse
//d0
_as3_getlocal <0>
//4f b6 0a 05
_as3_callpropvoid damage(param count:5)
map_.gs_.gsc_.playerHit(this.bulletId_, this.ownerId_);Is there a way to set a value for those locals, or to change the getlocal/getproperty for an specific value? So i could, for exemple, set the damage to 1, or the effect to "stun" or w/e i want... (there is the same script for enemyhit, so i could add like 10000 damage or a stun to my attacks)
_loc_6.damage(this.containerType_, _loc_8, this._-Il.effects_, false, this);