Difference between revisions of "3B +Brave (X) +PA/MA/SP (Y)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " [3b] 00186d58: 3c028019 lui r2,0x8019 00186d5c: 904238f9 lbu r2,0x38f9(r2) 00186d60: 3c038019 lui r3,0x8019 00186d64: 8c632d90 lw r3,0x2d90(r3) 00186d68: 3442008...")
 
m
Line 1: Line 1:
 
  [3b]
 
  [3b]
  00186d58: 3c028019 lui r2,0x8019
+
  00186d58: 3c028019 lui r2,0x8019           |
  00186d5c: 904238f9 lbu r2,0x38f9(r2)
+
  00186d5c: 904238f9 lbu r2,0x38f9(r2)       |{{f/load|<nowiki>r2 = Current Ability used Ability X</nowiki>}}
  00186d60: 3c038019 lui r3,0x8019
+
  00186d60: 3c038019 lui r3,0x8019           |
  00186d64: 8c632d90 lw r3,0x2d90(r3)
+
  00186d64: 8c632d90 lw r3,0x2d90(r3)         |{{f/adr|<nowiki>r3 = Target Current Action (TCA) data pointer</nowiki>}}
  00186d68: 34420080 ori r2,r2,0x0080
+
  00186d68: 34420080 ori r2,r2,0x0080         |{{f/std|<nowiki>r2 = Ability X with bonus flag (0x80) enabled</nowiki>}}
  00186d6c: a0620016 sb r2,0x0016(r3)     Store X as 0x80 + Br decrement (boost)
+
  00186d6c: a0620016 sb r2,0x0016(r3)         |{{f/store|Store Ability X as TCA brave bonus}}
  00186d70: 3c038019 lui r3,0x8019
+
  00186d70: 3c038019 lui r3,0x8019           |
  00186d74: 906338fa lbu r3,0x38fa(r3)
+
  00186d74: 906338fa lbu r3,0x38fa(r3)       |{{f/load|<nowiki>r3 = Current Ability used Ability Y</nowiki>}}
  00186d78: 3c028019 lui r2,0x8019
+
  00186d78: 3c028019 lui r2,0x8019           |
  00186d7c: 8c422d90 lw r2,0x2d90(r2)
+
  00186d7c: 8c422d90 lw r2,0x2d90(r2)         |{{f/adr|<nowiki>r2 = TCA data pointer</nowiki>}}
  00186d80: 34630080 ori r3,r3,0x0080
+
  00186d80: 34630080 ori r3,r3,0x0080         |{{f/std|<nowiki>r3 = Ability Y with bonus flag (0x80) enabled</nowiki>}} {{f/std|Set TCA Attack type to pseudo status}}
  00186d84: a0430014 sb r3,0x0014(r2)     Store Y as 0x80 + PA decrement (boost)
+
  00186d84: a0430014 sb r3,0x0014(r2)         |{{f/store|Store Ability Y as TCA PA bonus}}
  00186d88: 3c028019 lui r2,0x8019
+
  00186d88: 3c028019 lui r2,0x8019           |
  00186d8c: 8c422d90 lw r2,0x2d90(r2)
+
  00186d8c: 8c422d90 lw r2,0x2d90(r2)         |{{f/adr|<nowiki>r2 = TCA data pointer</nowiki>}}
  00186d90: 00000000 nop
+
  00186d90: 00000000 nop                     |
  00186d94: a0430015 sb r3,0x0015(r2)     Store Y as 0x80 + MA decrement (boost)
+
  00186d94: a0430015 sb r3,0x0015(r2)         |{{f/store|Store Ability Y as TCA MA bonus}}
  00186d98: 3c028019 lui r2,0x8019
+
  00186d98: 3c028019 lui r2,0x8019           |
  00186d9c: 8c422d90 lw r2,0x2d90(r2)
+
  00186d9c: 8c422d90 lw r2,0x2d90(r2)         |{{f/adr|<nowiki>r2 = TCA data pointer</nowiki>}}
  00186da0: 00000000 nop
+
  00186da0: 00000000 nop                     |
  00186da4: a0430012 sb r3,0x0012(r2)     Store Y as 0x80 + SP decrement (boost)
+
  00186da4: a0430012 sb r3,0x0012(r2)         |{{f/store|Store Ability Y as TCA speed bonus}}
  00186da8: 3c038019 lui r3,0x8019
+
  00186da8: 3c038019 lui r3,0x8019           |
  00186dac: 8c632d90 lw r3,0x2d90(r3)
+
  00186dac: 8c632d90 lw r3,0x2d90(r3)         |{{f/adr|<nowiki>r3 = TCA data pointer</nowiki>}}
  00186db0: 34020001 ori r2,r0,0x0001
+
  00186db0: 34020001 ori r2,r0,0x0001         |{{f/std|<nowiki>r2 = 0x01</nowiki>}}
  00186db4: 03e00008 jr r31
+
  00186db4: 03e00008 jr r31                   |
  00186db8: a0620025 sb r2,0x0025(r3)     Store attack type as Psuedo-Status
+
  00186db8: a0620025 sb r2,0x0025(r3)         |{{f/store|Set TCA Attack type to pseudo status}}
 +
=== Return location ===
 +
'''Battle.bin'''
 +
0018b97c - [[Pre Formula Setup (FDC)|Pre Formula Setup]]

Revision as of 19:12, 24 April 2022

[3b]
00186d58: 3c028019 lui r2,0x8019            |
00186d5c: 904238f9 lbu r2,0x38f9(r2)        |r2 = Current Ability used Ability X
00186d60: 3c038019 lui r3,0x8019            |
00186d64: 8c632d90 lw r3,0x2d90(r3)         |r3 = Target Current Action (TCA) data pointer
00186d68: 34420080 ori r2,r2,0x0080         |r2 = Ability X with bonus flag (0x80) enabled
00186d6c: a0620016 sb r2,0x0016(r3)         |Store Ability X as TCA brave bonus
00186d70: 3c038019 lui r3,0x8019            |
00186d74: 906338fa lbu r3,0x38fa(r3)        |r3 = Current Ability used Ability Y
00186d78: 3c028019 lui r2,0x8019            |
00186d7c: 8c422d90 lw r2,0x2d90(r2)         |r2 = TCA data pointer
00186d80: 34630080 ori r3,r3,0x0080         |r3 = Ability Y with bonus flag (0x80) enabled Set TCA Attack type to pseudo status
00186d84: a0430014 sb r3,0x0014(r2)         |Store Ability Y as TCA PA bonus
00186d88: 3c028019 lui r2,0x8019            |
00186d8c: 8c422d90 lw r2,0x2d90(r2)         |r2 = TCA data pointer
00186d90: 00000000 nop                      |
00186d94: a0430015 sb r3,0x0015(r2)         |Store Ability Y as TCA MA bonus
00186d98: 3c028019 lui r2,0x8019            |
00186d9c: 8c422d90 lw r2,0x2d90(r2)         |r2 = TCA data pointer
00186da0: 00000000 nop                      |
00186da4: a0430012 sb r3,0x0012(r2)         |Store Ability Y as TCA speed bonus
00186da8: 3c038019 lui r3,0x8019            |
00186dac: 8c632d90 lw r3,0x2d90(r3)         |r3 = TCA data pointer
00186db0: 34020001 ori r2,r0,0x0001         |r2 = 0x01
00186db4: 03e00008 jr r31                   |
00186db8: a0620025 sb r2,0x0025(r3)         |Set TCA Attack type to pseudo status

Return location

Battle.bin
0018b97c - Pre Formula Setup