Difference between revisions of "Chance to React"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " Chance to React: 0018d384: 3c028019 lui r2,0x8019 0018d388: 8c42f5fc lw r2,-0x0a04(r2) 0018d38c: 27bdffe8 addiu r29,r29,0xffe8 0018d390: 14400006 bne r2,r0,0x0018d3...")
 
Line 6: Line 6:
 
  0018d394: afbf0010 sw r31,0x0010(r29)
 
  0018d394: afbf0010 sw r31,0x0010(r29)
 
  0018d398: 90850024 lbu r5,0x0024(r4) Load Brave
 
  0018d398: 90850024 lbu r5,0x0024(r4) Load Brave
  0018d39c: 0c017833 jal 0x0005e0cc Random
+
  0018d39c: 0c017833 jal 0x0005e0cc [[Check if Random is greater/equal to Chance]]
 
  0018d3a0: 34040064 ori r4,r0,0x0064 r4 = 100
 
  0018d3a0: 34040064 ori r4,r0,0x0064 r4 = 100
 
  0018d3a4: 080634ec j 0x0018d3b0
 
  0018d3a4: 080634ec j 0x0018d3b0

Revision as of 23:26, 31 January 2016

Chance to React:
0018d384: 3c028019 lui r2,0x8019		
0018d388: 8c42f5fc lw r2,-0x0a04(r2)		
0018d38c: 27bdffe8 addiu r29,r29,0xffe8		
0018d390: 14400006 bne r2,r0,0x0018d3ac		
0018d394: afbf0010 sw r31,0x0010(r29)		
0018d398: 90850024 lbu r5,0x0024(r4)		Load Brave
0018d39c: 0c017833 jal 0x0005e0cc		Check if Random is greater/equal to Chance
0018d3a0: 34040064 ori r4,r0,0x0064		r4 = 100
0018d3a4: 080634ec j 0x0018d3b0			
0018d3a8: 00000000 nop				
0018d3ac: 00001021 addu r2,r0,r0		
0018d3b0: 8fbf0010 lw r31,0x0010(r29)		
0018d3b4: 27bd0018 addiu r29,r29,0x0018		
0018d3b8: 03e00008 jr r31			
0018d3bc: 00000000 nop