Difference between revisions of "Quick Effect"
Jump to navigation
Jump to search
(Created page with " Quick Effect: 0018783c: 3c038019 lui r3,0x8019 00187840: 8c632d90 lw r3,0x2d90(r3) Current Action Data Pointer 00187844: 340200ff ori r2,r0,0x00ff R2 = FF 00187848: a...") |
m |
||
Line 1: | Line 1: | ||
Quick Effect: | Quick Effect: | ||
− | 0018783c: 3c038019 lui r3,0x8019 | + | |
− | 00187840: 8c632d90 lw r3,0x2d90(r3) | + | No Parameters - Returns Nothing |
− | 00187844: 340200ff ori r2,r0,0x00ff | + | |
− | 00187848: a0620013 sb r2,0x0013(r3) | + | Set Target Current Action (TCA) CT change = 0x00ff (+127) |
− | 0018784c: 3c038019 lui r3,0x8019 | + | Set TCA attack Type = pseudo status (0x08) |
− | 00187850: 8c632d90 lw r3,0x2d90(r3) | + | ---------------------------------------------------------------------------------------------- |
− | 00187854: 34020001 ori r2,r0,0x0001 | + | 0018783c: 3c038019 lui r3,0x8019 | |
− | 00187858: 03e00008 jr r31 | + | 00187840: 8c632d90 lw r3,0x2d90(r3) |{{f/adr|<nowiki>r2 = Target Current Action (TCA) data pointer</nowiki>}} |
− | 0018785c: a0620025 sb r2,0x0025(r3) | + | 00187844: 340200ff ori r2,r0,0x00ff |{{f/std|<nowiki>r2 = 0x0ff</nowiki>}} |
+ | 00187848: a0620013 sb r2,0x0013(r3) |{{f/store|Store 0x0ff as CT change }} {{f/std|<nowiki>(0x80 = Bonus so it's CT + 127)</nowiki>}} | ||
+ | 0018784c: 3c038019 lui r3,0x8019 | | ||
+ | 00187850: 8c632d90 lw r3,0x2d90(r3) |{{f/adr|<nowiki>r3 = Target Current Action (TCA) data pointer</nowiki>}} | ||
+ | 00187854: 34020001 ori r2,r0,0x0001 |{{f/std|<nowiki>r2 = 0x01</nowiki>}} | ||
+ | 00187858: 03e00008 jr r31 | | ||
+ | 0018785c: a0620025 sb r2,0x0025(r3) |{{f/store|Set TCA Attack type to Pseudo-Status (disables other flags)}} | ||
+ | === Return locations === | ||
+ | '''Battle.bin''' | ||
+ | 00189154: [[12_Set_Quick_Hit_F(MA%2BX)%25|Formula 12 : Set Quick Hit F(MA+X)%]] | ||
+ | 0018aa88: [[5D_Dragon:_Set_Quick|Formula 5d : Dragon: Set Quick]] |
Latest revision as of 20:09, 16 April 2022
Quick Effect: No Parameters - Returns Nothing Set Target Current Action (TCA) CT change = 0x00ff (+127) Set TCA attack Type = pseudo status (0x08) ---------------------------------------------------------------------------------------------- 0018783c: 3c038019 lui r3,0x8019 | 00187840: 8c632d90 lw r3,0x2d90(r3) |r2 = Target Current Action (TCA) data pointer 00187844: 340200ff ori r2,r0,0x00ff |r2 = 0x0ff 00187848: a0620013 sb r2,0x0013(r3) |Store 0x0ff as CT change (0x80 = Bonus so it's CT + 127) 0018784c: 3c038019 lui r3,0x8019 | 00187850: 8c632d90 lw r3,0x2d90(r3) |r3 = Target Current Action (TCA) data pointer 00187854: 34020001 ori r2,r0,0x0001 |r2 = 0x01 00187858: 03e00008 jr r31 | 0018785c: a0620025 sb r2,0x0025(r3) |Set TCA Attack type to Pseudo-Status (disables other flags)
Return locations
Battle.bin 00189154: Formula 12 : Set Quick Hit F(MA+X)% 0018aa88: Formula 5d : Dragon: Set Quick