Maintenance
Jump to navigation
Jump to search
Maintenance Check:
No Parameters - Returns Nothing If Target uses Maintenance : Guard Target Current Attack (Hit flag to 0x00, Hit% to 0%, Evade type to 0x07) ----------------------------------------------------------------------------------------------------------------------- 00187638: 3c028019 lui r2,0x8019 | 0018763c: 8c422d98 lw r2,0x2d98(r2) |r2 = Target data pointer 00187640: 00000000 nop | 00187644: 90420091 lbu r2,0x0091(r2) |r2 = Target support Abilities (3rd set) 00187648: 00000000 nop | 0018764c: 30420004 andi r2,r2,0x0004 |r2 = 0x04 if Target uses Maintenance 00187650: 1040000d beq r2,r0,0x00187688 #If Target uses Maintenance 00187654: 00000000 nop | 00187658: 3c028019 lui r2,0x8019 | 0018765c: 8c422d90 lw r2,0x2d90(r2) |r2 = Target Current Action (TCA) data pointer 00187660: 00000000 nop | 00187664: a0400000 sb r0,0x0000(r2) |Set TCA hit flag to MISS 00187668: 3c038019 lui r3,0x8019 | 0018766c: 8c632d90 lw r3,0x2d90(r3) |r3 = TCA data pointer 00187670: 34020007 ori r2,r0,0x0007 |r2 = 0x07 00187674: a0620002 sb r2,0x0002(r3) |Store TCA Evade type to 0x07 (guarded ?) 00187678: 3c028019 lui r2,0x8019 | 0018767c: 8c422d90 lw r2,0x2d90(r2) |r2 = TCA data pointer 00187680: 00000000 nop | 00187684: a440002a sh r0,0x002a(r2) |Set TCA Hit% = 0 (displayed) 00187688: 03e00008 jr r31 END 0018768c: 00000000 nop
Return Locations
Battle.bin 00189764: 25 Equipped: Break Hit_(PA+WP+X)% 001897f8: 26 Equipped: Steal Hit_(SP+X)% 00189be0: 2E Equipped:Break Dmg_(PA*WP)