im trying to make a max/inf points code, i must be doing somthing wrong, when ever i asm it, it either 1 freezes or 2 you cant use your weapon and your points show 30000A/15532. any help would be nice
[spoiler](http://i1082.photobucket.com/albums/j362/xSAVAGExhacks/ASMhelp.png)[spoiler/]
You could try this:
lwz r12,168(r5)
lis r12, 0xFFFF
ori r12,r12, 0xFFFF
stw r12,168(r5)
i think i tried that, and the weapon would not cause damage, ill try it again i was half asleep last night.
thanks for the reply
edit:i kept forgeting to put 168 in place.... \
thanks goemon_guy
Quote from: goemon_guy on September 19, 2011, 11:24:49 AM
lwz r12,168(r5)
lis r12, 0x7FFF
ori r12,r12, 0xFFFF
stw r12,168(r5)
lwz r5,168(r5)
- including the original instruction is never bad
- max. value is 7FFFFFFF (FFFFFFFF would be -1)
- we don´t need to lwz r12,168(r5) if we overwrite r12 with a specific value anyways