Difference between revisions of "Charge Calculation"
Jump to navigation
Jump to search
(Created page with " Charge Calculation 00185f80: 3c028019 lui r2,0x8019 00185f84: 244238ce addiu r2,r2,0x38ce 00185f88: 3c038019 lui r3,0x8019 00185f8c: 906338e4 lbu r3,0x38e4(r3) Load Char...") |
|||
Line 9: | Line 9: | ||
00185f9c: 03e00008 jr r31 | 00185f9c: 03e00008 jr r31 | ||
00185fa0: a4430000 sh r3,0x0000(r2) Store New XA = XA + Charge's Power | 00185fa0: a4430000 sh r3,0x0000(r2) Store New XA = XA + Charge's Power | ||
+ | |||
+ | |||
+ | == Return Locations == | ||
+ | |||
+ | *Battle.bin | ||
+ | 00188648: [[Weapon Damage Calculation]] | ||
+ | 00188c04: [[03 Dmg_(WP^2)]] | ||
+ | 00188c54: [[04 Magic Gun]] | ||
+ | 00188cbc: [[05 Dmg_(Weapon)]] | ||
+ | 00188d14: [[06 AbsHP_(Weapon)]] | ||
+ | 00188d54: [[07 Heal_(Weapon)]] |
Revision as of 04:33, 6 March 2012
Charge Calculation 00185f80: 3c028019 lui r2,0x8019 00185f84: 244238ce addiu r2,r2,0x38ce 00185f88: 3c038019 lui r3,0x8019 00185f8c: 906338e4 lbu r3,0x38e4(r3) Load Charge's Power 00185f90: 94440000 lhu r4,0x0000(r2) Load XA 00185f94: 00000000 nop 00185f98: 00641821 addu r3,r3,r4 XA + Charge's Power 00185f9c: 03e00008 jr r31 00185fa0: a4430000 sh r3,0x0000(r2) Store New XA = XA + Charge's Power
Return Locations
- Battle.bin
00188648: Weapon Damage Calculation 00188c04: 03 Dmg_(WP^2) 00188c54: 04 Magic Gun 00188cbc: 05 Dmg_(Weapon) 00188d14: 06 AbsHP_(Weapon) 00188d54: 07 Heal_(Weapon)