Player Camera Zoom

From Final Fantasy Hacktics Wiki
(Redirected from 0006f5bc - 0006f630)
Jump to navigation Jump to search
#   ROUTINE: PLAYER CAMERA ZOOM (L1 BUTTON)
#   No parameters.

8006f5bc: 27bdffe8 addiu r29,r29,-0x0018
8006f5c0: 3c038009 lui r3,0x8009
8006f5c4: 8c6360d0 lw r3,0x60d0(r3)             #   *0x800960d0
8006f5c8: 34050001 ori r5,r0,0x0001             #   1
8006f5cc: 14650008 bne r3,r5,0x8006f5f0         #   if (*0x800960d0 == 1) {
8006f5d0: afbf0010 sw r31,0x0010(r29)
8006f5d4: 34020004 ori r2,r0,0x0004             #       4
8006f5d8: 3c018009 lui r1,0x8009
8006f5dc: ac2260cc sw r2,0x60cc(r1)             #       *0x800960cc = 4
8006f5e0: 3c018009 lui r1,0x8009
8006f5e4: ac2260d0 sw r2,0x60d0(r1)             #       *0x800960d0 = 4
8006f5e8: 0801bd84 j 0x8006f610
8006f5ec: 34040011 ori r4,r0,0x0011             #       SoundEffectID = 17 (Zoom Out)
                                                #    } else {
8006f5f0: 34020004 ori r2,r0,0x0004             #       4
8006f5f4: 14620009 bne r3,r2,0x8006f61c
8006f5f8: 3404000e ori r4,r0,0x000e             #       SoundEffectID = 14 (Zoom In)
                                                #       if (*0x800960d0 == 4) {
8006f5fc: 34020002 ori r2,r0,0x0002             #           2
8006f600: 3c018009 lui r1,0x8009
8006f604: ac2560d0 sw r5,0x60d0(r1)             #           *0x800960d0 = 1
8006f608: 3c018009 lui r1,0x8009
8006f60c: ac2260cc sw r2,0x60cc(r1)             #           *0x800960cc = 2
                                                #       }
                                                #   }
                                                #   if ((*0x800960d0 == 1) or (*0x800960d0 == 4)) {
8006f610: 0c010ffe jal 0x80043ff8               #       Play Sound Effect (SoundEffectID);
8006f614: 00000000 nop                          #   }
8006f618: 34020004 ori r2,r0,0x0004             #   4
8006f61c: 3c01800c lui r1,0x800c
8006f620: ac227c64 sw r2,0x7c64(r1)             #   *0x800c7c64 = 4
8006f624: 8fbf0010 lw r31,0x0010(r29)
8006f628: 27bd0018 addiu r29,r29,0x0018
8006f62c: 03e00008 jr r31
8006f630: 00000000 nop