Set Rumors based on location
Jump to navigation
Jump to search
0007206c: 27bdffb8 addiu r29,r29,0xffb8 00072070: afb30034 sw r19,0x0034(r29) 00072074: 00009821 addu r19,r0,r0 Clear r19 00072078: afb00028 sw r16,0x0028(r29) 0007207c: 00008021 addu r16,r0,r0 Clear r16 00072080: afb40038 sw r20,0x0038(r29) 00072084: 3c14800c lui r20,0x800c 00072088: 2694b3f0 addiu r20,r20,0xb3f0 r20 = 0x800bb3f0 0007208c: afb20030 sw r18,0x0030(r29) 00072090: 3c12800d lui r18,0x800d 00072094: 26520880 addiu r18,r18,0x0880 0x800d8880 00072098: afb1002c sw r17,0x002c(r29) 0007209c: 3c118009 lui r17,0x8009 000720a0: 8e316a4c lw r17,0x6a4c(r17) r17 0x80096a4c 000720a4: 3c03800a lui r3,0x800a 000720a8: 8c63f254 lw r3,-0x0dac(r3) 000720ac: 34024000 ori r2,r0,0x4000 r2 = x4000 000720b0: afbf0040 sw r31,0x0040(r29) 000720b4: afb5003c sw r21,0x003c(r29) 000720b8: 0062a807 srav r21,r2,r3 List of Rumors to Display 000720bc: 8e220000 lw r2,0x0000(r17) Load ? 000720c0: 00000000 nop 000720c4: 00551024 and r2,r2,r21 000720c8: 1040000a beq r2,r0,0x000720f4 Remove Branch to allow all locations to display active rumors 000720cc: 00000000 nop 000720d0: 0c03bc6a jal 0x000ef1a8 Get Variable Data (link) 000720d4: 260402d1 addiu r4,r16,0x02d1 r16 = Rumor ID (+1 on each loop) 000720d8: 10400006 beq r2,r0,0x000720f4 Branch if rumor not active 000720dc: 2602c800 addiu r2,r16,0xc800 Rumor Name Text ID (+1 on each loop) 000720e0: a6420000 sh r2,0x0000(r18) Store Text ID into r18 (+2 on each loop) 000720e4: a6800000 sh r0,0x0000(r20) Store 0 into r20 000720e8: 26940002 addiu r20,r20,0x0002 r20 + 20 000720ec: 26520002 addiu r18,r18,0x0002 r18 + 2 000720f0: 26730001 addiu r19,r19,0x0001 r19 ++ (2nd Counter?) 000720f4: 26100001 addiu r16,r16,0x0001 r16 ++ (Counter) 000720f8: 2a020040 slti r2,r16,0x0040 000720fc: 1440ffef bne r2,r0,0x000720bc Loop x40 (64) times 00072100: 26310004 addiu r17,r17,0x0004 R17 + 4 00072104: 12600037 beq r19,r0,0x000721e4 Branch if No Rumors are Active
Active Rumors 00072108: 3404000e ori r4,r0,0x000e 0007210c: 34050019 ori r5,r0,0x0019 00072110: 3406b808 ori r6,r0,0xb808 Bar Town Text 0x08 00072114: 3c028005 lui r2,0x8005 00072118: 8c42d950 lw r2,-0x26b0(r2) 0007211c: 00000000 nop 00072120: 34420800 ori r2,r2,0x0800 Something to do with war funds(?) 00072124: 3c018005 lui r1,0x8005 00072128: ac22d950 sw r2,-0x26b0(r1) 0007212c: 0c03ffc2 jal 0x000fff08 Store Thread Function Parameters - Barkeep Text (link) 00072130: 00003821 addu r7,r0,r0 r7 = 0 00072134: 3c03800c lui r3,0x800c 00072138: 8c63b4f0 lw r3,-0x4b10(r3) 0007213c: 00000000 nop 00072140: 00031040 sll r2,r3,0x01 00072144: 00431021 addu r2,r2,r3 00072148: 000210c0 sll r2,r2,0x03 0007214c: 00431023 subu r2,r2,r3 00072150: 00021080 sll r2,r2,0x02 00072154: 3c01800c lui r1,0x800c 00072158: 2421b9bc addiu r1,r1,0xb9bc 0007215c: 00220821 addu r1,r1,r2 00072160: ac330000 sw r19,0x0000(r1) Store Counter into 0x800cb9bc 00072164: 2a620008 slti r2,r19,0x0008 00072168: 10400002 beq r2,r0,0x00072174 0007216c: 34100008 ori r16,r0,0x0008 00072170: 02608021 addu r16,r19,r0 r16 = r19 00072174: 34040002 ori r4,r0,0x0002 00072178: 02602821 addu r5,r19,r0 r5 = Counter 0007217c: 02003021 addu r6,r16,r0 r6 = 0x08 or r19 00072180: 34020096 ori r2,r0,0x0096 r2 = 0x96 00072184: afa20010 sw r2,0x0010(r29) 00072188: 3402004c ori r2,r0,0x004c r2 = x4c 0007218c: afa20018 sw r2,0x0018(r29) 00072190: 34020050 ori r2,r0,0x0050 00072194: afa60014 sw r6,0x0014(r29) 00072198: 0c023f32 jal 0x0008fcc8 Store Bunch of Stuff (link) 0007219c: afa2001c sw r2,0x001c(r29) 000721a0: 3404000c ori r4,r0,0x000c 000721a4: 3c03800c lui r3,0x800c 000721a8: 8c63b4f0 lw r3,-0x4b10(r3) 000721ac: 27a60010 addiu r6,r29,0x0010 000721b0: 00031040 sll r2,r3,0x01 000721b4: 00431021 addu r2,r2,r3 000721b8: 000210c0 sll r2,r2,0x03 000721bc: 00431023 subu r2,r2,r3 000721c0: 00021080 sll r2,r2,0x02 000721c4: 3c01800c lui r1,0x800c 000721c8: 2421b9bc addiu r1,r1,0xb9bc 000721cc: 00220821 addu r1,r1,r2 000721d0: 8c250000 lw r5,0x0000(r1) 000721d4: 0c023eb6 jal 0x0008fad8 Rumors Name Text? (link) 000721d8: 27a70018 addiu r7,r29,0x0018 000721dc: 0801c8d4 j 0x00072350 000721e0: 34020009 ori r2,r0,0x0009 No Rumors Bar Text? 000721e4: 3c02800c lui r2,0x800c 000721e8: 8c42b4f0 lw r2,-0x4b10(r2) 000721ec: 34050019 ori r5,r0,0x0019 000721f0: 2442ffff addiu r2,r2,0xffff 000721f4: 00023840 sll r7,r2,0x01 000721f8: 00e23821 addu r7,r7,r2 000721fc: 000738c0 sll r7,r7,0x03 00072200: 00e23823 subu r7,r7,r2 00072204: 00073880 sll r7,r7,0x02 00072208: 3c01800c lui r1,0x800c 0007220c: 2421b994 addiu r1,r1,0xb994 00072210: 00270821 addu r1,r1,r7 00072214: 8c230000 lw r3,0x0000(r1) 00072218: 3c01800c lui r1,0x800c 0007221c: 2421b98c addiu r1,r1,0xb98c 00072220: 00270821 addu r1,r1,r7 00072224: 8c260000 lw r6,0x0000(r1) 00072228: 00031040 sll r2,r3,0x01 0007222c: 00431021 addu r2,r2,r3 00072230: 00021080 sll r2,r2,0x02 00072234: 00431021 addu r2,r2,r3 00072238: 3c01800c lui r1,0x800c 0007223c: 2421b990 addiu r1,r1,0xb990 00072240: 00270821 addu r1,r1,r7 00072244: 8c230000 lw r3,0x0000(r1) 00072248: 00021080 sll r2,r2,0x02 0007224c: 3c01800c lui r1,0x800c 00072250: 2421bc84 addiu r1,r1,0xbc84 00072254: 00220821 addu r1,r1,r2 00072258: ac200000 sw r0,0x0000(r1) 0007225c: 000310c0 sll r2,r3,0x03 00072260: 00431021 addu r2,r2,r3 00072264: 00021080 sll r2,r2,0x02 00072268: 3c01800c lui r1,0x800c 0007226c: 2421b518 addiu r1,r1,0xb518 00072270: 00220821 addu r1,r1,r2 00072274: ac200000 sw r0,0x0000(r1) 00072278: 000610c0 sll r2,r6,0x03 0007227c: 00461021 addu r2,r2,r6 00072280: 00021080 sll r2,r2,0x02 00072284: 3c01800c lui r1,0x800c 00072288: 2421b518 addiu r1,r1,0xb518 0007228c: 00220821 addu r1,r1,r2 00072290: ac200000 sw r0,0x0000(r1) 00072294: 3c01800c lui r1,0x800c 00072298: 2421b98c addiu r1,r1,0xb98c 0007229c: 00270821 addu r1,r1,r7 000722a0: 8c230000 lw r3,0x0000(r1) 000722a4: 3406b80a ori r6,r0,0xb80a r6 = b80a (Bar Town Text 0x0A) 000722a8: 000310c0 sll r2,r3,0x03 000722ac: 00431021 addu r2,r2,r3 000722b0: 00021080 sll r2,r2,0x02 000722b4: 34030002 ori r3,r0,0x0002 000722b8: 3c01800c lui r1,0x800c 000722bc: 2421b508 addiu r1,r1,0xb508 000722c0: 00220821 addu r1,r1,r2 000722c4: ac230000 sw r3,0x0000(r1) 000722c8: 3c01800c lui r1,0x800c 000722cc: 2421b98c addiu r1,r1,0xb98c 000722d0: 00270821 addu r1,r1,r7 000722d4: 8c230000 lw r3,0x0000(r1) 000722d8: 00000000 nop 000722dc: 000310c0 sll r2,r3,0x03 000722e0: 00431021 addu r2,r2,r3 000722e4: 00021080 sll r2,r2,0x02 000722e8: 3c01800c lui r1,0x800c 000722ec: 2421b514 addiu r1,r1,0xb514 000722f0: 00220821 addu r1,r1,r2 000722f4: ac200000 sw r0,0x0000(r1) 000722f8: 3c01800c lui r1,0x800c 000722fc: 2421b510 addiu r1,r1,0xb510 00072300: 00220821 addu r1,r1,r2 00072304: ac200000 sw r0,0x0000(r1) 00072308: 0c03ffc2 jal 0x000fff08 Store Thread Function Parameters (link) 0007230c: 00003821 addu r7,r0,r0 00072310: 3c03800c lui r3,0x800c 00072314: 8c63b4f0 lw r3,-0x4b10(r3) 00072318: 00000000 nop 0007231c: 2463ffff addiu r3,r3,0xffff 00072320: 00031040 sll r2,r3,0x01 00072324: 00431021 addu r2,r2,r3 00072328: 000210c0 sll r2,r2,0x03 0007232c: 00431023 subu r2,r2,r3 00072330: 00021080 sll r2,r2,0x02 00072334: 34030001 ori r3,r0,0x0001 00072338: 3c01800c lui r1,0x800c 0007233c: 2421b998 addiu r1,r1,0xb998 00072340: 00220821 addu r1,r1,r2 00072344: ac230000 sw r3,0x0000(r1) 00072348: 0801c8e4 j 0x00072390 0007234c: 00000000 nop 00072350: 3c03800c lui r3,0x800c 00072354: 8c63b4f0 lw r3,-0x4b10(r3) 00072358: 3c01800c lui r1,0x800c 0007235c: ac22b3ec sw r2,-0x4c14(r1) 00072360: 34020160 ori r2,r0,0x0160 00072364: 3c01800c lui r1,0x800c 00072368: ac22b3c0 sw r2,-0x4c40(r1) 0007236c: 34020006 ori r2,r0,0x0006 r2 = 6 00072370: 00032080 sll r4,r3,0x02 00072374: 24630001 addiu r3,r3,0x0001 00072378: 3c01800d lui r1,0x800d 0007237c: 24214584 addiu r1,r1,0x4584 00072380: 00240821 addu r1,r1,r4 00072384: ac220000 sw r2,0x0000(r1) Store next routine to run? 00072388: 3c01800c lui r1,0x800c 0007238c: ac23b4f0 sw r3,-0x4b10(r1) 00072390: 8fbf0040 lw r31,0x0040(r29) 00072394: 8fb5003c lw r21,0x003c(r29) 00072398: 8fb40038 lw r20,0x0038(r29) 0007239c: 8fb30034 lw r19,0x0034(r29) 000723a0: 8fb20030 lw r18,0x0030(r29) 000723a4: 8fb1002c lw r17,0x002c(r29) 000723a8: 8fb00028 lw r16,0x0028(r29) 000723ac: 27bd0048 addiu r29,r29,0x0048 000723b0: 03e00008 jr r31 000723b4: 00000000 nop
Return Locations
00072888 - Rerun previous rumors? (link) 00071bb0 - Bar Menu Idle Routine (link)