Difference between revisions of "0006b960 - 0006b990"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 0006b960: 27bdffe8 addiu r29,r29,0xffe8 0006b964: afbf0010 sw r31,0x0010(r29) 0006b968: 8c820080 lw r2,0x0080(r4) 0006b96c: 3c030200 lui r3,0x0...")
 
m
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
  0006b960: 27bdffe8 addiu r29,r29,0xffe8
 
  0006b960: 27bdffe8 addiu r29,r29,0xffe8
 
  0006b964: afbf0010 sw r31,0x0010(r29)
 
  0006b964: afbf0010 sw r31,0x0010(r29)
  0006b968: 8c820080 lw r2,0x0080(r4)
+
  0006b968: 8c820080 lw r2,0x0080(r4) Load Units X coordinate (while moving)
  0006b96c: 3c030200 lui r3,0x0200
+
  0006b96c: 3c030200 lui r3,0x0200 r3 = 0x02000000
  0006b970: 00431024 and r2,r2,r3
+
  0006b970: 00431024 and r2,r2,r3 checks if 0x02000000 bitflag is checked
  0006b974: 14400003 bne r2,r0,0x0006b984
+
  0006b974: 14400003 bne r2,r0,0x0006b984 Branch if it is
 
  0006b978: 00000000 nop
 
  0006b978: 00000000 nop
  0006b97c: 0c011006 jal 0x00044018
+
  0006b97c: 0c011006 jal 0x00044018 [[00044018 - 00044034]] - the only command in this routine is a jal to [[000125a8 - 00012608]] (play sound?)
  0006b980: 00a02021 addu r4,r5,r0
+
  0006b980: 00a02021 addu r4,r5,r0 r4 = sound effect ID to play?
 
  0006b984: 8fbf0010 lw r31,0x0010(r29)
 
  0006b984: 8fbf0010 lw r31,0x0010(r29)
 
  0006b988: 27bd0018 addiu r29,r29,0x0018
 
  0006b988: 27bd0018 addiu r29,r29,0x0018

Latest revision as of 02:49, 10 October 2022

0006b960: 27bdffe8 addiu r29,r29,0xffe8
0006b964: afbf0010 sw r31,0x0010(r29)
0006b968: 8c820080 lw r2,0x0080(r4)		Load Units X coordinate (while moving)
0006b96c: 3c030200 lui r3,0x0200		r3 = 0x02000000
0006b970: 00431024 and r2,r2,r3		checks if 0x02000000 bitflag is checked
0006b974: 14400003 bne r2,r0,0x0006b984	Branch if it is
0006b978: 00000000 nop
0006b97c: 0c011006 jal 0x00044018		00044018 - 00044034 - the only command in this routine is a jal to 000125a8 - 00012608 (play sound?)
0006b980: 00a02021 addu r4,r5,r0		r4 = sound effect ID to play?
0006b984: 8fbf0010 lw r31,0x0010(r29)
0006b988: 27bd0018 addiu r29,r29,0x0018
0006b98c: 03e00008 jr r31
0006b990: 00000000 nop