Difference between revisions of "AI Item Inventory"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " *Item Inventory* 001959d4: 2622fe90 addiu r2,r17,0xfe90 Item ID = Ability ID - 0x170 (potion) 001959d8: 00021840 sll r3,r2,0x01 Item ID * 2 001959dc: 00621821 addu r3,r3...")
 
(Blanked the page)
Tag: Blanking
 
Line 1: Line 1:
*Item Inventory*
+
 
001959d4: 2622fe90 addiu r2,r17,0xfe90 Item ID = Ability ID - 0x170 (potion)
 
001959d8: 00021840 sll r3,r2,0x01 Item ID * 2
 
001959dc: 00621821 addu r3,r3,r2 ID * 3
 
001959e0: 92420091 lbu r2,0x0091(r18) Load Unit's Support 3
 
001959e4: 3c018006 lui r1,0x8006
 
001959e8: 00230821 addu r1,r1,r3
 
001959ec: 90363f9a lbu r22,0x3f9a(r1) Load Item's Inflict Status ID
 
001959f0: 30420008 andi r2,r2,0x0008
 
001959f4: 10400004 beq r2,r0,0x 00195a08 Branch if Unit doesn't have Throw Item
 
001959f8: 34020001 ori r2,r0,0x0001 r2 = 1
 
001959fc: 9242003a lbu r2,0x003a(r18) Load Unit's Move
 
00195a00: 08065683 j 0x 00195a0c
 
00195a04: a2020004 sb r2,0x0004(r16) Store Range = Move
 
00195a08: a2020004 sb r2,0x0004(r16) Store Range = 1
 
00195a0c: a2000005 sb r0,0x0005(r16) Store AoE = 0
 
00195a10: 3c018006 lui r1,0x8006
 
00195a14: 00310821 addu r1,r1,r17
 
00195a18: 90220ea0 lbu r2,0x0ea0(r1) Load Item Used ID
 
00195a1c: 08065700 j 0x 00195c00
 
00195a20: a2020006 sb r2,0x0006(r16) Store Item Considered = Item Used ID
 

Latest revision as of 18:13, 4 May 2024