1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-04-05 14:24:17 +00:00

Fix all RAM pointers in overlays (#81)

This commit is contained in:
Roman971 2020-04-19 17:57:38 +02:00 committed by GitHub
parent ee48867446
commit aecf375b84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1568 changed files with 7957 additions and 7935 deletions

View file

@ -253,202 +253,3 @@ glabel func_8008FCC8
/* B071AC 8009000C 03E00008 */ jr $ra
/* B071B0 80090010 27BD0030 */ addiu $sp, $sp, 0x30
/* B071B4 80090014 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B071B8 80090018 AFB00020 */ sw $s0, 0x20($sp)
/* B071BC 8009001C 8FB0003C */ lw $s0, 0x3c($sp)
/* B071C0 80090020 8FAE0038 */ lw $t6, 0x38($sp)
/* B071C4 80090024 AFBF0024 */ sw $ra, 0x24($sp)
/* B071C8 80090028 AFA5002C */ sw $a1, 0x2c($sp)
/* B071CC 8009002C AFA60030 */ sw $a2, 0x30($sp)
/* B071D0 80090030 AFB00014 */ sw $s0, 0x14($sp)
/* B071D4 80090034 0C023F32 */ jal func_8008FCC8
/* B071D8 80090038 AFAE0010 */ sw $t6, 0x10($sp)
/* B071DC 8009003C 8FA5002C */ lw $a1, 0x2c($sp)
/* B071E0 80090040 144000A6 */ bnez $v0, .L800902DC
/* B071E4 80090044 8FA60030 */ lw $a2, 0x30($sp)
/* B071E8 80090048 24070010 */ li $a3, 16
/* B071EC 8009004C 14A70043 */ bne $a1, $a3, .L8009015C
/* B071F0 80090050 24040013 */ li $a0, 19
/* B071F4 80090054 3C048016 */ lui $a0, %hi(D_80160014)
/* B071F8 80090058 24840014 */ addiu $a0, %lo(D_80160014) # addiu $a0, $a0, 0x14
/* B071FC 8009005C 8C830000 */ lw $v1, ($a0)
/* B07200 80090060 24010004 */ li $at, 4
/* B07204 80090064 8E020164 */ lw $v0, 0x164($s0)
/* B07208 80090068 14610011 */ bne $v1, $at, .L800900B0
/* B0720C 8009006C 3C058016 */ lui $a1, %hi(gSaveContext)
/* B07210 80090070 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* B07214 80090074 94AF0036 */ lhu $t7, 0x36($a1)
/* B07218 80090078 44802000 */ mtc1 $zero, $f4
/* B0721C 8009007C 3C014F80 */ li $at, 0x4F800000 # 0.000000
/* B07220 80090080 448F3000 */ mtc1 $t7, $f6
/* B07224 80090084 05E10004 */ bgez $t7, .L80090098
/* B07228 80090088 46803220 */ cvt.s.w $f8, $f6
/* B0722C 8009008C 44815000 */ mtc1 $at, $f10
/* B07230 80090090 00000000 */ nop
/* B07234 80090094 460A4200 */ add.s $f8, $f8, $f10
.L80090098:
/* B07238 80090098 4604403E */ c.le.s $f8, $f4
/* B0723C 8009009C 00000000 */ nop
/* B07240 800900A0 45000003 */ bc1f .L800900B0
/* B07244 800900A4 00000000 */ nop
/* B07248 800900A8 10000025 */ b .L80090140
/* B0724C 800900AC 24420010 */ addiu $v0, $v0, 0x10
.L800900B0:
/* B07250 800900B0 3C058016 */ lui $a1, %hi(gSaveContext) # $a1, 0x8016
/* B07254 800900B4 24010006 */ li $at, 6
/* B07258 800900B8 1461000C */ bne $v1, $at, .L800900EC
/* B0725C 800900BC 24A5E660 */ addiu $a1, %lo(gSaveContext) # addiu $a1, $a1, -0x19a0
/* B07260 800900C0 8E18067C */ lw $t8, 0x67c($s0)
/* B07264 800900C4 3C0A8012 */ lui $t2, %hi(D_80125E08) # $t2, 0x8012
/* B07268 800900C8 0018C980 */ sll $t9, $t8, 6
/* B0726C 800900CC 07230008 */ bgezl $t9, .L800900F0
/* B07270 800900D0 920B015C */ lbu $t3, 0x15c($s0)
/* B07274 800900D4 8CA80004 */ lw $t0, 4($a1)
/* B07278 800900D8 254A5E08 */ addiu $t2, %lo(D_80125E08) # addiu $t2, $t2, 0x5e08
/* B0727C 800900DC AC800000 */ sw $zero, ($a0)
/* B07280 800900E0 00084880 */ sll $t1, $t0, 2
/* B07284 800900E4 10000016 */ b .L80090140
/* B07288 800900E8 012A1021 */ addu $v0, $t1, $t2
.L800900EC:
/* B0728C 800900EC 920B015C */ lbu $t3, 0x15c($s0)
.L800900F0:
/* B07290 800900F0 3C014000 */ li $at, 0x40000000 # 0.000000
/* B07294 800900F4 15600012 */ bnez $t3, .L80090140
/* B07298 800900F8 00000000 */ nop
/* B0729C 800900FC 44818000 */ mtc1 $at, $f16
/* B072A0 80090100 C6120068 */ lwc1 $f18, 0x68($s0)
/* B072A4 80090104 4612803C */ c.lt.s $f16, $f18
/* B072A8 80090108 00000000 */ nop
/* B072AC 8009010C 4500000C */ bc1f .L80090140
/* B072B0 80090110 00000000 */ nop
/* B072B4 80090114 8E0C067C */ lw $t4, 0x67c($s0)
/* B072B8 80090118 3C188012 */ lui $t8, %hi(D_80125E18) # $t8, 0x8012
/* B072BC 8009011C 27185E18 */ addiu $t8, %lo(D_80125E18) # addiu $t8, $t8, 0x5e18
/* B072C0 80090120 000C6900 */ sll $t5, $t4, 4
/* B072C4 80090124 05A00006 */ bltz $t5, .L80090140
/* B072C8 80090128 00000000 */ nop
/* B072CC 8009012C 8CAE0004 */ lw $t6, 4($a1)
/* B072D0 80090130 24190001 */ li $t9, 1
/* B072D4 80090134 AC990000 */ sw $t9, ($a0)
/* B072D8 80090138 000E7880 */ sll $t7, $t6, 2
/* B072DC 8009013C 01F81021 */ addu $v0, $t7, $t8
.L80090140:
/* B072E0 80090140 3C088016 */ lui $t0, %hi(D_80160004) # $t0, 0x8016
/* B072E4 80090144 8D080004 */ lw $t0, %lo(D_80160004)($t0)
/* B072E8 80090148 00084880 */ sll $t1, $t0, 2
/* B072EC 8009014C 00495021 */ addu $t2, $v0, $t1
/* B072F0 80090150 8D4B0000 */ lw $t3, ($t2)
/* B072F4 80090154 10000061 */ b .L800902DC
/* B072F8 80090158 ACCB0000 */ sw $t3, ($a2)
.L8009015C:
/* B072FC 8009015C 14A40029 */ bne $a1, $a0, .L80090204
/* B07300 80090160 24010014 */ li $at, 20
/* B07304 80090164 3C038016 */ lui $v1, %hi(D_80160018) # $v1, 0x8016
/* B07308 80090168 24630018 */ addiu $v1, %lo(D_80160018) # addiu $v1, $v1, 0x18
/* B0730C 8009016C 8C6C0000 */ lw $t4, ($v1)
/* B07310 80090170 2401000A */ li $at, 10
/* B07314 80090174 8E020160 */ lw $v0, 0x160($s0)
/* B07318 80090178 55810006 */ bnel $t4, $at, .L80090194
/* B0731C 8009017C 920F015D */ lbu $t7, 0x15d($s0)
/* B07320 80090180 820D014E */ lb $t5, 0x14e($s0)
/* B07324 80090184 000D7100 */ sll $t6, $t5, 4
/* B07328 80090188 10000017 */ b .L800901E8
/* B0732C 8009018C 004E1021 */ addu $v0, $v0, $t6
/* B07330 80090190 920F015D */ lbu $t7, 0x15d($s0)
.L80090194:
/* B07334 80090194 24010008 */ li $at, 8
/* B07338 80090198 15E10013 */ bne $t7, $at, .L800901E8
/* B0733C 8009019C 3C014000 */ li $at, 0x40000000 # 0.000000
/* B07340 800901A0 44813000 */ mtc1 $at, $f6
/* B07344 800901A4 C60A0068 */ lwc1 $f10, 0x68($s0)
/* B07348 800901A8 460A303C */ c.lt.s $f6, $f10
/* B0734C 800901AC 00000000 */ nop
/* B07350 800901B0 4500000D */ bc1f .L800901E8
/* B07354 800901B4 00000000 */ nop
/* B07358 800901B8 8E18067C */ lw $t8, 0x67c($s0)
/* B0735C 800901BC 3C058016 */ lui $a1, %hi(gSaveContext) # $a1, 0x8016
/* B07360 800901C0 24A5E660 */ addiu $a1, %lo(gSaveContext) # addiu $a1, $a1, -0x19a0
/* B07364 800901C4 0018C900 */ sll $t9, $t8, 4
/* B07368 800901C8 07200007 */ bltz $t9, .L800901E8
/* B0736C 800901CC 3C0A8012 */ lui $t2, %hi(D_80125E58) # $t2, 0x8012
/* B07370 800901D0 8CA80004 */ lw $t0, 4($a1)
/* B07374 800901D4 254A5E58 */ addiu $t2, %lo(D_80125E58) # addiu $t2, $t2, 0x5e58
/* B07378 800901D8 240B0009 */ li $t3, 9
/* B0737C 800901DC 00084880 */ sll $t1, $t0, 2
/* B07380 800901E0 012A1021 */ addu $v0, $t1, $t2
/* B07384 800901E4 AC6B0000 */ sw $t3, ($v1)
.L800901E8:
/* B07388 800901E8 3C0C8016 */ lui $t4, %hi(D_80160004) # $t4, 0x8016
/* B0738C 800901EC 8D8C0004 */ lw $t4, %lo(D_80160004)($t4)
/* B07390 800901F0 000C6880 */ sll $t5, $t4, 2
/* B07394 800901F4 004D7021 */ addu $t6, $v0, $t5
/* B07398 800901F8 8DCF0000 */ lw $t7, ($t6)
/* B0739C 800901FC 10000037 */ b .L800902DC
/* B073A0 80090200 ACCF0000 */ sw $t7, ($a2)
.L80090204:
/* B073A4 80090204 14A1002C */ bne $a1, $at, .L800902B8
/* B073A8 80090208 3C0B8016 */ lui $t3, %hi(D_80160004) # $t3, 0x8016
/* B073AC 8009020C 9202015E */ lbu $v0, 0x15e($s0)
/* B073B0 80090210 24010012 */ li $at, 18
/* B073B4 80090214 8E030168 */ lw $v1, 0x168($s0)
/* B073B8 80090218 10410003 */ beq $v0, $at, .L80090228
/* B073BC 8009021C 3C058016 */ lui $a1, %hi(gSaveContext) # $a1, 0x8016
/* B073C0 80090220 14820010 */ bne $a0, $v0, .L80090264
/* B073C4 80090224 00000000 */ nop
.L80090228:
/* B073C8 80090228 8202014E */ lb $v0, 0x14e($s0)
/* B073CC 8009022C 24A5E660 */ addiu $a1, %lo(gSaveContext) # addiu $a1, $a1, -0x19a0
/* B073D0 80090230 8CB90004 */ lw $t9, 4($a1)
/* B073D4 80090234 0002C100 */ sll $t8, $v0, 4
/* B073D8 80090238 00781821 */ addu $v1, $v1, $t8
/* B073DC 8009023C 13200018 */ beqz $t9, .L800902A0
/* B073E0 80090240 28410002 */ slti $at, $v0, 2
/* B073E4 80090244 10200016 */ beqz $at, .L800902A0
/* B073E8 80090248 00000000 */ nop
/* B073EC 8009024C 90A80068 */ lbu $t0, 0x68($a1)
/* B073F0 80090250 2401003B */ li $at, 59
/* B073F4 80090254 11010012 */ beq $t0, $at, .L800902A0
/* B073F8 80090258 00000000 */ nop
/* B073FC 8009025C 10000010 */ b .L800902A0
/* B07400 80090260 24630040 */ addiu $v1, $v1, 0x40
.L80090264:
/* B07404 80090264 3C058016 */ lui $a1, %hi(gSaveContext) # $a1, 0x8016
/* B07408 80090268 24A5E660 */ addiu $a1, %lo(gSaveContext) # addiu $a1, $a1, -0x19a0
/* B0740C 8009026C 8CA90004 */ lw $t1, 4($a1)
/* B07410 80090270 1120000B */ beqz $t1, .L800902A0
/* B07414 80090274 00000000 */ nop
/* B07418 80090278 10E20003 */ beq $a3, $v0, .L80090288
/* B0741C 8009027C 24010011 */ li $at, 17
/* B07420 80090280 14410007 */ bne $v0, $at, .L800902A0
/* B07424 80090284 00000000 */ nop
.L80090288:
/* B07428 80090288 90AA0068 */ lbu $t2, 0x68($a1)
/* B0742C 8009028C 2401003B */ li $at, 59
/* B07430 80090290 11410003 */ beq $t2, $at, .L800902A0
/* B07434 80090294 00000000 */ nop
/* B07438 80090298 3C038012 */ lui $v1, %hi(D_80125D68) # $v1, 0x8012
/* B0743C 8009029C 24635D68 */ addiu $v1, %lo(D_80125D68) # addiu $v1, $v1, 0x5d68
.L800902A0:
/* B07440 800902A0 8D6B0004 */ lw $t3, %lo(D_80160004)($t3)
/* B07444 800902A4 000B6080 */ sll $t4, $t3, 2
/* B07448 800902A8 006C6821 */ addu $t5, $v1, $t4
/* B0744C 800902AC 8DAE0000 */ lw $t6, ($t5)
/* B07450 800902B0 1000000A */ b .L800902DC
/* B07454 800902B4 ACCE0000 */ sw $t6, ($a2)
.L800902B8:
/* B07458 800902B8 24010002 */ li $at, 2
/* B0745C 800902BC 14A10007 */ bne $a1, $at, .L800902DC
/* B07460 800902C0 3C188016 */ lui $t8, %hi(D_80160004) # $t8, 0x8016
/* B07464 800902C4 8F180004 */ lw $t8, %lo(D_80160004)($t8)
/* B07468 800902C8 8E0F016C */ lw $t7, 0x16c($s0)
/* B0746C 800902CC 0018C880 */ sll $t9, $t8, 2
/* B07470 800902D0 01F94021 */ addu $t0, $t7, $t9
/* B07474 800902D4 8D090000 */ lw $t1, ($t0)
/* B07478 800902D8 ACC90000 */ sw $t1, ($a2)
.L800902DC:
/* B0747C 800902DC 8FBF0024 */ lw $ra, 0x24($sp)
/* B07480 800902E0 8FB00020 */ lw $s0, 0x20($sp)
/* B07484 800902E4 27BD0028 */ addiu $sp, $sp, 0x28
/* B07488 800902E8 03E00008 */ jr $ra
/* B0748C 800902EC 00001025 */ move $v0, $zero

View file

@ -0,0 +1,200 @@
glabel func_80090014
/* B071B4 80090014 27BDFFD8 */ addiu $sp, $sp, -0x28
/* B071B8 80090018 AFB00020 */ sw $s0, 0x20($sp)
/* B071BC 8009001C 8FB0003C */ lw $s0, 0x3c($sp)
/* B071C0 80090020 8FAE0038 */ lw $t6, 0x38($sp)
/* B071C4 80090024 AFBF0024 */ sw $ra, 0x24($sp)
/* B071C8 80090028 AFA5002C */ sw $a1, 0x2c($sp)
/* B071CC 8009002C AFA60030 */ sw $a2, 0x30($sp)
/* B071D0 80090030 AFB00014 */ sw $s0, 0x14($sp)
/* B071D4 80090034 0C023F32 */ jal func_8008FCC8
/* B071D8 80090038 AFAE0010 */ sw $t6, 0x10($sp)
/* B071DC 8009003C 8FA5002C */ lw $a1, 0x2c($sp)
/* B071E0 80090040 144000A6 */ bnez $v0, .L800902DC
/* B071E4 80090044 8FA60030 */ lw $a2, 0x30($sp)
/* B071E8 80090048 24070010 */ li $a3, 16
/* B071EC 8009004C 14A70043 */ bne $a1, $a3, .L8009015C
/* B071F0 80090050 24040013 */ li $a0, 19
/* B071F4 80090054 3C048016 */ lui $a0, %hi(D_80160014)
/* B071F8 80090058 24840014 */ addiu $a0, %lo(D_80160014) # addiu $a0, $a0, 0x14
/* B071FC 8009005C 8C830000 */ lw $v1, ($a0)
/* B07200 80090060 24010004 */ li $at, 4
/* B07204 80090064 8E020164 */ lw $v0, 0x164($s0)
/* B07208 80090068 14610011 */ bne $v1, $at, .L800900B0
/* B0720C 8009006C 3C058016 */ lui $a1, %hi(gSaveContext)
/* B07210 80090070 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* B07214 80090074 94AF0036 */ lhu $t7, 0x36($a1)
/* B07218 80090078 44802000 */ mtc1 $zero, $f4
/* B0721C 8009007C 3C014F80 */ li $at, 0x4F800000 # 0.000000
/* B07220 80090080 448F3000 */ mtc1 $t7, $f6
/* B07224 80090084 05E10004 */ bgez $t7, .L80090098
/* B07228 80090088 46803220 */ cvt.s.w $f8, $f6
/* B0722C 8009008C 44815000 */ mtc1 $at, $f10
/* B07230 80090090 00000000 */ nop
/* B07234 80090094 460A4200 */ add.s $f8, $f8, $f10
.L80090098:
/* B07238 80090098 4604403E */ c.le.s $f8, $f4
/* B0723C 8009009C 00000000 */ nop
/* B07240 800900A0 45000003 */ bc1f .L800900B0
/* B07244 800900A4 00000000 */ nop
/* B07248 800900A8 10000025 */ b .L80090140
/* B0724C 800900AC 24420010 */ addiu $v0, $v0, 0x10
.L800900B0:
/* B07250 800900B0 3C058016 */ lui $a1, %hi(gSaveContext) # $a1, 0x8016
/* B07254 800900B4 24010006 */ li $at, 6
/* B07258 800900B8 1461000C */ bne $v1, $at, .L800900EC
/* B0725C 800900BC 24A5E660 */ addiu $a1, %lo(gSaveContext) # addiu $a1, $a1, -0x19a0
/* B07260 800900C0 8E18067C */ lw $t8, 0x67c($s0)
/* B07264 800900C4 3C0A8012 */ lui $t2, %hi(D_80125E08) # $t2, 0x8012
/* B07268 800900C8 0018C980 */ sll $t9, $t8, 6
/* B0726C 800900CC 07230008 */ bgezl $t9, .L800900F0
/* B07270 800900D0 920B015C */ lbu $t3, 0x15c($s0)
/* B07274 800900D4 8CA80004 */ lw $t0, 4($a1)
/* B07278 800900D8 254A5E08 */ addiu $t2, %lo(D_80125E08) # addiu $t2, $t2, 0x5e08
/* B0727C 800900DC AC800000 */ sw $zero, ($a0)
/* B07280 800900E0 00084880 */ sll $t1, $t0, 2
/* B07284 800900E4 10000016 */ b .L80090140
/* B07288 800900E8 012A1021 */ addu $v0, $t1, $t2
.L800900EC:
/* B0728C 800900EC 920B015C */ lbu $t3, 0x15c($s0)
.L800900F0:
/* B07290 800900F0 3C014000 */ li $at, 0x40000000 # 0.000000
/* B07294 800900F4 15600012 */ bnez $t3, .L80090140
/* B07298 800900F8 00000000 */ nop
/* B0729C 800900FC 44818000 */ mtc1 $at, $f16
/* B072A0 80090100 C6120068 */ lwc1 $f18, 0x68($s0)
/* B072A4 80090104 4612803C */ c.lt.s $f16, $f18
/* B072A8 80090108 00000000 */ nop
/* B072AC 8009010C 4500000C */ bc1f .L80090140
/* B072B0 80090110 00000000 */ nop
/* B072B4 80090114 8E0C067C */ lw $t4, 0x67c($s0)
/* B072B8 80090118 3C188012 */ lui $t8, %hi(D_80125E18) # $t8, 0x8012
/* B072BC 8009011C 27185E18 */ addiu $t8, %lo(D_80125E18) # addiu $t8, $t8, 0x5e18
/* B072C0 80090120 000C6900 */ sll $t5, $t4, 4
/* B072C4 80090124 05A00006 */ bltz $t5, .L80090140
/* B072C8 80090128 00000000 */ nop
/* B072CC 8009012C 8CAE0004 */ lw $t6, 4($a1)
/* B072D0 80090130 24190001 */ li $t9, 1
/* B072D4 80090134 AC990000 */ sw $t9, ($a0)
/* B072D8 80090138 000E7880 */ sll $t7, $t6, 2
/* B072DC 8009013C 01F81021 */ addu $v0, $t7, $t8
.L80090140:
/* B072E0 80090140 3C088016 */ lui $t0, %hi(D_80160004) # $t0, 0x8016
/* B072E4 80090144 8D080004 */ lw $t0, %lo(D_80160004)($t0)
/* B072E8 80090148 00084880 */ sll $t1, $t0, 2
/* B072EC 8009014C 00495021 */ addu $t2, $v0, $t1
/* B072F0 80090150 8D4B0000 */ lw $t3, ($t2)
/* B072F4 80090154 10000061 */ b .L800902DC
/* B072F8 80090158 ACCB0000 */ sw $t3, ($a2)
.L8009015C:
/* B072FC 8009015C 14A40029 */ bne $a1, $a0, .L80090204
/* B07300 80090160 24010014 */ li $at, 20
/* B07304 80090164 3C038016 */ lui $v1, %hi(D_80160018) # $v1, 0x8016
/* B07308 80090168 24630018 */ addiu $v1, %lo(D_80160018) # addiu $v1, $v1, 0x18
/* B0730C 8009016C 8C6C0000 */ lw $t4, ($v1)
/* B07310 80090170 2401000A */ li $at, 10
/* B07314 80090174 8E020160 */ lw $v0, 0x160($s0)
/* B07318 80090178 55810006 */ bnel $t4, $at, .L80090194
/* B0731C 8009017C 920F015D */ lbu $t7, 0x15d($s0)
/* B07320 80090180 820D014E */ lb $t5, 0x14e($s0)
/* B07324 80090184 000D7100 */ sll $t6, $t5, 4
/* B07328 80090188 10000017 */ b .L800901E8
/* B0732C 8009018C 004E1021 */ addu $v0, $v0, $t6
/* B07330 80090190 920F015D */ lbu $t7, 0x15d($s0)
.L80090194:
/* B07334 80090194 24010008 */ li $at, 8
/* B07338 80090198 15E10013 */ bne $t7, $at, .L800901E8
/* B0733C 8009019C 3C014000 */ li $at, 0x40000000 # 0.000000
/* B07340 800901A0 44813000 */ mtc1 $at, $f6
/* B07344 800901A4 C60A0068 */ lwc1 $f10, 0x68($s0)
/* B07348 800901A8 460A303C */ c.lt.s $f6, $f10
/* B0734C 800901AC 00000000 */ nop
/* B07350 800901B0 4500000D */ bc1f .L800901E8
/* B07354 800901B4 00000000 */ nop
/* B07358 800901B8 8E18067C */ lw $t8, 0x67c($s0)
/* B0735C 800901BC 3C058016 */ lui $a1, %hi(gSaveContext) # $a1, 0x8016
/* B07360 800901C0 24A5E660 */ addiu $a1, %lo(gSaveContext) # addiu $a1, $a1, -0x19a0
/* B07364 800901C4 0018C900 */ sll $t9, $t8, 4
/* B07368 800901C8 07200007 */ bltz $t9, .L800901E8
/* B0736C 800901CC 3C0A8012 */ lui $t2, %hi(D_80125E58) # $t2, 0x8012
/* B07370 800901D0 8CA80004 */ lw $t0, 4($a1)
/* B07374 800901D4 254A5E58 */ addiu $t2, %lo(D_80125E58) # addiu $t2, $t2, 0x5e58
/* B07378 800901D8 240B0009 */ li $t3, 9
/* B0737C 800901DC 00084880 */ sll $t1, $t0, 2
/* B07380 800901E0 012A1021 */ addu $v0, $t1, $t2
/* B07384 800901E4 AC6B0000 */ sw $t3, ($v1)
.L800901E8:
/* B07388 800901E8 3C0C8016 */ lui $t4, %hi(D_80160004) # $t4, 0x8016
/* B0738C 800901EC 8D8C0004 */ lw $t4, %lo(D_80160004)($t4)
/* B07390 800901F0 000C6880 */ sll $t5, $t4, 2
/* B07394 800901F4 004D7021 */ addu $t6, $v0, $t5
/* B07398 800901F8 8DCF0000 */ lw $t7, ($t6)
/* B0739C 800901FC 10000037 */ b .L800902DC
/* B073A0 80090200 ACCF0000 */ sw $t7, ($a2)
.L80090204:
/* B073A4 80090204 14A1002C */ bne $a1, $at, .L800902B8
/* B073A8 80090208 3C0B8016 */ lui $t3, %hi(D_80160004) # $t3, 0x8016
/* B073AC 8009020C 9202015E */ lbu $v0, 0x15e($s0)
/* B073B0 80090210 24010012 */ li $at, 18
/* B073B4 80090214 8E030168 */ lw $v1, 0x168($s0)
/* B073B8 80090218 10410003 */ beq $v0, $at, .L80090228
/* B073BC 8009021C 3C058016 */ lui $a1, %hi(gSaveContext) # $a1, 0x8016
/* B073C0 80090220 14820010 */ bne $a0, $v0, .L80090264
/* B073C4 80090224 00000000 */ nop
.L80090228:
/* B073C8 80090228 8202014E */ lb $v0, 0x14e($s0)
/* B073CC 8009022C 24A5E660 */ addiu $a1, %lo(gSaveContext) # addiu $a1, $a1, -0x19a0
/* B073D0 80090230 8CB90004 */ lw $t9, 4($a1)
/* B073D4 80090234 0002C100 */ sll $t8, $v0, 4
/* B073D8 80090238 00781821 */ addu $v1, $v1, $t8
/* B073DC 8009023C 13200018 */ beqz $t9, .L800902A0
/* B073E0 80090240 28410002 */ slti $at, $v0, 2
/* B073E4 80090244 10200016 */ beqz $at, .L800902A0
/* B073E8 80090248 00000000 */ nop
/* B073EC 8009024C 90A80068 */ lbu $t0, 0x68($a1)
/* B073F0 80090250 2401003B */ li $at, 59
/* B073F4 80090254 11010012 */ beq $t0, $at, .L800902A0
/* B073F8 80090258 00000000 */ nop
/* B073FC 8009025C 10000010 */ b .L800902A0
/* B07400 80090260 24630040 */ addiu $v1, $v1, 0x40
.L80090264:
/* B07404 80090264 3C058016 */ lui $a1, %hi(gSaveContext) # $a1, 0x8016
/* B07408 80090268 24A5E660 */ addiu $a1, %lo(gSaveContext) # addiu $a1, $a1, -0x19a0
/* B0740C 8009026C 8CA90004 */ lw $t1, 4($a1)
/* B07410 80090270 1120000B */ beqz $t1, .L800902A0
/* B07414 80090274 00000000 */ nop
/* B07418 80090278 10E20003 */ beq $a3, $v0, .L80090288
/* B0741C 8009027C 24010011 */ li $at, 17
/* B07420 80090280 14410007 */ bne $v0, $at, .L800902A0
/* B07424 80090284 00000000 */ nop
.L80090288:
/* B07428 80090288 90AA0068 */ lbu $t2, 0x68($a1)
/* B0742C 8009028C 2401003B */ li $at, 59
/* B07430 80090290 11410003 */ beq $t2, $at, .L800902A0
/* B07434 80090294 00000000 */ nop
/* B07438 80090298 3C038012 */ lui $v1, %hi(D_80125D68) # $v1, 0x8012
/* B0743C 8009029C 24635D68 */ addiu $v1, %lo(D_80125D68) # addiu $v1, $v1, 0x5d68
.L800902A0:
/* B07440 800902A0 8D6B0004 */ lw $t3, %lo(D_80160004)($t3)
/* B07444 800902A4 000B6080 */ sll $t4, $t3, 2
/* B07448 800902A8 006C6821 */ addu $t5, $v1, $t4
/* B0744C 800902AC 8DAE0000 */ lw $t6, ($t5)
/* B07450 800902B0 1000000A */ b .L800902DC
/* B07454 800902B4 ACCE0000 */ sw $t6, ($a2)
.L800902B8:
/* B07458 800902B8 24010002 */ li $at, 2
/* B0745C 800902BC 14A10007 */ bne $a1, $at, .L800902DC
/* B07460 800902C0 3C188016 */ lui $t8, %hi(D_80160004) # $t8, 0x8016
/* B07464 800902C4 8F180004 */ lw $t8, %lo(D_80160004)($t8)
/* B07468 800902C8 8E0F016C */ lw $t7, 0x16c($s0)
/* B0746C 800902CC 0018C880 */ sll $t9, $t8, 2
/* B07470 800902D0 01F94021 */ addu $t0, $t7, $t9
/* B07474 800902D4 8D090000 */ lw $t1, ($t0)
/* B07478 800902D8 ACC90000 */ sw $t1, ($a2)
.L800902DC:
/* B0747C 800902DC 8FBF0024 */ lw $ra, 0x24($sp)
/* B07480 800902E0 8FB00020 */ lw $s0, 0x20($sp)
/* B07484 800902E4 27BD0028 */ addiu $sp, $sp, 0x28
/* B07488 800902E8 03E00008 */ jr $ra
/* B0748C 800902EC 00001025 */ move $v0, $zero

View file

@ -66,11 +66,11 @@ glabel func_8086518C
/* 0036C 8086526C 0C219411 */ jal func_80865044
/* 00370 80865270 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
.L80865274:
/* 00374 80865274 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00378 80865278 3C188013 */ lui $t8, 0x8013 ## $t8 = 80130000
/* 0037C 8086527C 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 00374 80865274 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00378 80865278 3C188013 */ lui $t8, %hi(D_801333E8)
/* 0037C 8086527C 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00380 80865280 A6000210 */ sh $zero, 0x0210($s0) ## 00000210
/* 00384 80865284 271833E8 */ addiu $t8, $t8, 0x33E8 ## $t8 = 801333E8
/* 00384 80865284 271833E8 */ addiu $t8, %lo(D_801333E8)
/* 00388 80865288 AFB80014 */ sw $t8, 0x0014($sp)
/* 0038C 8086528C AFA70010 */ sw $a3, 0x0010($sp)
/* 00390 80865290 24041814 */ addiu $a0, $zero, 0x1814 ## $a0 = 00001814
@ -414,10 +414,10 @@ glabel func_8086518C
.L80865750:
/* 00850 80865750 0C219411 */ jal func_80865044
/* 00854 80865754 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00858 80865758 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 0085C 8086575C 3C198013 */ lui $t9, 0x8013 ## $t9 = 80130000
/* 00860 80865760 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 00864 80865764 273933E8 */ addiu $t9, $t9, 0x33E8 ## $t9 = 801333E8
/* 00858 80865758 3C078013 */ lui $a3, %hi(D_801333E0)
/* 0085C 8086575C 3C198013 */ lui $t9, %hi(D_801333E8)
/* 00860 80865760 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00864 80865764 273933E8 */ addiu $t9, %lo(D_801333E8)
/* 00868 80865768 AFB90014 */ sw $t9, 0x0014($sp)
/* 0086C 8086576C AFA70010 */ sw $a3, 0x0010($sp)
/* 00870 80865770 24041829 */ addiu $a0, $zero, 0x1829 ## $a0 = 00001829
@ -430,10 +430,10 @@ glabel func_8086518C
.L80865788:
/* 00888 80865788 0C018B58 */ jal func_80062D60
/* 0088C 8086578C 8FA50044 */ lw $a1, 0x0044($sp)
/* 00890 80865790 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00894 80865794 3C088013 */ lui $t0, 0x8013 ## $t0 = 80130000
/* 00898 80865798 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 0089C 8086579C 250833E8 */ addiu $t0, $t0, 0x33E8 ## $t0 = 801333E8
/* 00890 80865790 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00894 80865794 3C088013 */ lui $t0, %hi(D_801333E8)
/* 00898 80865798 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 0089C 8086579C 250833E8 */ addiu $t0, %lo(D_801333E8)
/* 008A0 808657A0 AFA80014 */ sw $t0, 0x0014($sp)
/* 008A4 808657A4 AFA70010 */ sw $a3, 0x0010($sp)
/* 008A8 808657A8 24041813 */ addiu $a0, $zero, 0x1813 ## $a0 = 00001813

View file

@ -93,15 +93,15 @@ glabel func_80870394
/* 008E4 808704C4 0C01A4F6 */ jal Cutscene_SetSegment
/* 008E8 808704C8 8FA40044 */ lw $a0, 0x0044($sp)
/* 008EC 808704CC 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 008F0 808704D0 3C0F8013 */ lui $t7, 0x8013 ## $t7 = 80130000
/* 008F4 808704D4 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 008EC 808704CC 3C078013 */ lui $a3, %hi(D_801333E0)
/* 008F0 808704D0 3C0F8013 */ lui $t7, %hi(D_801333E8)
/* 008F4 808704D4 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 008F8 808704D8 240E0001 */ addiu $t6, $zero, 0x0001 ## $t6 = 00000001
/* 008FC 808704DC 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 00900 808704E0 25EF33E8 */ addiu $t7, $t7, 0x33E8 ## $t7 = 801333E8
/* 00904 808704E4 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 00908 808704E8 A02EFA74 */ sb $t6, -0x058C($at) ## 8015FA74
/* 0090C 808704EC 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 008FC 808704DC 3C018016 */ lui $at, %hi(gSaveContext+0x1414)
/* 00900 808704E0 25EF33E8 */ addiu $t7, %lo(D_801333E8)
/* 00904 808704E4 3C058013 */ lui $a1, %hi(D_801333D4)
/* 00908 808704E8 A02EFA74 */ sb $t6, %lo(gSaveContext+0x1414)($at)
/* 0090C 808704EC 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 00910 808704F0 AFAF0014 */ sw $t7, 0x0014($sp)
/* 00914 808704F4 AFA70010 */ sw $a3, 0x0010($sp)
/* 00918 808704F8 24044802 */ addiu $a0, $zero, 0x4802 ## $a0 = 00004802
@ -114,14 +114,14 @@ glabel func_80870394
/* 00930 80870510 24060031 */ addiu $a2, $zero, 0x0031 ## $a2 = 00000031
/* 00934 80870514 8618001C */ lh $t8, 0x001C($s0) ## 0000001C
.L80870518:
/* 00938 80870518 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 0093C 8087051C 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 00938 80870518 3C058013 */ lui $a1, %hi(D_801333D4)
/* 0093C 8087051C 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 00940 80870520 07010009 */ bgez $t8, .L80870548
/* 00944 80870524 24044807 */ addiu $a0, $zero, 0x4807 ## $a0 = 00004807
/* 00948 80870528 3C198013 */ lui $t9, 0x8013 ## $t9 = 80130000
/* 0094C 8087052C 3C088013 */ lui $t0, 0x8013 ## $t0 = 80130000
/* 00950 80870530 250833E8 */ addiu $t0, $t0, 0x33E8 ## $t0 = 801333E8
/* 00954 80870534 272733E0 */ addiu $a3, $t9, 0x33E0 ## $a3 = 801333E0
/* 00948 80870528 3C198013 */ lui $t9, %hi(D_801333E0)
/* 0094C 8087052C 3C088013 */ lui $t0, %hi(D_801333E8)
/* 00950 80870530 250833E8 */ addiu $t0, %lo(D_801333E8)
/* 00954 80870534 272733E0 */ addiu $a3, $t9, %lo(D_801333E0)
/* 00958 80870538 AFA70010 */ sw $a3, 0x0010($sp)
/* 0095C 8087053C AFA80014 */ sw $t0, 0x0014($sp)
/* 00960 80870540 0C03DCE3 */ jal Audio_PlaySoundGeneral

View file

@ -1,6 +1,6 @@
glabel func_80870564
/* 00984 80870564 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00988 80870568 8DCEFA90 */ lw $t6, -0x0570($t6) ## 8015FA90
/* 00984 80870564 3C0E8016 */ lui $t6, %hi(gGameInfo)
/* 00988 80870568 8DCEFA90 */ lw $t6, %lo(gGameInfo)($t6)
/* 0098C 8087056C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00990 80870570 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00994 80870574 AFA5001C */ sw $a1, 0x001C($sp)

View file

@ -321,10 +321,10 @@ glabel func_80871364
/* 00700 808717F0 00063400 */ sll $a2, $a2, 16
/* 00704 808717F4 0C016A87 */ jal func_8005AA1C
/* 00708 808717F8 00063403 */ sra $a2, $a2, 16
/* 0070C 808717FC 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00710 80871800 3C0C8013 */ lui $t4, 0x8013 ## $t4 = 80130000
/* 00714 80871804 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 00718 80871808 258C33E8 */ addiu $t4, $t4, 0x33E8 ## $t4 = 801333E8
/* 0070C 808717FC 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00710 80871800 3C0C8013 */ lui $t4, %hi(D_801333E8)
/* 00714 80871804 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00718 80871808 258C33E8 */ addiu $t4, %lo(D_801333E8)
/* 0071C 8087180C AFAC0014 */ sw $t4, 0x0014($sp)
/* 00720 80871810 AFA70010 */ sw $a3, 0x0010($sp)
/* 00724 80871814 24042027 */ addiu $a0, $zero, 0x2027 ## $a0 = 00002027

View file

@ -47,13 +47,13 @@ glabel func_80871CF4
/* 00394 80871D94 0C00B2DD */ jal Flags_SetSwitch
/* 00398 80871D98 30A5003F */ andi $a1, $a1, 0x003F ## $a1 = 00000000
/* 0039C 80871D9C 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 003A0 80871DA0 3C098013 */ lui $t1, 0x8013 ## $t1 = 80130000
/* 003A4 80871DA4 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 0039C 80871D9C 3C078013 */ lui $a3, %hi(D_801333E0)
/* 003A0 80871DA0 3C098013 */ lui $t1, %hi(D_801333E8)
/* 003A4 80871DA4 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 003A8 80871DA8 A6000164 */ sh $zero, 0x0164($s0) ## 00000164
/* 003AC 80871DAC 252933E8 */ addiu $t1, $t1, 0x33E8 ## $t1 = 801333E8
/* 003B0 80871DB0 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 003B4 80871DB4 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 003AC 80871DAC 252933E8 */ addiu $t1, %lo(D_801333E8)
/* 003B0 80871DB0 3C058013 */ lui $a1, %hi(D_801333D4)
/* 003B4 80871DB4 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 003B8 80871DB8 AFA90014 */ sw $t1, 0x0014($sp)
/* 003BC 80871DBC AFA70010 */ sw $a3, 0x0010($sp)
/* 003C0 80871DC0 24044802 */ addiu $a0, $zero, 0x4802 ## $a0 = 00004802
@ -103,12 +103,12 @@ glabel func_80871CF4
/* 00460 80871E60 24A52288 */ addiu $a1, $a1, %lo(func_80872288) ## $a1 = 80872288
/* 00464 80871E64 0C21C680 */ jal BgDodoago_SetupAction
/* 00468 80871E68 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0046C 80871E6C 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00470 80871E70 3C088013 */ lui $t0, 0x8013 ## $t0 = 80130000
/* 00474 80871E74 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 00478 80871E78 250833E8 */ addiu $t0, $t0, 0x33E8 ## $t0 = 801333E8
/* 0047C 80871E7C 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 00480 80871E80 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 0046C 80871E6C 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00470 80871E70 3C088013 */ lui $t0, %hi(D_801333E8)
/* 00474 80871E74 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00478 80871E78 250833E8 */ addiu $t0, %lo(D_801333E8)
/* 0047C 80871E7C 3C058013 */ lui $a1, %hi(D_801333D4)
/* 00480 80871E80 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 00484 80871E84 AFA80014 */ sw $t0, 0x0014($sp)
/* 00488 80871E88 AFA70010 */ sw $a3, 0x0010($sp)
/* 0048C 80871E8C 24044802 */ addiu $a0, $zero, 0x4802 ## $a0 = 00004802
@ -121,12 +121,12 @@ glabel func_80871CF4
/* 004A0 80871EA0 02003825 */ or $a3, $s0, $zero ## $a3 = 00000000
/* 004A4 80871EA4 0C02003E */ jal func_800800F8
/* 004A8 80871EA8 AFA00010 */ sw $zero, 0x0010($sp)
/* 004AC 80871EAC 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 004B0 80871EB0 3C098013 */ lui $t1, 0x8013 ## $t1 = 80130000
/* 004B4 80871EB4 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 004B8 80871EB8 252933E8 */ addiu $t1, $t1, 0x33E8 ## $t1 = 801333E8
/* 004BC 80871EBC 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 004C0 80871EC0 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 004AC 80871EAC 3C078013 */ lui $a3, %hi(D_801333E0)
/* 004B0 80871EB0 3C098013 */ lui $t1, %hi(D_801333E8)
/* 004B4 80871EB4 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 004B8 80871EB8 252933E8 */ addiu $t1, %lo(D_801333E8)
/* 004BC 80871EBC 3C058013 */ lui $a1, %hi(D_801333D4)
/* 004C0 80871EC0 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 004C4 80871EC4 AFA90014 */ sw $t1, 0x0014($sp)
/* 004C8 80871EC8 AFA70010 */ sw $a3, 0x0010($sp)
/* 004CC 80871ECC 24044806 */ addiu $a0, $zero, 0x4806 ## $a0 = 00004806

View file

@ -150,15 +150,15 @@ glabel func_80871FB8
/* 007E8 808721E8 240703E8 */ addiu $a3, $zero, 0x03E8 ## $a3 = 000003E8
/* 007EC 808721EC 14400011 */ bne $v0, $zero, .L80872234
/* 007F0 808721F0 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 007F0 808721F0 3C078013 */ lui $a3, %hi(D_801333E0)
/* 007F4 808721F4 3C058087 */ lui $a1, %hi(func_8087227C) ## $a1 = 80870000
/* 007F8 808721F8 24A5227C */ addiu $a1, $a1, %lo(func_8087227C) ## $a1 = 8087227C
/* 007FC 808721FC 0C21C680 */ jal BgDodoago_SetupAction
/* 00800 80872200 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00804 80872204 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00808 80872208 3C0C8013 */ lui $t4, 0x8013 ## $t4 = 80130000
/* 0080C 8087220C 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 00810 80872210 258C33E8 */ addiu $t4, $t4, 0x33E8 ## $t4 = 801333E8
/* 00804 80872204 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00808 80872208 3C0C8013 */ lui $t4, %hi(D_801333E8)
/* 0080C 8087220C 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00810 80872210 258C33E8 */ addiu $t4, %lo(D_801333E8)
/* 00814 80872214 AFAC0014 */ sw $t4, 0x0014($sp)
/* 00818 80872218 AFA70010 */ sw $a3, 0x0010($sp)
/* 0081C 8087221C 2404281D */ addiu $a0, $zero, 0x281D ## $a0 = 0000281D
@ -169,9 +169,9 @@ glabel func_80871FB8
/* 0082C 8087222C 1000000B */ beq $zero, $zero, .L8087225C
/* 00830 80872230 8FBF0044 */ lw $ra, 0x0044($sp)
.L80872234:
/* 00834 80872234 3C0D8013 */ lui $t5, 0x8013 ## $t5 = 80130000
/* 00838 80872238 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 000033E0
/* 0083C 8087223C 25AD33E8 */ addiu $t5, $t5, 0x33E8 ## $t5 = 801333E8
/* 00834 80872234 3C0D8013 */ lui $t5, %hi(D_801333E8)
/* 00838 80872238 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 0083C 8087223C 25AD33E8 */ addiu $t5, %lo(D_801333E8)
/* 00840 80872240 AFAD0014 */ sw $t5, 0x0014($sp)
/* 00844 80872244 AFA70010 */ sw $a3, 0x0010($sp)
/* 00848 80872248 2404201E */ addiu $a0, $zero, 0x201E ## $a0 = 0000201E

View file

@ -157,8 +157,8 @@ glabel func_80872960
/* 00330 80872B60 46083400 */ add.s $f16, $f6, $f8
/* 00334 80872B64 E7B000B4 */ swc1 $f16, 0x00B4($sp)
.L80872B68:
/* 00338 80872B68 3C0B8016 */ lui $t3, 0x8016 ## $t3 = 80160000
/* 0033C 80872B6C 8D6BE664 */ lw $t3, -0x199C($t3) ## 8015E664
/* 00338 80872B68 3C0B8016 */ lui $t3, %hi(gSaveContext+4)
/* 0033C 80872B6C 8D6BE664 */ lw $t3, %lo(gSaveContext+4)($t3)
/* 00340 80872B70 C7AA00B0 */ lwc1 $f10, 0x00B0($sp)
/* 00344 80872B74 3C0141A0 */ lui $at, 0x41A0 ## $at = 41A00000
/* 00348 80872B78 15600005 */ bne $t3, $zero, .L80872B90

View file

@ -17,10 +17,10 @@ glabel func_80872D20
/* 00528 80872D58 A42E04C6 */ sh $t6, 0x04C6($at) ## 000104C6
/* 0052C 80872D5C 84EF00A4 */ lh $t7, 0x00A4($a3) ## 000000A4
/* 00530 80872D60 2401003B */ addiu $at, $zero, 0x003B ## $at = 0000003B
/* 00534 80872D64 3C188016 */ lui $t8, 0x8016 ## $t8 = 80160000
/* 00534 80872D64 3C188016 */ lui $t8, %hi(gSaveContext+0x3a)
/* 00538 80872D68 15E1000B */ bne $t7, $at, .L80872D98
/* 0053C 80872D6C 3C088016 */ lui $t0, 0x8016 ## $t0 = 80160000
/* 00540 80872D70 9318E69A */ lbu $t8, -0x1966($t8) ## 8015E69A
/* 0053C 80872D6C 3C088016 */ lui $t0, %hi(gSaveContext+0x3a)
/* 00540 80872D70 9318E69A */ lbu $t8, %lo(gSaveContext+0x3a)($t8)
/* 00544 80872D74 57000010 */ bnel $t8, $zero, .L80872DB8
/* 00548 80872D78 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 0054C 80872D7C 861902EC */ lh $t9, 0x02EC($s0) ## 000002EC
@ -32,7 +32,7 @@ glabel func_80872D20
/* 00560 80872D90 10000010 */ beq $zero, $zero, .L80872DD4
/* 00564 80872D94 8FBF001C */ lw $ra, 0x001C($sp)
.L80872D98:
/* 00568 80872D98 9108E69A */ lbu $t0, -0x1966($t0) ## FFFFE69A
/* 00568 80872D98 9108E69A */ lbu $t0, %lo(gSaveContext+0x3a)($t0)
/* 0056C 80872D9C 55000006 */ bnel $t0, $zero, .L80872DB8
/* 00570 80872DA0 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 00574 80872DA4 0C00B55C */ jal Actor_Kill

View file

@ -42,18 +42,18 @@ glabel func_80872DE4
/* 00604 80872E34 53010023 */ beql $t8, $at, .L80872EC4
/* 00608 80872E38 8FAE0020 */ lw $t6, 0x0020($sp)
/* 0060C 80872E3C 850202EC */ lh $v0, 0x02EC($t0) ## 000002EC
/* 00610 80872E40 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 00614 80872E44 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015E660
/* 00610 80872E40 3C058016 */ lui $a1, %hi(gSaveContext)
/* 00614 80872E44 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* 00618 80872E48 10400009 */ beq $v0, $zero, .L80872E70
/* 0061C 80872E4C 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 00620 80872E50 1041000D */ beq $v0, $at, .L80872E88
/* 00624 80872E54 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 00624 80872E54 3C058016 */ lui $a1, %hi(gSaveContext)
/* 00628 80872E58 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 0062C 80872E5C 10410011 */ beq $v0, $at, .L80872EA4
/* 00630 80872E60 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 00634 80872E64 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 00630 80872E60 3C058016 */ lui $a1, %hi(gSaveContext)
/* 00634 80872E64 3C058016 */ lui $a1, %hi(gSaveContext)
/* 00638 80872E68 10000054 */ beq $zero, $zero, .L80872FBC
/* 0063C 80872E6C 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015E660
/* 0063C 80872E6C 24A5E660 */ addiu $a1, %lo(gSaveContext)
.L80872E70:
/* 00640 80872E70 94B90EF2 */ lhu $t9, 0x0EF2($a1) ## 8015F552
/* 00644 80872E74 33290100 */ andi $t1, $t9, 0x0100 ## $t1 = 00000000
@ -62,7 +62,7 @@ glabel func_80872DE4
/* 00650 80872E80 1000004E */ beq $zero, $zero, .L80872FBC
/* 00654 80872E84 24030001 */ addiu $v1, $zero, 0x0001 ## $v1 = 00000001
.L80872E88:
/* 00658 80872E88 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015CCC0
/* 00658 80872E88 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* 0065C 80872E8C 94AA0EF2 */ lhu $t2, 0x0EF2($a1) ## 8015DBB2
/* 00660 80872E90 314B0200 */ andi $t3, $t2, 0x0200 ## $t3 = 00000000
/* 00664 80872E94 15600049 */ bne $t3, $zero, .L80872FBC
@ -70,7 +70,7 @@ glabel func_80872DE4
/* 0066C 80872E9C 10000047 */ beq $zero, $zero, .L80872FBC
/* 00670 80872EA0 24030001 */ addiu $v1, $zero, 0x0001 ## $v1 = 00000001
.L80872EA4:
/* 00674 80872EA4 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015B320
/* 00674 80872EA4 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* 00678 80872EA8 94AC0EF2 */ lhu $t4, 0x0EF2($a1) ## 8015C212
/* 0067C 80872EAC 318D0400 */ andi $t5, $t4, 0x0400 ## $t5 = 00000000
/* 00680 80872EB0 15A00042 */ bne $t5, $zero, .L80872FBC
@ -83,23 +83,23 @@ glabel func_80872DE4
/* 00698 80872EC8 1040000A */ beq $v0, $zero, .L80872EF4
/* 0069C 80872ECC 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 006A0 80872ED0 1041001D */ beq $v0, $at, .L80872F48
/* 006A4 80872ED4 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 006A4 80872ED4 3C058016 */ lui $a1, %hi(gSaveContext)
/* 006A8 80872ED8 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 006AC 80872EDC 10410029 */ beq $v0, $at, .L80872F84
/* 006B0 80872EE0 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 006B4 80872EE4 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 006B8 80872EE8 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015E660
/* 006B0 80872EE0 3C058016 */ lui $a1, %hi(gSaveContext)
/* 006B4 80872EE4 3C058016 */ lui $a1, %hi(gSaveContext)
/* 006B8 80872EE8 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* 006BC 80872EEC 10000033 */ beq $zero, $zero, .L80872FBC
/* 006C0 80872EF0 01C04025 */ or $t0, $t6, $zero ## $t0 = 00000000
.L80872EF4:
/* 006C4 80872EF4 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 006C8 80872EF8 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015E660
/* 006C4 80872EF4 3C058016 */ lui $a1, %hi(gSaveContext)
/* 006C8 80872EF8 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* 006CC 80872EFC 90AF003A */ lbu $t7, 0x003A($a1) ## 8015E69A
/* 006D0 80872F00 3C188016 */ lui $t8, 0x8016 ## $t8 = 80160000
/* 006D0 80872F00 3C188016 */ lui $t8, %hi(gGameInfo)
/* 006D4 80872F04 3C048087 */ lui $a0, %hi(D_8087556C) ## $a0 = 80870000
/* 006D8 80872F08 11E00005 */ beq $t7, $zero, .L80872F20
/* 006DC 80872F0C 00000000 */ nop
/* 006E0 80872F10 8F18FA90 */ lw $t8, -0x0570($t8) ## 8015FA90
/* 006E0 80872F10 8F18FA90 */ lw $t8, %lo(gGameInfo)($t8)
/* 006E4 80872F14 871912D8 */ lh $t9, 0x12D8($t8) ## 801612D8
/* 006E8 80872F18 13200009 */ beq $t9, $zero, .L80872F40
/* 006EC 80872F1C 00000000 */ nop
@ -108,16 +108,16 @@ glabel func_80872DE4
/* 006F4 80872F24 2484556C */ addiu $a0, $a0, %lo(D_8087556C) ## $a0 = 8087556C
/* 006F8 80872F28 8FAA0020 */ lw $t2, 0x0020($sp)
/* 006FC 80872F2C 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 006FC 80872F2C 3C058016 */ lui $a1, %hi(gSaveContext)
/* 00700 80872F30 24090001 */ addiu $t1, $zero, 0x0001 ## $t1 = 00000001
/* 00704 80872F34 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015E660
/* 00704 80872F34 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* 00708 80872F38 24030001 */ addiu $v1, $zero, 0x0001 ## $v1 = 00000001
/* 0070C 80872F3C A54902EA */ sh $t1, 0x02EA($t2) ## 000002EA
.L80872F40:
/* 00710 80872F40 1000001E */ beq $zero, $zero, .L80872FBC
/* 00714 80872F44 8FA80020 */ lw $t0, 0x0020($sp)
.L80872F48:
/* 00718 80872F48 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015CCC0
/* 00718 80872F48 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* 0071C 80872F4C 90AB003C */ lbu $t3, 0x003C($a1) ## 8015CCFC
/* 00720 80872F50 3C048087 */ lui $a0, %hi(D_808755A0) ## $a0 = 80870000
/* 00724 80872F54 15600009 */ bne $t3, $zero, .L80872F7C
@ -126,16 +126,16 @@ glabel func_80872DE4
/* 00730 80872F60 248455A0 */ addiu $a0, $a0, %lo(D_808755A0) ## $a0 = 808755A0
/* 00734 80872F64 8FAD0020 */ lw $t5, 0x0020($sp)
/* 00738 80872F68 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 00738 80872F68 3C058016 */ lui $a1, %hi(gSaveContext)
/* 0073C 80872F6C 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001
/* 00740 80872F70 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015E660
/* 00740 80872F70 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* 00744 80872F74 24030001 */ addiu $v1, $zero, 0x0001 ## $v1 = 00000001
/* 00748 80872F78 A5AC02EA */ sh $t4, 0x02EA($t5) ## 000002EA
.L80872F7C:
/* 0074C 80872F7C 1000000F */ beq $zero, $zero, .L80872FBC
/* 00750 80872F80 8FA80020 */ lw $t0, 0x0020($sp)
.L80872F84:
/* 00754 80872F84 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015CCC0
/* 00754 80872F84 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* 00758 80872F88 90AE003D */ lbu $t6, 0x003D($a1) ## 8015CCFD
/* 0075C 80872F8C 3C048087 */ lui $a0, %hi(D_808755D8) ## $a0 = 80870000
/* 00760 80872F90 55C0000A */ bnel $t6, $zero, .L80872FBC
@ -144,9 +144,9 @@ glabel func_80872DE4
/* 0076C 80872F9C 248455D8 */ addiu $a0, $a0, %lo(D_808755D8) ## $a0 = 808755D8
/* 00770 80872FA0 8FB80020 */ lw $t8, 0x0020($sp)
/* 00774 80872FA4 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 00774 80872FA4 3C058016 */ lui $a1, %hi(gSaveContext)
/* 00778 80872FA8 240F0001 */ addiu $t7, $zero, 0x0001 ## $t7 = 00000001
/* 0077C 80872FAC 24A5E660 */ addiu $a1, $a1, 0xE660 ## $a1 = 8015E660
/* 0077C 80872FAC 24A5E660 */ addiu $a1, %lo(gSaveContext)
/* 00780 80872FB0 24030001 */ addiu $v1, $zero, 0x0001 ## $v1 = 00000001
/* 00784 80872FB4 A70F02EA */ sh $t7, 0x02EA($t8) ## 000002EA
/* 00788 80872FB8 8FA80020 */ lw $t0, 0x0020($sp)
@ -164,13 +164,13 @@ glabel func_80872DE4
/* 007B4 80872FE4 11410041 */ beq $t2, $at, .L808730EC
/* 007B8 80872FE8 00000000 */ nop
/* 007BC 80872FEC 10400009 */ beq $v0, $zero, .L80873014
/* 007C0 80872FF0 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 007C0 80872FF0 3C0E8016 */ lui $t6, %hi(gSegments)
/* 007C4 80872FF4 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 007C8 80872FF8 10410018 */ beq $v0, $at, .L8087305C
/* 007CC 80872FFC 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 007CC 80872FFC 3C0E8016 */ lui $t6, %hi(gSegments)
/* 007D0 80873000 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 007D4 80873004 10410027 */ beq $v0, $at, .L808730A4
/* 007D8 80873008 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 007D8 80873008 3C0E8016 */ lui $t6, %hi(gSegments)
/* 007DC 8087300C 10000076 */ beq $zero, $zero, .L808731E8
/* 007E0 80873010 00000000 */ nop
.L80873014:
@ -181,7 +181,7 @@ glabel func_80872DE4
/* 007F4 80873024 000C6880 */ sll $t5, $t4, 2
/* 007F8 80873028 01CD7021 */ addu $t6, $t6, $t5
/* 007FC 8087302C 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00800 80873030 8DCE6FA8 */ lw $t6, 0x6FA8($t6) ## 80166FA8
/* 00800 80873030 8DCE6FA8 */ lw $t6, %lo(gSegments)($t6)
/* 00804 80873034 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00808 80873038 00417824 */ and $t7, $v0, $at
/* 0080C 8087303C 8FA90024 */ lw $t1, 0x0024($sp)
@ -200,7 +200,7 @@ glabel func_80872DE4
/* 0083C 8087306C 000C6880 */ sll $t5, $t4, 2
/* 00840 80873070 01CD7021 */ addu $t6, $t6, $t5
/* 00844 80873074 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00848 80873078 8DCE6FA8 */ lw $t6, 0x6FA8($t6) ## 80166FA8
/* 00848 80873078 8DCE6FA8 */ lw $t6, %lo(gSegments)($t6)
/* 0084C 8087307C 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00850 80873080 00417824 */ and $t7, $v0, $at
/* 00854 80873084 8FA90024 */ lw $t1, 0x0024($sp)
@ -219,7 +219,7 @@ glabel func_80872DE4
/* 00884 808730B4 000C6880 */ sll $t5, $t4, 2
/* 00888 808730B8 01CD7021 */ addu $t6, $t6, $t5
/* 0088C 808730BC 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00890 808730C0 8DCE6FA8 */ lw $t6, 0x6FA8($t6) ## 80166FA8
/* 00890 808730C0 8DCE6FA8 */ lw $t6, %lo(gSegments)($t6)
/* 00894 808730C4 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00898 808730C8 00417824 */ and $t7, $v0, $at
/* 0089C 808730CC 8FA90024 */ lw $t1, 0x0024($sp)
@ -232,13 +232,13 @@ glabel func_80872DE4
/* 008B8 808730E8 A0AA1414 */ sb $t2, 0x1414($a1) ## 8015FA74
.L808730EC:
/* 008BC 808730EC 10400009 */ beq $v0, $zero, .L80873114
/* 008C0 808730F0 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 008C0 808730F0 3C0E8016 */ lui $t6, %hi(gSegments)
/* 008C4 808730F4 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 008C8 808730F8 10410018 */ beq $v0, $at, .L8087315C
/* 008CC 808730FC 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 008CC 808730FC 3C0E8016 */ lui $t6, %hi(gSegments)
/* 008D0 80873100 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 008D4 80873104 10410027 */ beq $v0, $at, .L808731A4
/* 008D8 80873108 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 008D8 80873108 3C0E8016 */ lui $t6, %hi(gSegments)
/* 008DC 8087310C 10000036 */ beq $zero, $zero, .L808731E8
/* 008E0 80873110 00000000 */ nop
.L80873114:
@ -249,7 +249,7 @@ glabel func_80872DE4
/* 008F4 80873124 000C6880 */ sll $t5, $t4, 2
/* 008F8 80873128 01CD7021 */ addu $t6, $t6, $t5
/* 008FC 8087312C 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00900 80873130 8DCE6FA8 */ lw $t6, 0x6FA8($t6) ## 80166FA8
/* 00900 80873130 8DCE6FA8 */ lw $t6, %lo(gSegments)($t6)
/* 00904 80873134 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00908 80873138 00417824 */ and $t7, $v0, $at
/* 0090C 8087313C 8FA90024 */ lw $t1, 0x0024($sp)
@ -268,7 +268,7 @@ glabel func_80872DE4
/* 0093C 8087316C 000C6880 */ sll $t5, $t4, 2
/* 00940 80873170 01CD7021 */ addu $t6, $t6, $t5
/* 00944 80873174 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00948 80873178 8DCE6FA8 */ lw $t6, 0x6FA8($t6) ## 80166FA8
/* 00948 80873178 8DCE6FA8 */ lw $t6, %lo(gSegments)($t6)
/* 0094C 8087317C 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00950 80873180 00417824 */ and $t7, $v0, $at
/* 00954 80873184 8FA90024 */ lw $t1, 0x0024($sp)
@ -287,7 +287,7 @@ glabel func_80872DE4
/* 00984 808731B4 000C6880 */ sll $t5, $t4, 2
/* 00988 808731B8 01CD7021 */ addu $t6, $t6, $t5
/* 0098C 808731BC 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00990 808731C0 8DCE6FA8 */ lw $t6, 0x6FA8($t6) ## 80166FA8
/* 00990 808731C0 8DCE6FA8 */ lw $t6, %lo(gSegments)($t6)
/* 00994 808731C4 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00998 808731C8 00417824 */ and $t7, $v0, $at
/* 0099C 808731CC 8FA90024 */ lw $t1, 0x0024($sp)

View file

@ -131,14 +131,14 @@ glabel func_80873868
/* 011F8 80873A28 86020306 */ lh $v0, 0x0306($s0) ## 00000306
.L80873A2C:
/* 011FC 80873A2C 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
/* 01200 80873A30 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 01200 80873A30 3C038016 */ lui $v1, %hi(gSaveContext)
/* 01204 80873A34 28410002 */ slti $at, $v0, 0x0002
/* 01208 80873A38 14200002 */ bne $at, $zero, .L80873A44
/* 0120C 80873A3C 244EFFFF */ addiu $t6, $v0, 0xFFFF ## $t6 = FFFFFFFF
/* 01210 80873A40 A60E0306 */ sh $t6, 0x0306($s0) ## 00000306
.L80873A44:
/* 01214 80873A44 86020302 */ lh $v0, 0x0302($s0) ## 00000302
/* 01218 80873A48 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 01218 80873A48 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 0121C 80873A4C 24180140 */ addiu $t8, $zero, 0x0140 ## $t8 = 00000140
/* 01220 80873A50 2841006E */ slti $at, $v0, 0x006E
/* 01224 80873A54 14200003 */ bne $at, $zero, .L80873A64
@ -157,8 +157,8 @@ glabel func_80873868
/* 01254 80873A84 86020302 */ lh $v0, 0x0302($s0) ## 00000302
/* 01258 80873A88 24080001 */ addiu $t0, $zero, 0x0001 ## $t0 = 00000001
.L80873A8C:
/* 0125C 80873A8C 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 01260 80873A90 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 0125C 80873A8C 3C038016 */ lui $v1, %hi(gSaveContext)
/* 01260 80873A90 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 01264 80873A94 84690030 */ lh $t1, 0x0030($v1) ## 8015E690
/* 01268 80873A98 846A002E */ lh $t2, 0x002E($v1) ## 8015E68E
/* 0126C 80873A9C 241900DA */ addiu $t9, $zero, 0x00DA ## $t9 = 000000DA

View file

@ -178,46 +178,46 @@ glabel func_80874304
/* 01D48 80874578 240D0001 */ addiu $t5, $zero, 0x0001 ## $t5 = 00000001
/* 01D4C 8087457C 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 01D50 80874580 10610010 */ beq $v1, $at, .L808745C4
/* 01D54 80874584 3C0F8016 */ lui $t7, 0x8016 ## $t7 = 80160000
/* 01D54 80874584 3C0F8016 */ lui $t7, %hi(gSaveContext+0x3a)
/* 01D58 80874588 24010002 */ addiu $at, $zero, 0x0002 ## $at = 00000002
/* 01D5C 8087458C 1061001F */ beq $v1, $at, .L8087460C
/* 01D60 80874590 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
/* 01D64 80874594 10000024 */ beq $zero, $zero, .L80874628
/* 01D68 80874598 920C02E6 */ lbu $t4, 0x02E6($s0) ## 000002E6
.L8087459C:
/* 01D6C 8087459C 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 01D70 808745A0 A02DE69A */ sb $t5, -0x1966($at) ## 8015E69A
/* 01D74 808745A4 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 01D6C 8087459C 3C018016 */ lui $at, %hi(gSaveContext+0x3a)
/* 01D70 808745A0 A02DE69A */ sb $t5, %lo(gSaveContext+0x3a)($at)
/* 01D74 808745A4 3C018016 */ lui $at, %hi(gSaveContext+0x13f6)
/* 01D78 808745A8 240E0030 */ addiu $t6, $zero, 0x0030 ## $t6 = 00000030
/* 01D7C 808745AC A42EFA56 */ sh $t6, -0x05AA($at) ## 8015FA56
/* 01D7C 808745AC A42EFA56 */ sh $t6, %lo(gSaveContext+0x13f6)($at)
/* 01D80 808745B0 24040009 */ addiu $a0, $zero, 0x0009 ## $a0 = 00000009
/* 01D84 808745B4 0C020978 */ jal Interface_ChangeAlpha
/* 01D88 808745B8 A7A30056 */ sh $v1, 0x0056($sp)
/* 01D8C 808745BC 10000019 */ beq $zero, $zero, .L80874624
/* 01D90 808745C0 87A30056 */ lh $v1, 0x0056($sp)
.L808745C4:
/* 01D94 808745C4 91EFE69A */ lbu $t7, -0x1966($t7) ## FFFFE69A
/* 01D94 808745C4 91EFE69A */ lbu $t7, %lo(gSaveContext+0x3a)($t7)
/* 01D98 808745C8 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
/* 01D9C 808745CC 240A0060 */ addiu $t2, $zero, 0x0060 ## $t2 = 00000060
/* 01DA0 808745D0 15E00004 */ bne $t7, $zero, .L808745E4
/* 01DA4 808745D4 24040009 */ addiu $a0, $zero, 0x0009 ## $a0 = 00000009
/* 01DA8 808745D8 24180001 */ addiu $t8, $zero, 0x0001 ## $t8 = 00000001
/* 01DAC 808745DC 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 01DB0 808745E0 A038E69A */ sb $t8, -0x1966($at) ## 8015E69A
/* 01DAC 808745DC 3C018016 */ lui $at, %hi(gSaveContext+0x3a)
/* 01DB0 808745E0 A038E69A */ sb $t8, %lo(gSaveContext+0x3a)($at)
.L808745E4:
/* 01DB4 808745E4 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 01DB8 808745E8 A039E69C */ sb $t9, -0x1964($at) ## 8015E69C
/* 01DBC 808745EC 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 01DC0 808745F0 A42AFA56 */ sh $t2, -0x05AA($at) ## 8015FA56
/* 01DC4 808745F4 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 01DC8 808745F8 A020E692 */ sb $zero, -0x196E($at) ## 8015E692
/* 01DB4 808745E4 3C018016 */ lui $at, %hi(gSaveContext+0x3c)
/* 01DB8 808745E8 A039E69C */ sb $t9, %lo(gSaveContext+0x3c)($at)
/* 01DBC 808745EC 3C018016 */ lui $at, %hi(gSaveContext+0x13f6)
/* 01DC0 808745F0 A42AFA56 */ sh $t2, %lo(gSaveContext+0x13f6)($at)
/* 01DC4 808745F4 3C018016 */ lui $at, %hi(gSaveContext+0x32)
/* 01DC8 808745F8 A020E692 */ sb $zero, %lo(gSaveContext+0x32)($at)
/* 01DCC 808745FC 0C020978 */ jal Interface_ChangeAlpha
/* 01DD0 80874600 A7A30056 */ sh $v1, 0x0056($sp)
/* 01DD4 80874604 10000007 */ beq $zero, $zero, .L80874624
/* 01DD8 80874608 87A30056 */ lh $v1, 0x0056($sp)
.L8087460C:
/* 01DDC 8087460C 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 01DE0 80874610 A02BE69D */ sb $t3, -0x1963($at) ## 8015E69D
/* 01DDC 8087460C 3C018016 */ lui $at, %hi(gSaveContext+0x3d)
/* 01DE0 80874610 A02BE69D */ sb $t3, %lo(gSaveContext+0x3d)($at)
/* 01DE4 80874614 24040009 */ addiu $a0, $zero, 0x0009 ## $a0 = 00000009
/* 01DE8 80874618 0C020978 */ jal Interface_ChangeAlpha
/* 01DEC 8087461C A7A30056 */ sh $v1, 0x0056($sp)
@ -225,8 +225,8 @@ glabel func_80874304
.L80874624:
/* 01DF4 80874624 920C02E6 */ lbu $t4, 0x02E6($s0) ## 000002E6
.L80874628:
/* 01DF8 80874628 3C098016 */ lui $t1, 0x8016 ## $t1 = 80160000
/* 01DFC 8087462C 2529E660 */ addiu $t1, $t1, 0xE660 ## $t1 = 8015E660
/* 01DF8 80874628 3C098016 */ lui $t1, %hi(gSaveContext)
/* 01DFC 8087462C 2529E660 */ addiu $t1, %lo(gSaveContext)
/* 01E00 80874630 15800008 */ bne $t4, $zero, .L80874654
/* 01E04 80874634 240D0140 */ addiu $t5, $zero, 0x0140 ## $t5 = 00000140
/* 01E08 80874638 A52D1424 */ sh $t5, 0x1424($t1) ## 8015FA84
@ -239,10 +239,10 @@ glabel func_80874304
.L80874654:
/* 01E24 80874654 862300A4 */ lh $v1, 0x00A4($s1) ## 000000A4
.L80874658:
/* 01E28 80874658 3C098016 */ lui $t1, 0x8016 ## $t1 = 80160000
/* 01E28 80874658 3C098016 */ lui $t1, %hi(gSaveContext)
/* 01E2C 8087465C 2401003B */ addiu $at, $zero, 0x003B ## $at = 0000003B
/* 01E30 80874660 10610074 */ beq $v1, $at, .L80874834
/* 01E34 80874664 2529E660 */ addiu $t1, $t1, 0xE660 ## $t1 = 8015E660
/* 01E34 80874664 2529E660 */ addiu $t1, %lo(gSaveContext)
/* 01E38 80874668 8E2F1D8C */ lw $t7, 0x1D8C($s1) ## 00001D8C
/* 01E3C 8087466C 95E20000 */ lhu $v0, 0x0000($t7) ## 00000000
/* 01E40 80874670 2841000E */ slti $at, $v0, 0x000E
@ -293,8 +293,8 @@ glabel func_80874304
/* 01EE8 80874718 87A30056 */ lh $v1, 0x0056($sp)
/* 01EEC 8087471C 10400025 */ beq $v0, $zero, .L808747B4
/* 01EF0 80874720 AE020344 */ sw $v0, 0x0344($s0) ## 00000344
/* 01EF4 80874724 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 01EF8 80874728 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 01EF4 80874724 3C028016 */ lui $v0, %hi(gSaveContext)
/* 01EF8 80874728 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 01EFC 8087472C 904B003A */ lbu $t3, 0x003A($v0) ## 8015E69A
/* 01F00 80874730 240C0001 */ addiu $t4, $zero, 0x0001 ## $t4 = 00000001
/* 01F04 80874734 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
@ -305,8 +305,8 @@ glabel func_80874304
.L80874748:
/* 01F18 80874748 0C021DA0 */ jal func_80087680
/* 01F1C 8087474C A7A30056 */ sh $v1, 0x0056($sp)
/* 01F20 80874750 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 01F24 80874754 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 01F20 80874750 3C028016 */ lui $v0, %hi(gSaveContext)
/* 01F24 80874754 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 01F28 80874758 87A30056 */ lh $v1, 0x0056($sp)
.L8087475C:
/* 01F2C 8087475C 240D0001 */ addiu $t5, $zero, 0x0001 ## $t5 = 00000001
@ -317,9 +317,9 @@ glabel func_80874304
/* 01F40 80874770 0C020978 */ jal Interface_ChangeAlpha
/* 01F44 80874774 24040009 */ addiu $a0, $zero, 0x0009 ## $a0 = 00000009
/* 01F48 80874778 8FB80040 */ lw $t8, 0x0040($sp)
/* 01F4C 8087477C 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 01F4C 8087477C 3C028016 */ lui $v0, %hi(gSaveContext)
/* 01F50 80874780 3C198087 */ lui $t9, %hi(D_808754C0) ## $t9 = 80870000
/* 01F54 80874784 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 01F54 80874784 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 01F58 80874788 0338C821 */ addu $t9, $t9, $t8
/* 01F5C 8087478C 873954C0 */ lh $t9, %lo(D_808754C0)($t9)
/* 01F60 80874790 944F0EF2 */ lhu $t7, 0x0EF2($v0) ## 8015F552
@ -332,8 +332,8 @@ glabel func_80874304
/* 01F7C 808747AC 0C021344 */ jal Item_Give
/* 01F80 808747B0 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
.L808747B4:
/* 01F84 808747B4 3C098016 */ lui $t1, 0x8016 ## $t1 = 80160000
/* 01F88 808747B8 2529E660 */ addiu $t1, $t1, 0xE660 ## $t1 = 8015E660
/* 01F84 808747B4 3C098016 */ lui $t1, %hi(gSaveContext)
/* 01F88 808747B8 2529E660 */ addiu $t1, %lo(gSaveContext)
/* 01F8C 808747BC 1000001D */ beq $zero, $zero, .L80874834
/* 01F90 808747C0 862300A4 */ lh $v1, 0x00A4($s1) ## 000000A4
.L808747C4:
@ -384,8 +384,8 @@ glabel func_80874304
/* 02034 80874864 00000000 */ nop
/* 02038 80874868 AE000344 */ sw $zero, 0x0344($s0) ## 00000344
/* 0203C 8087486C 3C098016 */ lui $t1, 0x8016 ## $t1 = 80160000
/* 02040 80874870 2529E660 */ addiu $t1, $t1, 0xE660 ## $t1 = 8015E660
/* 0203C 8087486C 3C098016 */ lui $t1, %hi(gSaveContext)
/* 02040 80874870 2529E660 */ addiu $t1, %lo(gSaveContext)
/* 02044 80874874 862300A4 */ lh $v1, 0x00A4($s1) ## 000000A4
/* 02048 80874878 2401003B */ addiu $at, $zero, 0x003B ## $at = 0000003B
.L8087487C:

View file

@ -40,8 +40,8 @@ glabel func_80874BE0
/* 02420 80874C50 AD1802C0 */ sw $t8, 0x02C0($t0) ## 000002C0
/* 02424 80874C54 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 02428 80874C58 860A02F2 */ lh $t2, 0x02F2($s0) ## 000002F2
/* 0242C 80874C5C 3C068016 */ lui $a2, 0x8016 ## $a2 = 80160000
/* 02430 80874C60 24C66FA8 */ addiu $a2, $a2, 0x6FA8 ## $a2 = 80166FA8
/* 0242C 80874C5C 3C068016 */ lui $a2, %hi(gSegments)
/* 02430 80874C60 24C66FA8 */ addiu $a2, %lo(gSegments)
/* 02434 80874C64 000A5880 */ sll $t3, $t2, 2
/* 02438 80874C68 012B6021 */ addu $t4, $t1, $t3
/* 0243C 80874C6C 8D840000 */ lw $a0, 0x0000($t4) ## 00000000

View file

@ -56,8 +56,8 @@ glabel func_808751A0
/* 02A0C 8087523C 02419021 */ addu $s2, $s2, $at
/* 02A10 80875240 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 02A14 80875244 00194702 */ srl $t0, $t9, 28
/* 02A18 80875248 3C0A8016 */ lui $t2, 0x8016 ## $t2 = 80160000
/* 02A1C 8087524C 254A6FA8 */ addiu $t2, $t2, 0x6FA8 ## $t2 = 80166FA8
/* 02A18 80875248 3C0A8016 */ lui $t2, %hi(gSegments)
/* 02A1C 8087524C 254A6FA8 */ addiu $t2, %lo(gSegments)
/* 02A20 80875250 00084880 */ sll $t1, $t0, 2
/* 02A24 80875254 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 02A28 80875258 0041B024 */ and $s6, $v0, $at

View file

@ -280,11 +280,11 @@ glabel func_80875C88
/* 00708 80876028 00000000 */ nop
.L8087602C:
/* 0070C 8087602C 1441000D */ bne $v0, $at, .L80876064
/* 00710 80876030 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00714 80876034 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00718 80876038 3C0E8013 */ lui $t6, 0x8013 ## $t6 = 80130000
/* 0071C 8087603C 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 00720 80876040 25CE33E8 */ addiu $t6, $t6, 0x33E8 ## $t6 = 801333E8
/* 00710 80876030 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00714 80876034 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00718 80876038 3C0E8013 */ lui $t6, %hi(D_801333E8)
/* 0071C 8087603C 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00720 80876040 25CE33E8 */ addiu $t6, %lo(D_801333E8)
/* 00724 80876044 AFAE0014 */ sw $t6, 0x0014($sp)
/* 00728 80876048 AFA70010 */ sw $a3, 0x0010($sp)
/* 0072C 8087604C 24042893 */ addiu $a0, $zero, 0x2893 ## $a0 = 00002893
@ -295,9 +295,9 @@ glabel func_80875C88
/* 0073C 8087605C 1000000B */ beq $zero, $zero, .L8087608C
/* 00740 80876060 4406B000 */ mfc1 $a2, $f22
.L80876064:
/* 00744 80876064 3C0A8013 */ lui $t2, 0x8013 ## $t2 = 80130000
/* 00748 80876068 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 000033E0
/* 0074C 8087606C 254A33E8 */ addiu $t2, $t2, 0x33E8 ## $t2 = 801333E8
/* 00744 80876064 3C0A8013 */ lui $t2, %hi(D_801333E8)
/* 00748 80876068 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 0074C 8087606C 254A33E8 */ addiu $t2, %lo(D_801333E8)
/* 00750 80876070 AFAA0014 */ sw $t2, 0x0014($sp)
/* 00754 80876074 AFA70010 */ sw $a3, 0x0010($sp)
/* 00758 80876078 2404205C */ addiu $a0, $zero, 0x205C ## $a0 = 0000205C

View file

@ -37,14 +37,14 @@ glabel func_80878F34
/* 00384 80878FB4 1000000D */ beq $zero, $zero, .L80878FEC
/* 00388 80878FB8 A6190164 */ sh $t9, 0x0164($s0) ## 00000164
.L80878FBC:
/* 0038C 80878FBC 3C0A8013 */ lui $t2, 0x8013 ## $t2 = 80130000
/* 00390 80878FC0 3C0B8013 */ lui $t3, 0x8013 ## $t3 = 80130000
/* 0038C 80878FBC 3C0A8013 */ lui $t2, %hi(D_801333E0)
/* 00390 80878FC0 3C0B8013 */ lui $t3, %hi(D_801333E8)
/* 00394 80878FC4 A6080164 */ sh $t0, 0x0164($s0) ## 00000164
/* 00398 80878FC8 A6090166 */ sh $t1, 0x0166($s0) ## 00000166
/* 0039C 80878FCC 256B33E8 */ addiu $t3, $t3, 0x33E8 ## $t3 = 801333E8
/* 003A0 80878FD0 254733E0 */ addiu $a3, $t2, 0x33E0 ## $a3 = 801333E0
/* 003A4 80878FD4 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 003A8 80878FD8 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 0039C 80878FCC 256B33E8 */ addiu $t3, %lo(D_801333E8)
/* 003A0 80878FD0 254733E0 */ addiu $a3, $t2, %lo(D_801333E0)
/* 003A4 80878FD4 3C058013 */ lui $a1, %hi(D_801333D4)
/* 003A8 80878FD8 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 003AC 80878FDC AFA70010 */ sw $a3, 0x0010($sp)
/* 003B0 80878FE0 AFAB0014 */ sw $t3, 0x0014($sp)
/* 003B4 80878FE4 0C03DCE3 */ jal Audio_PlaySoundGeneral
@ -62,8 +62,8 @@ glabel func_80878F34
/* 003D4 80879004 50400023 */ beql $v0, $zero, .L80879094
/* 003D8 80879008 86030166 */ lh $v1, 0x0166($s0) ## 00000166
/* 003DC 8087900C 96020164 */ lhu $v0, 0x0164($s0) ## 00000164
/* 003E0 80879010 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 003E4 80879014 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 003E0 80879010 3C078013 */ lui $a3, %hi(D_801333E0)
/* 003E4 80879014 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 003E8 80879018 304C0008 */ andi $t4, $v0, 0x0008 ## $t4 = 00000000
/* 003EC 8087901C 11800010 */ beq $t4, $zero, .L80879060
/* 003F0 80879020 34580008 */ ori $t8, $v0, 0x0008 ## $t8 = 00000008
@ -86,12 +86,12 @@ glabel func_80878F34
/* 0042C 8087905C A60F0164 */ sh $t7, 0x0164($s0) ## 00000164
.L80879060:
/* 00430 80879060 24190130 */ addiu $t9, $zero, 0x0130 ## $t9 = 00000130
/* 00434 80879064 3C088013 */ lui $t0, 0x8013 ## $t0 = 80130000
/* 00434 80879064 3C088013 */ lui $t0, %hi(D_801333E8)
/* 00438 80879068 A6180164 */ sh $t8, 0x0164($s0) ## 00000164
/* 0043C 8087906C A6190168 */ sh $t9, 0x0168($s0) ## 00000168
/* 00440 80879070 250833E8 */ addiu $t0, $t0, 0x33E8 ## $t0 = 801333E8
/* 00444 80879074 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 00448 80879078 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 00440 80879070 250833E8 */ addiu $t0, %lo(D_801333E8)
/* 00444 80879074 3C058013 */ lui $a1, %hi(D_801333D4)
/* 00448 80879078 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 0044C 8087907C AFA80014 */ sw $t0, 0x0014($sp)
/* 00450 80879080 AFA70010 */ sw $a3, 0x0010($sp)
/* 00454 80879084 24042881 */ addiu $a0, $zero, 0x2881 ## $a0 = 00002881

View file

@ -18,12 +18,12 @@ glabel func_8087B284
/* 00500 8087B2C0 31F80002 */ andi $t8, $t7, 0x0002 ## $t8 = 00000000
/* 00504 8087B2C4 13000012 */ beq $t8, $zero, .L8087B310
/* 00508 8087B2C8 AE0E0134 */ sw $t6, 0x0134($s0) ## 00000134
/* 0050C 8087B2CC 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00510 8087B2D0 3C198013 */ lui $t9, 0x8013 ## $t9 = 80130000
/* 00514 8087B2D4 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 00518 8087B2D8 273933E8 */ addiu $t9, $t9, 0x33E8 ## $t9 = 801333E8
/* 0051C 8087B2DC 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 00520 8087B2E0 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 0050C 8087B2CC 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00510 8087B2D0 3C198013 */ lui $t9, %hi(D_801333E8)
/* 00514 8087B2D4 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00518 8087B2D8 273933E8 */ addiu $t9, %lo(D_801333E8)
/* 0051C 8087B2DC 3C058013 */ lui $a1, %hi(D_801333D4)
/* 00520 8087B2E0 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 00524 8087B2E4 AFB90014 */ sw $t9, 0x0014($sp)
/* 00528 8087B2E8 AFA70010 */ sw $a3, 0x0010($sp)
/* 0052C 8087B2EC 24044802 */ addiu $a0, $zero, 0x4802 ## $a0 = 00004802

View file

@ -12,9 +12,9 @@ glabel func_8087B7E8
/* 00160 8087B810 00E02025 */ or $a0, $a3, $zero ## $a0 = 00000000
/* 00164 8087B814 84A200A4 */ lh $v0, 0x00A4($a1) ## 000000A4
/* 00168 8087B818 24010053 */ addiu $at, $zero, 0x0053 ## $at = 00000053
/* 0016C 8087B81C 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 0016C 8087B81C 3C038016 */ lui $v1, %hi(gSaveContext)
/* 00170 8087B820 1441001E */ bne $v0, $at, .L8087B89C
/* 00174 8087B824 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 00174 8087B824 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 00178 8087B828 8C6E0004 */ lw $t6, 0x0004($v1) ## 8015E664
/* 0017C 8087B82C 51C0001C */ beql $t6, $zero, .L8087B8A0
/* 00180 8087B830 4600103C */ c.lt.s $f2, $f0
@ -47,8 +47,8 @@ glabel func_8087B7E8
.L8087B89C:
/* 001EC 8087B89C 4600103C */ c.lt.s $f2, $f0
.L8087B8A0:
/* 001F0 8087B8A0 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 001F4 8087B8A4 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 001F0 8087B8A0 3C038016 */ lui $v1, %hi(gSaveContext)
/* 001F4 8087B8A4 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 001F8 8087B8A8 24010057 */ addiu $at, $zero, 0x0057 ## $at = 00000057
/* 001FC 8087B8AC 4503000E */ bc1tl .L8087B8E8
/* 00200 8087B8B0 E4E20150 */ swc1 $f2, 0x0150($a3) ## 00000150

View file

@ -52,7 +52,7 @@ glabel func_8087B938
/* 00340 8087B9F0 2401FFEF */ addiu $at, $zero, 0xFFEF ## $at = FFFFFFEF
/* 00344 8087B9F4 E6120150 */ swc1 $f18, 0x0150($s0) ## 00000150
/* 00348 8087B9F8 8C590680 */ lw $t9, 0x0680($v0) ## 00000680
/* 0034C 8087B9FC 3C0A8016 */ lui $t2, 0x8016 ## $t2 = 80160000
/* 0034C 8087B9FC 3C0A8016 */ lui $t2, %hi(gSaveContext+0x10)
/* 00350 8087BA00 03214024 */ and $t0, $t9, $at
/* 00354 8087BA04 AC480680 */ sw $t0, 0x0680($v0) ## 00000680
/* 00358 8087BA08 8609001C */ lh $t1, 0x001C($s0) ## 0000001C
@ -64,7 +64,7 @@ glabel func_8087B938
/* 00370 8087BA20 10000017 */ beq $zero, $zero, .L8087BA80
/* 00374 8087BA24 00000000 */ nop
.L8087BA28:
/* 00378 8087BA28 8D4AE670 */ lw $t2, -0x1990($t2) ## FFFFE670
/* 00378 8087BA28 8D4AE670 */ lw $t2, %lo(gSaveContext+0x10)($t2)
/* 0037C 8087BA2C 8FA50044 */ lw $a1, 0x0044($sp)
/* 00380 8087BA30 11400013 */ beq $t2, $zero, .L8087BA80
/* 00384 8087BA34 00000000 */ nop

View file

@ -147,8 +147,8 @@ glabel BgHidanCurtain_Update
/* 007D0 80885970 0C017713 */ jal Actor_CollisionCheck_SetOT
## CollisionCheck_setOT
/* 007D4 80885974 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 007D8 80885978 3C098016 */ lui $t1, 0x8016 ## $t1 = 80160000
/* 007DC 8088597C 8D29F9C0 */ lw $t1, -0x0640($t1) ## 8015F9C0
/* 007D8 80885978 3C098016 */ lui $t1, %hi(gSaveContext+0x1360)
/* 007DC 8088597C 8D29F9C0 */ lw $t1, %lo(gSaveContext+0x1360)($t1)
/* 007E0 80885980 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 007E4 80885984 29210004 */ slti $at, $t1, 0x0004
/* 007E8 80885988 50200011 */ beql $at, $zero, .L808859D0

View file

@ -33,12 +33,12 @@ glabel BgHidanFwbig_Draw
/* 00924 80887C14 248473D0 */ addiu $a0, $a0, 0x73D0 ## $a0 = 040173D0
/* 00928 80887C18 0004C100 */ sll $t8, $a0, 4
/* 0092C 80887C1C 0018CF02 */ srl $t9, $t8, 28
/* 00930 80887C20 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 00930 80887C20 3C058016 */ lui $a1, %hi(gSegments)
/* 00934 80887C24 3C0FDB06 */ lui $t7, 0xDB06 ## $t7 = DB060000
/* 00938 80887C28 244E0008 */ addiu $t6, $v0, 0x0008 ## $t6 = 00000008
/* 0093C 80887C2C AE0E02D0 */ sw $t6, 0x02D0($s0) ## 000002D0
/* 00940 80887C30 35EF0024 */ ori $t7, $t7, 0x0024 ## $t7 = DB060024
/* 00944 80887C34 24A56FA8 */ addiu $a1, $a1, 0x6FA8 ## $a1 = 80166FA8
/* 00944 80887C34 24A56FA8 */ addiu $a1, %lo(gSegments)
/* 00948 80887C38 00194880 */ sll $t1, $t9, 2
/* 0094C 80887C3C 00A95021 */ addu $t2, $a1, $t1
/* 00950 80887C40 AC4F0000 */ sw $t7, 0x0000($v0) ## 00000000

View file

@ -50,13 +50,13 @@ glabel BgHidanFwbig_Update
/* 00818 80887B08 44814000 */ mtc1 $at, $f8 ## $f8 = 200.00
/* 0081C 80887B0C C606000C */ lwc1 $f6, 0x000C($s0) ## 0000000C
/* 00820 80887B10 C6100028 */ lwc1 $f16, 0x0028($s0) ## 00000028
/* 00824 80887B14 3C0D8016 */ lui $t5, 0x8016 ## $t5 = 80160000
/* 00824 80887B14 3C0D8016 */ lui $t5, %hi(gSaveContext+0x1360)
/* 00828 80887B18 46083281 */ sub.s $f10, $f6, $f8
/* 0082C 80887B1C 4610503C */ c.lt.s $f10, $f16
/* 00830 80887B20 00000000 */ nop
/* 00834 80887B24 45020026 */ bc1fl .L80887BC0
/* 00838 80887B28 8FBF0024 */ lw $ra, 0x0024($sp)
/* 0083C 80887B2C 8DADF9C0 */ lw $t5, -0x0640($t5) ## 8015F9C0
/* 0083C 80887B2C 8DADF9C0 */ lw $t5, %lo(gSaveContext+0x1360)($t5)
/* 00840 80887B30 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00844 80887B34 29A10004 */ slti $at, $t5, 0x0004
/* 00848 80887B38 50200006 */ beql $at, $zero, .L80887B54

View file

@ -1,6 +1,6 @@
glabel func_80888734
/* 006F4 80888734 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 006F8 80888738 8DCEFA90 */ lw $t6, -0x0570($t6) ## 8015FA90
/* 006F4 80888734 3C0E8016 */ lui $t6, %hi(gGameInfo)
/* 006F8 80888738 8DCEFA90 */ lw $t6, %lo(gGameInfo)($t6)
/* 006FC 8088873C 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00700 80888740 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00704 80888744 85CF0110 */ lh $t7, 0x0110($t6) ## 80160110

View file

@ -109,7 +109,7 @@ glabel func_8088BC40
/* 00D2C 8088BDAC 01074021 */ addu $t0, $t0, $a3
/* 00D30 8088BDB0 8D081DE4 */ lw $t0, 0x1DE4($t0) ## 00011DE4
/* 00D34 8088BDB4 3C048089 */ lui $a0, %hi(D_8088BFC4) ## $a0 = 80890000
/* 00D38 8088BDB8 3C0F8016 */ lui $t7, 0x8016 ## $t7 = 80160000
/* 00D38 8088BDB8 3C0F8016 */ lui $t7, %hi(gSegments)
/* 00D3C 8088BDBC 31090007 */ andi $t1, $t0, 0x0007 ## $t1 = 00000000
/* 00D40 8088BDC0 00095080 */ sll $t2, $t1, 2
/* 00D44 8088BDC4 008A2021 */ addu $a0, $a0, $t2
@ -120,7 +120,7 @@ glabel func_8088BC40
/* 00D58 8088BDD8 000C6F02 */ srl $t5, $t4, 28
/* 00D5C 8088BDDC 000D7080 */ sll $t6, $t5, 2
/* 00D60 8088BDE0 01EE7821 */ addu $t7, $t7, $t6
/* 00D64 8088BDE4 8DEF6FA8 */ lw $t7, 0x6FA8($t7) ## 80166FA8
/* 00D64 8088BDE4 8DEF6FA8 */ lw $t7, %lo(gSegments)($t7)
/* 00D68 8088BDE8 00815824 */ and $t3, $a0, $at
/* 00D6C 8088BDEC 3C018000 */ lui $at, 0x8000 ## $at = 80000000
/* 00D70 8088BDF0 016FC021 */ addu $t8, $t3, $t7

View file

@ -52,8 +52,8 @@ glabel BgHidanRsekizou_Draw
/* 008CC 8088CACC AE3802C0 */ sw $t8, 0x02C0($s1) ## 000002C0
/* 008D0 8088CAD0 3C19DE00 */ lui $t9, 0xDE00 ## $t9 = DE000000
/* 008D4 8088CAD4 27B3005C */ addiu $s3, $sp, 0x005C ## $s3 = FFFFFFB4
/* 008D8 8088CAD8 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 008DC 8088CADC 24A5DB60 */ addiu $a1, $a1, 0xDB60 ## $a1 = 8012DB60
/* 008D8 8088CAD8 3C058013 */ lui $a1, %hi(gMtxFClear)
/* 008DC 8088CADC 24A5DB60 */ addiu $a1, %lo(gMtxFClear)
/* 008E0 8088CAE0 02602025 */ or $a0, $s3, $zero ## $a0 = FFFFFFB4
/* 008E4 8088CAE4 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 008E8 8088CAE8 0C0346EA */ jal Matrix_MtxFCopy

View file

@ -49,7 +49,7 @@ glabel func_8088C70C
/* 00580 8088C780 0018C8C0 */ sll $t9, $t8, 3
/* 00584 8088C784 0338C823 */ subu $t9, $t9, $t8
/* 00588 8088C788 44992000 */ mtc1 $t9, $f4 ## $f4 = 0.00
/* 0058C 8088C78C 3C188016 */ lui $t8, 0x8016 ## $t8 = 80160000
/* 0058C 8088C78C 3C188016 */ lui $t8, %hi(gSegments)
/* 00590 8088C790 26100008 */ addiu $s0, $s0, 0x0008 ## $s0 = 00000008
/* 00594 8088C794 468021A0 */ cvt.s.w $f6, $f4
/* 00598 8088C798 46083282 */ mul.s $f10, $f6, $f8
@ -63,7 +63,7 @@ glabel func_8088C70C
/* 005B8 8088C7B8 000D7702 */ srl $t6, $t5, 28
/* 005BC 8088C7BC 000E7880 */ sll $t7, $t6, 2
/* 005C0 8088C7C0 030FC021 */ addu $t8, $t8, $t7
/* 005C4 8088C7C4 8F186FA8 */ lw $t8, 0x6FA8($t8) ## 80166FA8
/* 005C4 8088C7C4 8F186FA8 */ lw $t8, %lo(gSegments)($t8)
/* 005C8 8088C7C8 00616024 */ and $t4, $v1, $at
/* 005CC 8088C7CC 3C018000 */ lui $at, 0x8000 ## $at = 80000000
/* 005D0 8088C7D0 0198C821 */ addu $t9, $t4, $t8

View file

@ -39,7 +39,7 @@ glabel func_8088D9F4
/* 00B88 8088DA48 00601025 */ or $v0, $v1, $zero ## $v0 = 00000000
/* 00B8C 8088DA4C 468021A0 */ cvt.s.w $f6, $f4
/* 00B90 8088DA50 3C048089 */ lui $a0, %hi(D_8088E27C) ## $a0 = 80890000
/* 00B94 8088DA54 3C198016 */ lui $t9, 0x8016 ## $t9 = 80160000
/* 00B94 8088DA54 3C198016 */ lui $t9, %hi(gSegments)
/* 00B98 8088DA58 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00B9C 8088DA5C 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00BA0 8088DA60 24C60001 */ addiu $a2, $a2, 0x0001 ## $a2 = 00000001
@ -62,7 +62,7 @@ glabel func_8088D9F4
/* 00BE4 8088DAA4 000E7F02 */ srl $t7, $t6, 28
/* 00BE8 8088DAA8 000FC080 */ sll $t8, $t7, 2
/* 00BEC 8088DAAC 0338C821 */ addu $t9, $t9, $t8
/* 00BF0 8088DAB0 8F396FA8 */ lw $t9, 0x6FA8($t9) ## 80166FA8
/* 00BF0 8088DAB0 8F396FA8 */ lw $t9, %lo(gSegments)($t9)
/* 00BF4 8088DAB4 00816824 */ and $t5, $a0, $at
/* 00BF8 8088DAB8 3C018000 */ lui $at, 0x8000 ## $at = 80000000
/* 00BFC 8088DABC 01B94021 */ addu $t0, $t5, $t9

View file

@ -42,9 +42,9 @@ glabel func_8088DC50
## coss?
/* 00E24 8088DCE4 00042403 */ sra $a0, $a0, 16
/* 00E28 8088DCE8 27B30068 */ addiu $s3, $sp, 0x0068 ## $s3 = FFFFFFA8
/* 00E2C 8088DCEC 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 00E2C 8088DCEC 3C058013 */ lui $a1, %hi(gMtxFClear)
/* 00E30 8088DCF0 46000586 */ mov.s $f22, $f0
/* 00E34 8088DCF4 24A5DB60 */ addiu $a1, $a1, 0xDB60 ## $a1 = 8012DB60
/* 00E34 8088DCF4 24A5DB60 */ addiu $a1, %lo(gMtxFClear)
/* 00E38 8088DCF8 0C0346EA */ jal Matrix_MtxFCopy
/* 00E3C 8088DCFC 02602025 */ or $a0, $s3, $zero ## $a0 = FFFFFFA8
/* 00E40 8088DD00 86B807A0 */ lh $t8, 0x07A0($s5) ## 000007A0

View file

@ -19,7 +19,7 @@ glabel func_8088EB54
/* 00790 8088EB60 AFBF0054 */ sw $ra, 0x0054($sp)
/* 00794 8088EB64 AFB10034 */ sw $s1, 0x0034($sp)
/* 00798 8088EB68 AFA400E8 */ sw $a0, 0x00E8($sp)
/* 0079C 8088EB6C 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 0079C 8088EB6C 3C058013 */ lui $a1, %hi(gMtxFClear)
/* 007A0 8088EB70 00C08825 */ or $s1, $a2, $zero ## $s1 = 00000000
/* 007A4 8088EB74 AFBE0050 */ sw $s8, 0x0050($sp)
/* 007A8 8088EB78 AFB7004C */ sw $s7, 0x004C($sp)
@ -31,7 +31,7 @@ glabel func_8088EB54
/* 007C0 8088EB90 F7B80028 */ sdc1 $f24, 0x0028($sp)
/* 007C4 8088EB94 F7B60020 */ sdc1 $f22, 0x0020($sp)
/* 007C8 8088EB98 F7B40018 */ sdc1 $f20, 0x0018($sp)
/* 007CC 8088EB9C 24A5DB60 */ addiu $a1, $a1, 0xDB60 ## $a1 = 8012DB60
/* 007CC 8088EB9C 24A5DB60 */ addiu $a1, %lo(gMtxFClear)
/* 007D0 8088EBA0 0C0346EA */ jal Matrix_MtxFCopy
/* 007D4 8088EBA4 27A400A8 */ addiu $a0, $sp, 0x00A8 ## $a0 = FFFFFFC0
/* 007D8 8088EBA8 868E0032 */ lh $t6, 0x0032($s4) ## 00000032
@ -164,7 +164,7 @@ glabel func_8088EB54
/* 009B0 8088ED80 02201025 */ or $v0, $s1, $zero ## $v0 = 00000000
/* 009B4 8088ED84 46142280 */ add.s $f10, $f4, $f20
/* 009B8 8088ED88 E7B200A8 */ swc1 $f18, 0x00A8($sp)
/* 009BC 8088ED8C 3C198016 */ lui $t9, 0x8016 ## $t9 = 80160000
/* 009BC 8088ED8C 3C198016 */ lui $t9, %hi(gSegments)
/* 009C0 8088ED90 46148180 */ add.s $f6, $f16, $f20
/* 009C4 8088ED94 E7AA00BC */ swc1 $f10, 0x00BC($sp)
/* 009C8 8088ED98 26310008 */ addiu $s1, $s1, 0x0008 ## $s1 = 00000008
@ -196,7 +196,7 @@ glabel func_8088EB54
/* 00A28 8088EDF8 00184080 */ sll $t0, $t8, 2
/* 00A2C 8088EDFC 0328C821 */ addu $t9, $t9, $t0
/* 00A30 8088EE00 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00A34 8088EE04 8F396FA8 */ lw $t9, 0x6FA8($t9) ## 80166FA8
/* 00A34 8088EE04 8F396FA8 */ lw $t9, %lo(gSegments)($t9)
/* 00A38 8088EE08 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00A3C 8088EE0C 00617024 */ and $t6, $v1, $at
/* 00A40 8088EE10 3C018000 */ lui $at, 0x8000 ## $at = 80000000
@ -259,7 +259,7 @@ glabel func_8088EB54
/* 00B1C 8088EEEC E7B000D8 */ swc1 $f16, 0x00D8($sp)
/* 00B20 8088EEF0 C686002C */ lwc1 $f6, 0x002C($s4) ## 0000002C
/* 00B24 8088EEF4 AFAE0060 */ sw $t6, 0x0060($sp)
/* 00B28 8088EEF8 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00B28 8088EEF8 3C0E8016 */ lui $t6, %hi(gSegments)
/* 00B2C 8088EEFC 46083100 */ add.s $f4, $f6, $f8
/* 00B30 8088EF00 24060270 */ addiu $a2, $zero, 0x0270 ## $a2 = 00000270
/* 00B34 8088EF04 E7A400E0 */ swc1 $f4, 0x00E0($sp)
@ -287,7 +287,7 @@ glabel func_8088EB54
/* 00B84 8088EF54 00184080 */ sll $t0, $t8, 2
/* 00B88 8088EF58 01C87021 */ addu $t6, $t6, $t0
/* 00B8C 8088EF5C 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00B90 8088EF60 8DCE6FA8 */ lw $t6, 0x6FA8($t6) ## 80166FA8
/* 00B90 8088EF60 8DCE6FA8 */ lw $t6, %lo(gSegments)($t6)
/* 00B94 8088EF64 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00B98 8088EF68 00616824 */ and $t5, $v1, $at
/* 00B9C 8088EF6C 3C018000 */ lui $at, 0x8000 ## $at = 80000000

View file

@ -21,10 +21,10 @@ glabel BgIngate_Init
/* 00048 80892788 24850810 */ addiu $a1, $a0, 0x0810 ## $a1 = 00000810
/* 0004C 8089278C AE02014C */ sw $v0, 0x014C($s0) ## 0000014C
/* 00050 80892790 8FAE0034 */ lw $t6, 0x0034($sp)
/* 00054 80892794 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00054 80892794 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00058 80892798 24010063 */ addiu $at, $zero, 0x0063 ## $at = 00000063
/* 0005C 8089279C 85CF00A4 */ lh $t7, 0x00A4($t6) ## 000000A4
/* 00060 808927A0 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 00060 808927A0 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00064 808927A4 15E1000E */ bne $t7, $at, .L808927E0
/* 00068 808927A8 00000000 */ nop
/* 0006C 808927AC 8C580004 */ lw $t8, 0x0004($v0) ## 8015E664
@ -51,8 +51,8 @@ glabel BgIngate_Init
/* 000B4 808927F4 34A5CCCD */ ori $a1, $a1, 0xCCCD ## $a1 = 0000CCCD
/* 000B8 808927F8 860A001C */ lh $t2, 0x001C($s0) ## 0000001C
/* 000BC 808927FC 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 000C0 80892800 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 000BC 808927FC 3C028016 */ lui $v0, %hi(gSaveContext)
/* 000C0 80892800 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 000C4 80892804 314B0001 */ andi $t3, $t2, 0x0001 ## $t3 = 00000000
/* 000C8 80892808 1160000D */ beq $t3, $zero, .L80892840
/* 000CC 8089280C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000

View file

@ -50,8 +50,8 @@ glabel BgJya1flift_Init
/* 00178 80892CD8 30A5003F */ andi $a1, $a1, 0x003F ## $a1 = 00000000
/* 0017C 80892CDC 10400012 */ beq $v0, $zero, .L80892D28
/* 00180 80892CE0 3C188016 */ lui $t8, 0x8016 ## $t8 = 80160000
/* 00184 80892CE4 8F18E664 */ lw $t8, -0x199C($t8) ## 8015E664
/* 00180 80892CE0 3C188016 */ lui $t8, %hi(gSaveContext+4)
/* 00184 80892CE4 8F18E664 */ lw $t8, %lo(gSaveContext+4)($t8)
/* 00188 80892CE8 24010011 */ addiu $at, $zero, 0x0011 ## $at = 00000011
/* 0018C 80892CEC 24020011 */ addiu $v0, $zero, 0x0011 ## $v0 = 00000011
/* 00190 80892CF0 13000003 */ beq $t8, $zero, .L80892D00

View file

@ -38,11 +38,11 @@ glabel BgJyaBlock_Draw
/* 0015C 808942FC AE1802C0 */ sw $t8, 0x02C0($s0) ## 000002C0
/* 00160 80894300 37390020 */ ori $t9, $t9, 0x0020 ## $t9 = DB060020
/* 00164 80894304 00095080 */ sll $t2, $t1, 2
/* 00168 80894308 3C0B8016 */ lui $t3, 0x8016 ## $t3 = 80160000
/* 00168 80894308 3C0B8016 */ lui $t3, %hi(gSegments)
/* 0016C 8089430C 016A5821 */ addu $t3, $t3, $t2
/* 00170 80894310 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00174 80894314 AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 00178 80894318 8D6B6FA8 */ lw $t3, 0x6FA8($t3) ## 80166FA8
/* 00178 80894318 8D6B6FA8 */ lw $t3, %lo(gSegments)($t3)
/* 0017C 8089431C 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00180 80894320 00816024 */ and $t4, $a0, $at
/* 00184 80894324 3C018000 */ lui $at, 0x8000 ## $at = 80000000

View file

@ -25,8 +25,8 @@ glabel BgJyaBlock_Init
/* 00050 808941F0 0C01E037 */ jal Actor_ProcessInitChain
/* 00054 808941F4 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00058 808941F8 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 0005C 808941FC 8DCEE664 */ lw $t6, -0x199C($t6) ## 8015E664
/* 00058 808941F8 3C0E8016 */ lui $t6, %hi(gSaveContext+4)
/* 0005C 808941FC 8DCEE664 */ lw $t6, %lo(gSaveContext+4)($t6)
/* 00060 80894200 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00064 80894204 24020011 */ addiu $v0, $zero, 0x0011 ## $v0 = 00000011
/* 00068 80894208 11C00003 */ beq $t6, $zero, .L80894218

View file

@ -21,8 +21,8 @@ glabel BgJyaGoroiwa_Init
/* 0013C 80897AAC 0C0187B5 */ jal func_80061ED4
/* 00140 80897AB0 A60200B4 */ sh $v0, 0x00B4($s0) ## 000000B4
/* 00144 80897AB4 3C054414 */ lui $a1, 0x4414 ## $a1 = 44140000
/* 00148 80897AB8 3C068003 */ lui $a2, 0x8003 ## $a2 = 80030000
/* 0014C 80897ABC 24C6B5EC */ addiu $a2, $a2, 0xB5EC ## $a2 = 8002B5EC
/* 00148 80897AB8 3C068003 */ lui $a2, %hi(ActorShadow_DrawFunc_Circle)
/* 0014C 80897ABC 24C6B5EC */ addiu $a2, %lo(ActorShadow_DrawFunc_Circle)
/* 00150 80897AC0 34A5C000 */ ori $a1, $a1, 0xC000 ## $a1 = 4414C000
/* 00154 80897AC4 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 00158 80897AC8 0C00AC78 */ jal ActorShape_Init

View file

@ -37,11 +37,11 @@ glabel func_8089ABC8
/* 00AEC 8089AC1C AC590000 */ sw $t9, 0x0000($v0) ## 00000000
/* 00AF0 8089AC20 850901CC */ lh $t1, 0x01CC($t0) ## 000001CC
/* 00AF4 8089AC24 3C04808A */ lui $a0, %hi(D_8089B1AC) ## $a0 = 808A0000
/* 00AF8 8089AC28 3C068016 */ lui $a2, 0x8016 ## $a2 = 80160000
/* 00AF8 8089AC28 3C068016 */ lui $a2, %hi(gSegments)
/* 00AFC 8089AC2C 00095080 */ sll $t2, $t1, 2
/* 00B00 8089AC30 008A2021 */ addu $a0, $a0, $t2
/* 00B04 8089AC34 8C84B1AC */ lw $a0, %lo(D_8089B1AC)($a0)
/* 00B08 8089AC38 24C66FA8 */ addiu $a2, $a2, 0x6FA8 ## $a2 = 80166FA8
/* 00B08 8089AC38 24C66FA8 */ addiu $a2, %lo(gSegments)
/* 00B0C 8089AC3C 3C0500FF */ lui $a1, 0x00FF ## $a1 = 00FF0000
/* 00B10 8089AC40 00046100 */ sll $t4, $a0, 4
/* 00B14 8089AC44 000C6F02 */ srl $t5, $t4, 28

View file

@ -32,12 +32,12 @@ glabel func_8089D258
/* 00E4C 8089D2CC 0C00BE0A */ jal Audio_PlayActorSound2
/* 00E50 8089D2D0 24052810 */ addiu $a1, $zero, 0x2810 ## $a1 = 00002810
/* 00E54 8089D2D4 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00E58 8089D2D8 3C198013 */ lui $t9, 0x8013 ## $t9 = 80130000
/* 00E5C 8089D2DC 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 00E60 8089D2E0 273933E8 */ addiu $t9, $t9, 0x33E8 ## $t9 = 801333E8
/* 00E64 8089D2E4 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 00E68 8089D2E8 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 00E54 8089D2D4 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00E58 8089D2D8 3C198013 */ lui $t9, %hi(D_801333E8)
/* 00E5C 8089D2DC 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 00E60 8089D2E0 273933E8 */ addiu $t9, %lo(D_801333E8)
/* 00E64 8089D2E4 3C058013 */ lui $a1, %hi(D_801333D4)
/* 00E68 8089D2E8 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 00E6C 8089D2EC AFB90014 */ sw $t9, 0x0014($sp)
/* 00E70 8089D2F0 AFA70010 */ sw $a3, 0x0010($sp)
/* 00E74 8089D2F4 24044802 */ addiu $a0, $zero, 0x4802 ## $a0 = 00004802

View file

@ -2,13 +2,13 @@ glabel func_8089E108
/* 004D8 8089E108 000670C0 */ sll $t6, $a2, 3
/* 004DC 8089E10C 008E7821 */ addu $t7, $a0, $t6
/* 004E0 8089E110 8DE80004 */ lw $t0, 0x0004($t7) ## 00000004
/* 004E4 8089E114 3C0A8016 */ lui $t2, 0x8016 ## $t2 = 80160000
/* 004E4 8089E114 3C0A8016 */ lui $t2, %hi(gSegments)
/* 004E8 8089E118 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 004EC 8089E11C 0008C100 */ sll $t8, $t0, 4
/* 004F0 8089E120 0018CF02 */ srl $t9, $t8, 28
/* 004F4 8089E124 00194880 */ sll $t1, $t9, 2
/* 004F8 8089E128 01495021 */ addu $t2, $t2, $t1
/* 004FC 8089E12C 8D4A6FA8 */ lw $t2, 0x6FA8($t2) ## 80166FA8
/* 004FC 8089E12C 8D4A6FA8 */ lw $t2, %lo(gSegments)($t2)
/* 00500 8089E130 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00504 8089E134 00076880 */ sll $t5, $a3, 2
/* 00508 8089E138 01A76823 */ subu $t5, $t5, $a3

View file

@ -45,8 +45,8 @@ glabel BgMizuWater_Init
/* 001FC 8089FAAC 01200008 */ jr $t1
/* 00200 8089FAB0 00000000 */ nop
glabel L8089FAB4
/* 00204 8089FAB4 3C0A8016 */ lui $t2, 0x8016 ## $t2 = 80160000
/* 00208 8089FAB8 8D4AFA90 */ lw $t2, -0x0570($t2) ## 8015FA90
/* 00204 8089FAB4 3C0A8016 */ lui $t2, %hi(gGameInfo)
/* 00208 8089FAB8 8D4AFA90 */ lw $t2, %lo(gGameInfo)($t2)
/* 0020C 8089FABC 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00210 8089FAC0 854B1532 */ lh $t3, 0x1532($t2) ## 80161532
/* 00214 8089FAC4 55600012 */ bnel $t3, $zero, .L8089FB10

View file

@ -13,8 +13,8 @@ glabel D_808A0634
.text
glabel BgMizuWater_Update
/* 00924 808A01D4 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00928 808A01D8 8DCEFA90 */ lw $t6, -0x0570($t6) ## 8015FA90
/* 00924 808A01D4 3C0E8016 */ lui $t6, %hi(gGameInfo)
/* 00928 808A01D8 8DCEFA90 */ lw $t6, %lo(gGameInfo)($t6)
/* 0092C 808A01DC 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 00930 808A01E0 AFBF001C */ sw $ra, 0x001C($sp)
/* 00934 808A01E4 AFB00018 */ sw $s0, 0x0018($sp)

View file

@ -1,7 +1,7 @@
glabel func_8089F8B0
/* 00000 8089F8B0 27BDFFE8 */ addiu $sp, $sp, 0xFFE8 ## $sp = FFFFFFE8
/* 00004 8089F8B4 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00008 8089F8B8 8C42FA90 */ lw $v0, -0x0570($v0) ## 8015FA90
/* 00004 8089F8B4 3C028016 */ lui $v0, %hi(gGameInfo)
/* 00008 8089F8B8 8C42FA90 */ lw $v0, %lo(gGameInfo)($v0)
/* 0000C 8089F8BC AFBF0014 */ sw $ra, 0x0014($sp)
/* 00010 8089F8C0 AFA40018 */ sw $a0, 0x0018($sp)
/* 00014 8089F8C4 AFA5001C */ sw $a1, 0x001C($sp)
@ -24,22 +24,22 @@ glabel func_8089F8B0
/* 00054 8089F904 0C00B2DD */ jal Flags_SetSwitch
/* 00058 8089F908 2405001C */ addiu $a1, $zero, 0x001C ## $a1 = 0000001C
/* 0005C 8089F90C 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 0005C 8089F90C 3C028016 */ lui $v0, %hi(gGameInfo)
/* 00060 8089F910 1000000A */ beq $zero, $zero, .L8089F93C
/* 00064 8089F914 8C42FA90 */ lw $v0, -0x0570($v0) ## 8015FA90
/* 00064 8089F914 8C42FA90 */ lw $v0, %lo(gGameInfo)($v0)
.L8089F918:
/* 00068 8089F918 0C00B2DD */ jal Flags_SetSwitch
/* 0006C 8089F91C 2405001D */ addiu $a1, $zero, 0x001D ## $a1 = 0000001D
/* 00070 8089F920 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00070 8089F920 3C028016 */ lui $v0, %hi(gGameInfo)
/* 00074 8089F924 10000005 */ beq $zero, $zero, .L8089F93C
/* 00078 8089F928 8C42FA90 */ lw $v0, -0x0570($v0) ## 8015FA90
/* 00078 8089F928 8C42FA90 */ lw $v0, %lo(gGameInfo)($v0)
.L8089F92C:
/* 0007C 8089F92C 0C00B2DD */ jal Flags_SetSwitch
/* 00080 8089F930 2405001E */ addiu $a1, $zero, 0x001E ## $a1 = 0000001E
/* 00084 8089F934 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00088 8089F938 8C42FA90 */ lw $v0, -0x0570($v0) ## 8015FA90
/* 00084 8089F934 3C028016 */ lui $v0, %hi(gGameInfo)
/* 00088 8089F938 8C42FA90 */ lw $v0, %lo(gGameInfo)($v0)
.L8089F93C:
/* 0008C 8089F93C A4401514 */ sh $zero, 0x1514($v0) ## 80161514
.L8089F940:

View file

@ -214,7 +214,7 @@ glabel func_808A3F58
/* 00A08 808A41D8 8FAB00B4 */ lw $t3, 0x00B4($sp)
/* 00A0C 808A41DC 3C180001 */ lui $t8, 0x0001 ## $t8 = 00010000
/* 00A10 808A41E0 818D016A */ lb $t5, 0x016A($t4) ## 0000016A
/* 00A14 808A41E4 3C098011 */ lui $t1, 0x8011 ## $t1 = 80110000
/* 00A14 808A41E4 3C098011 */ lui $t1, %hi(D_80116280+0x10)
/* 00A18 808A41E8 3C08DB06 */ lui $t0, 0xDB06 ## $t0 = DB060000
/* 00A1C 808A41EC 000D7100 */ sll $t6, $t5, 4
/* 00A20 808A41F0 01CD7021 */ addu $t6, $t6, $t5
@ -223,7 +223,7 @@ glabel func_808A3F58
/* 00A2C 808A41FC 030FC021 */ addu $t8, $t8, $t7
/* 00A30 808A4200 8F1817B4 */ lw $t8, 0x17B4($t8) ## 000117B4
/* 00A34 808A4204 35080020 */ ori $t0, $t0, 0x0020 ## $t0 = DB060020
/* 00A38 808A4208 25296290 */ addiu $t1, $t1, 0x6290 ## $t1 = 80116290
/* 00A38 808A4208 25296290 */ addiu $t1, %lo(D_80116280+0x10)
/* 00A3C 808A420C AC580004 */ sw $t8, 0x0004($v0) ## 00000004
/* 00A40 808A4210 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0
/* 00A44 808A4214 27A40068 */ addiu $a0, $sp, 0x0068 ## $a0 = FFFFFFB8

View file

@ -21,9 +21,9 @@ glabel BgPoEvent_Destroy
/* 0067C 808A688C 24850810 */ addiu $a1, $a0, 0x0810 ## $a1 = 00000810
/* 00680 808A6890 8FA70018 */ lw $a3, 0x0018($sp)
/* 00684 808A6894 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 00688 808A6898 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00688 808A6898 3C028016 */ lui $v0, %hi(gSaveContext)
/* 0068C 808A689C 90F80168 */ lbu $t8, 0x0168($a3) ## 00000168
/* 00690 808A68A0 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 00690 808A68A0 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00694 808A68A4 57010007 */ bnel $t8, $at, .L808A68C4
/* 00698 808A68A8 8FBF0014 */ lw $ra, 0x0014($sp)
/* 0069C 808A68AC 845913D0 */ lh $t9, 0x13D0($v0) ## 8015FA30

View file

@ -53,12 +53,12 @@ glabel func_808A6CCC
/* 00B80 808A6D90 0C01E221 */ jal func_80078884
/* 00B84 808A6D94 24044802 */ addiu $a0, $zero, 0x4802 ## $a0 = 00004802
/* 00B88 808A6D98 240D000A */ addiu $t5, $zero, 0x000A ## $t5 = 0000000A
/* 00B8C 808A6D9C 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 00B8C 808A6D9C 3C018016 */ lui $at, %hi(gSaveContext+0x13ce)
/* 00B90 808A6DA0 10000071 */ beq $zero, $zero, .L808A6F68
/* 00B94 808A6DA4 A42DFA2E */ sh $t5, -0x05D2($at) ## 8015FA2E
/* 00B94 808A6DA4 A42DFA2E */ sh $t5, %lo(gSaveContext+0x13ce)($at)
.L808A6DA8:
/* 00B98 808A6DA8 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00B9C 808A6DAC 85CEFA30 */ lh $t6, -0x05D0($t6) ## 8015FA30
/* 00B98 808A6DA8 3C0E8016 */ lui $t6, %hi(gSaveContext+0x13d0)
/* 00B9C 808A6DAC 85CEFA30 */ lh $t6, %lo(gSaveContext+0x13d0)($t6)
/* 00BA0 808A6DB0 3C0F808A */ lui $t7, %hi(D_808A7D58) ## $t7 = 808A0000
/* 00BA4 808A6DB4 55C00010 */ bnel $t6, $zero, .L808A6DF8
/* 00BA8 808A6DB8 24010040 */ addiu $at, $zero, 0x0040 ## $at = 00000040

View file

@ -9,8 +9,8 @@ glabel BgRelayObjects_Destroy
## DynaPolyInfo_delReserve
/* 00258 808A90A8 8DC6014C */ lw $a2, 0x014C($t6) ## 0000014C
/* 0025C 808A90AC 8FAF0018 */ lw $t7, 0x0018($sp)
/* 00260 808A90B0 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00264 808A90B4 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 00260 808A90B0 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00264 808A90B4 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00268 808A90B8 85F8001C */ lh $t8, 0x001C($t7) ## 0000001C
/* 0026C 808A90BC 5700000A */ bnel $t8, $zero, .L808A90E8
/* 00270 808A90C0 8FBF0014 */ lw $ra, 0x0014($sp)

View file

@ -29,8 +29,8 @@ glabel BgRelayObjects_Init
/* 00064 808A8EB4 0C010620 */ jal DynaPolyInfo_Alloc
/* 00068 808A8EB8 248425FC */ addiu $a0, $a0, 0x25FC ## $a0 = 060025FC
/* 0006C 808A8EBC 3C0A8016 */ lui $t2, 0x8016 ## $t2 = 80160000
/* 00070 808A8EC0 954AF540 */ lhu $t2, -0x0AC0($t2) ## 8015F540
/* 0006C 808A8EBC 3C0A8016 */ lui $t2, %hi(gSaveContext+0xee0)
/* 00070 808A8EC0 954AF540 */ lhu $t2, %lo(gSaveContext+0xee0)($t2)
/* 00074 808A8EC4 240C0400 */ addiu $t4, $zero, 0x0400 ## $t4 = 00000400
/* 00078 808A8EC8 240D0080 */ addiu $t5, $zero, 0x0080 ## $t5 = 00000080
/* 0007C 808A8ECC 314B0020 */ andi $t3, $t2, 0x0020 ## $t3 = 00000000

View file

@ -16,12 +16,12 @@ glabel func_808A90F4
/* 002D8 808A9128 0C00BE0A */ jal Audio_PlayActorSound2
/* 002DC 808A912C 24052814 */ addiu $a1, $zero, 0x2814 ## $a1 = 00002814
/* 002E0 808A9130 3C0F8012 */ lui $t7, 0x8012 ## $t7 = 80120000
/* 002E4 808A9134 91EF746E */ lbu $t7, 0x746E($t7) ## 8012746E
/* 002E8 808A9138 3C188016 */ lui $t8, 0x8016 ## $t8 = 80160000
/* 002E0 808A9130 3C0F8012 */ lui $t7, %hi(gItemSlots+0xa)
/* 002E4 808A9134 91EF746E */ lbu $t7, %lo(gItemSlots+0xa)($t7)
/* 002E8 808A9138 3C188016 */ lui $t8, %hi(gSaveContext+0x74)
/* 002EC 808A913C 240100FF */ addiu $at, $zero, 0x00FF ## $at = 000000FF
/* 002F0 808A9140 030FC021 */ addu $t8, $t8, $t7
/* 002F4 808A9144 9318E6D4 */ lbu $t8, -0x192C($t8) ## 8015E6D4
/* 002F4 808A9144 9318E6D4 */ lbu $t8, %lo(gSaveContext+0x74)($t8)
/* 002F8 808A9148 24190078 */ addiu $t9, $zero, 0x0078 ## $t9 = 00000078
/* 002FC 808A914C 240800A0 */ addiu $t0, $zero, 0x00A0 ## $t0 = 000000A0
/* 00300 808A9150 53010004 */ beql $t8, $at, .L808A9164

View file

@ -54,8 +54,8 @@ glabel func_808A9234
/* 004A4 808A92F4 15410004 */ bne $t2, $at, .L808A9308
/* 004A8 808A92F8 258C9320 */ addiu $t4, $t4, %lo(func_808A9320) ## $t4 = 808A9320
/* 004AC 808A92FC 240B000F */ addiu $t3, $zero, 0x000F ## $t3 = 0000000F
/* 004B0 808A9300 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 004B4 808A9304 A42BFA2E */ sh $t3, -0x05D2($at) ## 8015FA2E
/* 004B0 808A9300 3C018016 */ lui $at, %hi(gSaveContext+0x13ce)
/* 004B4 808A9304 A42BFA2E */ sh $t3, %lo(gSaveContext+0x13ce)($at)
.L808A9308:
/* 004B8 808A9308 AE0C0164 */ sw $t4, 0x0164($s0) ## 00000164
.L808A930C:

View file

@ -13,14 +13,14 @@ glabel func_808A939C
/* 00564 808A93B4 24050005 */ addiu $a1, $zero, 0x0005 ## $a1 = 00000005
/* 00568 808A93B8 10400006 */ beq $v0, $zero, .L808A93D4
/* 0056C 808A93BC 26040032 */ addiu $a0, $s0, 0x0032 ## $a0 = 00000032
/* 00570 808A93C0 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00574 808A93C4 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 00570 808A93C0 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00574 808A93C4 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00578 808A93C8 944E0EE0 */ lhu $t6, 0x0EE0($v0) ## 8015F540
/* 0057C 808A93CC 35CF0020 */ ori $t7, $t6, 0x0020 ## $t7 = 00000020
/* 00580 808A93D0 A44F0EE0 */ sh $t7, 0x0EE0($v0) ## 8015F540
.L808A93D4:
/* 00584 808A93D4 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00588 808A93D8 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 00584 808A93D4 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00588 808A93D8 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 0058C 808A93DC 94580EE0 */ lhu $t8, 0x0EE0($v0) ## 8015F540
/* 00590 808A93E0 24060008 */ addiu $a2, $zero, 0x0008 ## $a2 = 00000008
/* 00594 808A93E4 24050080 */ addiu $a1, $zero, 0x0080 ## $a1 = 00000080

View file

@ -90,9 +90,9 @@ glabel BgSpot00Hanebasi_Draw
/* 00F30 808AA6B0 E7B20054 */ swc1 $f18, 0x0054($sp)
/* 00F34 808AA6B4 8E0C011C */ lw $t4, 0x011C($s0) ## 0000011C
/* 00F38 808AA6B8 C7A40048 */ lwc1 $f4, 0x0048($sp)
/* 00F3C 808AA6BC 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 00F3C 808AA6BC 3C038016 */ lui $v1, %hi(gSaveContext)
/* 00F40 808AA6C0 8D8D011C */ lw $t5, 0x011C($t4) ## 0000011C
/* 00F44 808AA6C4 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 00F44 808AA6C4 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 00F48 808AA6C8 2401000C */ addiu $at, $zero, 0x000C ## $at = 0000000C
/* 00F4C 808AA6CC E5A40024 */ swc1 $f4, 0x0024($t5) ## 00000024
/* 00F50 808AA6D0 8E0E011C */ lw $t6, 0x011C($s0) ## 0000011C

View file

@ -41,8 +41,8 @@ glabel BgSpot00Hanebasi_Init
/* 00080 808A9800 AE02014C */ sw $v0, 0x014C($s0) ## 0000014C
/* 00084 808A9804 14610091 */ bne $v1, $at, .L808A9A4C
/* 00088 808A9808 00000000 */ nop
/* 0008C 808A980C 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 00090 808A9810 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 0008C 808A980C 3C038016 */ lui $v1, %hi(gSaveContext)
/* 00090 808A9810 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 00094 808A9814 8C640004 */ lw $a0, 0x0004($v1) ## 8015E664
/* 00098 808A9818 5480000A */ bnel $a0, $zero, .L808A9844
/* 0009C 808A981C 8C621360 */ lw $v0, 0x1360($v1) ## 8015F9C0
@ -78,8 +78,8 @@ glabel BgSpot00Hanebasi_Init
.L808A9884:
/* 00104 808A9884 8C681360 */ lw $t0, 0x1360($v1) ## 00001360
/* 00108 808A9888 10A80015 */ beq $a1, $t0, .L808A98E0
/* 0010C 808A988C 3C048012 */ lui $a0, 0x8012 ## $a0 = 80120000
/* 00110 808A9890 24847120 */ addiu $a0, $a0, 0x7120 ## $a0 = 80127120
/* 0010C 808A988C 3C048012 */ lui $a0, %hi(gBitFlags)
/* 00110 808A9890 24847120 */ addiu $a0, %lo(gBitFlags)
/* 00114 808A9894 8C890048 */ lw $t1, 0x0048($a0) ## 80127168
/* 00118 808A9898 8C6200A4 */ lw $v0, 0x00A4($v1) ## 000000A4
/* 0011C 808A989C 01225024 */ and $t2, $t1, $v0

View file

@ -21,11 +21,11 @@ glabel BgSpot00Hanebasi_Update
/* 0085C 808A9FDC 8FBF001C */ lw $ra, 0x001C($sp)
/* 00860 808A9FE0 860F00A4 */ lh $t7, 0x00A4($s0) ## 000000A4
/* 00864 808A9FE4 24010051 */ addiu $at, $zero, 0x0051 ## $at = 00000051
/* 00868 808A9FE8 3C038012 */ lui $v1, 0x8012 ## $v1 = 80120000
/* 00868 808A9FE8 3C038012 */ lui $v1, %hi(gBitFlags)
/* 0086C 808A9FEC 15E10066 */ bne $t7, $at, .L808AA188
/* 00870 808A9FF0 24637120 */ addiu $v1, $v1, 0x7120 ## $v1 = 80127120
/* 00874 808A9FF4 3C088016 */ lui $t0, 0x8016 ## $t0 = 80160000
/* 00878 808A9FF8 2508E660 */ addiu $t0, $t0, 0xE660 ## $t0 = 8015E660
/* 00870 808A9FF0 24637120 */ addiu $v1, %lo(gBitFlags)
/* 00874 808A9FF4 3C088016 */ lui $t0, %hi(gSaveContext)
/* 00878 808A9FF8 2508E660 */ addiu $t0, %lo(gSaveContext)
/* 0087C 808A9FFC 8D0200A4 */ lw $v0, 0x00A4($t0) ## 8015E704
/* 00880 808AA000 8C780048 */ lw $t8, 0x0048($v1) ## 80127168
/* 00884 808AA004 03024824 */ and $t1, $t8, $v0
@ -78,8 +78,8 @@ glabel BgSpot00Hanebasi_Update
/* 00940 808AA0C0 AFA50024 */ sw $a1, 0x0024($sp)
/* 00944 808AA0C4 0C02FF21 */ jal Gameplay_InCsMode
/* 00948 808AA0C8 AFA70030 */ sw $a3, 0x0030($sp)
/* 0094C 808AA0CC 3C088016 */ lui $t0, 0x8016 ## $t0 = 80160000
/* 00950 808AA0D0 2508E660 */ addiu $t0, $t0, 0xE660 ## $t0 = 8015E660
/* 0094C 808AA0CC 3C088016 */ lui $t0, %hi(gSaveContext)
/* 00950 808AA0D0 2508E660 */ addiu $t0, %lo(gSaveContext)
/* 00954 808AA0D4 8FA50024 */ lw $a1, 0x0024($sp)
/* 00958 808AA0D8 14400021 */ bne $v0, $zero, .L808AA160
/* 0095C 808AA0DC 8FA70030 */ lw $a3, 0x0030($sp)
@ -102,9 +102,9 @@ glabel BgSpot00Hanebasi_Update
/* 0099C 808AA11C 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 009A0 808AA120 00300821 */ addu $at, $at, $s0
/* 009A4 808AA124 240B00CD */ addiu $t3, $zero, 0x00CD ## $t3 = 000000CD
/* 009A8 808AA128 3C088016 */ lui $t0, 0x8016 ## $t0 = 80160000
/* 009A8 808AA128 3C088016 */ lui $t0, %hi(gSaveContext)
/* 009AC 808AA12C A42B1E1A */ sh $t3, 0x1E1A($at) ## 00011E1A
/* 009B0 808AA130 2508E660 */ addiu $t0, $t0, 0xE660 ## $t0 = 8015E660
/* 009B0 808AA130 2508E660 */ addiu $t0, %lo(gSaveContext)
/* 009B4 808AA134 340CFFF1 */ ori $t4, $zero, 0xFFF1 ## $t4 = 0000FFF1
/* 009B8 808AA138 3C010001 */ lui $at, 0x0001 ## $at = 00010000
/* 009BC 808AA13C A50C1412 */ sh $t4, 0x1412($t0) ## 8015FA72
@ -129,13 +129,13 @@ glabel BgSpot00Hanebasi_Update
/* 00A00 808AA180 00300821 */ addu $at, $at, $s0
/* 00A04 808AA184 A02E0B01 */ sb $t6, 0x0B01($at) ## 00010B01
.L808AA188:
/* 00A08 808AA188 3C088016 */ lui $t0, 0x8016 ## $t0 = 80160000
/* 00A0C 808AA18C 2508E660 */ addiu $t0, $t0, 0xE660 ## $t0 = 8015E660
/* 00A08 808AA188 3C088016 */ lui $t0, %hi(gSaveContext)
/* 00A0C 808AA18C 2508E660 */ addiu $t0, %lo(gSaveContext)
/* 00A10 808AA190 8D041360 */ lw $a0, 0x1360($t0) ## 8015F9C0
/* 00A14 808AA194 24060005 */ addiu $a2, $zero, 0x0005 ## $a2 = 00000005
/* 00A18 808AA198 3C058012 */ lui $a1, 0x8012 ## $a1 = 80120000
/* 00A18 808AA198 3C058012 */ lui $a1, %hi(D_8011FB40)
/* 00A1C 808AA19C 14C4003F */ bne $a2, $a0, .L808AA29C
/* 00A20 808AA1A0 24A5FB40 */ addiu $a1, $a1, 0xFB40 ## $a1 = 8011FB40
/* 00A20 808AA1A0 24A5FB40 */ addiu $a1, %lo(D_8011FB40)
/* 00A24 808AA1A4 94AF0000 */ lhu $t7, 0x0000($a1) ## 8011FB40
/* 00A28 808AA1A8 24010032 */ addiu $at, $zero, 0x0032 ## $at = 00000032
/* 00A2C 808AA1AC 55E10033 */ bnel $t7, $at, .L808AA27C

View file

@ -1,6 +1,6 @@
glabel func_808A9BE8
/* 00468 808A9BE8 3C078016 */ lui $a3, 0x8016 ## $a3 = 80160000
/* 0046C 808A9BEC 24E7E660 */ addiu $a3, $a3, 0xE660 ## $a3 = 8015E660
/* 00468 808A9BE8 3C078016 */ lui $a3, %hi(gSaveContext)
/* 0046C 808A9BEC 24E7E660 */ addiu $a3, %lo(gSaveContext)
/* 00470 808A9BF0 8CE31360 */ lw $v1, 0x1360($a3) ## 8015F9C0
/* 00474 808A9BF4 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00478 808A9BF8 AFBF0014 */ sw $ra, 0x0014($sp)
@ -9,8 +9,8 @@ glabel func_808A9BE8
/* 00484 808A9C04 00803025 */ or $a2, $a0, $zero ## $a2 = 00000000
/* 00488 808A9C08 10200014 */ beq $at, $zero, .L808A9C5C
/* 0048C 808A9C0C 8C88011C */ lw $t0, 0x011C($a0) ## 0000011C
/* 00490 808A9C10 3C048012 */ lui $a0, 0x8012 ## $a0 = 80120000
/* 00494 808A9C14 24847120 */ addiu $a0, $a0, 0x7120 ## $a0 = 80127120
/* 00490 808A9C10 3C048012 */ lui $a0, %hi(gBitFlags)
/* 00494 808A9C14 24847120 */ addiu $a0, %lo(gBitFlags)
/* 00498 808A9C18 8C8E0048 */ lw $t6, 0x0048($a0) ## 80127168
/* 0049C 808A9C1C 8CE200A4 */ lw $v0, 0x00A4($a3) ## 8015E704
/* 004A0 808A9C20 01C27824 */ and $t7, $t6, $v0
@ -38,8 +38,8 @@ glabel func_808A9BE8
/* 004F0 808A9C70 AFA60020 */ sw $a2, 0x0020($sp)
/* 004F4 808A9C74 0C01B129 */ jal func_8006C4A4
/* 004F8 808A9C78 AFA8001C */ sw $t0, 0x001C($sp)
/* 004FC 808A9C7C 3C078016 */ lui $a3, 0x8016 ## $a3 = 80160000
/* 00500 808A9C80 24E7E660 */ addiu $a3, $a3, 0xE660 ## $a3 = 8015E660
/* 004FC 808A9C7C 3C078016 */ lui $a3, %hi(gSaveContext)
/* 00500 808A9C80 24E7E660 */ addiu $a3, %lo(gSaveContext)
/* 00504 808A9C84 8FA60020 */ lw $a2, 0x0020($sp)
/* 00508 808A9C88 14400007 */ bne $v0, $zero, .L808A9CA8
/* 0050C 808A9C8C 8FA8001C */ lw $t0, 0x001C($sp)

View file

@ -52,8 +52,8 @@ glabel func_808AA2B0
/* 00B90 808AA310 00A09025 */ or $s2, $a1, $zero ## $s2 = 00000000
/* 00B94 808AA314 0C024F61 */ jal func_80093D84
/* 00B98 808AA318 8E640000 */ lw $a0, 0x0000($s3) ## 00000000
/* 00B9C 808AA31C 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00BA0 808AA320 8DCEF9C0 */ lw $t6, -0x0640($t6) ## 8015F9C0
/* 00B9C 808AA31C 3C0E8016 */ lui $t6, %hi(gSaveContext+0x1360)
/* 00BA0 808AA320 8DCEF9C0 */ lw $t6, %lo(gSaveContext+0x1360)($t6)
/* 00BA4 808AA324 29C10004 */ slti $at, $t6, 0x0004
/* 00BA8 808AA328 14200005 */ bne $at, $zero, .L808AA340
/* 00BAC 808AA32C 3C01808B */ lui $at, %hi(D_808AA88C) ## $at = 808B0000

View file

@ -29,8 +29,8 @@ glabel BgSpot01Idohashira_Init
/* 00958 808AB638 0C00FA9D */ jal DynaPolyInfo_RegisterActor
## DynaPolyInfo_setActor
/* 0095C 808AB63C 24850810 */ addiu $a1, $a0, 0x0810 ## $a1 = 00000810
/* 00960 808AB640 3C048016 */ lui $a0, 0x8016 ## $a0 = 80160000
/* 00964 808AB644 2484E660 */ addiu $a0, $a0, 0xE660 ## $a0 = 8015E660
/* 00960 808AB640 3C048016 */ lui $a0, %hi(gSaveContext)
/* 00964 808AB644 2484E660 */ addiu $a0, %lo(gSaveContext)
/* 00968 808AB648 AE02014C */ sw $v0, 0x014C($s0) ## 0000014C
/* 0096C 808AB64C 8C831360 */ lw $v1, 0x1360($a0) ## 8015F9C0
/* 00970 808AB650 28610004 */ slti $at, $v1, 0x0004
@ -56,8 +56,8 @@ glabel BgSpot01Idohashira_Init
/* 009B4 808AB694 1461000E */ bne $v1, $at, .L808AB6D0
/* 009B8 808AB698 24190001 */ addiu $t9, $zero, 0x0001 ## $t9 = 00000001
/* 009BC 808AB69C AE190164 */ sw $t9, 0x0164($s0) ## 00000164
/* 009C0 808AB6A0 3C088016 */ lui $t0, 0x8016 ## $t0 = 80160000
/* 009C4 808AB6A4 8D08FA90 */ lw $t0, -0x0570($t0) ## 8015FA90
/* 009C0 808AB6A0 3C088016 */ lui $t0, %hi(gGameInfo)
/* 009C4 808AB6A4 8D08FA90 */ lw $t0, %lo(gGameInfo)($t0)
/* 009C8 808AB6A8 3C01808B */ lui $at, %hi(D_808AB9D0) ## $at = 808B0000
/* 009CC 808AB6AC C428B9D0 */ lwc1 $f8, %lo(D_808AB9D0)($at)
/* 009D0 808AB6B0 85091468 */ lh $t1, 0x1468($t0) ## 80161468

View file

@ -5,14 +5,14 @@ glabel func_808AAE6C
/* 00198 808AAE78 AFA50044 */ sw $a1, 0x0044($sp)
/* 0019C 808AAE7C 8C980024 */ lw $t8, 0x0024($a0) ## 00000024
/* 001A0 808AAE80 27A50030 */ addiu $a1, $sp, 0x0030 ## $a1 = FFFFFFF0
/* 001A4 808AAE84 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 001A4 808AAE84 3C028016 */ lui $v0, %hi(gGameInfo)
/* 001A8 808AAE88 ACB80000 */ sw $t8, 0x0000($a1) ## FFFFFFF0
/* 001AC 808AAE8C 8C8F0028 */ lw $t7, 0x0028($a0) ## 00000028
/* 001B0 808AAE90 3C0143AF */ lui $at, 0x43AF ## $at = 43AF0000
/* 001B4 808AAE94 ACAF0004 */ sw $t7, 0x0004($a1) ## FFFFFFF4
/* 001B8 808AAE98 8C98002C */ lw $t8, 0x002C($a0) ## 0000002C
/* 001BC 808AAE9C ACB80008 */ sw $t8, 0x0008($a1) ## FFFFFFF8
/* 001C0 808AAEA0 8C42FA90 */ lw $v0, -0x0570($v0) ## 8015FA90
/* 001C0 808AAEA0 8C42FA90 */ lw $v0, %lo(gGameInfo)($v0)
/* 001C4 808AAEA4 C7A40034 */ lwc1 $f4, 0x0034($sp)
/* 001C8 808AAEA8 8FA40044 */ lw $a0, 0x0044($sp)
/* 001CC 808AAEAC 84591472 */ lh $t9, 0x1472($v0) ## 80161472

View file

@ -13,10 +13,10 @@ glabel func_808AAF34
/* 00260 808AAF40 AFA40058 */ sw $a0, 0x0058($sp)
/* 00264 808AAF44 AFA5005C */ sw $a1, 0x005C($sp)
/* 00268 808AAF48 8C8F0170 */ lw $t7, 0x0170($a0) ## 00000170
/* 0026C 808AAF4C 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 0026C 808AAF4C 3C028016 */ lui $v0, %hi(gGameInfo)
/* 00270 808AAF50 51E00064 */ beql $t7, $zero, .L808AB0E4
/* 00274 808AAF54 8FBF002C */ lw $ra, 0x002C($sp)
/* 00278 808AAF58 8C42FA90 */ lw $v0, -0x0570($v0) ## 8015FA90
/* 00278 808AAF58 8C42FA90 */ lw $v0, %lo(gGameInfo)($v0)
/* 0027C 808AAF5C 3C01808B */ lui $at, %hi(D_808AB9C4) ## $at = 808B0000
/* 00280 808AAF60 C428B9C4 */ lwc1 $f8, %lo(D_808AB9C4)($at)
/* 00284 808AAF64 8458147C */ lh $t8, 0x147C($v0) ## 8016147C
@ -38,8 +38,8 @@ glabel func_808AAF34
/* 002C4 808AAFA4 46049180 */ add.s $f6, $f18, $f4
/* 002C8 808AAFA8 0C0346BD */ jal Matrix_MultVec3f
/* 002CC 808AAFAC E7A6003C */ swc1 $f6, 0x003C($sp)
/* 002D0 808AAFB0 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 002D4 808AAFB4 8C42FA90 */ lw $v0, -0x0570($v0) ## 8015FA90
/* 002D0 808AAFB0 3C028016 */ lui $v0, %hi(gGameInfo)
/* 002D4 808AAFB4 8C42FA90 */ lw $v0, %lo(gGameInfo)($v0)
/* 002D8 808AAFB8 3C0142A0 */ lui $at, 0x42A0 ## $at = 42A00000
/* 002DC 808AAFBC 44819000 */ mtc1 $at, $f18 ## $f18 = 80.00
/* 002E0 808AAFC0 84481474 */ lh $t0, 0x1474($v0) ## 80161474
@ -63,8 +63,8 @@ glabel func_808AAF34
/* 00328 808AB008 02002825 */ or $a1, $s0, $zero ## $a1 = FFFFFFEC
/* 0032C 808AB00C 0C22AB4F */ jal func_808AAD3C
/* 00330 808AB010 24060003 */ addiu $a2, $zero, 0x0003 ## $a2 = 00000003
/* 00334 808AB014 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00338 808AB018 8C42FA90 */ lw $v0, -0x0570($v0) ## 8015FA90
/* 00334 808AB014 3C028016 */ lui $v0, %hi(gGameInfo)
/* 00338 808AB018 8C42FA90 */ lw $v0, %lo(gGameInfo)($v0)
/* 0033C 808AB01C 3C01808B */ lui $at, %hi(D_808AB9C8) ## $at = 808B0000
/* 00340 808AB020 C42AB9C8 */ lwc1 $f10, %lo(D_808AB9C8)($at)
/* 00344 808AB024 844C147C */ lh $t4, 0x147C($v0) ## 8016147C
@ -86,8 +86,8 @@ glabel func_808AAF34
/* 00384 808AB064 46083280 */ add.s $f10, $f6, $f8
/* 00388 808AB068 0C0346BD */ jal Matrix_MultVec3f
/* 0038C 808AB06C E7AA003C */ swc1 $f10, 0x003C($sp)
/* 00390 808AB070 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00394 808AB074 8C42FA90 */ lw $v0, -0x0570($v0) ## 8015FA90
/* 00390 808AB070 3C028016 */ lui $v0, %hi(gGameInfo)
/* 00394 808AB074 8C42FA90 */ lw $v0, %lo(gGameInfo)($v0)
/* 00398 808AB078 3C0142A0 */ lui $at, 0x42A0 ## $at = 42A00000
/* 0039C 808AB07C 44813000 */ mtc1 $at, $f6 ## $f6 = 80.00
/* 003A0 808AB080 844E1474 */ lh $t6, 0x1474($v0) ## 80161474

View file

@ -1,6 +1,6 @@
glabel func_808AB18C
/* 004AC 808AB18C 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 004B0 808AB190 2442FA90 */ addiu $v0, $v0, 0xFA90 ## $v0 = 8015FA90
/* 004AC 808AB18C 3C028016 */ lui $v0, %hi(gGameInfo)
/* 004B0 808AB190 2442FA90 */ addiu $v0, %lo(gGameInfo)
/* 004B4 808AB194 8C4F0000 */ lw $t7, 0x0000($v0) ## 8015FA90
/* 004B8 808AB198 848E00B4 */ lh $t6, 0x00B4($a0) ## 000000B4
/* 004BC 808AB19C 848800B6 */ lh $t0, 0x00B6($a0) ## 000000B6

View file

@ -18,13 +18,13 @@ glabel func_808AB1DC
/* 00524 808AB204 AFBF0014 */ sw $ra, 0x0014($sp)
/* 00528 808AB208 E7AC0018 */ swc1 $f12, 0x0018($sp)
/* 0052C 808AB20C E7AE001C */ swc1 $f14, 0x001C($sp)
/* 00530 808AB210 3C0F8016 */ lui $t7, 0x8016 ## $t7 = 80160000
/* 00530 808AB210 3C0F8016 */ lui $t7, %hi(gGameInfo)
/* 00534 808AB214 3C04808B */ lui $a0, %hi(D_808AB870) ## $a0 = 808B0000
/* 00538 808AB218 46103032 */ c.eq.s $f6, $f16
/* 0053C 808AB21C 03274023 */ subu $t0, $t9, $a3
/* 00540 808AB220 45010016 */ bc1t .L808AB27C
/* 00544 808AB224 00000000 */ nop
/* 00548 808AB228 8DEFFA90 */ lw $t7, -0x0570($t7) ## 8015FA90
/* 00548 808AB228 8DEFFA90 */ lw $t7, %lo(gGameInfo)($t7)
/* 0054C 808AB22C 44882000 */ mtc1 $t0, $f4 ## $f4 = 0.00
/* 00550 808AB230 3C0141F0 */ lui $at, 0x41F0 ## $at = 41F00000
/* 00554 808AB234 85F81466 */ lh $t8, 0x1466($t7) ## 80161466

View file

@ -22,14 +22,14 @@ glabel func_808AB29C
/* 005F8 808AB2D8 8FA3004C */ lw $v1, 0x004C($sp)
/* 005FC 808AB2DC 27AF0030 */ addiu $t7, $sp, 0x0030 ## $t7 = FFFFFFE0
/* 00600 808AB2E0 8C590008 */ lw $t9, 0x0008($v0) ## 00000008
/* 00604 808AB2E4 3C098016 */ lui $t1, 0x8016 ## $t1 = 80160000
/* 00604 808AB2E4 3C098016 */ lui $t1, %hi(gGameInfo)
/* 00608 808AB2E8 3C01808B */ lui $at, %hi(D_808AB9CC) ## $at = 808B0000
/* 0060C 808AB2EC ADF90000 */ sw $t9, 0x0000($t7) ## FFFFFFE0
/* 00610 808AB2F0 8C58000C */ lw $t8, 0x000C($v0) ## 0000000C
/* 00614 808AB2F4 ADF80004 */ sw $t8, 0x0004($t7) ## FFFFFFE4
/* 00618 808AB2F8 8C590010 */ lw $t9, 0x0010($v0) ## 00000010
/* 0061C 808AB2FC ADF90008 */ sw $t9, 0x0008($t7) ## FFFFFFE8
/* 00620 808AB300 8D29FA90 */ lw $t1, -0x0570($t1) ## 8015FA90
/* 00620 808AB300 8D29FA90 */ lw $t1, %lo(gGameInfo)($t1)
/* 00624 808AB304 8C680018 */ lw $t0, 0x0018($v1) ## 00000018
/* 00628 808AB308 C42AB9CC */ lwc1 $f10, %lo(D_808AB9CC)($at)
/* 0062C 808AB30C 852A1468 */ lh $t2, 0x1468($t1) ## 80161468

View file

@ -12,8 +12,8 @@ glabel BgSpot01Idomizu_Init
/* 00014 808ABAF4 0C01E037 */ jal Actor_ProcessInitChain
/* 00018 808ABAF8 AFA40018 */ sw $a0, 0x0018($sp)
/* 0001C 808ABAFC 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00020 808ABB00 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 0001C 808ABAFC 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00020 808ABB00 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00024 808ABB04 944E0EE0 */ lhu $t6, 0x0EE0($v0) ## 8015F540
/* 00028 808ABB08 8FA40018 */ lw $a0, 0x0018($sp)
/* 0002C 808ABB0C 24010011 */ addiu $at, $zero, 0x0011 ## $at = 00000011

View file

@ -4,8 +4,8 @@ glabel D_808ABE18
.text
glabel func_808ABB84
/* 000A4 808ABB84 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 000A8 808ABB88 95CEF540 */ lhu $t6, -0x0AC0($t6) ## 8015F540
/* 000A4 808ABB84 3C0E8016 */ lui $t6, %hi(gSaveContext+0xee0)
/* 000A8 808ABB88 95CEF540 */ lhu $t6, %lo(gSaveContext+0xee0)($t6)
/* 000AC 808ABB8C 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8
/* 000B0 808ABB90 AFB00020 */ sw $s0, 0x0020($sp)
/* 000B4 808ABB94 31CF0080 */ andi $t7, $t6, 0x0080 ## $t7 = 00000000
@ -18,18 +18,18 @@ glabel func_808ABB84
.L808ABBB0:
/* 000D0 808ABBB0 C6060028 */ lwc1 $f6, 0x0028($s0) ## 00000028
/* 000D4 808ABBB4 8CA807C0 */ lw $t0, 0x07C0($a1) ## 000007C0
/* 000D8 808ABBB8 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 000D8 808ABBB8 3C078013 */ lui $a3, %hi(D_801333E0)
/* 000DC 808ABBBC 4600320D */ trunc.w.s $f8, $f6
/* 000E0 808ABBC0 8D090028 */ lw $t1, 0x0028($t0) ## 00000028
/* 000E4 808ABBC4 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 000E8 808ABBC8 3C0A8013 */ lui $t2, 0x8013 ## $t2 = 80130000
/* 000E4 808ABBC4 3C058013 */ lui $a1, %hi(D_801333D4)
/* 000E8 808ABBC8 3C0A8013 */ lui $t2, %hi(D_801333E8)
/* 000EC 808ABBCC 44194000 */ mfc1 $t9, $f8
/* 000F0 808ABBD0 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 000F4 808ABBD4 254A33E8 */ addiu $t2, $t2, 0x33E8 ## $t2 = 801333E8
/* 000F0 808ABBD0 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 000F4 808ABBD4 254A33E8 */ addiu $t2, %lo(D_801333E8)
/* 000F8 808ABBD8 A5390002 */ sh $t9, 0x0002($t1) ## 00000002
/* 000FC 808ABBDC C60A0028 */ lwc1 $f10, 0x0028($s0) ## 00000028
/* 00100 808ABBE0 C6000150 */ lwc1 $f0, 0x0150($s0) ## 00000150
/* 00104 808ABBE4 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 00104 808ABBE4 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 00108 808ABBE8 2404205E */ addiu $a0, $zero, 0x205E ## $a0 = 0000205E
/* 0010C 808ABBEC 460A003C */ c.lt.s $f0, $f10
/* 00110 808ABBF0 24060004 */ addiu $a2, $zero, 0x0004 ## $a2 = 00000004

View file

@ -2,13 +2,13 @@ glabel func_808AC22C
/* 000EC 808AC22C 000670C0 */ sll $t6, $a2, 3
/* 000F0 808AC230 008E7821 */ addu $t7, $a0, $t6
/* 000F4 808AC234 8DE80004 */ lw $t0, 0x0004($t7) ## 00000004
/* 000F8 808AC238 3C0A8016 */ lui $t2, 0x8016 ## $t2 = 80160000
/* 000F8 808AC238 3C0A8016 */ lui $t2, %hi(gSegments)
/* 000FC 808AC23C 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00100 808AC240 0008C100 */ sll $t8, $t0, 4
/* 00104 808AC244 0018CF02 */ srl $t9, $t8, 28
/* 00108 808AC248 00194880 */ sll $t1, $t9, 2
/* 0010C 808AC24C 01495021 */ addu $t2, $t2, $t1
/* 00110 808AC250 8D4A6FA8 */ lw $t2, 0x6FA8($t2) ## 80166FA8
/* 00110 808AC250 8D4A6FA8 */ lw $t2, %lo(gSegments)($t2)
/* 00114 808AC254 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00118 808AC258 00076880 */ sll $t5, $a3, 2
/* 0011C 808AC25C 01A76823 */ subu $t5, $t5, $a3

View file

@ -35,8 +35,8 @@ glabel func_808AC2BC
/* 001E0 808AC320 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 001E4 808AC324 24050001 */ addiu $a1, $zero, 0x0001 ## $a1 = 00000001
/* 001E8 808AC328 03214021 */ addu $t0, $t9, $at
/* 001EC 808AC32C 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 001F0 808AC330 AC286FC0 */ sw $t0, 0x6FC0($at) ## 80166FC0
/* 001EC 808AC32C 3C018016 */ lui $at, %hi(gSegments+0x18)
/* 001F0 808AC330 AC286FC0 */ sw $t0, %lo(gSegments+0x18)($at)
/* 001F4 808AC334 8209017C */ lb $t1, 0x017C($s0) ## 0000017C
/* 001F8 808AC338 0C010D20 */ jal DynaPolyInfo_SetActorMove
@ -78,8 +78,8 @@ glabel L808AC394
## DynaPolyInfo_setActor
/* 00274 808AC3B4 8FA70054 */ lw $a3, 0x0054($sp)
/* 00278 808AC3B8 AE02014C */ sw $v0, 0x014C($s0) ## 0000014C
/* 0027C 808AC3BC 3C0C8016 */ lui $t4, 0x8016 ## $t4 = 80160000
/* 00280 808AC3C0 8D8CE670 */ lw $t4, -0x1990($t4) ## 8015E670
/* 0027C 808AC3BC 3C0C8016 */ lui $t4, %hi(gSaveContext+0x10)
/* 00280 808AC3C0 8D8CE670 */ lw $t4, %lo(gSaveContext+0x10)($t4)
/* 00284 808AC3C4 3C040001 */ lui $a0, 0x0001 ## $a0 = 00010000
/* 00288 808AC3C8 00912021 */ addu $a0, $a0, $s1
/* 0028C 808AC3CC 1580001E */ bne $t4, $zero, .L808AC448

View file

@ -110,8 +110,8 @@ glabel L808AC6BC
/* 00150 808AC7B0 0C00FA9D */ jal DynaPolyInfo_RegisterActor
## DynaPolyInfo_setActor
/* 00154 808AC7B4 24850810 */ addiu $a1, $a0, 0x0810 ## $a1 = 00000810
/* 00158 808AC7B8 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 0015C 808AC7BC 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 00158 808AC7B8 3C038016 */ lui $v1, %hi(gSaveContext)
/* 0015C 808AC7BC 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 00160 808AC7C0 AE02014C */ sw $v0, 0x014C($s0) ## 0000014C
/* 00164 808AC7C4 94690ED6 */ lhu $t1, 0x0ED6($v1) ## 8015F536
/* 00168 808AC7C8 8FAB0034 */ lw $t3, 0x0034($sp)
@ -150,10 +150,10 @@ glabel L808AC824
/* 001D8 808AC838 24851C24 */ addiu $a1, $a0, 0x1C24 ## $a1 = 00001C24
/* 001DC 808AC83C 3C19808B */ lui $t9, %hi(func_808ACC34) ## $t9 = 808B0000
/* 001E0 808AC840 3C08808B */ lui $t0, %hi(func_808ACCB8) ## $t0 = 808B0000
/* 001E4 808AC844 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 001E4 808AC844 3C038016 */ lui $v1, %hi(gSaveContext)
/* 001E8 808AC848 2739CC34 */ addiu $t9, $t9, %lo(func_808ACC34) ## $t9 = 808ACC34
/* 001EC 808AC84C 2508CCB8 */ addiu $t0, $t0, %lo(func_808ACCB8) ## $t0 = 808ACCB8
/* 001F0 808AC850 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 001F0 808AC850 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 001F4 808AC854 AE190164 */ sw $t9, 0x0164($s0) ## 00000164
/* 001F8 808AC858 AE080134 */ sw $t0, 0x0134($s0) ## 00000134
/* 001FC 808AC85C 94690ED6 */ lhu $t1, 0x0ED6($v1) ## 8015F536

View file

@ -18,8 +18,8 @@ glabel func_808AC908
/* 002E8 808AC948 0C00BE0A */ jal Audio_PlayActorSound2
/* 002EC 808AC94C AFA6003C */ sw $a2, 0x003C($sp)
/* 002F0 808AC950 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 002F4 808AC954 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 002F0 808AC950 3C028016 */ lui $v0, %hi(gSaveContext)
/* 002F4 808AC954 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 002F8 808AC958 94580ED6 */ lhu $t8, 0x0ED6($v0) ## 8015F536
/* 002FC 808AC95C 24080019 */ addiu $t0, $zero, 0x0019 ## $t0 = 00000019
/* 00300 808AC960 37192000 */ ori $t9, $t8, 0x2000 ## $t9 = 00002000

View file

@ -44,11 +44,11 @@ glabel func_808ACA08
/* 00444 808ACAA4 8FAD0044 */ lw $t5, 0x0044($sp)
.L808ACAA8:
/* 00448 808ACAA8 24010192 */ addiu $at, $zero, 0x0192 ## $at = 00000192
/* 0044C 808ACAAC 3C0F8016 */ lui $t7, 0x8016 ## $t7 = 80160000
/* 0044C 808ACAAC 3C0F8016 */ lui $t7, %hi(gSaveContext+4)
/* 00450 808ACAB0 95AE1D74 */ lhu $t6, 0x1D74($t5) ## 00001D74
/* 00454 808ACAB4 55C1000D */ bnel $t6, $at, .L808ACAEC
/* 00458 808ACAB8 8FBF0034 */ lw $ra, 0x0034($sp)
/* 0045C 808ACABC 8DEFE664 */ lw $t7, -0x199C($t7) ## 8015E664
/* 0045C 808ACABC 8DEFE664 */ lw $t7, %lo(gSaveContext+4)($t7)
/* 00460 808ACAC0 2405683E */ addiu $a1, $zero, 0x683E ## $a1 = 0000683E
/* 00464 808ACAC4 8FA4003C */ lw $a0, 0x003C($sp)
/* 00468 808ACAC8 11E00005 */ beq $t7, $zero, .L808ACAE0

View file

@ -451,7 +451,7 @@ glabel func_808ACCB8
/* 00C9C 808AD2FC AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 00CA0 808AD300 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0
/* 00CA4 808AD304 3C04808B */ lui $a0, %hi(D_808AD850) ## $a0 = 808B0000
/* 00CA8 808AD308 3C0A8016 */ lui $t2, 0x8016 ## $t2 = 80160000
/* 00CA8 808AD308 3C0A8016 */ lui $t2, %hi(gSegments)
/* 00CAC 808AD30C 244B0008 */ addiu $t3, $v0, 0x0008 ## $t3 = 00000008
/* 00CB0 808AD310 AE0B02D0 */ sw $t3, 0x02D0($s0) ## 000002D0
/* 00CB4 808AD314 AC4D0000 */ sw $t5, 0x0000($v0) ## 00000000
@ -468,7 +468,7 @@ glabel func_808ACCB8
/* 00CE0 808AD340 00184F02 */ srl $t1, $t8, 28
/* 00CE4 808AD344 00096080 */ sll $t4, $t1, 2
/* 00CE8 808AD348 014C5021 */ addu $t2, $t2, $t4
/* 00CEC 808AD34C 8D4A6FA8 */ lw $t2, 0x6FA8($t2) ## 80166FA8
/* 00CEC 808AD34C 8D4A6FA8 */ lw $t2, %lo(gSegments)($t2)
/* 00CF0 808AD350 00814024 */ and $t0, $a0, $at
/* 00CF4 808AD354 3C018000 */ lui $at, 0x8000 ## $at = 80000000
/* 00CF8 808AD358 010A5821 */ addu $t3, $t0, $t2

View file

@ -6,10 +6,10 @@ glabel func_808ADAE0
/* 00010 808ADAF0 00037100 */ sll $t6, $v1, 4
/* 00014 808ADAF4 000E7F02 */ srl $t7, $t6, 28
/* 00018 808ADAF8 000FC080 */ sll $t8, $t7, 2
/* 0001C 808ADAFC 3C198016 */ lui $t9, 0x8016 ## $t9 = 80160000
/* 0001C 808ADAFC 3C198016 */ lui $t9, %hi(gSegments)
/* 00020 808ADB00 0338C821 */ addu $t9, $t9, $t8
/* 00024 808ADB04 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00028 808ADB08 8F396FA8 */ lw $t9, 0x6FA8($t9) ## 80166FA8
/* 00028 808ADB08 8F396FA8 */ lw $t9, %lo(gSegments)($t9)
/* 0002C 808ADB0C 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 00030 808ADB10 00614024 */ and $t0, $v1, $at
/* 00034 808ADB14 3C018000 */ lui $at, 0x8000 ## $at = 80000000
@ -22,10 +22,10 @@ glabel func_808ADAE0
/* 0004C 808ADB2C 00034900 */ sll $t1, $v1, 4
/* 00050 808ADB30 00095702 */ srl $t2, $t1, 28
/* 00054 808ADB34 000A5880 */ sll $t3, $t2, 2
/* 00058 808ADB38 3C0C8016 */ lui $t4, 0x8016 ## $t4 = 80160000
/* 00058 808ADB38 3C0C8016 */ lui $t4, %hi(gSegments)
/* 0005C 808ADB3C 018B6021 */ addu $t4, $t4, $t3
/* 00060 808ADB40 3C0100FF */ lui $at, 0x00FF ## $at = 00FF0000
/* 00064 808ADB44 8D8C6FA8 */ lw $t4, 0x6FA8($t4) ## 80166FA8
/* 00064 808ADB44 8D8C6FA8 */ lw $t4, %lo(gSegments)($t4)
/* 00068 808ADB48 3421FFFF */ ori $at, $at, 0xFFFF ## $at = 00FFFFFF
/* 0006C 808ADB4C 00616824 */ and $t5, $v1, $at
/* 00070 808ADB50 3C018000 */ lui $at, 0x8000 ## $at = 80000000

View file

@ -68,8 +68,8 @@ glabel BgSpot06Objects_Init
/* 000AC 808AE82C 0C00FA9D */ jal DynaPolyInfo_RegisterActor
## DynaPolyInfo_setActor
/* 000B0 808AE830 24850810 */ addiu $a1, $a0, 0x0810 ## $a1 = 00000810
/* 000B4 808AE834 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 000B8 808AE838 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 000B4 808AE834 3C038016 */ lui $v1, %hi(gSaveContext)
/* 000B8 808AE838 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 000BC 808AE83C AE02014C */ sw $v0, 0x014C($s0) ## 0000014C
/* 000C0 808AE840 8C790004 */ lw $t9, 0x0004($v1) ## 8015E664
/* 000C4 808AE844 8FA40044 */ lw $a0, 0x0044($sp)
@ -110,8 +110,8 @@ glabel BgSpot06Objects_Init
/* 00140 808AE8C0 8FA40044 */ lw $a0, 0x0044($sp)
/* 00144 808AE8C4 0C017014 */ jal func_8005C050
/* 00148 808AE8C8 02003025 */ or $a2, $s0, $zero ## $a2 = 00000000
/* 0014C 808AE8CC 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 00150 808AE8D0 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 0014C 808AE8CC 3C038016 */ lui $v1, %hi(gSaveContext)
/* 00150 808AE8D0 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 00154 808AE8D4 8C6B0004 */ lw $t3, 0x0004($v1) ## 8015E664
/* 00158 808AE8D8 8FA40044 */ lw $a0, 0x0044($sp)
/* 0015C 808AE8DC 5560002C */ bnel $t3, $zero, .L808AE990
@ -119,9 +119,9 @@ glabel BgSpot06Objects_Init
/* 00164 808AE8E4 0C00B2D0 */ jal Flags_GetSwitch
/* 00168 808AE8E8 86050168 */ lh $a1, 0x0168($s0) ## 00000168
/* 0016C 808AE8EC 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 0016C 808AE8EC 3C038016 */ lui $v1, %hi(gSaveContext)
/* 00170 808AE8F0 10400026 */ beq $v0, $zero, .L808AE98C
/* 00174 808AE8F4 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 00174 808AE8F4 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 00178 808AE8F8 946C0EE0 */ lhu $t4, 0x0EE0($v1) ## 8015F540
/* 0017C 808AE8FC 3C01808B */ lui $at, %hi(D_808AF9EC) ## $at = 808B0000
/* 00180 808AE900 318D0200 */ andi $t5, $t4, 0x0200 ## $t5 = 00000000
@ -196,9 +196,9 @@ glabel BgSpot06Objects_Init
/* 0027C 808AE9FC 0C01E037 */ jal Actor_ProcessInitChain
/* 00280 808AEA00 24A5F968 */ addiu $a1, $a1, %lo(D_808AF968) ## $a1 = 808AF968
/* 00284 808AEA04 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 00284 808AEA04 3C038016 */ lui $v1, %hi(gSaveContext)
/* 00288 808AEA08 240C0030 */ addiu $t4, $zero, 0x0030 ## $t4 = 00000030
/* 0028C 808AEA0C 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 0028C 808AEA0C 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 00290 808AEA10 AE0C0004 */ sw $t4, 0x0004($s0) ## 00000004
/* 00294 808AEA14 8C6D0004 */ lw $t5, 0x0004($v1) ## 8015E664
/* 00298 808AEA18 3C09808B */ lui $t1, %hi(func_808AEE00) ## $t1 = 808B0000
@ -274,9 +274,9 @@ glabel BgSpot06Objects_Init
## DynaPolyInfo_setActor
/* 00398 808AEB18 24850810 */ addiu $a1, $a0, 0x0810 ## $a1 = 00000810
/* 0039C 808AEB1C 3C0A808B */ lui $t2, %hi(func_808AEE00) ## $t2 = 808B0000
/* 003A0 808AEB20 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 003A0 808AEB20 3C038016 */ lui $v1, %hi(gSaveContext)
/* 003A4 808AEB24 254AEE00 */ addiu $t2, $t2, %lo(func_808AEE00) ## $t2 = 808AEE00
/* 003A8 808AEB28 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 003A8 808AEB28 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 003AC 808AEB2C AE02014C */ sw $v0, 0x014C($s0) ## 0000014C
/* 003B0 808AEB30 AE0A0164 */ sw $t2, 0x0164($s0) ## 00000164
/* 003B4 808AEB34 8C6B0004 */ lw $t3, 0x0004($v1) ## 8015E664

View file

@ -107,15 +107,15 @@ glabel func_808AEEFC
/* 008EC 808AF06C 8E2C018C */ lw $t4, 0x018C($s1) ## 0000018C
/* 008F0 808AF070 240B002D */ addiu $t3, $zero, 0x002D ## $t3 = 0000002D
/* 008F4 808AF074 3C0D808B */ lui $t5, %hi(func_808AF120) ## $t5 = 808B0000
/* 008F8 808AF078 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 008F8 808AF078 3C078013 */ lui $a3, %hi(D_801333E0)
/* 008FC 808AF07C 25ADF120 */ addiu $t5, $t5, %lo(func_808AF120) ## $t5 = 808AF120
/* 00900 808AF080 3C0E8013 */ lui $t6, 0x8013 ## $t6 = 80130000
/* 00900 808AF080 3C0E8013 */ lui $t6, %hi(D_801333E8)
/* 00904 808AF084 A58B0036 */ sh $t3, 0x0036($t4) ## 00000036
/* 00908 808AF088 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 00908 808AF088 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 0090C 808AF08C AE2D0164 */ sw $t5, 0x0164($s1) ## 00000164
/* 00910 808AF090 25CE33E8 */ addiu $t6, $t6, 0x33E8 ## $t6 = 801333E8
/* 00914 808AF094 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 00918 808AF098 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 00910 808AF090 25CE33E8 */ addiu $t6, %lo(D_801333E8)
/* 00914 808AF094 3C058013 */ lui $a1, %hi(D_801333D4)
/* 00918 808AF098 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 0091C 808AF09C AFAE0014 */ sw $t6, 0x0014($sp)
/* 00920 808AF0A0 AFA70010 */ sw $a3, 0x0010($sp)
/* 00924 808AF0A4 24044802 */ addiu $a0, $zero, 0x4802 ## $a0 = 00004802

View file

@ -109,7 +109,7 @@ glabel func_808AF524
/* 00F18 808AF698 AC4B0000 */ sw $t3, 0x0000($v0) ## 00000000
/* 00F1C 808AF69C 8FAD0088 */ lw $t5, 0x0088($sp)
/* 00F20 808AF6A0 3C06808B */ lui $a2, %hi(D_808AF9CC) ## $a2 = 808B0000
/* 00F24 808AF6A4 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00F24 808AF6A4 3C0E8016 */ lui $t6, %hi(gSaveContext+0x1360)
/* 00F28 808AF6A8 C5A4016C */ lwc1 $f4, 0x016C($t5) ## 0000016C
/* 00F2C 808AF6AC 3C09DE00 */ lui $t1, 0xDE00 ## $t1 = DE000000
/* 00F30 808AF6B0 24C6F9CC */ addiu $a2, $a2, %lo(D_808AF9CC) ## $a2 = 808AF9CC
@ -118,7 +118,7 @@ glabel func_808AF524
/* 00F3C 808AF6BC 2407036F */ addiu $a3, $zero, 0x036F ## $a3 = 0000036F
/* 00F40 808AF6C0 4502000F */ bc1fl .L808AF700
/* 00F44 808AF6C4 8E2202D0 */ lw $v0, 0x02D0($s1) ## 000002D0
/* 00F48 808AF6C8 8DCEF9C0 */ lw $t6, -0x0640($t6) ## 8015F9C0
/* 00F48 808AF6C8 8DCEF9C0 */ lw $t6, %lo(gSaveContext+0x1360)($t6)
/* 00F4C 808AF6CC 3C18DE00 */ lui $t8, 0xDE00 ## $t8 = DE000000
/* 00F50 808AF6D0 29C10004 */ slti $at, $t6, 0x0004
/* 00F54 808AF6D4 5020000A */ beql $at, $zero, .L808AF700

View file

@ -1,6 +1,6 @@
glabel func_808AF7FC
/* 0107C 808AF7FC 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 01080 808AF800 95CEF540 */ lhu $t6, -0x0AC0($t6) ## 8015F540
/* 0107C 808AF7FC 3C0E8016 */ lui $t6, %hi(gSaveContext+0xee0)
/* 01080 808AF800 95CEF540 */ lhu $t6, %lo(gSaveContext+0xee0)($t6)
/* 01084 808AF804 3C18808B */ lui $t8, %hi(func_808AF824) ## $t8 = 808B0000
/* 01088 808AF808 AFA50004 */ sw $a1, 0x0004($sp)
/* 0108C 808AF80C 31CF0200 */ andi $t7, $t6, 0x0200 ## $t7 = 00000000

View file

@ -31,8 +31,8 @@ glabel BgSpot07Taki_Draw
/* 00134 808AFD64 00A08025 */ or $s0, $a1, $zero ## $s0 = 00000000
/* 00138 808AFD68 8FA200A4 */ lw $v0, 0x00A4($sp)
/* 0013C 808AFD6C 3C0F0001 */ lui $t7, 0x0001 ## $t7 = 00010000
/* 00140 808AFD70 3C188016 */ lui $t8, 0x8016 ## $t8 = 80160000
/* 00144 808AFD74 8F18E664 */ lw $t8, -0x199C($t8) ## 8015E664
/* 00140 808AFD70 3C188016 */ lui $t8, %hi(gSaveContext+4)
/* 00144 808AFD74 8F18E664 */ lw $t8, %lo(gSaveContext+4)($t8)
/* 00148 808AFD78 01E27821 */ addu $t7, $t7, $v0
/* 0014C 808AFD7C 8DEF1DE4 */ lw $t7, 0x1DE4($t7) ## 00011DE4
/* 00150 808AFD80 17000029 */ bne $t8, $zero, .L808AFE28
@ -127,9 +127,9 @@ glabel BgSpot07Taki_Draw
/* 002AC 808AFEDC AFA20070 */ sw $v0, 0x0070($sp)
/* 002B0 808AFEE0 8FA30070 */ lw $v1, 0x0070($sp)
/* 002B4 808AFEE4 8FA70048 */ lw $a3, 0x0048($sp)
/* 002B8 808AFEE8 3C0C8016 */ lui $t4, 0x8016 ## $t4 = 80160000
/* 002B8 808AFEE8 3C0C8016 */ lui $t4, %hi(gSaveContext+4)
/* 002BC 808AFEEC AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 002C0 808AFEF0 8D8CE664 */ lw $t4, -0x199C($t4) ## 8015E664
/* 002C0 808AFEF0 8D8CE664 */ lw $t4, %lo(gSaveContext+4)($t4)
/* 002C4 808AFEF4 51800097 */ beql $t4, $zero, .L808B0154
/* 002C8 808AFEF8 8FAC00A0 */ lw $t4, 0x00A0($sp)
/* 002CC 808AFEFC 8E0202D0 */ lw $v0, 0x02D0($s0) ## 000002D0

View file

@ -13,8 +13,8 @@ glabel BgSpot07Taki_Init
/* 00028 808AFC58 0C01E037 */ jal Actor_ProcessInitChain
/* 0002C 808AFC5C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00030 808AFC60 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00034 808AFC64 8DCEE664 */ lw $t6, -0x199C($t6) ## 8015E664
/* 00030 808AFC60 3C0E8016 */ lui $t6, %hi(gSaveContext+4)
/* 00034 808AFC64 8DCEE664 */ lw $t6, %lo(gSaveContext+4)($t6)
/* 00038 808AFC68 15C00013 */ bne $t6, $zero, .L808AFCB8
/* 0003C 808AFC6C 00000000 */ nop
/* 00040 808AFC70 860F001C */ lh $t7, 0x001C($s0) ## 0000001C

View file

@ -44,8 +44,8 @@ glabel BgSpot08Iceblock_Init
/* 00884 808B11E4 0C22C25A */ jal func_808B0968
/* 00888 808B11E8 8FA5002C */ lw $a1, 0x002C($sp)
.L808B11EC:
/* 0088C 808B11EC 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00890 808B11F0 8DCEE664 */ lw $t6, -0x199C($t6) ## 8015E664
/* 0088C 808B11EC 3C0E8016 */ lui $t6, %hi(gSaveContext+4)
/* 00890 808B11F0 8DCEE664 */ lw $t6, %lo(gSaveContext+4)($t6)
/* 00894 808B11F4 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 00898 808B11F8 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 0089C 808B11FC 11C00003 */ beq $t6, $zero, .L808B120C

View file

@ -56,8 +56,8 @@ glabel func_808B3AAC
/* 00200 808B3B60 10200006 */ beq $at, $zero, .L808B3B7C
/* 00204 808B3B64 2841A001 */ slti $at, $v0, 0xA001
/* 00208 808B3B68 14200004 */ bne $at, $zero, .L808B3B7C
/* 0020C 808B3B6C 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00210 808B3B70 9442F536 */ lhu $v0, -0x0ACA($v0) ## 8015F536
/* 0020C 808B3B6C 3C028016 */ lui $v0, %hi(gSaveContext+0xed6)
/* 00210 808B3B70 9442F536 */ lhu $v0, %lo(gSaveContext+0xed6)($v0)
/* 00214 808B3B74 10000003 */ beq $zero, $zero, .L808B3B84
/* 00218 808B3B78 30420010 */ andi $v0, $v0, 0x0010 ## $v0 = 00000000
.L808B3B7C:

View file

@ -30,8 +30,8 @@ glabel func_808B5950
/* 00D90 808B59C0 0C00B2DD */ jal Flags_SetSwitch
/* 00D94 808B59C4 86250156 */ lh $a1, 0x0156($s1) ## 00000156
/* 00D98 808B59C8 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00D9C 808B59CC 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 00D98 808B59C8 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00D9C 808B59CC 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00DA0 808B59D0 94580ED8 */ lhu $t8, 0x0ED8($v0) ## 8015F538
/* 00DA4 808B59D4 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00DA8 808B59D8 37190008 */ ori $t9, $t8, 0x0008 ## $t9 = 00000008
@ -57,8 +57,8 @@ glabel func_808B5950
## CollisionCheck_setAC
/* 00DEC 808B5A1C 8FA50030 */ lw $a1, 0x0030($sp)
.L808B5A20:
/* 00DF0 808B5A20 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 00DF4 808B5A24 8C63FA90 */ lw $v1, -0x0570($v1) ## 8015FA90
/* 00DF0 808B5A20 3C038016 */ lui $v1, %hi(gGameInfo)
/* 00DF4 808B5A24 8C63FA90 */ lw $v1, %lo(gGameInfo)($v1)
/* 00DF8 808B5A28 24010001 */ addiu $at, $zero, 0x0001 ## $at = 00000001
/* 00DFC 808B5A2C 02202025 */ or $a0, $s1, $zero ## $a0 = 00000000
/* 00E00 808B5A30 846211D4 */ lh $v0, 0x11D4($v1) ## 801611D4
@ -66,8 +66,8 @@ glabel func_808B5950
/* 00E08 808B5A38 00000000 */ nop
/* 00E0C 808B5A3C 0C22D587 */ jal func_808B561C
/* 00E10 808B5A40 02002825 */ or $a1, $s0, $zero ## $a1 = 00000000
/* 00E14 808B5A44 3C098016 */ lui $t1, 0x8016 ## $t1 = 80160000
/* 00E18 808B5A48 8D29FA90 */ lw $t1, -0x0570($t1) ## 8015FA90
/* 00E14 808B5A44 3C098016 */ lui $t1, %hi(gGameInfo)
/* 00E18 808B5A48 8D29FA90 */ lw $t1, %lo(gGameInfo)($t1)
/* 00E1C 808B5A4C 2408FFF6 */ addiu $t0, $zero, 0xFFF6 ## $t0 = FFFFFFF6
/* 00E20 808B5A50 10000004 */ beq $zero, $zero, .L808B5A64
/* 00E24 808B5A54 A52811D4 */ sh $t0, 0x11D4($t1) ## 801611D4

View file

@ -104,8 +104,8 @@ glabel BgSpot16Doughnut_Init
/* 00134 808B6574 0C00084C */ jal osSyncPrintf
/* 00138 808B6578 00000000 */ nop
/* 0013C 808B657C 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 00140 808B6580 2442E660 */ addiu $v0, $v0, 0xE660 ## $v0 = 8015E660
/* 0013C 808B657C 3C028016 */ lui $v0, %hi(gSaveContext)
/* 00140 808B6580 2442E660 */ addiu $v0, %lo(gSaveContext)
/* 00144 808B6584 8C4A0004 */ lw $t2, 0x0004($v0) ## 8015E664
/* 00148 808B6588 3C04808B */ lui $a0, %hi(D_808B6A3C) ## $a0 = 808B0000
/* 0014C 808B658C 24846A3C */ addiu $a0, $a0, %lo(D_808B6A3C) ## $a0 = 808B6A3C

View file

@ -51,8 +51,8 @@ glabel BgSpot18Basket_Init
/* 0027C 808B798C 0C01E037 */ jal Actor_ProcessInitChain
/* 00280 808B7990 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00284 808B7994 3C068003 */ lui $a2, 0x8003 ## $a2 = 80030000
/* 00288 808B7998 24C6B5EC */ addiu $a2, $a2, 0xB5EC ## $a2 = 8002B5EC
/* 00284 808B7994 3C068003 */ lui $a2, %hi(ActorShadow_DrawFunc_Circle)
/* 00288 808B7998 24C6B5EC */ addiu $a2, %lo(ActorShadow_DrawFunc_Circle)
/* 0028C 808B799C 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 00290 808B79A0 24050000 */ addiu $a1, $zero, 0x0000 ## $a1 = 00000000
/* 00294 808B79A4 0C00AC78 */ jal ActorShape_Init

View file

@ -29,8 +29,8 @@ glabel D_808B9244
.text
glabel func_808B8910
/* 00000 808B8910 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 00004 808B8914 8C63E664 */ lw $v1, -0x199C($v1) ## 8015E664
/* 00000 808B8910 3C038016 */ lui $v1, %hi(gSaveContext+4)
/* 00004 808B8914 8C63E664 */ lw $v1, %lo(gSaveContext+4)($v1)
/* 00008 808B8918 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 0000C 808B891C AFBF0014 */ sw $ra, 0x0014($sp)
/* 00010 808B8920 AFA40020 */ sw $a0, 0x0020($sp)

View file

@ -8,8 +8,8 @@ glabel func_808B8BB4
/* 002BC 808B8BCC 0C01E037 */ jal Actor_ProcessInitChain
/* 002C0 808B8BD0 24A5911C */ addiu $a1, $a1, %lo(D_808B911C) ## $a1 = 808B911C
/* 002C4 808B8BD4 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 002C8 808B8BD8 8DCEE664 */ lw $t6, -0x199C($t6) ## 8015E664
/* 002C4 808B8BD4 3C0E8016 */ lui $t6, %hi(gSaveContext+4)
/* 002C8 808B8BD8 8DCEE664 */ lw $t6, %lo(gSaveContext+4)($t6)
/* 002CC 808B8BDC 24010005 */ addiu $at, $zero, 0x0005 ## $at = 00000005
/* 002D0 808B8BE0 24020011 */ addiu $v0, $zero, 0x0011 ## $v0 = 00000011
/* 002D4 808B8BE4 11C00003 */ beq $t6, $zero, .L808B8BF4

View file

@ -18,12 +18,12 @@ glabel BgSpot18Shutter_Init
/* 0003C 808B940C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
/* 00040 808B9410 8FB9002C */ lw $t9, 0x002C($sp)
/* 00044 808B9414 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 00044 808B9414 3C038016 */ lui $v1, %hi(gSaveContext)
/* 00048 808B9418 24010011 */ addiu $at, $zero, 0x0011 ## $at = 00000011
/* 0004C 808B941C 1720002D */ bne $t9, $zero, .L808B94D4
/* 00050 808B9420 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 00054 808B9424 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 00058 808B9428 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 00050 808B9420 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 00054 808B9424 3C038016 */ lui $v1, %hi(gSaveContext)
/* 00058 808B9428 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 0005C 808B942C 8C680004 */ lw $t0, 0x0004($v1) ## 8015E664
/* 00060 808B9430 24020011 */ addiu $v0, $zero, 0x0011 ## $v0 = 00000011
/* 00064 808B9434 11000003 */ beq $t0, $zero, .L808B9444

View file

@ -1,6 +1,6 @@
glabel func_808B9618
/* 00248 808B9618 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 0024C 808B961C 95CEF578 */ lhu $t6, -0x0A88($t6) ## 8015F578
/* 00248 808B9618 3C0E8016 */ lui $t6, %hi(gSaveContext+0xf18)
/* 0024C 808B961C 95CEF578 */ lhu $t6, %lo(gSaveContext+0xf18)($t6)
/* 00250 808B9620 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 00254 808B9624 AFBF001C */ sw $ra, 0x001C($sp)
/* 00258 808B9628 31CF0200 */ andi $t7, $t6, 0x0200 ## $t7 = 00000000

View file

@ -12,9 +12,9 @@ glabel BgSstFloor_Update
/* 0009C 808B99AC 27BDFFC8 */ addiu $sp, $sp, 0xFFC8 ## $sp = FFFFFFC8
/* 000A0 808B99B0 244294F8 */ addiu $v0, $v0, 0x94F8 ## $v0 = 060194F8
/* 000A4 808B99B4 0002C100 */ sll $t8, $v0, 4
/* 000A8 808B99B8 3C068016 */ lui $a2, 0x8016 ## $a2 = 80160000
/* 000A8 808B99B8 3C068016 */ lui $a2, %hi(gSegments)
/* 000AC 808B99BC 0018CF02 */ srl $t9, $t8, 28
/* 000B0 808B99C0 24C66FA8 */ addiu $a2, $a2, 0x6FA8 ## $a2 = 80166FA8
/* 000B0 808B99C0 24C66FA8 */ addiu $a2, %lo(gSegments)
/* 000B4 808B99C4 00194880 */ sll $t1, $t9, 2
/* 000B8 808B99C8 00C95021 */ addu $t2, $a2, $t1
/* 000BC 808B99CC 8D4B0000 */ lw $t3, 0x0000($t2) ## 00000000

View file

@ -8,7 +8,7 @@ glabel BgTokiHikari_Init
/* 00018 808B9F18 10400005 */ beq $v0, $zero, .L808B9F30
/* 0001C 808B9F1C 24A5AC70 */ addiu $a1, $a1, %lo(D_808BAC70) ## $a1 = 808BAC70
/* 00020 808B9F20 1041000A */ beq $v0, $at, .L808B9F4C
/* 00024 808B9F24 3C0F8016 */ lui $t7, 0x8016 ## $t7 = 80160000
/* 00024 808B9F24 3C0F8016 */ lui $t7, %hi(gSaveContext+0xedc)
/* 00028 808B9F28 10000015 */ beq $zero, $zero, .L808B9F80
/* 0002C 808B9F2C 8FBF0014 */ lw $ra, 0x0014($sp)
.L808B9F30:
@ -21,7 +21,7 @@ glabel BgTokiHikari_Init
/* 00044 808B9F44 1000000D */ beq $zero, $zero, .L808B9F7C
/* 00048 808B9F48 AC8E0150 */ sw $t6, 0x0150($a0) ## 00000150
.L808B9F4C:
/* 0004C 808B9F4C 95EFF53C */ lhu $t7, -0x0AC4($t7) ## FFFFF53C
/* 0004C 808B9F4C 95EFF53C */ lhu $t7, %lo(gSaveContext+0xedc)($t7)
/* 00050 808B9F50 3C19808C */ lui $t9, %hi(func_808BA204) ## $t9 = 808C0000
/* 00054 808B9F54 2739A204 */ addiu $t9, $t9, %lo(func_808BA204) ## $t9 = 808BA204
/* 00058 808B9F58 31F80800 */ andi $t8, $t7, 0x0800 ## $t8 = 00000000

View file

@ -45,10 +45,10 @@ glabel func_808BA018
/* 0017C 808BA07C 0C0346A2 */ jal Matrix_NewMtx
/* 00180 808BA080 AFA2004C */ sw $v0, 0x004C($sp)
/* 00184 808BA084 8FA3004C */ lw $v1, 0x004C($sp)
/* 00188 808BA088 3C188016 */ lui $t8, 0x8016 ## $t8 = 80160000
/* 00188 808BA088 3C188016 */ lui $t8, %hi(gSaveContext+4)
/* 0018C 808BA08C 3C09DE00 */ lui $t1, 0xDE00 ## $t1 = DE000000
/* 00190 808BA090 AC620004 */ sw $v0, 0x0004($v1) ## 00000004
/* 00194 808BA094 8F18E664 */ lw $t8, -0x199C($t8) ## 8015E664
/* 00194 808BA094 8F18E664 */ lw $t8, %lo(gSaveContext+4)($t8)
/* 00198 808BA098 3C0CDE00 */ lui $t4, 0xDE00 ## $t4 = DE000000
/* 0019C 808BA09C 5700000A */ bnel $t8, $zero, .L808BA0C8
/* 001A0 808BA0A0 8E0202C0 */ lw $v0, 0x02C0($s0) ## 000002C0

View file

@ -33,8 +33,8 @@ glabel BgTreemouth_Draw
/* 00750 808BCC50 8FAF004C */ lw $t7, 0x004C($sp)
/* 00754 808BCC54 0C024F46 */ jal func_80093D18
/* 00758 808BCC58 8DE40000 */ lw $a0, 0x0000($t7) ## 00000000
/* 0075C 808BCC5C 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 00760 808BCC60 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 0075C 808BCC5C 3C038016 */ lui $v1, %hi(gSaveContext)
/* 00760 808BCC60 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 00764 808BCC64 8C621360 */ lw $v0, 0x1360($v1) ## 8015F9C0
/* 00768 808BCC68 8FA8003C */ lw $t0, 0x003C($sp)
/* 0076C 808BCC6C 97A90042 */ lhu $t1, 0x0042($sp)

View file

@ -36,8 +36,8 @@ glabel BgTreemouth_Init
/* 0007C 808BC57C 0C00B56E */ jal Actor_SetHeight
/* 00080 808BC580 3C054248 */ lui $a1, 0x4248 ## $a1 = 42480000
/* 00084 808BC584 3C038016 */ lui $v1, 0x8016 ## $v1 = 80160000
/* 00088 808BC588 2463E660 */ addiu $v1, $v1, 0xE660 ## $v1 = 8015E660
/* 00084 808BC584 3C038016 */ lui $v1, %hi(gSaveContext)
/* 00088 808BC588 2463E660 */ addiu $v1, %lo(gSaveContext)
/* 0008C 808BC58C 8C621360 */ lw $v0, 0x1360($v1) ## 8015F9C0
/* 00090 808BC590 28410004 */ slti $at, $v0, 0x0004
/* 00094 808BC594 5020000B */ beql $at, $zero, .L808BC5C4

View file

@ -20,12 +20,12 @@ glabel func_808BC65C
/* 001A4 808BC6A4 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
.L808BC6A8:
/* 001A8 808BC6A8 1461000F */ bne $v1, $at, .L808BC6E8
/* 001AC 808BC6AC 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 001B0 808BC6B0 3C0F8013 */ lui $t7, 0x8013 ## $t7 = 80130000
/* 001B4 808BC6B4 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 001B8 808BC6B8 25EF33E8 */ addiu $t7, $t7, 0x33E8 ## $t7 = 801333E8
/* 001BC 808BC6BC 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 001C0 808BC6C0 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 001AC 808BC6AC 3C078013 */ lui $a3, %hi(D_801333E0)
/* 001B0 808BC6B0 3C0F8013 */ lui $t7, %hi(D_801333E8)
/* 001B4 808BC6B4 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 001B8 808BC6B8 25EF33E8 */ addiu $t7, %lo(D_801333E8)
/* 001BC 808BC6BC 3C058013 */ lui $a1, %hi(D_801333D4)
/* 001C0 808BC6C0 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 001C4 808BC6C4 AFAF0014 */ sw $t7, 0x0014($sp)
/* 001C8 808BC6C8 AFA70010 */ sw $a3, 0x0010($sp)
/* 001CC 808BC6CC 24042866 */ addiu $a0, $zero, 0x2866 ## $a0 = 00002866

View file

@ -21,7 +21,7 @@ glabel func_808BC6F8
/* 00204 808BC704 44811000 */ mtc1 $at, $f2 ## $f2 = 1.00
/* 00208 808BC708 C4800168 */ lwc1 $f0, 0x0168($a0) ## 00000168
/* 0020C 808BC70C 3C01808C */ lui $at, %hi(D_808BDA1C) ## $at = 808C0000
/* 00210 808BC710 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00210 808BC710 3C0E8016 */ lui $t6, %hi(gSaveContext+0x1360)
/* 00214 808BC714 4602003C */ c.lt.s $f0, $f2
/* 00218 808BC718 00000000 */ nop
/* 0021C 808BC71C 45020006 */ bc1fl .L808BC738
@ -32,7 +32,7 @@ glabel func_808BC6F8
/* 00230 808BC730 E4860168 */ swc1 $f6, 0x0168($a0) ## 00000168
/* 00234 808BC734 E4820168 */ swc1 $f2, 0x0168($a0) ## 00000168
.L808BC738:
/* 00238 808BC738 8DCEF9C0 */ lw $t6, -0x0640($t6) ## 8015F9C0
/* 00238 808BC738 8DCEF9C0 */ lw $t6, %lo(gSaveContext+0x1360)($t6)
/* 0023C 808BC73C 24010006 */ addiu $at, $zero, 0x0006 ## $at = 00000006
/* 00240 808BC740 55C1002F */ bnel $t6, $at, .L808BC800
/* 00244 808BC744 8FBF002C */ lw $ra, 0x002C($sp)

View file

@ -8,13 +8,13 @@ glabel func_808BC8B8
/* 003D0 808BC8D0 24040005 */ addiu $a0, $zero, 0x0005 ## $a0 = 00000005
/* 003D4 808BC8D4 10400004 */ beq $v0, $zero, .L808BC8E8
/* 003D8 808BC8D8 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 003DC 808BC8DC 8DCEE664 */ lw $t6, -0x199C($t6) ## 8015E664
/* 003D8 808BC8D8 3C0E8016 */ lui $t6, %hi(gSaveContext+4)
/* 003DC 808BC8DC 8DCEE664 */ lw $t6, %lo(gSaveContext+4)($t6)
/* 003E0 808BC8E0 3C013F80 */ lui $at, 0x3F80 ## $at = 3F800000
/* 003E4 808BC8E4 15C00039 */ bne $t6, $zero, .L808BC9CC
.L808BC8E8:
/* 003E8 808BC8E8 3C0F8016 */ lui $t7, 0x8016 ## $t7 = 80160000
/* 003EC 808BC8EC 8DEFE664 */ lw $t7, -0x199C($t7) ## 8015E664
/* 003E8 808BC8E8 3C0F8016 */ lui $t7, %hi(gSaveContext+4)
/* 003EC 808BC8EC 8DEFE664 */ lw $t7, %lo(gSaveContext+4)($t7)
/* 003F0 808BC8F0 51E0003A */ beql $t7, $zero, .L808BC9DC
/* 003F4 808BC8F4 8FBF001C */ lw $ra, 0x001C($sp)
/* 003F8 808BC8F8 0C00D6D3 */ jal Flags_GetEventChkInf
@ -40,11 +40,11 @@ glabel func_808BC8B8
/* 00444 808BC944 8FAC0024 */ lw $t4, 0x0024($sp)
/* 00448 808BC948 3C0B808C */ lui $t3, %hi(D_808BD2A0) ## $t3 = 808C0000
/* 0044C 808BC94C 256BD2A0 */ addiu $t3, $t3, %lo(D_808BD2A0) ## $t3 = 808BD2A0
/* 00450 808BC950 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 00450 808BC950 3C018016 */ lui $at, %hi(gSaveContext+0x1414)
/* 00454 808BC954 240D0001 */ addiu $t5, $zero, 0x0001 ## $t5 = 00000001
/* 00458 808BC958 3C05808C */ lui $a1, %hi(func_808BC9EC) ## $a1 = 808C0000
/* 0045C 808BC95C AD8B1D68 */ sw $t3, 0x1D68($t4) ## 00001D68
/* 00460 808BC960 A02DFA74 */ sb $t5, -0x058C($at) ## 8015FA74
/* 00460 808BC960 A02DFA74 */ sb $t5, %lo(gSaveContext+0x1414)($at)
/* 00464 808BC964 24A5C9EC */ addiu $a1, $a1, %lo(func_808BC9EC) ## $a1 = 808BC9EC
/* 00468 808BC968 0C22F140 */ jal func_808BC500
/* 0046C 808BC96C 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000
@ -64,10 +64,10 @@ glabel func_808BC8B8
/* 0049C 808BC99C 3C0E808C */ lui $t6, %hi(D_808BCE20) ## $t6 = 808C0000
/* 004A0 808BC9A0 25CECE20 */ addiu $t6, $t6, %lo(D_808BCE20) ## $t6 = 808BCE20
/* 004A4 808BC9A4 24180001 */ addiu $t8, $zero, 0x0001 ## $t8 = 00000001
/* 004A8 808BC9A8 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 004A8 808BC9A8 3C018016 */ lui $at, %hi(gSaveContext+0x1414)
/* 004AC 808BC9AC 3C05808C */ lui $a1, %hi(func_808BC9EC) ## $a1 = 808C0000
/* 004B0 808BC9B0 ADEE1D68 */ sw $t6, 0x1D68($t7) ## 00001D68
/* 004B4 808BC9B4 A038FA74 */ sb $t8, -0x058C($at) ## 8015FA74
/* 004B4 808BC9B4 A038FA74 */ sb $t8, %lo(gSaveContext+0x1414)($at)
/* 004B8 808BC9B8 24A5C9EC */ addiu $a1, $a1, %lo(func_808BC9EC) ## $a1 = 808BC9EC
/* 004BC 808BC9BC 0C22F140 */ jal func_808BC500
/* 004C0 808BC9C0 02002025 */ or $a0, $s0, $zero ## $a0 = 00000000

View file

@ -35,12 +35,12 @@ glabel func_808BC9EC
/* 00550 808BCA50 3402FFFF */ ori $v0, $zero, 0xFFFF ## $v0 = 0000FFFF
/* 00554 808BCA54 A4E01D74 */ sh $zero, 0x1D74($a3) ## 00001D74
/* 00558 808BCA58 A4E21D7C */ sh $v0, 0x1D7C($a3) ## 00001D7C
/* 0055C 808BCA5C 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 00560 808BCA60 A422FCC0 */ sh $v0, -0x0340($at) ## 8015FCC0
/* 00564 808BCA64 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 00568 808BCA68 A422FCC2 */ sh $v0, -0x033E($at) ## 8015FCC2
/* 0056C 808BCA6C 3C018016 */ lui $at, 0x8016 ## $at = 80160000
/* 00570 808BCA70 A422FCC4 */ sh $v0, -0x033C($at) ## 8015FCC4
/* 0055C 808BCA5C 3C018016 */ lui $at, %hi(D_8015FCC0)
/* 00560 808BCA60 A422FCC0 */ sh $v0, %lo(D_8015FCC0)($at)
/* 00564 808BCA64 3C018016 */ lui $at, %hi(D_8015FCC2)
/* 00568 808BCA68 A422FCC2 */ sh $v0, %lo(D_8015FCC2)($at)
/* 0056C 808BCA6C 3C018016 */ lui $at, %hi(D_8015FCC4)
/* 00570 808BCA70 A422FCC4 */ sh $v0, %lo(D_8015FCC4)($at)
/* 00574 808BCA74 240F0002 */ addiu $t7, $zero, 0x0002 ## $t7 = 00000002
/* 00578 808BCA78 3C180001 */ lui $t8, 0x0001 ## $t8 = 00010000
/* 0057C 808BCA7C A0E01D7E */ sb $zero, 0x1D7E($a3) ## 00001D7E

View file

@ -20,12 +20,12 @@ glabel func_808BCAF0
/* 00638 808BCB38 24010003 */ addiu $at, $zero, 0x0003 ## $at = 00000003
.L808BCB3C:
/* 0063C 808BCB3C 1461000F */ bne $v1, $at, .L808BCB7C
/* 00640 808BCB40 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00644 808BCB44 3C0F8013 */ lui $t7, 0x8013 ## $t7 = 80130000
/* 00648 808BCB48 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 0064C 808BCB4C 25EF33E8 */ addiu $t7, $t7, 0x33E8 ## $t7 = 801333E8
/* 00650 808BCB50 3C058013 */ lui $a1, 0x8013 ## $a1 = 80130000
/* 00654 808BCB54 24A533D4 */ addiu $a1, $a1, 0x33D4 ## $a1 = 801333D4
/* 00640 808BCB40 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00644 808BCB44 3C0F8013 */ lui $t7, %hi(D_801333E8)
/* 00648 808BCB48 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 0064C 808BCB4C 25EF33E8 */ addiu $t7, %lo(D_801333E8)
/* 00650 808BCB50 3C058013 */ lui $a1, %hi(D_801333D4)
/* 00654 808BCB54 24A533D4 */ addiu $a1, %lo(D_801333D4)
/* 00658 808BCB58 AFAF0014 */ sw $t7, 0x0014($sp)
/* 0065C 808BCB5C AFA70010 */ sw $a3, 0x0010($sp)
/* 00660 808BCB60 24042866 */ addiu $a0, $zero, 0x2866 ## $a0 = 00002866

View file

@ -95,11 +95,11 @@ glabel BgVbSima_Update
## sins?
/* 00288 808BDFE8 00000000 */ nop
/* 0028C 808BDFEC 4600048D */ trunc.w.s $f18, $f0
/* 00290 808BDFF0 3C078013 */ lui $a3, 0x8013 ## $a3 = 80130000
/* 00294 808BDFF4 3C188013 */ lui $t8, 0x8013 ## $t8 = 80130000
/* 00298 808BDFF8 24E733E0 */ addiu $a3, $a3, 0x33E0 ## $a3 = 801333E0
/* 00290 808BDFF0 3C078013 */ lui $a3, %hi(D_801333E0)
/* 00294 808BDFF4 3C188013 */ lui $t8, %hi(D_801333E8)
/* 00298 808BDFF8 24E733E0 */ addiu $a3, %lo(D_801333E0)
/* 0029C 808BDFFC 440C9000 */ mfc1 $t4, $f18
/* 002A0 808BE000 271833E8 */ addiu $t8, $t8, 0x33E8 ## $t8 = 801333E8
/* 002A0 808BE000 271833E8 */ addiu $t8, %lo(D_801333E8)
/* 002A4 808BE004 2404205C */ addiu $a0, $zero, 0x205C ## $a0 = 0000205C
/* 002A8 808BE008 000C6C00 */ sll $t5, $t4, 16
/* 002AC 808BE00C 000D7403 */ sra $t6, $t5, 16

View file

@ -2,9 +2,9 @@ glabel func_808BF83C
/* 0042C 808BF83C 3C030600 */ lui $v1, 0x0600 ## $v1 = 06000000
/* 00430 808BF840 24636460 */ addiu $v1, $v1, 0x6460 ## $v1 = 06006460
/* 00434 808BF844 00037100 */ sll $t6, $v1, 4
/* 00438 808BF848 3C078016 */ lui $a3, 0x8016 ## $a3 = 80160000
/* 00438 808BF848 3C078016 */ lui $a3, %hi(gSegments)
/* 0043C 808BF84C 000E7F02 */ srl $t7, $t6, 28
/* 00440 808BF850 24E76FA8 */ addiu $a3, $a3, 0x6FA8 ## $a3 = 80166FA8
/* 00440 808BF850 24E76FA8 */ addiu $a3, %lo(gSegments)
/* 00444 808BF854 000FC080 */ sll $t8, $t7, 2
/* 00448 808BF858 00F8C821 */ addu $t9, $a3, $t8
/* 0044C 808BF85C 8F2A0000 */ lw $t2, 0x0000($t9) ## 00000000

View file

@ -37,8 +37,8 @@ glabel BossDodongo_Init
/* 00818 808C19A8 24A5A3C8 */ addiu $a1, $a1, %lo(D_808CA3C8) ## $a1 = 808CA3C8
/* 0081C 808C19AC 3C05460F */ lui $a1, 0x460F ## $a1 = 460F0000
/* 00820 808C19B0 3C068003 */ lui $a2, 0x8003 ## $a2 = 80030000
/* 00824 808C19B4 24C6B5EC */ addiu $a2, $a2, 0xB5EC ## $a2 = 8002B5EC
/* 00820 808C19B0 3C068003 */ lui $a2, %hi(ActorShadow_DrawFunc_Circle)
/* 00824 808C19B4 24C6B5EC */ addiu $a2, %lo(ActorShadow_DrawFunc_Circle)
/* 00828 808C19B8 34A5C000 */ ori $a1, $a1, 0xC000 ## $a1 = 460FC000
/* 0082C 808C19BC 260400B4 */ addiu $a0, $s0, 0x00B4 ## $a0 = 000000B4
/* 00830 808C19C0 0C00AC78 */ jal ActorShape_Init
@ -106,14 +106,14 @@ glabel BossDodongo_Init
/* 0091C 808C1AAC 02602025 */ or $a0, $s3, $zero ## $a0 = 00000000
/* 00920 808C1AB0 1040005A */ beq $v0, $zero, .L808C1C1C
/* 00924 808C1AB4 3C058016 */ lui $a1, 0x8016 ## $a1 = 80160000
/* 00924 808C1AB4 3C058016 */ lui $a1, %hi(gSegments)
/* 00928 808C1AB8 3C020300 */ lui $v0, 0x0300 ## $v0 = 03000000
/* 0092C 808C1ABC 3C03808D */ lui $v1, %hi(D_808C93C8) ## $v1 = 808D0000
/* 00930 808C1AC0 244221D8 */ addiu $v0, $v0, 0x21D8 ## $v0 = 030021D8
/* 00934 808C1AC4 246393C8 */ addiu $v1, $v1, %lo(D_808C93C8) ## $v1 = 808C93C8
/* 00938 808C1AC8 00024100 */ sll $t0, $v0, 4
/* 0093C 808C1ACC 00037900 */ sll $t7, $v1, 4
/* 00940 808C1AD0 24A56FA8 */ addiu $a1, $a1, 0x6FA8 ## $a1 = 80166FA8
/* 00940 808C1AD0 24A56FA8 */ addiu $a1, %lo(gSegments)
/* 00944 808C1AD4 00084F02 */ srl $t1, $t0, 28
/* 00948 808C1AD8 000FC702 */ srl $t8, $t7, 28
/* 0094C 808C1ADC 00095080 */ sll $t2, $t1, 2

View file

@ -856,8 +856,8 @@ glabel BossDodongo_Update
/* 034AC 808C463C 8E270224 */ lw $a3, 0x0224($s1) ## 00000224
/* 034B0 808C4640 862E01C6 */ lh $t6, 0x01C6($s1) ## 000001C6
.L808C4644:
/* 034B4 808C4644 3C078016 */ lui $a3, 0x8016 ## $a3 = 80160000
/* 034B8 808C4648 24E76FA8 */ addiu $a3, $a3, 0x6FA8 ## $a3 = 80166FA8
/* 034B4 808C4644 3C078016 */ lui $a3, %hi(gSegments)
/* 034B8 808C4648 24E76FA8 */ addiu $a3, %lo(gSegments)
/* 034BC 808C464C 11C00031 */ beq $t6, $zero, .L808C4714
/* 034C0 808C4650 3C0800FF */ lui $t0, 0x00FF ## $t0 = 00FF0000
/* 034C4 808C4654 3C02808C */ lui $v0, %hi(D_808C73C8) ## $v0 = 808C0000
@ -993,16 +993,16 @@ glabel BossDodongo_Update
/* 03690 808C4820 00000000 */ nop
/* 03694 808C4824 44808000 */ mtc1 $zero, $f16 ## $f16 = 0.00
/* 03698 808C4828 C6320244 */ lwc1 $f18, 0x0244($s1) ## 00000244
/* 0369C 808C482C 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 036A0 808C4830 2442FA90 */ addiu $v0, $v0, 0xFA90 ## $v0 = 8015FA90
/* 0369C 808C482C 3C028016 */ lui $v0, %hi(gGameInfo)
/* 036A0 808C4830 2442FA90 */ addiu $v0, %lo(gGameInfo)
/* 036A4 808C4834 46128032 */ c.eq.s $f16, $f18
/* 036A8 808C4838 26240244 */ addiu $a0, $s1, 0x0244 ## $a0 = 00000244
/* 036AC 808C483C 3C063F80 */ lui $a2, 0x3F80 ## $a2 = 3F800000
/* 036B0 808C4840 3C074000 */ lui $a3, 0x4000 ## $a3 = 40000000
/* 036B4 808C4844 45030033 */ bc1tl .L808C4914
/* 036B8 808C4848 8C4E0000 */ lw $t6, 0x0000($v0) ## 8015FA90
/* 036BC 808C484C 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 036C0 808C4850 2442FA90 */ addiu $v0, $v0, 0xFA90 ## $v0 = 8015FA90
/* 036BC 808C484C 3C028016 */ lui $v0, %hi(gGameInfo)
/* 036C0 808C4850 2442FA90 */ addiu $v0, %lo(gGameInfo)
/* 036C4 808C4854 8C4C0000 */ lw $t4, 0x0000($v0) ## 8015FA90
/* 036C8 808C4858 240B0001 */ addiu $t3, $zero, 0x0001 ## $t3 = 00000001
/* 036CC 808C485C 240D00FF */ addiu $t5, $zero, 0x00FF ## $t5 = 000000FF

View file

@ -4,9 +4,9 @@ glabel func_808C12C4
/* 0013C 808C12CC 24425890 */ addiu $v0, $v0, 0x5890 ## $v0 = 06015890
/* 00140 808C12D0 AFB20020 */ sw $s2, 0x0020($sp)
/* 00144 808C12D4 00027100 */ sll $t6, $v0, 4
/* 00148 808C12D8 3C128016 */ lui $s2, 0x8016 ## $s2 = 80160000
/* 00148 808C12D8 3C128016 */ lui $s2, %hi(gSegments)
/* 0014C 808C12DC 000E7F02 */ srl $t7, $t6, 28
/* 00150 808C12E0 26526FA8 */ addiu $s2, $s2, 0x6FA8 ## $s2 = 80166FA8
/* 00150 808C12E0 26526FA8 */ addiu $s2, %lo(gSegments)
/* 00154 808C12E4 000FC080 */ sll $t8, $t7, 2
/* 00158 808C12E8 AFB30024 */ sw $s3, 0x0024($sp)
/* 0015C 808C12EC 0258C821 */ addu $t9, $s2, $t8

View file

@ -11,11 +11,11 @@ glabel func_808C1554
/* 003D4 808C1564 3C0142C8 */ lui $at, 0x42C8 ## $at = 42C80000
/* 003D8 808C1568 44815000 */ mtc1 $at, $f10 ## $f10 = 100.00
/* 003DC 808C156C 27BDEFA0 */ addiu $sp, $sp, 0xEFA0 ## $sp = FFFFEFA0
/* 003E0 808C1570 3C028016 */ lui $v0, 0x8016 ## $v0 = 80160000
/* 003E0 808C1570 3C028016 */ lui $v0, %hi(gSegments)
/* 003E4 808C1574 00047100 */ sll $t6, $a0, 4
/* 003E8 808C1578 46060202 */ mul.s $f8, $f0, $f6
/* 003EC 808C157C 00055900 */ sll $t3, $a1, 4
/* 003F0 808C1580 24426FA8 */ addiu $v0, $v0, 0x6FA8 ## $v0 = 80166FA8
/* 003F0 808C1580 24426FA8 */ addiu $v0, %lo(gSegments)
/* 003F4 808C1584 000E7F02 */ srl $t7, $t6, 28
/* 003F8 808C1588 000B6702 */ srl $t4, $t3, 28
/* 003FC 808C158C 000FC080 */ sll $t8, $t7, 2

Some files were not shown because too many files have changed in this diff Show more