Difference between revisions of "Camera Zoom Wrapper (0x43ff8)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
  #  ROUTINE: CAMERA ZOOM WRAPPER
+
  #  ROUTINE: PLAY SOUND EFFECT
  #  Calls camera zoom function.
+
  #  Plays a sound effect.
 
  #      Parameters:
 
  #      Parameters:
 
  #          r4 = SoundEffectID (17 = Zoom Out, 14 = Zoom In)
 
  #          r4 = SoundEffectID (17 = Zoom Out, 14 = Zoom In)
Line 6: Line 6:
 
  80043ff8: 27bdffe8 addiu r29,r29,-0x0018
 
  80043ff8: 27bdffe8 addiu r29,r29,-0x0018
 
  80043ffc: afbf0010 sw r31,0x0010(r29)
 
  80043ffc: afbf0010 sw r31,0x0010(r29)
  80044000: 0c004946 jal 0x80012518              #  [[Camera Zoom Wrapper (0x12518)]] (SoundEffectID);
+
  80044000: 0c004946 jal 0x80012518              #  [[Play Sound Effect (0x12518)]] (SoundEffectID);
 
  80044004: 00000000 nop
 
  80044004: 00000000 nop
 
  80044008: 8fbf0010 lw r31,0x0010(r29)
 
  80044008: 8fbf0010 lw r31,0x0010(r29)

Latest revision as of 03:54, 18 March 2018

#   ROUTINE: PLAY SOUND EFFECT
#   Plays a sound effect.
#       Parameters:
#           r4 = SoundEffectID (17 = Zoom Out, 14 = Zoom In)

80043ff8: 27bdffe8 addiu r29,r29,-0x0018
80043ffc: afbf0010 sw r31,0x0010(r29)
80044000: 0c004946 jal 0x80012518               #   Play Sound Effect (0x12518) (SoundEffectID);
80044004: 00000000 nop
80044008: 8fbf0010 lw r31,0x0010(r29)
8004400c: 27bd0018 addiu r29,r29,0x0018
80044010: 03e00008 jr r31
80044014: 00000000 nop