Force Attack Miss (Catch)
Jump to navigation
Jump to search
No Parameters - Returns Nothing Force attack to miss target. Update some Target Current Action flags - 0x00 : Hit flag set to 0x00 - 0x02 : Evade Type set to 0x07 (Catch) - 0x2a : Hit% set to 0% ---------------------------------------------------------------------------------------------------------------------- 0018430c: 3c028019 lui r2,0x8019 00184310: 8c422d90 lw r2,0x2d90(r2) |r2 = Target Current Action (TCA) data pointer 00184314: 00000000 nop | 00184318: a0400000 sb r0,0x0000(r2) |Set TCA hit flag to "Miss" 0018431c: 3c038019 lui r3,0x8019 | 00184320: 8c632d90 lw r3,0x2d90(r3) |r3 = TCA data pointer 00184324: 34020007 ori r2,r0,0x0007 |r2 = 0x07 00184328: a0620002 sb r2,0x0002(r3) |Store TCA Evade Type = 0x07 (Catch) 0018432c: 3c028019 lui r2,0x8019 | 00184330: 8c422d90 lw r2,0x2d90(r2) |r2 = TCA data pointer 00184334: 03e00008 jr r31 | 00184338: a440002a sh r0,0x002a(r2) |Store 0x00 as TCA hit%
Return Locations
Battle.bin 001867b8: Steal Gil 00186888: Set EXP Stolen 00187444: Undead Absorb Attack 001875ec: Dragon Check 00188214: Apply_status_(to_action) (aka Formula 38) 00189984: 29 OppositeSex: Hit_(MA+X)% 001899fc: 2A Hit_(MA+X)% // AffectBraveOrFaith(Y) 0018a0f4: 40 Undead: Hit_(SP+X)% 0018a15c: 41 Hit_(MA+X)% 0018a7a4: 57 +Lvl(1) NS 100% Add Status on Caster 0018a8f8: 58_Generic:_Set_Morbol:_Hit(MA+X)% 0018a958: 59 –Lvl(1) Hit (MA+X)% 0018bb4c: Set some data for current attack 0018dcf8: Traps Routine