Difference between revisions of "Open Town Shops Background Image"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 0012d778: 27bdffe8 addiu r29,r29,0xffe8 0012d77c: 3c028019 lui r2,0x8019 0012d780: 2442e4a0 addiu r2,r2,0xe4a0 0012d784: 000420c0 sll r4,r4,0x0...")
 
m
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
  0012d778: 27bdffe8 addiu r29,r29,0xffe8
 
  0012d778: 27bdffe8 addiu r29,r29,0xffe8
 
  0012d77c: 3c028019 lui r2,0x8019
 
  0012d77c: 3c028019 lui r2,0x8019
  0012d780: 2442e4a0 addiu r2,r2,0xe4a0
+
  0012d780: 2442e4a0 addiu r2,r2,0xe4a0             background image list for shops n such
  0012d784: 000420c0 sll r4,r4,0x03
+
  0012d784: 000420c0 sll r4,r4,0x03                 p1 = image ID to open
 
  0012d788: 00821821 addu r3,r4,r2
 
  0012d788: 00821821 addu r3,r4,r2
 
  0012d78c: 00441021 addu r2,r2,r4
 
  0012d78c: 00441021 addu r2,r2,r4
 
  0012d790: afbf0010 sw r31,0x0010(r29)
 
  0012d790: afbf0010 sw r31,0x0010(r29)
  0012d794: 8c640000 lw r4,0x0000(r3)
+
  0012d794: 8c640000 lw r4,0x0000(r3)               background shop/fur shop/unit office LBA
  0012d798: 8c450004 lw r5,0x0004(r2)
+
  0012d798: 8c450004 lw r5,0x0004(r2)               filesize
  0012d79c: 0c011264 jal 0x00044990
+
  0012d79c: 0c011264 jal 0x00044990                 [[Get BIN as TIM]]
 
  0012d7a0: 00000000 nop
 
  0012d7a0: 00000000 nop
 
  0012d7a4: 8fbf0010 lw r31,0x0010(r29)
 
  0012d7a4: 8fbf0010 lw r31,0x0010(r29)

Latest revision as of 07:01, 28 June 2024

0012d778: 27bdffe8 addiu r29,r29,0xffe8
0012d77c: 3c028019 lui r2,0x8019
0012d780: 2442e4a0 addiu r2,r2,0xe4a0             background image list for shops n such
0012d784: 000420c0 sll r4,r4,0x03                 p1 = image ID to open
0012d788: 00821821 addu r3,r4,r2
0012d78c: 00441021 addu r2,r2,r4
0012d790: afbf0010 sw r31,0x0010(r29)
0012d794: 8c640000 lw r4,0x0000(r3)               background shop/fur shop/unit office LBA
0012d798: 8c450004 lw r5,0x0004(r2)               filesize
0012d79c: 0c011264 jal 0x00044990                 Get BIN as TIM
0012d7a0: 00000000 nop
0012d7a4: 8fbf0010 lw r31,0x0010(r29)
0012d7a8: 27bd0018 addiu r29,r29,0x0018
0012d7ac: 03e00008 jr r31
0012d7b0: 00000000 nop