Log in

I forgot my password

Latest topics
» Could someone point me to a sprite rotation tutorial, please?
Mon Feb 18, 2013 6:53 pm by sckuz254

» RR archive 2
Sun Dec 02, 2012 4:20 pm by losdelsur16

» [ULUS-10310]MoHH2 Uni Instant NukeBoom
Tue Jul 12, 2011 6:52 pm by m33masterBad

» Some vip releases and more
Tue Jul 12, 2011 6:47 pm by m33masterBad

» Mohh2 no fog code.
Tue Jul 12, 2011 6:42 pm by m33masterBad

» instant nade guide
Tue Jul 12, 2011 6:31 pm by m33masterBad

» m33masterBad's Here
Sat Jul 02, 2011 5:35 pm by m33masterBad

» How to teach yourself and try and make templates
Sat Nov 13, 2010 4:56 pm by Jordan

» Making Universal Weapon Mods, Find Weapon Value
Thu Oct 07, 2010 4:02 am by mafiafran

» [ULUS-10141] Jokered Flash Sprint (My first Joker)
Thu Oct 07, 2010 4:02 am by mafiafran

» INF PMNS AND CLAYMORES
Thu Oct 07, 2010 4:02 am by mafiafran

» im back
Wed Aug 18, 2010 12:42 pm by SXYxJeff

» ADMIN APPLICATION
Fri Jul 30, 2010 7:48 pm by NiekTSK

» Ps2dis begginers guide - how to make a basic subroutine
Fri Jul 23, 2010 4:02 pm by pspguy1234290

» Hey
Mon Jul 19, 2010 3:29 pm by SXYxJeff

Top posters
Nick (454)
 
MJKT (419)
 
RappY (318)
 
tHaTdiRTykID (232)
 
CrAzY Gamer (194)
 
XxMIRAGExX (135)
 
EEL007 (128)
 
NiekTSK (124)
 
Battle Star (105)
 
TYLER108 (99)
 

Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

[ View the whole list ]


Most users ever online was 95 on Tue Aug 01, 2017 7:44 pm

Increase/Decrease

Go down

Increase/Decrease

Post by RappY on Fri May 29, 2009 12:42 pm

lui t0, $First Half of Controller Address
lui t1, $First Half of Code Address
lh t2, $Second Half of Controller Address(t0)
addiu t3, zero, $Button Value to Increase
bne t2, t3, $Address of "Button Value to Decrease"
lw t4, $Second Half of Code Address(t1)
nop
addiu t5, zero, $Increase Rate
add t6, t4, t5
sw t6, $Second Half of Code Address(t1)
beq zero, zero, $Addresses the Jr ra
nop
addiu t4, zero, $Button Value to Decrease
bne t2, t4, $Addresses the Jr ra
nop
lw t5, $Second Half of Code Address(t1)
addiu t6, zero, $Decrease Rate
sub t7, t5, t6
sw t7, $Second Half of Code Address(t1)
nop
jr ra

RappY
Active Member

Posts : 318
Join date : 2009-04-25
Age : 22
Location : Sweden

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum