1C Hit (X)%
(Redirected from 0018937c - 001893d4)
Jump to navigation
Jump to search
0018937c: 27bdffe8 addiu r29,r29,0xffe8 | 00189380: afbf0010 sw r31,0x0010(r29) | 00189384: 0c061d7f jal 0x001875fc |-->Sleep Check If Target is Sleeping, Forces the Attack to miss 00189388: 00000000 nop | 0018938c: 3c028019 lui r2,0x8019 | 00189390: 8c422d90 lw r2,0x2d90(r2) |r2 = Target Current Action (TCA) data pointer 00189394: 00000000 nop | 00189398: 90420000 lbu r2,0x0000(r2) |r2 = TCA hit flag 0018939c: 00000000 nop | 001893a0: 10400009 beq r2,r0,0x001893c8 #If Attack hit /Else go to END (target is sleeping) 001893a4: 00000000 nop | 001893a8: 0c0610d8 jal 0x00184360 |-->Dance/Song hit % Uses Ability X as Hit% / Return r2 001893ac: 00000000 nop | 001893b0: 14400005 bne r2,r0,0x001893c8 #If Attack hit 001893b4: 00000000 nop | 001893b8: 0c061725 jal 0x00185c94 |-->Store MA and Y XA = Attacker's MA and YA = used Ability Y 001893bc: 00000000 nop | 001893c0: 0c061a7b jal 0x001869ec |-->Song abilities Set Various TCA data based on Ability ID (Hard coded) 001893c4: 00000000 nop | 001893c8: 8fbf0010 lw r31,0x0010(r29) END 001893cc: 27bd0018 addiu r29,r29,0x0018 001893d0: 03e00008 jr r31 001893d4: 00000000 nop
Return location
Battle.bin 0018b97c - Pre Formula Setup