3C Heal (CasMaxHP*2/5) DmgCas (CasMaxHP/5)

From Final Fantasy Hacktics Wiki
Revision as of 21:21, 29 February 2012 by Choto (talk | contribs) (Created page with " [3c] 00186dbc: 3c028019 lui r2,0x8019 00186dc0: 8c422d94 lw r2,0x2d94(r2) Load Attacker's Stats 00186dc4: 3c03cccc lui r3,0xcccc 00186dc8: 9442002a lhu r2,0x002a(r2...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[3c]
00186dbc: 3c028019 lui r2,0x8019			
00186dc0: 8c422d94 lw r2,0x2d94(r2)		Load Attacker's Stats
00186dc4: 3c03cccc lui r3,0xcccc		
00186dc8: 9442002a lhu r2,0x002a(r2)      	Load Attacker's Max HP
00186dcc: 3463cccd ori r3,r3,0xcccd		
00186dd0: 00430019 multu r2,r3			Max HP * 0xcccccccd (or Max HP * .8)
00186dd4: 3c038019 lui r3,0x8019		
00186dd8: 8c632d8c lw r3,0x2d8c(r3)		Load Attacker Current Action Data Pointer
00186ddc: 34020080 ori r2,r0,0x0080		R2 = 0
00186de0: a0620025 sb r2,0x0025(r3)      	Set as HP Healing
00186de4: 00001010 mfhi r2			Move Mult total to r2
00186de8: 00021082 srl r2,r2,0x02		Max HP * 0xcccccccd / 4
00186dec: a4620004 sh r2,0x0004(r3)      	Damage is 1/5 of maxHP
00186df0: 3c038019 lui r3,0x8019		
00186df4: 8c632d8c lw r3,0x2d8c(r3)		Load Attacker Current Action Data Pointer
00186df8: 34020001 ori r2,r0,0x0001		R2 = 1
00186dfc: a0620000 sb r2,0x0000(r3)      	Store Guarantee Hit
00186e00: 3c028019 lui r2,0x8019		
00186e04: 8c422d8c lw r2,0x2d8c(r2)		Load Attacker Current Action Data Pointer
00186e08: 3c048019 lui r4,0x8019		
00186e0c: 8c842d90 lw r4,0x2d90(r4)		Load Target Current Action Data Pointer
00186e10: 84420004 lh r2,0x0004(r2)		Load HP Damage from Attacker
00186e14: 34030040 ori r3,r0,0x0040		R3 = 40
00186e18: a0830025 sb r3,0x0025(r4)      	Store Attack on Target as HP Healing
00186e1c: 00021040 sll r2,r2,0x01      		HP Damage * 2
00186e20: 03e00008 jr r31			
00186e24: a4820006 sh r2,0x0006(r4)      	Store healing is 2/5 of maxHP