Difference between revisions of "100% HP/MP Healing (actual)"
Jump to navigation
Jump to search
(Created page with " 100% HP/MP Healing (actual) 001882c8: 3c048019 lui r4,0x8019 001882cc: 8c842d98 lw r4,0x2d98(r4) Load Target's Data Pointer 001882d0: 3c038019 lui r3,0x8019 001882d4: 8c...") |
m |
||
Line 1: | Line 1: | ||
− | + | No Parameters - Returns Nothing | |
− | 001882c8: 3c048019 lui r4,0x8019 | + | |
− | 001882cc: 8c842d98 lw r4,0x2d98(r4) | + | Set Target Current Action (TCA) HP damage = Target Max HP |
− | 001882d0: 3c038019 lui r3,0x8019 | + | Set TCA MP recovery = Target Max MP |
− | 001882d4: 8c632d90 lw r3,0x2d90(r3) | + | Set TCA Attack type as HP damage and MP recovery |
− | 001882d8: 9482002a lhu r2,0x002a(r4) | + | |
− | 001882dc: 00000000 nop | + | Note HP damage will be switch to HP recovery later in undead reversal routine |
− | 001882e0: a4620004 sh r2,0x0004(r3) | + | -------------------------------------------------------------------------------- |
− | 001882e4: 9484002e lhu r4,0x002e(r4) | + | 001882c8: 3c048019 lui r4,0x8019 | |
− | 001882e8: 34020090 ori r2,r0,0x0090 | + | 001882cc: 8c842d98 lw r4,0x2d98(r4) |{{f/adr|<nowiki>r4 = Target data pointer</nowiki>}} |
− | 001882ec: a0620025 sb r2,0x0025(r3) | + | 001882d0: 3c038019 lui r3,0x8019 | |
− | 001882f0: 03e00008 jr r31 | + | 001882d4: 8c632d90 lw r3,0x2d90(r3) |{{f/adr|<nowiki>r3 = Target Current Action (TCA) data pointer</nowiki>}} |
− | 001882f4: a464000a sh r4,0x000a(r3) | + | 001882d8: 9482002a lhu r2,0x002a(r4) |{{f/load|<nowiki>r2 = Target's Max HP</nowiki>}} |
+ | 001882dc: 00000000 nop | | ||
+ | 001882e0: a4620004 sh r2,0x0004(r3) |{{f/store|Store Target Max HP as TCA HP damage}} | ||
+ | 001882e4: 9484002e lhu r4,0x002e(r4) |{{f/load|<nowiki>r4 = Target Max MP</nowiki>}} | ||
+ | 001882e8: 34020090 ori r2,r0,0x0090 |{{f/std|<nowiki>r2 = 0x90</nowiki>}} | ||
+ | 001882ec: a0620025 sb r2,0x0025(r3) |{{f/store|Set TCA Attack Type as HP damage and MP recovery}} | ||
+ | 001882f0: 03e00008 jr r31 | | ||
+ | 001882f4: a464000a sh r4,0x000a(r3) |{{f/store|Store Target Max MP as TCA MP recovery}} | ||
+ | === Return locations === | ||
+ | '''Battle.bin''' | ||
+ | 0018a2d4: [[Elixer_Formula]] | ||
+ | 0018a76c: [[57_%2BLvl(1)_NS_100%25_Add_Status_on_Caster]] |
Latest revision as of 19:09, 25 April 2022
No Parameters - Returns Nothing Set Target Current Action (TCA) HP damage = Target Max HP Set TCA MP recovery = Target Max MP Set TCA Attack type as HP damage and MP recovery Note HP damage will be switch to HP recovery later in undead reversal routine -------------------------------------------------------------------------------- 001882c8: 3c048019 lui r4,0x8019 | 001882cc: 8c842d98 lw r4,0x2d98(r4) |r4 = Target data pointer 001882d0: 3c038019 lui r3,0x8019 | 001882d4: 8c632d90 lw r3,0x2d90(r3) |r3 = Target Current Action (TCA) data pointer 001882d8: 9482002a lhu r2,0x002a(r4) |r2 = Target's Max HP 001882dc: 00000000 nop | 001882e0: a4620004 sh r2,0x0004(r3) |Store Target Max HP as TCA HP damage 001882e4: 9484002e lhu r4,0x002e(r4) |r4 = Target Max MP 001882e8: 34020090 ori r2,r0,0x0090 |r2 = 0x90 001882ec: a0620025 sb r2,0x0025(r3) |Set TCA Attack Type as HP damage and MP recovery 001882f0: 03e00008 jr r31 | 001882f4: a464000a sh r4,0x000a(r3) |Store Target Max MP as TCA MP recovery
Return locations
Battle.bin 0018a2d4: Elixer_Formula 0018a76c: 57_+Lvl(1)_NS_100%_Add_Status_on_Caster