Difference between revisions of "Force Attack Miss (Catch)"
Jump to navigation
Jump to search
m |
RetroTypes (talk | contribs) m (RetroTypes moved page Force Attack Miss to Force Attack Miss (Catch): Clarifying use case) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
Force attack to miss target. Update some Target Current Action flags | Force attack to miss target. Update some Target Current Action flags | ||
- 0x00 : Hit flag set to 0x00 | - 0x00 : Hit flag set to 0x00 | ||
− | - 0x02 : Evade Type set to 0x07 | + | - 0x02 : Evade Type set to 0x07 (Catch) |
- 0x2a : Hit% set to 0% | - 0x2a : Hit% set to 0% | ||
---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ||
Line 13: | Line 13: | ||
00184320: 8c632d90 lw r3,0x2d90(r3) |{{f/adr|<nowiki>r3 = TCA data pointer</nowiki>}} | 00184320: 8c632d90 lw r3,0x2d90(r3) |{{f/adr|<nowiki>r3 = TCA data pointer</nowiki>}} | ||
00184324: 34020007 ori r2,r0,0x0007 |{{f/std|<nowiki>r2 = 0x07</nowiki>}} | 00184324: 34020007 ori r2,r0,0x0007 |{{f/std|<nowiki>r2 = 0x07</nowiki>}} | ||
− | 00184328: a0620002 sb r2,0x0002(r3) |{{f/store|<nowiki>Store TCA Evade Type = 0x07</nowiki>}} | + | 00184328: a0620002 sb r2,0x0002(r3) |{{f/store|<nowiki>Store TCA Evade Type = 0x07 (Catch)</nowiki>}} |
0018432c: 3c028019 lui r2,0x8019 | | 0018432c: 3c028019 lui r2,0x8019 | | ||
00184330: 8c422d90 lw r2,0x2d90(r2) |{{f/adr|<nowiki>r2 = TCA data pointer</nowiki>}} | 00184330: 8c422d90 lw r2,0x2d90(r2) |{{f/adr|<nowiki>r2 = TCA data pointer</nowiki>}} |
Latest revision as of 14:01, 27 December 2024
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