Difference between revisions of "00012748 - 000127b0"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 00012748: 27bdffe8 addiu r29,r29,0xffe8 0001274c: 3c028003 lui r2,0x8003 00012750: 94422a54 lhu r2,0x2a54(r2) 00012754: 00801821 addu r3,r4,r0 ...")
 
m
 
Line 4: Line 4:
 
  0001274c: 3c028003 lui r2,0x8003
 
  0001274c: 3c028003 lui r2,0x8003
 
  00012750: 94422a54 lhu r2,0x2a54(r2)
 
  00012750: 94422a54 lhu r2,0x2a54(r2)
  00012754: 00801821 addu r3,r4,r0
+
  00012754: 00801821 addu r3,r4,r0                     sound effect to play
 
  00012758: afb00010 sw r16,0x0010(r29)
 
  00012758: afb00010 sw r16,0x0010(r29)
  0001275c: 00a08021 addu r16,r5,r0
+
  0001275c: 00a08021 addu r16,r5,r0                     second sound effect to play
 
  00012760: 30421000 andi r2,r2,0x1000
 
  00012760: 30421000 andi r2,r2,0x1000
  00012764: 1040000e beq r2,r0,0x000127a0
+
  00012764: 1040000e beq r2,r0,0x000127a0               end if music not playing
 
  00012768: afbf0014 sw r31,0x0014(r29)
 
  00012768: afbf0014 sw r31,0x0014(r29)
 
  0001276c: 34020002 ori r2,r0,0x0002
 
  0001276c: 34020002 ori r2,r0,0x0002
Line 16: Line 16:
 
  0001277c: 00602821 addu r5,r3,r0
 
  0001277c: 00602821 addu r5,r3,r0
 
  00012780: 34066000 ori r6,r0,0x6000
 
  00012780: 34066000 ori r6,r0,0x6000
  00012784: 0c004ec8 jal 0x00013b20
+
  00012784: 0c004ec8 jal 0x00013b20                     [[Play Sound Effect (Worker Routine)]]
 
  00012788: 34074000 ori r7,r0,0x4000
 
  00012788: 34074000 ori r7,r0,0x4000
 
  0001278c: 34042002 ori r4,r0,0x2002
 
  0001278c: 34042002 ori r4,r0,0x2002
 
  00012790: 02002821 addu r5,r16,r0
 
  00012790: 02002821 addu r5,r16,r0
 
  00012794: 34066000 ori r6,r0,0x6000
 
  00012794: 34066000 ori r6,r0,0x6000
  00012798: 0c004ec8 jal 0x00013b20
+
  00012798: 0c004ec8 jal 0x00013b20                     [[Play Sound Effect (Worker Routine)]]
 
  0001279c: 34074000 ori r7,r0,0x4000
 
  0001279c: 34074000 ori r7,r0,0x4000
 
  000127a0: 8fbf0014 lw r31,0x0014(r29)
 
  000127a0: 8fbf0014 lw r31,0x0014(r29)

Latest revision as of 03:23, 5 February 2025

00012748: 27bdffe8 addiu r29,r29,0xffe8
0001274c: 3c028003 lui r2,0x8003
00012750: 94422a54 lhu r2,0x2a54(r2)
00012754: 00801821 addu r3,r4,r0                      sound effect to play
00012758: afb00010 sw r16,0x0010(r29)
0001275c: 00a08021 addu r16,r5,r0                     second sound effect to play
00012760: 30421000 andi r2,r2,0x1000
00012764: 1040000e beq r2,r0,0x000127a0               end if music not playing
00012768: afbf0014 sw r31,0x0014(r29)
0001276c: 34020002 ori r2,r0,0x0002
00012770: 3c018003 lui r1,0x8003
00012774: a42229f0 sh r2,0x29f0(r1)
00012778: 34042000 ori r4,r0,0x2000
0001277c: 00602821 addu r5,r3,r0
00012780: 34066000 ori r6,r0,0x6000
00012784: 0c004ec8 jal 0x00013b20                     Play Sound Effect (Worker Routine)
00012788: 34074000 ori r7,r0,0x4000
0001278c: 34042002 ori r4,r0,0x2002
00012790: 02002821 addu r5,r16,r0
00012794: 34066000 ori r6,r0,0x6000
00012798: 0c004ec8 jal 0x00013b20                     Play Sound Effect (Worker Routine)
0001279c: 34074000 ori r7,r0,0x4000
000127a0: 8fbf0014 lw r31,0x0014(r29)
000127a4: 8fb00010 lw r16,0x0010(r29)
000127a8: 27bd0018 addiu r29,r29,0x0018
000127ac: 03e00008 jr r31
000127b0: 00000000 nop