Difference between revisions of "Event Instruction 0x91: ShowMapTitle"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
 
Line 18: Line 18:
 
  00145e4c: 00063603 sra r6,r6,0x18              #  Y
 
  00145e4c: 00063603 sra r6,r6,0x18              #  Y
 
  00145e50: 00163e00 sll r7,r22,0x18       
 
  00145e50: 00163e00 sll r7,r22,0x18       
  00145e54: 0c05328e jal 0x0014ca38              #  [[Set Thread Parameters]] (threadID, X, Y, Speed);
+
  00145e54: 0c05328e jal 0x0014ca38              #  [[Store Thread Function Parameters]] (threadID, X, Y, Speed);
 
  00145e58: 00073e03 sra r7,r7,0x18              #  Speed       
 
  00145e58: 00073e03 sra r7,r7,0x18              #  Speed       
 
  00145e5c: 0c053274 jal 0x0014c9d0              #  [[Wait For Thread]] (threadID);    // Wait for the async call. A bit counterproductive. Hrm.
 
  00145e5c: 0c053274 jal 0x0014c9d0              #  [[Wait For Thread]] (threadID);    // Wait for the async call. A bit counterproductive. Hrm.

Latest revision as of 22:59, 24 January 2017

#   {91} ShowMapTitle

00145e10: 0c0526fb jal 0x00149bec               #   threadID = Get Next Available Thread ID (16);
00145e14: 34040010 ori r4,r0,0x0010       
00145e18: 0040b821 addu r23,r2,r0               #   threadID
00145e1c: 0c04ef05 jal 0x0013bc14               #   ? 0x13bc14 (13);
00145e20: 3404000d ori r4,r0,0x000d       
00145e24: 0c0727b0 jal 0x001c9ec0               #   ? 0x1c93c0 ();
00145e28: 00000000 nop                   
00145e2c: 3c05801d lui r5,0x801d         
00145e30: 24a59d68 addiu r5,r5,0x9d68           #   funcPtr = 0x801c96d8
00145e34: 0c053228 jal 0x0014c8a0               #   Initialize Thread (threadID, funcPtr);
00145e38: 02e02021 addu r4,r23,r0         
00145e3c: 02e02021 addu r4,r23,r0               #   threadID
00145e40: 00122e00 sll r5,r18,0x18       
00145e44: 00052e03 sra r5,r5,0x18               #   X
00145e48: 00153600 sll r6,r21,0x18       
00145e4c: 00063603 sra r6,r6,0x18               #   Y
00145e50: 00163e00 sll r7,r22,0x18       
00145e54: 0c05328e jal 0x0014ca38               #   Store Thread Function Parameters (threadID, X, Y, Speed);
00145e58: 00073e03 sra r7,r7,0x18               #   Speed      
00145e5c: 0c053274 jal 0x0014c9d0               #   Wait For Thread (threadID);     // Wait for the async call. A bit counterproductive. Hrm.
00145e60: 02e02021 addu r4,r23,r0         
00145e64: 080517c9 j 0x00145f24
00145e68: 00000000 nop