Open Tavern Background
(Redirected from 00068b3c - 00068bc0)
Jump to navigation
Jump to search
00068b3c: 3c02800c lui r2,0x800c 00068b40: 8c42b500 lw r2,-0x4b00(r2) 00068b44: 27bdffe0 addiu r29,r29,0xffe0 00068b48: afb00018 sw r16,0x0018(r29) 00068b4c: 00808021 addu r16,r4,r0 what section of WLDBK to open (tavern backgrounds are sections 0, 16, 17. background for germonique scriptures is section 80) 00068b50: 12020017 beq r16,r2,0x00068bb0 00068b54: afbf001c sw r31,0x001c(r29) 00068b58: 0c01a1b2 jal 0x000686c8 00068b5c: 00000000 nop 00068b60: 3c050001 lui r5,0x0001 00068b64: 34a52995 ori r5,r5,0x2995 0x12995 WLDBK.BIN 00068b68: 00101080 sll r2,r16,0x02 00068b6c: 3c01800a lui r1,0x800a 00068b70: 2421e260 addiu r1,r1,0xe260 00068b74: 00220821 addu r1,r1,r2 00068b78: 8c230000 lw r3,0x0000(r1) what LBA address of portion of WLDBK to open (sidenote... I can't find these LBA addresses in WORLD.BIN, WLDCORE.BIN, or OPEN.OUT) 00068b7c: 3c01800a lui r1,0x800a 00068b80: 2421e264 addiu r1,r1,0xe264 00068b84: 00220821 addu r1,r1,r2 00068b88: 8c260000 lw r6,0x0000(r1) sector size of that portion 00068b8c: 3c07800c lui r7,0x800c 00068b90: 8ce772f4 lw r7,0x72f4(r7) 00068b94: 3c048005 lui r4,0x8005 00068b98: 2484eaf4 addiu r4,r4,0xeaf4 00068b9c: 3c01800c lui r1,0x800c 00068ba0: ac30b500 sw r16,-0x4b00(r1) 00068ba4: 00652821 addu r5,r3,r5 00068ba8: 0c01a178 jal 0x000685e0 000685e0 - 0006863c 00068bac: 00c33023 subu r6,r6,r3 00068bb0: 8fbf001c lw r31,0x001c(r29) 00068bb4: 8fb00018 lw r16,0x0018(r29) 00068bb8: 27bd0020 addiu r29,r29,0x0020 00068bbc: 03e00008 jr r31 00068bc0: 00000000 nop