16 DmgMP (TarCurMP) Hit F(MA+X)%
Jump to navigation
Jump to search
[16] 00189204: 27bdffe8 addiu r29,r29,0xffe8 00189208: afbf0010 sw r31,0x0010(r29) 0018920c: 0c06216e jal 0x 001885b8 Magic Evade 00189210: 00000000 nop 00189214: 1440000d bne r2,r0,0x 0018924c 00189218: 00000000 nop 0018921c: 0c062273 jal 0x 001889cc Calculate (MA + X)*Faith% This is essentially the same routine as 0x188a24 except without elemental boosting. 00189220: 00000000 nop 00189224: 14400009 bne r2,r0,0x 0018924c 00189228: 00000000 nop 0018922c: 3c028019 lui r2,0x8019 00189230: 8c422d98 lw r2,0x2d98(r2) Load Defender's Stats 00189234: 3c038019 lui r3,0x8019 00189238: 8c632d90 lw r3,0x2d90(r3) 0018923c: 9444002c lhu r4,0x002c(r2) Load Defender's Current MP 00189240: 34020020 ori r2,r0,0x0020 00189244: a0620025 sb r2,0x0025(r3) Set damage type as MP Damage 00189248: a4640008 sh r4,0x0008(r3) Load as MP damage 0018924c: 8fbf0010 lw r31,0x0010(r29) 00189250: 27bd 0018 addiu r29,r29,0x 0018 00189254: 03e00008 jr r31 00189258: 00000000 nop