Difference between revisions of "Y brave"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | + | No Parameters - Returns Nothing | |
− | 00186ea4: 3c028019 lui r2,0x8019 | + | Set Ability Y as Target brave loss |
− | 00186ea8: 904238fa lbu r2,0x38fa(r2) | + | Set TCA Attack type to pseudo status |
− | 00186eac: 3c038019 lui r3,0x8019 | + | -------------------------------------------------------------------------------- |
− | 00186eb0: 8c632d90 lw r3,0x2d90(r3) | + | 00186ea4: 3c028019 lui r2,0x8019 | |
− | 00186eb4: 3042007f andi r2,r2,0x007f | + | 00186ea8: 904238fa lbu r2,0x38fa(r2) |{{f/load|<nowiki>r2 = Current Ability used Ability Y</nowiki>}} |
− | 00186eb8: a0620016 sb r2,0x0016(r3) | + | 00186eac: 3c038019 lui r3,0x8019 | |
− | 00186ebc: 3c038019 lui r3,0x8019 | + | 00186eb0: 8c632d90 lw r3,0x2d90(r3) |{{f/adr|<nowiki>r3 = Target Current Action (TCA) data pointer</nowiki>}} |
− | 00186ec0: 8c632d90 lw r3,0x2d90(r3) | + | 00186eb4: 3042007f andi r2,r2,0x007f |{{f/std|<nowiki>r2 = Y without 0x80 bit (Stat bonus flag)</nowiki>}} |
− | 00186ec4: 34020001 ori r2,r0,0x0001 | + | 00186eb8: a0620016 sb r2,0x0016(r3) |{{f/store|Store Y as TCA Brave loss}} |
− | 00186ec8: 03e00008 jr r31 | + | 00186ebc: 3c038019 lui r3,0x8019 | |
− | 00186ecc: a0620025 sb r2,0x0025(r3) | + | 00186ec0: 8c632d90 lw r3,0x2d90(r3) |{{f/adr|<nowiki>r2 = TCA data pointer</nowiki>}} |
− | + | 00186ec4: 34020001 ori r2,r0,0x0001 |{{f/std|<nowiki>r2 = 0x01</nowiki>}} | |
+ | 00186ec8: 03e00008 jr r31 | | ||
+ | 00186ecc: a0620025 sb r2,0x0025(r3) |{{f/store|Set TCA Attack type as pseudo status}} | ||
+ | === Return locations === | ||
+ | '''Battle.bin''' | ||
+ | 0018ab48: [[61_–Brave_(Y)_Hit_F(MA%2BX)%25]] | ||
+ | 0018ab88: [[62_–Brave_(Y)_Hit_(MA%2BX)%25]] |
Latest revision as of 19:38, 27 April 2022
No Parameters - Returns Nothing Set Ability Y as Target brave loss Set TCA Attack type to pseudo status -------------------------------------------------------------------------------- 00186ea4: 3c028019 lui r2,0x8019 | 00186ea8: 904238fa lbu r2,0x38fa(r2) |r2 = Current Ability used Ability Y 00186eac: 3c038019 lui r3,0x8019 | 00186eb0: 8c632d90 lw r3,0x2d90(r3) |r3 = Target Current Action (TCA) data pointer 00186eb4: 3042007f andi r2,r2,0x007f |r2 = Y without 0x80 bit (Stat bonus flag) 00186eb8: a0620016 sb r2,0x0016(r3) |Store Y as TCA Brave loss 00186ebc: 3c038019 lui r3,0x8019 | 00186ec0: 8c632d90 lw r3,0x2d90(r3) |r2 = TCA data pointer 00186ec4: 34020001 ori r2,r0,0x0001 |r2 = 0x01 00186ec8: 03e00008 jr r31 | 00186ecc: a0620025 sb r2,0x0025(r3) |Set TCA Attack type as pseudo status
Return locations
Battle.bin 0018ab48: 61_–Brave_(Y)_Hit_F(MA+X)% 0018ab88: 62_–Brave_(Y)_Hit_(MA+X)%