001363dc - 00136b0c

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

001363dc: 27bdfdb8 addiu r29,r29,0xfdb8
001363e0: afb60238 sw r22,0x0238(r29)
001363e4: 34160016 ori r22,r0,0x0016
001363e8: afb40230 sw r20,0x0230(r29)
001363ec: 34140084 ori r20,r0,0x0084
001363f0: afb20228 sw r18,0x0228(r29)
001363f4: 3c128017 lui r18,0x8017
001363f8: 2652996c addiu r18,r18,0x996c
001363fc: afbf0244 sw r31,0x0244(r29)
00136400: afbe0240 sw r30,0x0240(r29)
00136404: afb7023c sw r23,0x023c(r29)
00136408: afb50234 sw r21,0x0234(r29)
0013640c: afb3022c sw r19,0x022c(r29)
00136410: afb10224 sw r17,0x0224(r29)
00136414: 0c04cdd5 jal 0x00133754                  Store units small in battle display data
00136418: afb00220 sw r16,0x0220(r29)
0013641c: 0c04b7d0 jal 0x0012df40                  0012df40 - 0012df64  Get unit data pointer (Br and Fa are ?? on vignette if noped)
00136420: 0000a821 addu r21,r0,r0
00136424: 27a400c4 addiu r4,r29,0x00c4
00136428: 00002821 addu r5,r0,r0
0013642c: 3c118017 lui r17,0x8017
00136430: 26318874 addiu r17,r17,0x8874
00136434: 00409821 addu r19,r2,r0                  Unit data pointer
00136438: 27a30038 addiu r3,r29,0x0038
0013643c: 92620006 lbu r2,0x0006(r19)              Gender byte
00136440: 00000000 nop
00136444: 30420004 andi r2,r2,0x0004               ??? stats flag
00136448: 3c018016 lui r1,0x8016
0013644c: ac226044 sw r2,0x6044(r1)                Store contents of ??? flag into 0x80166044
00136450: 0c0529b9 jal 0x0014a6e4                  0014a6e4 - 0014a7a4 // if noped when O is pressed on the map, last unit vignette appears instead of acting unit
00136454: 00608021 addu r16,r3,r0
00136458: 27a400d0 addiu r4,r29,0x00d0
0013645c: 0c0529b9 jal 0x0014a6e4                  0014a6e4 - 0014a7a4 // changing r5 mess everything but (team light, and brave/faith text)
00136460: 34050001 ori r5,r0,0x0001
00136464: 02002021 addu r4,r16,r0
00136468: 34050007 ori r5,r0,0x0007
0013646c: 0c04b8ae jal 0x0012e2b8                  0012e2b8 - 0012e31c ??
00136470: 34067c3c ori r6,r0,0x7c3c
00136474: 0c04b866 jal 0x0012e198                  0012e190 - 0012e240 ??
00136478: 27a40100 addiu r4,r29,0x0100
0013647c: 27a40018 addiu r4,r29,0x0018
00136480: 34050058 ori r5,r0,0x0058
00136484: 34060020 ori r6,r0,0x0020
00136488: 02003821 addu r7,r16,r0
0013648c: 0c04d0f8 jal 0x001343e0                  001343e0 - 0013442c // No name nor job/monster if noped (battle vignette)
00136490: afa00010 sw r0,0x0010(r29)
00136494: 27a40020 addiu r4,r29,0x0020
00136498: 34050010 ori r5,r0,0x0010
0013649c: 3406000a ori r6,r0,0x000a
001364a0: 27a7004c addiu r7,r29,0x004c
001364a4: 0c04d0f8 jal 0x001343e0                  001343e0 - 0013442c // No brave number if noped (transparency or position ?)
001364a8: afa00010 sw r0,0x0010(r29)
001364ac: 27a40028 addiu r4,r29,0x0028
001364b0: 34050010 ori r5,r0,0x0010
001364b4: 3406000a ori r6,r0,0x000a
001364b8: 27a70060 addiu r7,r29,0x0060
001364bc: 0c04d0f8 jal 0x001343e0                  001343e0 - 0013442c // No faith number if noped (transparency or position ?)
001364c0: afa00010 sw r0,0x0010(r29)
001364c4: 27a40030 addiu r4,r29,0x0030
001364c8: 34050010 ori r5,r0,0x0010
001364cc: 3406000a ori r6,r0,0x000a
001364d0: 27a70074 addiu r7,r29,0x0074
001364d4: 0c04d0f8 jal 0x001343e0                  001343e0 - 0013442c  // Issue with name position if noped
001364d8: afa00010 sw r0,0x0010(r29)
001364dc: 02002021 addu r4,r16,r0
001364e0: 3c058016 lui r5,0x8016
001364e4: 24a55ea4 addiu r5,r5,0x5ea4
001364e8: 3c068017 lui r6,0x8017
001364ec: 24c6886c addiu r6,r6,0x886c
001364f0: 0c052a0d jal 0x0014a834                  Image loading setup? (0x14a834) // No text on vignette (probably no transparency)
001364f4: 02203821 addu r7,r17,r0
001364f8: 2631000c addiu r17,r17,0x000c
001364fc: 26b50001 addiu r21,r21,0x0001
00136500: 2aa20007 slti r2,r21,0x0007
00136504: 1440fff5 bne r2,r0,0x001364dc
00136508: 26100014 addiu r16,r16,0x0014
0013650c: 3c058016 lui r5,0x8016
00136510: 24a55ea4 addiu r5,r5,0x5ea4
00136514: 3c068017 lui r6,0x8017
00136518: 24c6886c addiu r6,r6,0x886c
0013651c: 3c078017 lui r7,0x8017
00136520: 24e788c8 addiu r7,r7,0x88c8
00136524: 0c052a0d jal 0x0014a834                 Image loading setup? (0x14a834) // Set transparency in vignette for team light
00136528: 27a40100 addiu r4,r29,0x0100
0013652c: 926201ba lbu r2,0x01ba(r19)             Unit ENTD modified flags
00136530: 00000000 nop
00136534: 30420030 andi r2,r2,0x0030              Unit Team
00136538: 14400002 bne r2,r0,0x00136544
0013653c: 34027ffd ori r2,r0,0x7ffd               Team light related
00136540: 34027fbd ori r2,r0,0x7fbd               Team light related
00136544: a7a2010e sh r2,0x010e(r29)
00136548: 00002021 addu r4,r0,r0                  texture compression = 4 bit
0013654c: 34050001 ori r5,r0,0x0001               semi transparency mode = 1b + 1f
00136550: 340603c0 ori r6,r0,0x03c0               tpage x location = 0x3c0 (vram slot F)
00136554: 0c008e63 jal 0x0002398c                 P00 GetTpage 
00136558: 34070100 ori r7,r0,0x0100               tpage Y location = 0x100 (second row - points to frame.bin)
0013655c: 27a40100 addiu r4,r29,0x0100
00136560: 34050001 ori r5,r0,0x0001
00136564: 0c008f1a jal 0x00023c68                 00023c68 - 00023c8c // 
00136568: a7a20116 sh r2,0x0116(r29)
0013656c: 0c04bc0b jal 0x0012f02c                 0012f02c - 0012f048 // Freeze if noped
00136570: 34040580 ori r4,r0,0x0580
00136574: 0040b821 addu r23,r2,r0
00136578: 02e02021 addu r4,r23,r0
0013657c: 0c052fb6 jal 0x0014bed8                 0014bed8 - 0014bf50 // Dirty background if noped
00136580: 34050580 ori r5,r0,0x0580
00136584: 00002021 addu r4,r0,r0
00136588: 00002821 addu r5,r0,r0
0013658c: 3c108016 lui r16,0x8016
00136590: 26105fa8 addiu r16,r16,0x5fa8
00136594: 34020058 ori r2,r0,0x0058
00136598: 0c0529b3 jal 0x0014a6cc                 ? 0x14a6cc  // Unit's name position issues if noped
0013659c: ae020000 sw r2,0x0000(r16)
001365a0: 02e02021 addu r4,r23,r0
001365a4: 2611fff8 addiu r17,r16,0xfff8
001365a8: 3c068015 lui r6,0x8015
001365ac: 24c6d148 addiu r6,r6,0xd148             Unit name
001365b0: 0c052cd4 jal 0x0014b350                 Display Specific Menu Text // No Unit's name if noped (in battle vignette)
001365b4: 02202821 addu r5,r17,r0
001365b8: 00002021 addu r4,r0,r0
001365bc: 0c0529b3 jal 0x0014a6cc                 ? 0x14a6cc // Job's name position issue if noped (on unit name)
001365c0: 34050010 ori r5,r0,0x0010
001365c4: 02e02021 addu r4,r23,r0
001365c8: 3c068015 lui r6,0x8015
001365cc: 24c6d15c addiu r6,r6,0xd15c
001365d0: 0c052cd4 jal 0x0014b350                 Display Specific Menu Text // No Job/Monster name if noped (in battle vignette)
001365d4: 02202821 addu r5,r17,r0
001365d8: 27a40018 addiu r4,r29,0x0018
001365dc: 0c00923f jal 0x000248fc                 // if noped unit name is not updated (keep the last) job name is a mess
001365e0: 02e02821 addu r5,r23,r0
001365e4: 02402021 addu r4,r18,r0
001365e8: 0c052fb6 jal 0x0014bed8                 0014bed8 - 0014bf50 // dirty background for Br and Fa numbers if noped
001365ec: 340500f0 ori r5,r0,0x00f0
001365f0: 00002021 addu r4,r0,r0
001365f4: 00002821 addu r5,r0,r0
001365f8: 34020010 ori r2,r0,0x0010
001365fc: 0c0529b3 jal 0x0014a6cc                 ? 0x14a6cc // Br number position issues
00136600: ae020000 sw r2,0x0000(r16)
00136604: 34050202 ori r5,r0,0x0202
00136608: 02403021 addu r6,r18,r0
0013660c: 3c048015 lui r4,0x8015
00136610: 8484d084 lh r4,-0x2f7c(r4)              Brave (display data)   
00136614: 0c052bb0 jal 0x0014aec0                 0014aec0 - 0014b260 // noping this routine results in no Brave number on unit vignette
00136618: 02203821 addu r7,r17,r0
0013661c: 27a40020 addiu r4,r29,0x0020
00136620: 0c00923f jal 0x000248fc                 ? 0x248fc // if noped Br number won't update (first unit brave stays in other vignette)
00136624: 02402821 addu r5,r18,r0
00136628: 00002021 addu r4,r0,r0
0013662c: 0c0529b3 jal 0x0014a6cc                 ? 0x14a6cc // Fa number position issues
00136630: 00002821 addu r5,r0,r0
00136634: 34050202 ori r5,r0,0x0202
00136638: 26500050 addiu r16,r18,0x0050
0013663c: 02003021 addu r6,r16,r0
00136640: 3c048015 lui r4,0x8015
00136644: 8484d086 lh r4,-0x2f7a(r4)              Faith (display data)
00136648: 0c052bb0 jal 0x0014aec0                 0014aec0 - 0014b260 noping this routine results in no Faith number on unit vignette
0013664c: 02203821 addu r7,r17,r0
00136650: 27a40028 addiu r4,r29,0x0028
00136654: 0c00923f jal 0x000248fc                 ? 0x248fc Faith numbers won't update if noped
00136658: 02002821 addu r5,r16,r0
0013665c: 00002021 addu r4,r0,r0
00136660: 0c0529b3 jal 0x0014a6cc                 ? 0x14a6cc // Player Team number position issue if noped
00136664: 00002821 addu r5,r0,r0
00136668: 3c028004 lui r2,0x8004
0013666c: 8c4259cc lw r2,0x59cc(r2)
00136670: 00000000 nop
00136674: 10400005 beq r2,r0,0x0013668c
00136678: 34054002 ori r5,r0,0x4002
0013667c: 3c048015 lui r4,0x8015
00136680: 8484d08a lh r4,-0x2f76(r4)              Attacker unit id?
00136684: 0804d9af j 0x001366bc
00136688: 00000000 nop
0013668c: 3c028015 lui r2,0x8015
00136690: 8442d08a lh r2,-0x2f76(r2)
00136694: 00000000 nop
00136698: 28420010 slti r2,r2,0x0010
0013669c: 1440000b bne r2,r0,0x001366cc
001366a0: 27a40030 addiu r4,r29,0x0030
001366a4: 92730002 lbu r19,0x0002(r19)
001366a8: 340200ff ori r2,r0,0x00ff
001366ac: 16620002 bne r19,r2,0x001366b8
001366b0: 34054002 ori r5,r0,0x4002
001366b4: 00009821 addu r19,r0,r0
001366b8: 26640001 addiu r4,r19,0x0001
001366bc: 264600a0 addiu r6,r18,0x00a0
001366c0: 0c052bb0 jal 0x0014aec0                 0014aec0 - 0014b260 // No team number if noped
001366c4: 02203821 addu r7,r17,r0
001366c8: 27a40030 addiu r4,r29,0x0030
001366cc: 0c00923f jal 0x000248fc                 ? 0x248fc // Dirty Team Nb background (previous unit Exp) 
001366d0: 264500a0 addiu r5,r18,0x00a0
001366d4: 3c029249 lui r2,0x9249
001366d8: 34422493 ori r2,r2,0x2493
001366dc: 3c088015 lui r8,0x8015
001366e0: 9508d088 lhu r8,-0x2f78(r8)             Modified birthday
001366e4: 27a40128 addiu r4,r29,0x0128
001366e8: 00084400 sll r8,r8,0x10
001366ec: 00083c03 sra r7,r8,0x10
001366f0: 00e20018 mult r7,r2
001366f4: 27a50038 addiu r5,r29,0x0038
001366f8: 340600f0 ori r6,r0,0x00f0
001366fc: 0000a821 addu r21,r0,r0
00136700: 341e7c3c ori r30,r0,0x7c3c
00136704: 34027c3c ori r2,r0,0x7c3c
00136708: a7a200be sh r2,0x00be(r29)
0013670c: 34020018 ori r2,r0,0x0018
00136710: a7a200c0 sh r2,0x00c0(r29)
00136714: 34020014 ori r2,r0,0x0014
00136718: 000847c3 sra r8,r8,0x1f
0013671c: a7a200c2 sh r2,0x00c2(r29)
00136720: 00001810 mfhi r3
00136724: 00671821 addu r3,r3,r7
00136728: 00031883 sra r3,r3,0x02
0013672c: 00681823 subu r3,r3,r8
00136730: 000310c0 sll r2,r3,0x03
00136734: 00431023 subu r2,r2,r3
00136738: 00e23823 subu r7,r7,r2
0013673c: 00073c00 sll r7,r7,0x10
00136740: 00073c03 sra r7,r7,0x10
00136744: 00071040 sll r2,r7,0x01
00136748: 00471021 addu r2,r2,r7
0013674c: 000210c0 sll r2,r2,0x03
00136750: 00031c00 sll r3,r3,0x10
00136754: 00031c03 sra r3,r3,0x10
00136758: a3a200bc sb r2,0x00bc(r29)
0013675c: 00031080 sll r2,r3,0x02
00136760: 00431021 addu r2,r2,r3
00136764: 00021080 sll r2,r2,0x02
00136768: 2442002a addiu r2,r2,0x002a
0013676c: 0c052fd5 jal 0x0014bf54             Copy Bytes (0x14bf54) // if noped enemy units vignette issue (overlay with previous player team vignette)
00136770: a3a200bd sb r2,0x00bd(r29)
00136774: 3c108017 lui r16,0x8017
00136778: 2610886c addiu r16,r16,0x886c
0013677c: 02002021 addu r4,r16,r0
00136780: 3c058017 lui r5,0x8017
00136784: 24a5d26c addiu r5,r5,0xd26c
00136788: 24a20100 addiu r2,r5,0x0100
0013678c: afa500dc sw r5,0x00dc(r29)
00136790: 0c04bc43 jal 0x0012f10c             0012f10c - 0012f35c ??
00136794: afa201cc sw r2,0x01cc(r29)
00136798: 8fa501cc lw r5,0x01cc(r29)
0013679c: 0c04bc43 jal 0x0012f10c             0012f10c - 0012f35c ??
001367a0: 02002021 addu r4,r16,r0
001367a4: 0c0532a0 jal 0x0014ca80             Switch To Next Thread 
001367a8: 00000000 nop
001367ac: 0c04b7d0 jal 0x0012df40             0012df40 - 0012df64  Get unit data pointer
001367b0: 00000000 nop
001367b4: 27a40038 addiu r4,r29,0x0038
001367b8: 90420006 lbu r2,0x0006(r2)          Gender byte         
001367bc: 32a30001 andi r3,r21,0x0001
001367c0: 30420004 andi r2,r2,0x0004          ??? stats flag
001367c4: 3c018016 lui r1,0x8016
001367c8: ac226044 sw r2,0x6044(r1)           Store contents of ??? flag in 0x80166044
001367cc: 00031100 sll r2,r3,0x04
001367d0: 00431023 subu r2,r2,r3
001367d4: 00021100 sll r2,r2,0x04
001367d8: 16a00003 bne r21,r0,0x001367e8
001367dc: 00829021 addu r18,r4,r2
001367e0: 0c04bc13 jal 0x0012f04c             ? 0x12f04c
001367e4: 02e02021 addu r4,r23,r0
001367e8: 00008821 addu r17,r0,r0
001367ec: 3c028004 lui r2,0x8004
001367f0: 8c42597c lw r2,0x597c(r2)
001367f4: 3c038016 lui r3,0x8016
001367f8: 8c635f88 lw r3,0x5f88(r3)
001367fc: 30420001 andi r2,r2,0x0001
00136800: 2c420001 sltiu r2,r2,0x0001
00136804: 00021023 subu r2,r0,r2
00136808: 1860001a blez r3,0x00136874
0013680c: 305300f0 andi r19,r2,0x00f0
00136810: 0c05330a jal 0x0014cc28             0014cc28 - 0014cc58 // No battle vignette if noped - crash when exiting menu
00136814: 00000000 nop
00136818: 10400007 beq r2,r0,0x00136838
0013681c: 00000000 nop
00136820: 2694001e addiu r20,r20,0x001e
00136824: 2a820081 slti r2,r20,0x0081
00136828: 104000a0 beq r2,r0,0x00136aac
0013682c: 00000000 nop
00136830: 0804da17 j 0x0013685c
00136834: 00000000 nop
00136838: 12800005 beq r20,r0,0x00136850
0013683c: 2ac20003 slti r2,r22,0x0003
00136840: 0296a023 subu r20,r20,r22
00136844: 06810002 bgez r20,0x00136850
00136848: 00000000 nop
0013684c: 0000a021 addu r20,r0,r0
00136850: 14400002 bne r2,r0,0x0013685c
00136854: 00000000 nop
00136858: 26d6fffe addiu r22,r22,0xfffe
0013685c: 3c028016 lui r2,0x8016
00136860: 8c425f88 lw r2,0x5f88(r2)
00136864: 26310001 addiu r17,r17,0x0001
00136868: 0222102a slt r2,r17,r2
0013686c: 1440ffe8 bne r2,r0,0x00136810
00136870: 00000000 nop
00136874: 3c038017 lui r3,0x8017
00136878: 8463886e lh r3,-0x7792(r3)
0013687c: 3402001a ori r2,r0,0x001a
00136880: 1462000e bne r3,r2,0x001368bc
00136884: 00000000 nop
00136888: 3c038016 lui r3,0x8016
0013688c: 9463796e lhu r3,0x796e(r3)
00136890: 00000000 nop
00136894: 14600003 bne r3,r0,0x001368a4
00136898: 2c620006 sltiu r2,r3,0x0006
0013689c: 0804da2b j 0x001368ac
001368a0: 34020001 ori r2,r0,0x0001
001368a4: 10400003 beq r2,r0,0x001368b4
001368a8: 24620001 addiu r2,r3,0x0001
001368ac: 3c018016 lui r1,0x8016
001368b0: a422796e sh r2,0x796e(r1)
001368b4: 3c038017 lui r3,0x8017
001368b8: 8463886e lh r3,-0x7792(r3)
001368bc: 340200aa ori r2,r0,0x00aa
001368c0: 14620017 bne r3,r2,0x00136920
001368c4: 34020006 ori r2,r0,0x0006
001368c8: 3c038016 lui r3,0x8016
001368cc: 9463796e lhu r3,0x796e(r3)
001368d0: 00000000 nop
001368d4: 14620006 bne r3,r2,0x001368f0
001368d8: 2462fff9 addiu r2,r3,0xfff9
001368dc: 34020007 ori r2,r0,0x0007
001368e0: 3c018016 lui r1,0x8016
001368e4: a422796e sh r2,0x796e(r1)
001368e8: 0804da48 j 0x00136920
001368ec: 00000000 nop
001368f0: 2c420004 sltiu r2,r2,0x0004
001368f4: 10400005 beq r2,r0,0x0013690c
001368f8: 24620001 addiu r2,r3,0x0001
001368fc: 3c018016 lui r1,0x8016
00136900: a422796e sh r2,0x796e(r1)
00136904: 0804da48 j 0x00136920
00136908: 00000000 nop
0013690c: 3402000b ori r2,r0,0x000b
00136910: 14620003 bne r3,r2,0x00136920
00136914: 00000000 nop
00136918: 3c018016 lui r1,0x8016
0013691c: a420796e sh r0,0x796e(r1)
00136920: 3c028016 lui r2,0x8016
00136924: 9442796e lhu r2,0x796e(r2)
00136928: 00000000 nop
0013692c: 10400008 beq r2,r0,0x00136950
00136930: 00021040 sll r2,r2,0x01
00136934: 3c018016 lui r1,0x8016
00136938: 00220821 addu r1,r1,r2
0013693c: 94227954 lhu r2,0x7954(r1)
00136940: 00000000 nop
00136944: 02621021 addu r2,r19,r2
00136948: 0804da55 j 0x00136954
0013694c: a64200c2 sh r2,0x00c2(r18)
00136950: a65300c2 sh r19,0x00c2(r18)
00136954: 264400a8 addiu r4,r18,0x00a8
00136958: 264500c0 addiu r5,r18,0x00c0
0013695c: 2682ff80 addiu r2,r20,0xff80
00136960: 0c009518 jal 0x00025460               00025460 - 000254a0// Vignette/menu display/sliding ?
00136964: a64200c0 sh r2,0x00c0(r18)
00136968: 265000b4 addiu r16,r18,0x00b4
0013696c: 02002021 addu r4,r16,r0
00136970: 264500c4 addiu r5,r18,0x00c4
00136974: 2402ff80 addiu r2,r0,0xff80
00136978: a64200c4 sh r2,0x00c4(r18)
0013697c: 0c009518 jal 0x00025460               00025460 - 000254a0
00136980: a65300c6 sh r19,0x00c6(r18)
00136984: 0c05297a jal 0x0014a5e8               Image Loading Setup (0x14a5e8) // if noped in battle detailled menu (with equipment) won't show up
00136988: 02002021 addu r4,r16,r0
0013698c: 0c05272f jal 0x00149cbc               00149cbc - 00149d44
00136990: 34040015 ori r4,r0,0x0015
00136994: 00409821 addu r19,r2,r0
00136998: 1260000d beq r19,r0,0x001369d0
0013699c: 34020080 ori r2,r0,0x0080
001369a0: 0c053325 jal 0x0014cc94               Check Thread Running Status
001369a4: 2664ffff addiu r4,r19,0xffff
001369a8: 14400002 bne r2,r0,0x001369b4
001369ac: 00000000 nop
001369b0: 00009821 addu r19,r0,r0
001369b4: 12600005 beq r19,r0,0x001369cc
001369b8: 34020040 ori r2,r0,0x0040
001369bc: a24200cc sb r2,0x00cc(r18)
001369c0: a24200cd sb r2,0x00cd(r18)
001369c4: 0804da76 j 0x001369d8
001369c8: 34020060 ori r2,r0,0x0060
001369cc: 34020080 ori r2,r0,0x0080
001369d0: a24200cc sb r2,0x00cc(r18)
001369d4: a24200cd sb r2,0x00cd(r18)
001369d8: a24200ce sb r2,0x00ce(r18)
001369dc: 265000c8 addiu r16,r18,0x00c8
001369e0: 02002021 addu r4,r16,r0               parse primative address
001369e4: 0c008f1a jal 0x00023c68               P10 SetSemiTrans
001369e8: 34050001 ori r5,r0,0x0001             set semi transparent
001369ec: 0c05297a jal 0x0014a5e8               Image Loading Setup (0x14a5e8)
001369f0: 02002021 addu r4,r16,r0               parse primative address
001369f4: 34110003 ori r17,r0,0x0003
001369f8: 2650003c addiu r16,r18,0x003c
001369fc: 12600003 beq r19,r0,0x00136a0c
00136a00: 34097d3c ori r9,r0,0x7d3c
00136a04: 0804da84 j 0x00136a10
00136a08: a609000e sh r9,0x000e(r16)
00136a0c: a61e000e sh r30,0x000e(r16)
00136a10: 0c05297a jal 0x0014a5e8               Image Loading Setup (0x14a5e8)
00136a14: 02002021 addu r4,r16,r0
00136a18: 2631ffff addiu r17,r17,0xffff
00136a1c: 0621fff7 bgez r17,0x001369fc
00136a20: 2610ffec addiu r16,r16,0xffec
00136a24: 0c05297a jal 0x0014a5e8               Image Loading Setup (0x14a5e8)
00136a28: 26440098 addiu r4,r18,0x0098
00136a2c: 26500050 addiu r16,r18,0x0050
00136a30: 2651008c addiu r17,r18,0x008c
00136a34: 12600003 beq r19,r0,0x00136a44
00136a38: 34097d3c ori r9,r0,0x7d3c
00136a3c: 0804da92 j 0x00136a48
00136a40: a609000e sh r9,0x000e(r16)
00136a44: a61e000e sh r30,0x000e(r16)
00136a48: 0c05297a jal 0x0014a5e8               Image Loading Setup (0x14a5e8)
00136a4c: 02002021 addu r4,r16,r0
00136a50: 26100014 addiu r16,r16,0x0014
00136a54: 0211102a slt r2,r16,r17
00136a58: 1440fff6 bne r2,r0,0x00136a34
00136a5c: 00000000 nop
00136a60: 0c05297a jal 0x0014a5e8               Image Loading Setup (0x14a5e8)
00136a64: 2644008c addiu r4,r18,0x008c
00136a68: 12600006 beq r19,r0,0x00136a84
00136a6c: 00000000 nop
00136a70: 8e4400a4 lw r4,0x00a4(r18)
00136a74: 0c04bd15 jal 0x0012f454               0012f454 - 0012f4dc
00136a78: 00000000 nop
00136a7c: 0804daa4 j 0x00136a90
00136a80: 00000000 nop
00136a84: 8e4400a4 lw r4,0x00a4(r18)
00136a88: 0c04bcf3 jal 0x0012f3cc               0012f3cc - 0012f450
00136a8c: 00000000 nop
00136a90: 8e4400a4 lw r4,0x00a4(r18)
00136a94: 0c04bcd8 jal 0x0012f360               0012f360 - 0012f3c8
00136a98: 26b50001 addiu r21,r21,0x0001
00136a9c: 0c05297a jal 0x0014a5e8               Image Loading Setup (0x14a5e8)
00136aa0: 264400a8 addiu r4,r18,0x00a8
00136aa4: 0804d9e9 j 0x001367a4
00136aa8: 00000000 nop
00136aac: 0c0532a0 jal 0x0014ca80               Some event data setting routine
00136ab0: 00000000 nop
00136ab4: 0c04bb24 jal 0x0012ec90               0012ec90 - 0012ee38
00136ab8: 27a40018 addiu r4,r29,0x0018
00136abc: 0c04bb24 jal 0x0012ec90               0012ec90 - 0012ee38
00136ac0: 27a40020 addiu r4,r29,0x0020
00136ac4: 0c04bb24 jal 0x0012ec90               0012ec90 - 0012ee38
00136ac8: 27a40028 addiu r4,r29,0x0028
00136acc: 0c04bb24 jal 0x0012ec90               0012ec90 - 0012ee38
00136ad0: 27a40030 addiu r4,r29,0x0030
00136ad4: 0c053256 jal 0x0014c958               Stop Current Thread
00136ad8: 00000000 nop
00136adc: 8fbf0244 lw r31,0x0244(r29)
00136ae0: 8fbe0240 lw r30,0x0240(r29)
00136ae4: 8fb7023c lw r23,0x023c(r29)
00136ae8: 8fb60238 lw r22,0x0238(r29)
00136aec: 8fb50234 lw r21,0x0234(r29)
00136af0: 8fb40230 lw r20,0x0230(r29)
00136af4: 8fb3022c lw r19,0x022c(r29)
00136af8: 8fb20228 lw r18,0x0228(r29)
00136afc: 8fb10224 lw r17,0x0224(r29)
00136b00: 8fb00220 lw r16,0x0220(r29)
00136b04: 27bd0248 addiu r29,r29,0x0248
00136b08: 03e00008 jr r31
00136b0c: 00000000 nop