Difference between revisions of "1C Hit (X)%"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
  0018937c: 27bdffe8 addiu r29,r29,0xffe8
 
  0018937c: 27bdffe8 addiu r29,r29,0xffe8
 
  00189380: afbf0010 sw r31,0x0010(r29)
 
  00189380: afbf0010 sw r31,0x0010(r29)
  00189384: 0c061d7f jal 0x 001875fc  Sleep Check
+
  00189384: 0c061d7f jal 0x 001875fc  [[Sleep Check]]
 
  00189388: 00000000 nop
 
  00189388: 00000000 nop
 
  0018938c: 3c028019 lui r2,0x8019
 
  0018938c: 3c028019 lui r2,0x8019
  00189390: 8c422d90 lw r2,0x2d90(r2)
+
  00189390: 8c422d90 lw r2,0x2d90(r2) Target current data pointer
 
  00189394: 00000000 nop
 
  00189394: 00000000 nop
  00189398: 90420000 lbu r2,0x0000(r2)
+
  00189398: 90420000 lbu r2,0x0000(r2) Hit flag
 
  0018939c: 00000000 nop
 
  0018939c: 00000000 nop
  001893a0: 10400009 beq r2,r0,0x 001893c8
+
  001893a0: 10400009 beq r2,r0,0x 001893c8 Branch if miss
 
  001893a4: 00000000 nop
 
  001893a4: 00000000 nop
  001893a8: 0c0610d8 jal 0x 00184360    hit %*X, see if attack hits
+
  001893a8: 0c0610d8 jal 0x 00184360    [[Dance/Song hit %]]
 
  001893ac: 00000000 nop
 
  001893ac: 00000000 nop
  001893b0: 14400005 bne r2,r0,0x 001893c8
+
  001893b0: 14400005 bne r2,r0,0x 001893c8 Branch if miss
 
  001893b4: 00000000 nop
 
  001893b4: 00000000 nop
  001893b8: 0c061725 jal 0x 00185c94    Get Ability Power
+
  001893b8: 0c061725 jal 0x 00185c94    [[Store MA and Y]]
 
  001893bc: 00000000 nop
 
  001893bc: 00000000 nop
  001893c0: 0c061a7b jal 0x 001869ec    Magic/Angel Song
+
  001893c0: 0c061a7b jal 0x 001869ec    [[Song abilities]]
 
  001893c4: 00000000 nop
 
  001893c4: 00000000 nop
 
  001893c8: 8fbf0010 lw r31,0x0010(r29)
 
  001893c8: 8fbf0010 lw r31,0x0010(r29)
  001893cc: 27bd 0018 addiu r29,r29,0x 0018
+
  001893cc: 27bd0018 addiu r29,r29,0x 0018
 
  001893d0: 03e00008 jr r31
 
  001893d0: 03e00008 jr r31
 
  001893d4: 00000000 nop
 
  001893d4: 00000000 nop

Revision as of 15:38, 6 December 2016

 1c]
0018937c: 27bdffe8 addiu r29,r29,0xffe8
00189380: afbf0010 sw r31,0x0010(r29)
00189384: 0c061d7f jal 0x 001875fc   		Sleep Check
00189388: 00000000 nop				
0018938c: 3c028019 lui r2,0x8019		
00189390: 8c422d90 lw r2,0x2d90(r2)		Target current data pointer
00189394: 00000000 nop				
00189398: 90420000 lbu r2,0x0000(r2)		Hit flag
0018939c: 00000000 nop				
001893a0: 10400009 beq r2,r0,0x 001893c8	Branch if miss
001893a4: 00000000 nop				
001893a8: 0c0610d8 jal 0x 00184360    		Dance/Song hit %
001893ac: 00000000 nop				
001893b0: 14400005 bne r2,r0,0x 001893c8	Branch if miss
001893b4: 00000000 nop				
001893b8: 0c061725 jal 0x 00185c94    		Store MA and Y
001893bc: 00000000 nop				
001893c0: 0c061a7b jal 0x 001869ec    		Song abilities
001893c4: 00000000 nop				
001893c8: 8fbf0010 lw r31,0x0010(r29)		
001893cc: 27bd0018 addiu r29,r29,0x 0018		
001893d0: 03e00008 jr r31			
001893d4: 00000000 nop