Difference between revisions of "Store PA and X"
Jump to navigation
Jump to search
(Created page with " Store PA and X 00185dac: 3c028019 lui r2,0x8019 00185db0: 8c422d94 lw r2,0x2d94(r2) Load Attacker's Stats 00185db4: 3c038019 lui r3,0x8019 00185db8: 906338f9 lbu r3,...") |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | No Parameters - Returns Nothing | |
− | 00185dac: 3c028019 lui r2,0x8019 | + | |
− | 00185db0: 8c422d94 lw r2,0x2d94(r2) | + | Set Ability XA = Attacker's PA |
− | 00185db4: 3c038019 lui r3,0x8019 | + | Set Ability YA = used Ability X |
− | 00185db8: 906338f9 lbu r3,0x38f9(r3) | + | ------------------------------------------------------------------------------------------------ |
− | 00185dbc: 90420036 lbu r2,0x0036(r2) | + | 00185dac: 3c028019 lui r2,0x8019 | |
− | 00185dc0: 3c018019 lui r1,0x8019 | + | 00185db0: 8c422d94 lw r2,0x2d94(r2) |{{f/adr|<nowiki>r2 = Attacker data pointer</nowiki>}} |
− | 00185dc4: a42338d0 sh r3,0x38d0(r1) | + | 00185db4: 3c038019 lui r3,0x8019 | |
− | 00185dc8: 3c018019 lui r1,0x8019 | + | 00185db8: 906338f9 lbu r3,0x38f9(r3) |{{f/load|<nowiki>r3 = Current Ability used Ability X</nowiki>}} |
− | 00185dcc: a42238ce sh r2,0x38ce(r1) | + | 00185dbc: 90420036 lbu r2,0x0036(r2) |{{f/load|<nowiki>r2 = Attacker's PA</nowiki>}} |
+ | 00185dc0: 3c018019 lui r1,0x8019 | | ||
+ | 00185dc4: a42338d0 sh r3,0x38d0(r1) |{{f/store|Store Ability X as Ability YA}} | ||
+ | 00185dc8: 3c018019 lui r1,0x8019 | | ||
+ | 00185dcc: a42238ce sh r2,0x38ce(r1) |{{f/store|Store Attacker's PA as Ability XA}} | ||
00185dd0: 03e00008 jr r31 | 00185dd0: 03e00008 jr r31 | ||
00185dd4: 00000000 nop | 00185dd4: 00000000 nop | ||
+ | === Return Locations === | ||
+ | '''Battle.bin''' | ||
+ | 00189e38: [[33 Hit_(PA+X)%]] | ||
+ | 00189f18: [[35 Heal_(Y)% Hit_(PA+X)%]] |
Latest revision as of 11:54, 24 April 2022
No Parameters - Returns Nothing Set Ability XA = Attacker's PA Set Ability YA = used Ability X ------------------------------------------------------------------------------------------------ 00185dac: 3c028019 lui r2,0x8019 | 00185db0: 8c422d94 lw r2,0x2d94(r2) |r2 = Attacker data pointer 00185db4: 3c038019 lui r3,0x8019 | 00185db8: 906338f9 lbu r3,0x38f9(r3) |r3 = Current Ability used Ability X 00185dbc: 90420036 lbu r2,0x0036(r2) |r2 = Attacker's PA 00185dc0: 3c018019 lui r1,0x8019 | 00185dc4: a42338d0 sh r3,0x38d0(r1) |Store Ability X as Ability YA 00185dc8: 3c018019 lui r1,0x8019 | 00185dcc: a42238ce sh r2,0x38ce(r1) |Store Attacker's PA as Ability XA 00185dd0: 03e00008 jr r31 00185dd4: 00000000 nop
Return Locations
Battle.bin 00189e38: 33 Hit_(PA+X)% 00189f18: 35 Heal_(Y)% Hit_(PA+X)%