Difference between revisions of "Sleep Check"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
00187618: 10400003 beq r2,r0,0x00187628 Branch to end if unit is not sleep | 00187618: 10400003 beq r2,r0,0x00187628 Branch to end if unit is not sleep | ||
0018761c: 00000000 nop | 0018761c: 00000000 nop | ||
− | 00187620: 0c0610c3 jal 0x0018430c | + | 00187620: 0c0610c3 jal 0x0018430c [[Force_Attack_Miss]] |
00187624: 00000000 nop | 00187624: 00000000 nop | ||
00187628: 8fbf0010 lw r31,0x0010(r29) | 00187628: 8fbf0010 lw r31,0x0010(r29) |
Revision as of 11:52, 17 January 2021
Sleep Check: 001875fc: 3c028019 lui r2,0x8019 00187600: 8c422d98 lw r2,0x2d98(r2) Load Defenders Stats 00187604: 27bdffe8 addiu r29,r29,0xffe8 00187608: afbf0010 sw r31,0x0010(r29) 0018760c: 9042005c lbu r2,0x005c(r2) Load 5th set of Current Status 00187610: 00000000 nop 00187614: 30420010 andi r2,r2,0x0010 00187618: 10400003 beq r2,r0,0x00187628 Branch to end if unit is not sleep 0018761c: 00000000 nop 00187620: 0c0610c3 jal 0x0018430c Force_Attack_Miss 00187624: 00000000 nop 00187628: 8fbf0010 lw r31,0x0010(r29) 0018762c: 27bd0018 addiu r29,r29,0x0018 00187630: 03e00008 jr r31 00187634: 00000000 nop
Return Locations
- Battle.bin
00189384: 1C Hit_(X)% 001893e0: 1D Hit_(X)% 001899ac: 2A Hit_(MA+X)% // AffectBraveOrFaith(Y)