This tutorial was by me..
Now we will use a money code for any game you wish.
this is what we (as in I) would do:
Use thes commands:Code:load the upper controller address into t0 then you would load the lower half of the controller into t0 and back to (t0) we then load our button and 0 into t1 and set your button value to Increase we then load our button and 0 into t2 and set your button value to Decrease now we load our upper code address into t3 we branch our controller t0 and our button t1 to the next branch address nop is our line delay now load the 2nd half of you code address into t4 and back to (t3) we then load our button and 0 into t5 and set your increment rate now we add t6 t4 and t5 - this says add t4 and t5 and store result into t6 now we store the 2nd half of our code into t6 and back to (t3) we now branch our controller t0 and our button t2 to the end line which is jr ra nop is our line delay now load the 2nd half of you code address into t4 and back to (t3) we then load our button and 0 into t5 and set your increment rate now we subtract t6 t4 and t5 - this says add t4 and t5 and store result into t6 now we store the 2nd half of our code into t6 and back to (t3) jr ra - ends our routine
Don't forget the Negative rule and your hook.Code:lui addiu sw add or addu sub or subu lw bne jr ra j - for your hook


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
					
					 
  Incrementing/Decrementing codes
 Incrementing/Decrementing codes
		
 Reply With Quote
 Reply With Quote Visit Homepage
				Visit Homepage
			 Re: Incrementing/Decrementing codes
 Re: Incrementing/Decrementing codes
		 Originally Posted by WorldKing
 Originally Posted by WorldKing
					

