Difference between revisions of "Store MA and X"
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | No Parameters - Returns Nothing | |
− | 00185d80: 3c028019 lui r2,0x8019 | + | |
− | 00185d84: 8c422d94 lw r2,0x2d94(r2) | + | Set Ability XA = Attacker's MA |
− | 00185d88: 3c038019 lui r3,0x8019 | + | Set Ability YA = Used Ability X |
− | 00185d8c: 906338f9 lbu r3,0x38f9(r3) | + | ------------------------------------------------------------------------------------------------ |
− | 00185d90: 90420037 lbu r2,0x0037(r2) | + | 00185d80: 3c028019 lui r2,0x8019 | |
− | 00185d94: 3c018019 lui r1,0x8019 | + | 00185d84: 8c422d94 lw r2,0x2d94(r2) |{{f/adr|<nowiki>r2 = Attacker's data pointer</nowiki>}} |
− | 00185d98: a42338d0 sh r3,0x38d0(r1) | + | 00185d88: 3c038019 lui r3,0x8019 | |
− | 00185d9c: 3c018019 lui r1,0x8019 | + | 00185d8c: 906338f9 lbu r3,0x38f9(r3) |{{f/load|<nowiki>r3 = Current Ability used Ability X</nowiki>}} |
− | 00185da0: a42238ce sh r2,0x38ce(r1) | + | 00185d90: 90420037 lbu r2,0x0037(r2) |{{f/load|<nowiki>r2 = Attacker's MA</nowiki>}} |
− | 00185da4: 03e00008 jr r31 | + | 00185d94: 3c018019 lui r1,0x8019 | |
− | 00185da8: 00000000 nop | + | 00185d98: a42338d0 sh r3,0x38d0(r1) |{{f/store|Store X as YA}} |
− | + | 00185d9c: 3c018019 lui r1,0x8019 | | |
− | + | 00185da0: a42238ce sh r2,0x38ce(r1) |{{f/store|Store MA as XA}} | |
− | == Return | + | 00185da4: 03e00008 jr r31 | |
− | + | 00185da8: 00000000 nop | | |
− | + | === Return locations === | |
− | + | '''Battle.bin''' | |
− | + | 00188898: [[00188888_-_00188960|Formula 14 (golem) accuracy]] | |
− | + | 001889dc: [[Calculate Accuracy for Magical Spells ]] | |
− | + | 00188a34: [[Calculate Accuracy for Magical]] | |
− | + | 00188a94: [[MA_%2B_X_without_faith]] | |
− | + | 00188ec8: [[0B Hit_F(MA+X)%]] | |
− | + | 00188f48: [[0D Heal_(Y)% Hit_F(MA+X)%]] | |
− | + | 00188fe4: [[0E Dmg_(Y)% Hit_F(MA+X)% 100% Status Hide Status]] | |
− | + | 0018913c: [[12 Set_Quick Hit_F(MA+X)%]] | |
− | + | 00189920: [[29 OppositeSex: Hit_(MA+X)%]] | |
− | + | 00189a44: [[2A Hit_(MA+X)% // AffectBraveOrFaith(Y)]] | |
− | + | 0018a3f0: [[4D AbsHP_(Y)% Hit_(MA+X)%]] | |
− | + | 0018a478: [[4F Dmg_(CasMaxHP-CasCurHP) Hit_(PA+X)%]] | |
− | + | 0018a4c0: [[50 Hit_(MA+X)%]] | |
− | + | 0018a4f8: [[51 Hit_(MA+X)%]] | |
+ | 0018a834: [[58 Generic: Set_Morbol: Hit(MA+X)%]] |
Latest revision as of 20:00, 13 April 2022
No Parameters - Returns Nothing Set Ability XA = Attacker's MA Set Ability YA = Used Ability X ------------------------------------------------------------------------------------------------ 00185d80: 3c028019 lui r2,0x8019 | 00185d84: 8c422d94 lw r2,0x2d94(r2) |r2 = Attacker's data pointer 00185d88: 3c038019 lui r3,0x8019 | 00185d8c: 906338f9 lbu r3,0x38f9(r3) |r3 = Current Ability used Ability X 00185d90: 90420037 lbu r2,0x0037(r2) |r2 = Attacker's MA 00185d94: 3c018019 lui r1,0x8019 | 00185d98: a42338d0 sh r3,0x38d0(r1) |Store X as YA 00185d9c: 3c018019 lui r1,0x8019 | 00185da0: a42238ce sh r2,0x38ce(r1) |Store MA as XA 00185da4: 03e00008 jr r31 | 00185da8: 00000000 nop |
Return locations
Battle.bin 00188898: Formula 14 (golem) accuracy 001889dc: Calculate Accuracy for Magical Spells 00188a34: Calculate Accuracy for Magical 00188a94: MA_+_X_without_faith 00188ec8: 0B Hit_F(MA+X)% 00188f48: 0D Heal_(Y)% Hit_F(MA+X)% 00188fe4: 0E Dmg_(Y)% Hit_F(MA+X)% 100% Status Hide Status 0018913c: 12 Set_Quick Hit_F(MA+X)% 00189920: 29 OppositeSex: Hit_(MA+X)% 00189a44: 2A Hit_(MA+X)% // AffectBraveOrFaith(Y) 0018a3f0: 4D AbsHP_(Y)% Hit_(MA+X)% 0018a478: 4F Dmg_(CasMaxHP-CasCurHP) Hit_(PA+X)% 0018a4c0: 50 Hit_(MA+X)% 0018a4f8: 51 Hit_(MA+X)% 0018a834: 58 Generic: Set_Morbol: Hit(MA+X)%