This commit is contained in:
Ethan Roseman 2020-10-30 18:41:04 -04:00
parent 31fc3ab212
commit b0d5e8ee62
75 changed files with 91 additions and 1923 deletions

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241FDC_95D1DC
/* 95D1DC 80241FDC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 95D1E0 80241FE0 AFB10014 */ sw $s1, 0x14($sp)
/* 95D1E4 80241FE4 0080882D */ daddu $s1, $a0, $zero
/* 95D1E8 80241FE8 AFBF0018 */ sw $ra, 0x18($sp)
/* 95D1EC 80241FEC AFB00010 */ sw $s0, 0x10($sp)
/* 95D1F0 80241FF0 8E30000C */ lw $s0, 0xc($s1)
/* 95D1F4 80241FF4 8E050000 */ lw $a1, ($s0)
/* 95D1F8 80241FF8 0C0B1EAF */ jal get_variable
/* 95D1FC 80241FFC 26100004 */ addiu $s0, $s0, 4
/* 95D200 80242000 0220202D */ daddu $a0, $s1, $zero
/* 95D204 80242004 8E050000 */ lw $a1, ($s0)
/* 95D208 80242008 0C0B210B */ jal get_float_variable
/* 95D20C 8024200C 0040802D */ daddu $s0, $v0, $zero
/* 95D210 80242010 24020002 */ addiu $v0, $zero, 2
/* 95D214 80242014 00501804 */ sllv $v1, $s0, $v0
/* 95D218 80242018 00701821 */ addu $v1, $v1, $s0
/* 95D21C 8024201C 00431804 */ sllv $v1, $v1, $v0
/* 95D220 80242020 00701823 */ subu $v1, $v1, $s0
/* 95D224 80242024 000320C0 */ sll $a0, $v1, 3
/* 95D228 80242028 00641821 */ addu $v1, $v1, $a0
/* 95D22C 8024202C 000318C0 */ sll $v1, $v1, 3
/* 95D230 80242030 3C01800B */ lui $at, 0x800b
/* 95D234 80242034 00230821 */ addu $at, $at, $v1
/* 95D238 80242038 E4201D98 */ swc1 $f0, 0x1d98($at)
/* 95D23C 8024203C 8FBF0018 */ lw $ra, 0x18($sp)
/* 95D240 80242040 8FB10014 */ lw $s1, 0x14($sp)
/* 95D244 80242044 8FB00010 */ lw $s0, 0x10($sp)
/* 95D248 80242048 03E00008 */ jr $ra
/* 95D24C 8024204C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242050_95D250
/* 95D250 80242050 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 95D254 80242054 AFB10014 */ sw $s1, 0x14($sp)
/* 95D258 80242058 0080882D */ daddu $s1, $a0, $zero
/* 95D25C 8024205C AFBF0018 */ sw $ra, 0x18($sp)
/* 95D260 80242060 AFB00010 */ sw $s0, 0x10($sp)
/* 95D264 80242064 8E30000C */ lw $s0, 0xc($s1)
/* 95D268 80242068 8E050000 */ lw $a1, ($s0)
/* 95D26C 8024206C 0C0B1EAF */ jal get_variable
/* 95D270 80242070 26100004 */ addiu $s0, $s0, 4
/* 95D274 80242074 00021880 */ sll $v1, $v0, 2
/* 95D278 80242078 00621821 */ addu $v1, $v1, $v0
/* 95D27C 8024207C 00031880 */ sll $v1, $v1, 2
/* 95D280 80242080 00621823 */ subu $v1, $v1, $v0
/* 95D284 80242084 000310C0 */ sll $v0, $v1, 3
/* 95D288 80242088 00621821 */ addu $v1, $v1, $v0
/* 95D28C 8024208C 000318C0 */ sll $v1, $v1, 3
/* 95D290 80242090 3C01800B */ lui $at, 0x800b
/* 95D294 80242094 00230821 */ addu $at, $at, $v1
/* 95D298 80242098 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* 95D29C 8024209C 3C014480 */ lui $at, 0x4480
/* 95D2A0 802420A0 44810000 */ mtc1 $at, $f0
/* 95D2A4 802420A4 00000000 */ nop
/* 95D2A8 802420A8 46001082 */ mul.s $f2, $f2, $f0
/* 95D2AC 802420AC 00000000 */ nop
/* 95D2B0 802420B0 3C01CD5B */ lui $at, 0xcd5b
/* 95D2B4 802420B4 34215858 */ ori $at, $at, 0x5858
/* 95D2B8 802420B8 44810000 */ mtc1 $at, $f0
/* 95D2BC 802420BC 00000000 */ nop
/* 95D2C0 802420C0 46001080 */ add.s $f2, $f2, $f0
/* 95D2C4 802420C4 8E050000 */ lw $a1, ($s0)
/* 95D2C8 802420C8 4600110D */ trunc.w.s $f4, $f2
/* 95D2CC 802420CC 44062000 */ mfc1 $a2, $f4
/* 95D2D0 802420D0 0C0B2026 */ jal set_variable
/* 95D2D4 802420D4 0220202D */ daddu $a0, $s1, $zero
/* 95D2D8 802420D8 8FBF0018 */ lw $ra, 0x18($sp)
/* 95D2DC 802420DC 8FB10014 */ lw $s1, 0x14($sp)
/* 95D2E0 802420E0 8FB00010 */ lw $s0, 0x10($sp)
/* 95D2E4 802420E4 24020002 */ addiu $v0, $zero, 2
/* 95D2E8 802420E8 03E00008 */ jr $ra
/* 95D2EC 802420EC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024228C_95D48C
/* 95D48C 8024228C 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 95D490 80242290 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 95D494 80242294 10A00002 */ beqz $a1, .L802422A0
/* 95D498 80242298 2402003C */ addiu $v0, $zero, 0x3c
/* 95D49C 8024229C AC820070 */ sw $v0, 0x70($a0)
.L802422A0:
/* 95D4A0 802422A0 C4620080 */ lwc1 $f2, 0x80($v1)
/* 95D4A4 802422A4 3C0141F0 */ lui $at, 0x41f0
/* 95D4A8 802422A8 44810000 */ mtc1 $at, $f0
/* 95D4AC 802422AC 00000000 */ nop
/* 95D4B0 802422B0 46001000 */ add.s $f0, $f2, $f0
/* 95D4B4 802422B4 3C0143B4 */ lui $at, 0x43b4
/* 95D4B8 802422B8 44811000 */ mtc1 $at, $f2
/* 95D4BC 802422BC 00000000 */ nop
/* 95D4C0 802422C0 4600103E */ c.le.s $f2, $f0
/* 95D4C4 802422C4 00000000 */ nop
/* 95D4C8 802422C8 45000003 */ bc1f .L802422D8
/* 95D4CC 802422CC E4600080 */ swc1 $f0, 0x80($v1)
/* 95D4D0 802422D0 46020001 */ sub.s $f0, $f0, $f2
/* 95D4D4 802422D4 E4600080 */ swc1 $f0, 0x80($v1)
.L802422D8:
/* 95D4D8 802422D8 8C820070 */ lw $v0, 0x70($a0)
/* 95D4DC 802422DC 2442FFFF */ addiu $v0, $v0, -1
/* 95D4E0 802422E0 AC820070 */ sw $v0, 0x70($a0)
/* 95D4E4 802422E4 000217C3 */ sra $v0, $v0, 0x1f
/* 95D4E8 802422E8 03E00008 */ jr $ra
/* 95D4EC 802422EC 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240E6C_96A02C
/* 96A02C 80240E6C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 96A030 80240E70 AFB10014 */ sw $s1, 0x14($sp)
/* 96A034 80240E74 0080882D */ daddu $s1, $a0, $zero
/* 96A038 80240E78 AFBF0018 */ sw $ra, 0x18($sp)
/* 96A03C 80240E7C AFB00010 */ sw $s0, 0x10($sp)
/* 96A040 80240E80 8E30000C */ lw $s0, 0xc($s1)
/* 96A044 80240E84 8E050000 */ lw $a1, ($s0)
/* 96A048 80240E88 0C0B1EAF */ jal get_variable
/* 96A04C 80240E8C 26100004 */ addiu $s0, $s0, 4
/* 96A050 80240E90 0220202D */ daddu $a0, $s1, $zero
/* 96A054 80240E94 8E050000 */ lw $a1, ($s0)
/* 96A058 80240E98 0C0B210B */ jal get_float_variable
/* 96A05C 80240E9C 0040802D */ daddu $s0, $v0, $zero
/* 96A060 80240EA0 24020002 */ addiu $v0, $zero, 2
/* 96A064 80240EA4 00501804 */ sllv $v1, $s0, $v0
/* 96A068 80240EA8 00701821 */ addu $v1, $v1, $s0
/* 96A06C 80240EAC 00431804 */ sllv $v1, $v1, $v0
/* 96A070 80240EB0 00701823 */ subu $v1, $v1, $s0
/* 96A074 80240EB4 000320C0 */ sll $a0, $v1, 3
/* 96A078 80240EB8 00641821 */ addu $v1, $v1, $a0
/* 96A07C 80240EBC 000318C0 */ sll $v1, $v1, 3
/* 96A080 80240EC0 3C01800B */ lui $at, 0x800b
/* 96A084 80240EC4 00230821 */ addu $at, $at, $v1
/* 96A088 80240EC8 E4201D98 */ swc1 $f0, 0x1d98($at)
/* 96A08C 80240ECC 8FBF0018 */ lw $ra, 0x18($sp)
/* 96A090 80240ED0 8FB10014 */ lw $s1, 0x14($sp)
/* 96A094 80240ED4 8FB00010 */ lw $s0, 0x10($sp)
/* 96A098 80240ED8 03E00008 */ jr $ra
/* 96A09C 80240EDC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240EE0_96A0A0
/* 96A0A0 80240EE0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 96A0A4 80240EE4 AFB10014 */ sw $s1, 0x14($sp)
/* 96A0A8 80240EE8 0080882D */ daddu $s1, $a0, $zero
/* 96A0AC 80240EEC AFBF0018 */ sw $ra, 0x18($sp)
/* 96A0B0 80240EF0 AFB00010 */ sw $s0, 0x10($sp)
/* 96A0B4 80240EF4 8E30000C */ lw $s0, 0xc($s1)
/* 96A0B8 80240EF8 8E050000 */ lw $a1, ($s0)
/* 96A0BC 80240EFC 0C0B1EAF */ jal get_variable
/* 96A0C0 80240F00 26100004 */ addiu $s0, $s0, 4
/* 96A0C4 80240F04 00021880 */ sll $v1, $v0, 2
/* 96A0C8 80240F08 00621821 */ addu $v1, $v1, $v0
/* 96A0CC 80240F0C 00031880 */ sll $v1, $v1, 2
/* 96A0D0 80240F10 00621823 */ subu $v1, $v1, $v0
/* 96A0D4 80240F14 000310C0 */ sll $v0, $v1, 3
/* 96A0D8 80240F18 00621821 */ addu $v1, $v1, $v0
/* 96A0DC 80240F1C 000318C0 */ sll $v1, $v1, 3
/* 96A0E0 80240F20 3C01800B */ lui $at, 0x800b
/* 96A0E4 80240F24 00230821 */ addu $at, $at, $v1
/* 96A0E8 80240F28 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* 96A0EC 80240F2C 3C014480 */ lui $at, 0x4480
/* 96A0F0 80240F30 44810000 */ mtc1 $at, $f0
/* 96A0F4 80240F34 00000000 */ nop
/* 96A0F8 80240F38 46001082 */ mul.s $f2, $f2, $f0
/* 96A0FC 80240F3C 00000000 */ nop
/* 96A100 80240F40 3C01CD5B */ lui $at, 0xcd5b
/* 96A104 80240F44 34215858 */ ori $at, $at, 0x5858
/* 96A108 80240F48 44810000 */ mtc1 $at, $f0
/* 96A10C 80240F4C 00000000 */ nop
/* 96A110 80240F50 46001080 */ add.s $f2, $f2, $f0
/* 96A114 80240F54 8E050000 */ lw $a1, ($s0)
/* 96A118 80240F58 4600110D */ trunc.w.s $f4, $f2
/* 96A11C 80240F5C 44062000 */ mfc1 $a2, $f4
/* 96A120 80240F60 0C0B2026 */ jal set_variable
/* 96A124 80240F64 0220202D */ daddu $a0, $s1, $zero
/* 96A128 80240F68 8FBF0018 */ lw $ra, 0x18($sp)
/* 96A12C 80240F6C 8FB10014 */ lw $s1, 0x14($sp)
/* 96A130 80240F70 8FB00010 */ lw $s0, 0x10($sp)
/* 96A134 80240F74 24020002 */ addiu $v0, $zero, 2
/* 96A138 80240F78 03E00008 */ jr $ra
/* 96A13C 80240F7C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024111C_96A2DC
/* 96A2DC 8024111C 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 96A2E0 80241120 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 96A2E4 80241124 10A00002 */ beqz $a1, .L80241130
/* 96A2E8 80241128 2402003C */ addiu $v0, $zero, 0x3c
/* 96A2EC 8024112C AC820070 */ sw $v0, 0x70($a0)
.L80241130:
/* 96A2F0 80241130 C4620080 */ lwc1 $f2, 0x80($v1)
/* 96A2F4 80241134 3C0141F0 */ lui $at, 0x41f0
/* 96A2F8 80241138 44810000 */ mtc1 $at, $f0
/* 96A2FC 8024113C 00000000 */ nop
/* 96A300 80241140 46001000 */ add.s $f0, $f2, $f0
/* 96A304 80241144 3C0143B4 */ lui $at, 0x43b4
/* 96A308 80241148 44811000 */ mtc1 $at, $f2
/* 96A30C 8024114C 00000000 */ nop
/* 96A310 80241150 4600103E */ c.le.s $f2, $f0
/* 96A314 80241154 00000000 */ nop
/* 96A318 80241158 45000003 */ bc1f .L80241168
/* 96A31C 8024115C E4600080 */ swc1 $f0, 0x80($v1)
/* 96A320 80241160 46020001 */ sub.s $f0, $f0, $f2
/* 96A324 80241164 E4600080 */ swc1 $f0, 0x80($v1)
.L80241168:
/* 96A328 80241168 8C820070 */ lw $v0, 0x70($a0)
/* 96A32C 8024116C 2442FFFF */ addiu $v0, $v0, -1
/* 96A330 80241170 AC820070 */ sw $v0, 0x70($a0)
/* 96A334 80241174 000217C3 */ sra $v0, $v0, 0x1f
/* 96A338 80241178 03E00008 */ jr $ra
/* 96A33C 8024117C 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243010_A1E110
/* A1E110 80243010 27BDFFE0 */ addiu $sp, $sp, -0x20
/* A1E114 80243014 AFB10014 */ sw $s1, 0x14($sp)
/* A1E118 80243018 0080882D */ daddu $s1, $a0, $zero
/* A1E11C 8024301C AFBF0018 */ sw $ra, 0x18($sp)
/* A1E120 80243020 AFB00010 */ sw $s0, 0x10($sp)
/* A1E124 80243024 8E30000C */ lw $s0, 0xc($s1)
/* A1E128 80243028 8E050000 */ lw $a1, ($s0)
/* A1E12C 8024302C 0C0B1EAF */ jal get_variable
/* A1E130 80243030 26100004 */ addiu $s0, $s0, 4
/* A1E134 80243034 0220202D */ daddu $a0, $s1, $zero
/* A1E138 80243038 8E050000 */ lw $a1, ($s0)
/* A1E13C 8024303C 0C0B210B */ jal get_float_variable
/* A1E140 80243040 0040802D */ daddu $s0, $v0, $zero
/* A1E144 80243044 24020002 */ addiu $v0, $zero, 2
/* A1E148 80243048 00501804 */ sllv $v1, $s0, $v0
/* A1E14C 8024304C 00701821 */ addu $v1, $v1, $s0
/* A1E150 80243050 00431804 */ sllv $v1, $v1, $v0
/* A1E154 80243054 00701823 */ subu $v1, $v1, $s0
/* A1E158 80243058 000320C0 */ sll $a0, $v1, 3
/* A1E15C 8024305C 00641821 */ addu $v1, $v1, $a0
/* A1E160 80243060 000318C0 */ sll $v1, $v1, 3
/* A1E164 80243064 3C01800B */ lui $at, 0x800b
/* A1E168 80243068 00230821 */ addu $at, $at, $v1
/* A1E16C 8024306C E4201D98 */ swc1 $f0, 0x1d98($at)
/* A1E170 80243070 8FBF0018 */ lw $ra, 0x18($sp)
/* A1E174 80243074 8FB10014 */ lw $s1, 0x14($sp)
/* A1E178 80243078 8FB00010 */ lw $s0, 0x10($sp)
/* A1E17C 8024307C 03E00008 */ jr $ra
/* A1E180 80243080 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80243084_A1E184
/* A1E184 80243084 27BDFFE0 */ addiu $sp, $sp, -0x20
/* A1E188 80243088 AFB10014 */ sw $s1, 0x14($sp)
/* A1E18C 8024308C 0080882D */ daddu $s1, $a0, $zero
/* A1E190 80243090 AFBF0018 */ sw $ra, 0x18($sp)
/* A1E194 80243094 AFB00010 */ sw $s0, 0x10($sp)
/* A1E198 80243098 8E30000C */ lw $s0, 0xc($s1)
/* A1E19C 8024309C 8E050000 */ lw $a1, ($s0)
/* A1E1A0 802430A0 0C0B1EAF */ jal get_variable
/* A1E1A4 802430A4 26100004 */ addiu $s0, $s0, 4
/* A1E1A8 802430A8 00021880 */ sll $v1, $v0, 2
/* A1E1AC 802430AC 00621821 */ addu $v1, $v1, $v0
/* A1E1B0 802430B0 00031880 */ sll $v1, $v1, 2
/* A1E1B4 802430B4 00621823 */ subu $v1, $v1, $v0
/* A1E1B8 802430B8 000310C0 */ sll $v0, $v1, 3
/* A1E1BC 802430BC 00621821 */ addu $v1, $v1, $v0
/* A1E1C0 802430C0 000318C0 */ sll $v1, $v1, 3
/* A1E1C4 802430C4 3C01800B */ lui $at, 0x800b
/* A1E1C8 802430C8 00230821 */ addu $at, $at, $v1
/* A1E1CC 802430CC C4221D98 */ lwc1 $f2, 0x1d98($at)
/* A1E1D0 802430D0 3C014480 */ lui $at, 0x4480
/* A1E1D4 802430D4 44810000 */ mtc1 $at, $f0
/* A1E1D8 802430D8 00000000 */ nop
/* A1E1DC 802430DC 46001082 */ mul.s $f2, $f2, $f0
/* A1E1E0 802430E0 00000000 */ nop
/* A1E1E4 802430E4 3C01CD5B */ lui $at, 0xcd5b
/* A1E1E8 802430E8 34215858 */ ori $at, $at, 0x5858
/* A1E1EC 802430EC 44810000 */ mtc1 $at, $f0
/* A1E1F0 802430F0 00000000 */ nop
/* A1E1F4 802430F4 46001080 */ add.s $f2, $f2, $f0
/* A1E1F8 802430F8 8E050000 */ lw $a1, ($s0)
/* A1E1FC 802430FC 4600110D */ trunc.w.s $f4, $f2
/* A1E200 80243100 44062000 */ mfc1 $a2, $f4
/* A1E204 80243104 0C0B2026 */ jal set_variable
/* A1E208 80243108 0220202D */ daddu $a0, $s1, $zero
/* A1E20C 8024310C 8FBF0018 */ lw $ra, 0x18($sp)
/* A1E210 80243110 8FB10014 */ lw $s1, 0x14($sp)
/* A1E214 80243114 8FB00010 */ lw $s0, 0x10($sp)
/* A1E218 80243118 24020002 */ addiu $v0, $zero, 2
/* A1E21C 8024311C 03E00008 */ jr $ra
/* A1E220 80243120 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802432C0_A1E3C0
/* A1E3C0 802432C0 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* A1E3C4 802432C4 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* A1E3C8 802432C8 10A00002 */ beqz $a1, .L802432D4
/* A1E3CC 802432CC 2402003C */ addiu $v0, $zero, 0x3c
/* A1E3D0 802432D0 AC820070 */ sw $v0, 0x70($a0)
.L802432D4:
/* A1E3D4 802432D4 C4620080 */ lwc1 $f2, 0x80($v1)
/* A1E3D8 802432D8 3C0141F0 */ lui $at, 0x41f0
/* A1E3DC 802432DC 44810000 */ mtc1 $at, $f0
/* A1E3E0 802432E0 00000000 */ nop
/* A1E3E4 802432E4 46001000 */ add.s $f0, $f2, $f0
/* A1E3E8 802432E8 3C0143B4 */ lui $at, 0x43b4
/* A1E3EC 802432EC 44811000 */ mtc1 $at, $f2
/* A1E3F0 802432F0 00000000 */ nop
/* A1E3F4 802432F4 4600103E */ c.le.s $f2, $f0
/* A1E3F8 802432F8 00000000 */ nop
/* A1E3FC 802432FC 45000003 */ bc1f .L8024330C
/* A1E400 80243300 E4600080 */ swc1 $f0, 0x80($v1)
/* A1E404 80243304 46020001 */ sub.s $f0, $f0, $f2
/* A1E408 80243308 E4600080 */ swc1 $f0, 0x80($v1)
.L8024330C:
/* A1E40C 8024330C 8C820070 */ lw $v0, 0x70($a0)
/* A1E410 80243310 2442FFFF */ addiu $v0, $v0, -1
/* A1E414 80243314 AC820070 */ sw $v0, 0x70($a0)
/* A1E418 80243318 000217C3 */ sra $v0, $v0, 0x1f
/* A1E41C 8024331C 03E00008 */ jr $ra
/* A1E420 80243320 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802405E0_A274B0
/* A274B0 802405E0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* A274B4 802405E4 AFB10014 */ sw $s1, 0x14($sp)
/* A274B8 802405E8 0080882D */ daddu $s1, $a0, $zero
/* A274BC 802405EC AFBF0018 */ sw $ra, 0x18($sp)
/* A274C0 802405F0 AFB00010 */ sw $s0, 0x10($sp)
/* A274C4 802405F4 8E30000C */ lw $s0, 0xc($s1)
/* A274C8 802405F8 8E050000 */ lw $a1, ($s0)
/* A274CC 802405FC 0C0B1EAF */ jal get_variable
/* A274D0 80240600 26100004 */ addiu $s0, $s0, 4
/* A274D4 80240604 0220202D */ daddu $a0, $s1, $zero
/* A274D8 80240608 8E050000 */ lw $a1, ($s0)
/* A274DC 8024060C 0C0B210B */ jal get_float_variable
/* A274E0 80240610 0040802D */ daddu $s0, $v0, $zero
/* A274E4 80240614 24020002 */ addiu $v0, $zero, 2
/* A274E8 80240618 00501804 */ sllv $v1, $s0, $v0
/* A274EC 8024061C 00701821 */ addu $v1, $v1, $s0
/* A274F0 80240620 00431804 */ sllv $v1, $v1, $v0
/* A274F4 80240624 00701823 */ subu $v1, $v1, $s0
/* A274F8 80240628 000320C0 */ sll $a0, $v1, 3
/* A274FC 8024062C 00641821 */ addu $v1, $v1, $a0
/* A27500 80240630 000318C0 */ sll $v1, $v1, 3
/* A27504 80240634 3C01800B */ lui $at, 0x800b
/* A27508 80240638 00230821 */ addu $at, $at, $v1
/* A2750C 8024063C E4201D98 */ swc1 $f0, 0x1d98($at)
/* A27510 80240640 8FBF0018 */ lw $ra, 0x18($sp)
/* A27514 80240644 8FB10014 */ lw $s1, 0x14($sp)
/* A27518 80240648 8FB00010 */ lw $s0, 0x10($sp)
/* A2751C 8024064C 03E00008 */ jr $ra
/* A27520 80240650 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242180_B2E5F0
/* B2E5F0 80242180 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B2E5F4 80242184 AFB10014 */ sw $s1, 0x14($sp)
/* B2E5F8 80242188 0080882D */ daddu $s1, $a0, $zero
/* B2E5FC 8024218C AFBF0018 */ sw $ra, 0x18($sp)
/* B2E600 80242190 AFB00010 */ sw $s0, 0x10($sp)
/* B2E604 80242194 8E30000C */ lw $s0, 0xc($s1)
/* B2E608 80242198 8E050000 */ lw $a1, ($s0)
/* B2E60C 8024219C 0C0B1EAF */ jal get_variable
/* B2E610 802421A0 26100004 */ addiu $s0, $s0, 4
/* B2E614 802421A4 0220202D */ daddu $a0, $s1, $zero
/* B2E618 802421A8 8E050000 */ lw $a1, ($s0)
/* B2E61C 802421AC 0C0B210B */ jal get_float_variable
/* B2E620 802421B0 0040802D */ daddu $s0, $v0, $zero
/* B2E624 802421B4 24020002 */ addiu $v0, $zero, 2
/* B2E628 802421B8 00501804 */ sllv $v1, $s0, $v0
/* B2E62C 802421BC 00701821 */ addu $v1, $v1, $s0
/* B2E630 802421C0 00431804 */ sllv $v1, $v1, $v0
/* B2E634 802421C4 00701823 */ subu $v1, $v1, $s0
/* B2E638 802421C8 000320C0 */ sll $a0, $v1, 3
/* B2E63C 802421CC 00641821 */ addu $v1, $v1, $a0
/* B2E640 802421D0 000318C0 */ sll $v1, $v1, 3
/* B2E644 802421D4 3C01800B */ lui $at, 0x800b
/* B2E648 802421D8 00230821 */ addu $at, $at, $v1
/* B2E64C 802421DC E4201D98 */ swc1 $f0, 0x1d98($at)
/* B2E650 802421E0 8FBF0018 */ lw $ra, 0x18($sp)
/* B2E654 802421E4 8FB10014 */ lw $s1, 0x14($sp)
/* B2E658 802421E8 8FB00010 */ lw $s0, 0x10($sp)
/* B2E65C 802421EC 03E00008 */ jr $ra
/* B2E660 802421F0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802421F4_B2E664
/* B2E664 802421F4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B2E668 802421F8 AFB10014 */ sw $s1, 0x14($sp)
/* B2E66C 802421FC 0080882D */ daddu $s1, $a0, $zero
/* B2E670 80242200 AFBF0018 */ sw $ra, 0x18($sp)
/* B2E674 80242204 AFB00010 */ sw $s0, 0x10($sp)
/* B2E678 80242208 8E30000C */ lw $s0, 0xc($s1)
/* B2E67C 8024220C 8E050000 */ lw $a1, ($s0)
/* B2E680 80242210 0C0B1EAF */ jal get_variable
/* B2E684 80242214 26100004 */ addiu $s0, $s0, 4
/* B2E688 80242218 00021880 */ sll $v1, $v0, 2
/* B2E68C 8024221C 00621821 */ addu $v1, $v1, $v0
/* B2E690 80242220 00031880 */ sll $v1, $v1, 2
/* B2E694 80242224 00621823 */ subu $v1, $v1, $v0
/* B2E698 80242228 000310C0 */ sll $v0, $v1, 3
/* B2E69C 8024222C 00621821 */ addu $v1, $v1, $v0
/* B2E6A0 80242230 000318C0 */ sll $v1, $v1, 3
/* B2E6A4 80242234 3C01800B */ lui $at, 0x800b
/* B2E6A8 80242238 00230821 */ addu $at, $at, $v1
/* B2E6AC 8024223C C4221D98 */ lwc1 $f2, 0x1d98($at)
/* B2E6B0 80242240 3C014480 */ lui $at, 0x4480
/* B2E6B4 80242244 44810000 */ mtc1 $at, $f0
/* B2E6B8 80242248 00000000 */ nop
/* B2E6BC 8024224C 46001082 */ mul.s $f2, $f2, $f0
/* B2E6C0 80242250 00000000 */ nop
/* B2E6C4 80242254 3C01CD5B */ lui $at, 0xcd5b
/* B2E6C8 80242258 34215858 */ ori $at, $at, 0x5858
/* B2E6CC 8024225C 44810000 */ mtc1 $at, $f0
/* B2E6D0 80242260 00000000 */ nop
/* B2E6D4 80242264 46001080 */ add.s $f2, $f2, $f0
/* B2E6D8 80242268 8E050000 */ lw $a1, ($s0)
/* B2E6DC 8024226C 4600110D */ trunc.w.s $f4, $f2
/* B2E6E0 80242270 44062000 */ mfc1 $a2, $f4
/* B2E6E4 80242274 0C0B2026 */ jal set_variable
/* B2E6E8 80242278 0220202D */ daddu $a0, $s1, $zero
/* B2E6EC 8024227C 8FBF0018 */ lw $ra, 0x18($sp)
/* B2E6F0 80242280 8FB10014 */ lw $s1, 0x14($sp)
/* B2E6F4 80242284 8FB00010 */ lw $s0, 0x10($sp)
/* B2E6F8 80242288 24020002 */ addiu $v0, $zero, 2
/* B2E6FC 8024228C 03E00008 */ jr $ra
/* B2E700 80242290 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242430_B2E8A0
/* B2E8A0 80242430 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* B2E8A4 80242434 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* B2E8A8 80242438 10A00002 */ beqz $a1, .L80242444
/* B2E8AC 8024243C 2402003C */ addiu $v0, $zero, 0x3c
/* B2E8B0 80242440 AC820070 */ sw $v0, 0x70($a0)
.L80242444:
/* B2E8B4 80242444 C4620080 */ lwc1 $f2, 0x80($v1)
/* B2E8B8 80242448 3C0141F0 */ lui $at, 0x41f0
/* B2E8BC 8024244C 44810000 */ mtc1 $at, $f0
/* B2E8C0 80242450 00000000 */ nop
/* B2E8C4 80242454 46001000 */ add.s $f0, $f2, $f0
/* B2E8C8 80242458 3C0143B4 */ lui $at, 0x43b4
/* B2E8CC 8024245C 44811000 */ mtc1 $at, $f2
/* B2E8D0 80242460 00000000 */ nop
/* B2E8D4 80242464 4600103E */ c.le.s $f2, $f0
/* B2E8D8 80242468 00000000 */ nop
/* B2E8DC 8024246C 45000003 */ bc1f .L8024247C
/* B2E8E0 80242470 E4600080 */ swc1 $f0, 0x80($v1)
/* B2E8E4 80242474 46020001 */ sub.s $f0, $f0, $f2
/* B2E8E8 80242478 E4600080 */ swc1 $f0, 0x80($v1)
.L8024247C:
/* B2E8EC 8024247C 8C820070 */ lw $v0, 0x70($a0)
/* B2E8F0 80242480 2442FFFF */ addiu $v0, $v0, -1
/* B2E8F4 80242484 AC820070 */ sw $v0, 0x70($a0)
/* B2E8F8 80242488 000217C3 */ sra $v0, $v0, 0x1f
/* B2E8FC 8024248C 03E00008 */ jr $ra
/* B2E900 80242490 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242708_B372D8
/* B372D8 80242708 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B372DC 8024270C AFB10014 */ sw $s1, 0x14($sp)
/* B372E0 80242710 0080882D */ daddu $s1, $a0, $zero
/* B372E4 80242714 AFBF0018 */ sw $ra, 0x18($sp)
/* B372E8 80242718 AFB00010 */ sw $s0, 0x10($sp)
/* B372EC 8024271C 8E30000C */ lw $s0, 0xc($s1)
/* B372F0 80242720 8E050000 */ lw $a1, ($s0)
/* B372F4 80242724 0C0B1EAF */ jal get_variable
/* B372F8 80242728 26100004 */ addiu $s0, $s0, 4
/* B372FC 8024272C 0220202D */ daddu $a0, $s1, $zero
/* B37300 80242730 8E050000 */ lw $a1, ($s0)
/* B37304 80242734 0C0B210B */ jal get_float_variable
/* B37308 80242738 0040802D */ daddu $s0, $v0, $zero
/* B3730C 8024273C 24020002 */ addiu $v0, $zero, 2
/* B37310 80242740 00501804 */ sllv $v1, $s0, $v0
/* B37314 80242744 00701821 */ addu $v1, $v1, $s0
/* B37318 80242748 00431804 */ sllv $v1, $v1, $v0
/* B3731C 8024274C 00701823 */ subu $v1, $v1, $s0
/* B37320 80242750 000320C0 */ sll $a0, $v1, 3
/* B37324 80242754 00641821 */ addu $v1, $v1, $a0
/* B37328 80242758 000318C0 */ sll $v1, $v1, 3
/* B3732C 8024275C 3C01800B */ lui $at, 0x800b
/* B37330 80242760 00230821 */ addu $at, $at, $v1
/* B37334 80242764 E4201D98 */ swc1 $f0, 0x1d98($at)
/* B37338 80242768 8FBF0018 */ lw $ra, 0x18($sp)
/* B3733C 8024276C 8FB10014 */ lw $s1, 0x14($sp)
/* B37340 80242770 8FB00010 */ lw $s0, 0x10($sp)
/* B37344 80242774 03E00008 */ jr $ra
/* B37348 80242778 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024277C_B3734C
/* B3734C 8024277C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* B37350 80242780 AFB10014 */ sw $s1, 0x14($sp)
/* B37354 80242784 0080882D */ daddu $s1, $a0, $zero
/* B37358 80242788 AFBF0018 */ sw $ra, 0x18($sp)
/* B3735C 8024278C AFB00010 */ sw $s0, 0x10($sp)
/* B37360 80242790 8E30000C */ lw $s0, 0xc($s1)
/* B37364 80242794 8E050000 */ lw $a1, ($s0)
/* B37368 80242798 0C0B1EAF */ jal get_variable
/* B3736C 8024279C 26100004 */ addiu $s0, $s0, 4
/* B37370 802427A0 00021880 */ sll $v1, $v0, 2
/* B37374 802427A4 00621821 */ addu $v1, $v1, $v0
/* B37378 802427A8 00031880 */ sll $v1, $v1, 2
/* B3737C 802427AC 00621823 */ subu $v1, $v1, $v0
/* B37380 802427B0 000310C0 */ sll $v0, $v1, 3
/* B37384 802427B4 00621821 */ addu $v1, $v1, $v0
/* B37388 802427B8 000318C0 */ sll $v1, $v1, 3
/* B3738C 802427BC 3C01800B */ lui $at, 0x800b
/* B37390 802427C0 00230821 */ addu $at, $at, $v1
/* B37394 802427C4 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* B37398 802427C8 3C014480 */ lui $at, 0x4480
/* B3739C 802427CC 44810000 */ mtc1 $at, $f0
/* B373A0 802427D0 00000000 */ nop
/* B373A4 802427D4 46001082 */ mul.s $f2, $f2, $f0
/* B373A8 802427D8 00000000 */ nop
/* B373AC 802427DC 3C01CD5B */ lui $at, 0xcd5b
/* B373B0 802427E0 34215858 */ ori $at, $at, 0x5858
/* B373B4 802427E4 44810000 */ mtc1 $at, $f0
/* B373B8 802427E8 00000000 */ nop
/* B373BC 802427EC 46001080 */ add.s $f2, $f2, $f0
/* B373C0 802427F0 8E050000 */ lw $a1, ($s0)
/* B373C4 802427F4 4600110D */ trunc.w.s $f4, $f2
/* B373C8 802427F8 44062000 */ mfc1 $a2, $f4
/* B373CC 802427FC 0C0B2026 */ jal set_variable
/* B373D0 80242800 0220202D */ daddu $a0, $s1, $zero
/* B373D4 80242804 8FBF0018 */ lw $ra, 0x18($sp)
/* B373D8 80242808 8FB10014 */ lw $s1, 0x14($sp)
/* B373DC 8024280C 8FB00010 */ lw $s0, 0x10($sp)
/* B373E0 80242810 24020002 */ addiu $v0, $zero, 2
/* B373E4 80242814 03E00008 */ jr $ra
/* B373E8 80242818 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802429B8_B37588
/* B37588 802429B8 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* B3758C 802429BC 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* B37590 802429C0 10A00002 */ beqz $a1, .L802429CC
/* B37594 802429C4 2402003C */ addiu $v0, $zero, 0x3c
/* B37598 802429C8 AC820070 */ sw $v0, 0x70($a0)
.L802429CC:
/* B3759C 802429CC C4620080 */ lwc1 $f2, 0x80($v1)
/* B375A0 802429D0 3C0141F0 */ lui $at, 0x41f0
/* B375A4 802429D4 44810000 */ mtc1 $at, $f0
/* B375A8 802429D8 00000000 */ nop
/* B375AC 802429DC 46001000 */ add.s $f0, $f2, $f0
/* B375B0 802429E0 3C0143B4 */ lui $at, 0x43b4
/* B375B4 802429E4 44811000 */ mtc1 $at, $f2
/* B375B8 802429E8 00000000 */ nop
/* B375BC 802429EC 4600103E */ c.le.s $f2, $f0
/* B375C0 802429F0 00000000 */ nop
/* B375C4 802429F4 45000003 */ bc1f .L80242A04
/* B375C8 802429F8 E4600080 */ swc1 $f0, 0x80($v1)
/* B375CC 802429FC 46020001 */ sub.s $f0, $f0, $f2
/* B375D0 80242A00 E4600080 */ swc1 $f0, 0x80($v1)
.L80242A04:
/* B375D4 80242A04 8C820070 */ lw $v0, 0x70($a0)
/* B375D8 80242A08 2442FFFF */ addiu $v0, $v0, -1
/* B375DC 80242A0C AC820070 */ sw $v0, 0x70($a0)
/* B375E0 80242A10 000217C3 */ sra $v0, $v0, 0x1f
/* B375E4 80242A14 03E00008 */ jr $ra
/* B375E8 80242A18 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240EFC_8B0F6C
/* 8B0F6C 80240EFC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 8B0F70 80240F00 AFB10014 */ sw $s1, 0x14($sp)
/* 8B0F74 80240F04 0080882D */ daddu $s1, $a0, $zero
/* 8B0F78 80240F08 AFBF0018 */ sw $ra, 0x18($sp)
/* 8B0F7C 80240F0C AFB00010 */ sw $s0, 0x10($sp)
/* 8B0F80 80240F10 8E30000C */ lw $s0, 0xc($s1)
/* 8B0F84 80240F14 8E050000 */ lw $a1, ($s0)
/* 8B0F88 80240F18 0C0B1EAF */ jal get_variable
/* 8B0F8C 80240F1C 26100004 */ addiu $s0, $s0, 4
/* 8B0F90 80240F20 0220202D */ daddu $a0, $s1, $zero
/* 8B0F94 80240F24 8E050000 */ lw $a1, ($s0)
/* 8B0F98 80240F28 0C0B210B */ jal get_float_variable
/* 8B0F9C 80240F2C 0040802D */ daddu $s0, $v0, $zero
/* 8B0FA0 80240F30 24020002 */ addiu $v0, $zero, 2
/* 8B0FA4 80240F34 00501804 */ sllv $v1, $s0, $v0
/* 8B0FA8 80240F38 00701821 */ addu $v1, $v1, $s0
/* 8B0FAC 80240F3C 00431804 */ sllv $v1, $v1, $v0
/* 8B0FB0 80240F40 00701823 */ subu $v1, $v1, $s0
/* 8B0FB4 80240F44 000320C0 */ sll $a0, $v1, 3
/* 8B0FB8 80240F48 00641821 */ addu $v1, $v1, $a0
/* 8B0FBC 80240F4C 000318C0 */ sll $v1, $v1, 3
/* 8B0FC0 80240F50 3C01800B */ lui $at, 0x800b
/* 8B0FC4 80240F54 00230821 */ addu $at, $at, $v1
/* 8B0FC8 80240F58 E4201D98 */ swc1 $f0, 0x1d98($at)
/* 8B0FCC 80240F5C 8FBF0018 */ lw $ra, 0x18($sp)
/* 8B0FD0 80240F60 8FB10014 */ lw $s1, 0x14($sp)
/* 8B0FD4 80240F64 8FB00010 */ lw $s0, 0x10($sp)
/* 8B0FD8 80240F68 03E00008 */ jr $ra
/* 8B0FDC 80240F6C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240F70_8B0FE0
/* 8B0FE0 80240F70 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 8B0FE4 80240F74 AFB10014 */ sw $s1, 0x14($sp)
/* 8B0FE8 80240F78 0080882D */ daddu $s1, $a0, $zero
/* 8B0FEC 80240F7C AFBF0018 */ sw $ra, 0x18($sp)
/* 8B0FF0 80240F80 AFB00010 */ sw $s0, 0x10($sp)
/* 8B0FF4 80240F84 8E30000C */ lw $s0, 0xc($s1)
/* 8B0FF8 80240F88 8E050000 */ lw $a1, ($s0)
/* 8B0FFC 80240F8C 0C0B1EAF */ jal get_variable
/* 8B1000 80240F90 26100004 */ addiu $s0, $s0, 4
/* 8B1004 80240F94 00021880 */ sll $v1, $v0, 2
/* 8B1008 80240F98 00621821 */ addu $v1, $v1, $v0
/* 8B100C 80240F9C 00031880 */ sll $v1, $v1, 2
/* 8B1010 80240FA0 00621823 */ subu $v1, $v1, $v0
/* 8B1014 80240FA4 000310C0 */ sll $v0, $v1, 3
/* 8B1018 80240FA8 00621821 */ addu $v1, $v1, $v0
/* 8B101C 80240FAC 000318C0 */ sll $v1, $v1, 3
/* 8B1020 80240FB0 3C01800B */ lui $at, 0x800b
/* 8B1024 80240FB4 00230821 */ addu $at, $at, $v1
/* 8B1028 80240FB8 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* 8B102C 80240FBC 3C014480 */ lui $at, 0x4480
/* 8B1030 80240FC0 44810000 */ mtc1 $at, $f0
/* 8B1034 80240FC4 00000000 */ nop
/* 8B1038 80240FC8 46001082 */ mul.s $f2, $f2, $f0
/* 8B103C 80240FCC 00000000 */ nop
/* 8B1040 80240FD0 3C01CD5B */ lui $at, 0xcd5b
/* 8B1044 80240FD4 34215858 */ ori $at, $at, 0x5858
/* 8B1048 80240FD8 44810000 */ mtc1 $at, $f0
/* 8B104C 80240FDC 00000000 */ nop
/* 8B1050 80240FE0 46001080 */ add.s $f2, $f2, $f0
/* 8B1054 80240FE4 8E050000 */ lw $a1, ($s0)
/* 8B1058 80240FE8 4600110D */ trunc.w.s $f4, $f2
/* 8B105C 80240FEC 44062000 */ mfc1 $a2, $f4
/* 8B1060 80240FF0 0C0B2026 */ jal set_variable
/* 8B1064 80240FF4 0220202D */ daddu $a0, $s1, $zero
/* 8B1068 80240FF8 8FBF0018 */ lw $ra, 0x18($sp)
/* 8B106C 80240FFC 8FB10014 */ lw $s1, 0x14($sp)
/* 8B1070 80241000 8FB00010 */ lw $s0, 0x10($sp)
/* 8B1074 80241004 24020002 */ addiu $v0, $zero, 2
/* 8B1078 80241008 03E00008 */ jr $ra
/* 8B107C 8024100C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802411AC_8B121C
/* 8B121C 802411AC 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 8B1220 802411B0 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 8B1224 802411B4 10A00002 */ beqz $a1, .L802411C0
/* 8B1228 802411B8 2402003C */ addiu $v0, $zero, 0x3c
/* 8B122C 802411BC AC820070 */ sw $v0, 0x70($a0)
.L802411C0:
/* 8B1230 802411C0 C4620080 */ lwc1 $f2, 0x80($v1)
/* 8B1234 802411C4 3C0141F0 */ lui $at, 0x41f0
/* 8B1238 802411C8 44810000 */ mtc1 $at, $f0
/* 8B123C 802411CC 00000000 */ nop
/* 8B1240 802411D0 46001000 */ add.s $f0, $f2, $f0
/* 8B1244 802411D4 3C0143B4 */ lui $at, 0x43b4
/* 8B1248 802411D8 44811000 */ mtc1 $at, $f2
/* 8B124C 802411DC 00000000 */ nop
/* 8B1250 802411E0 4600103E */ c.le.s $f2, $f0
/* 8B1254 802411E4 00000000 */ nop
/* 8B1258 802411E8 45000003 */ bc1f .L802411F8
/* 8B125C 802411EC E4600080 */ swc1 $f0, 0x80($v1)
/* 8B1260 802411F0 46020001 */ sub.s $f0, $f0, $f2
/* 8B1264 802411F4 E4600080 */ swc1 $f0, 0x80($v1)
.L802411F8:
/* 8B1268 802411F8 8C820070 */ lw $v0, 0x70($a0)
/* 8B126C 802411FC 2442FFFF */ addiu $v0, $v0, -1
/* 8B1270 80241200 AC820070 */ sw $v0, 0x70($a0)
/* 8B1274 80241204 000217C3 */ sra $v0, $v0, 0x1f
/* 8B1278 80241208 03E00008 */ jr $ra
/* 8B127C 8024120C 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024119C_7EBEAC
/* 7EBEAC 8024119C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7EBEB0 802411A0 AFB10014 */ sw $s1, 0x14($sp)
/* 7EBEB4 802411A4 0080882D */ daddu $s1, $a0, $zero
/* 7EBEB8 802411A8 AFBF0018 */ sw $ra, 0x18($sp)
/* 7EBEBC 802411AC AFB00010 */ sw $s0, 0x10($sp)
/* 7EBEC0 802411B0 8E30000C */ lw $s0, 0xc($s1)
/* 7EBEC4 802411B4 8E050000 */ lw $a1, ($s0)
/* 7EBEC8 802411B8 0C0B1EAF */ jal get_variable
/* 7EBECC 802411BC 26100004 */ addiu $s0, $s0, 4
/* 7EBED0 802411C0 0220202D */ daddu $a0, $s1, $zero
/* 7EBED4 802411C4 8E050000 */ lw $a1, ($s0)
/* 7EBED8 802411C8 0C0B210B */ jal get_float_variable
/* 7EBEDC 802411CC 0040802D */ daddu $s0, $v0, $zero
/* 7EBEE0 802411D0 24020002 */ addiu $v0, $zero, 2
/* 7EBEE4 802411D4 00501804 */ sllv $v1, $s0, $v0
/* 7EBEE8 802411D8 00701821 */ addu $v1, $v1, $s0
/* 7EBEEC 802411DC 00431804 */ sllv $v1, $v1, $v0
/* 7EBEF0 802411E0 00701823 */ subu $v1, $v1, $s0
/* 7EBEF4 802411E4 000320C0 */ sll $a0, $v1, 3
/* 7EBEF8 802411E8 00641821 */ addu $v1, $v1, $a0
/* 7EBEFC 802411EC 000318C0 */ sll $v1, $v1, 3
/* 7EBF00 802411F0 3C01800B */ lui $at, 0x800b
/* 7EBF04 802411F4 00230821 */ addu $at, $at, $v1
/* 7EBF08 802411F8 E4201D98 */ swc1 $f0, 0x1d98($at)
/* 7EBF0C 802411FC 8FBF0018 */ lw $ra, 0x18($sp)
/* 7EBF10 80241200 8FB10014 */ lw $s1, 0x14($sp)
/* 7EBF14 80241204 8FB00010 */ lw $s0, 0x10($sp)
/* 7EBF18 80241208 03E00008 */ jr $ra
/* 7EBF1C 8024120C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241210_7EBF20
/* 7EBF20 80241210 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7EBF24 80241214 AFB10014 */ sw $s1, 0x14($sp)
/* 7EBF28 80241218 0080882D */ daddu $s1, $a0, $zero
/* 7EBF2C 8024121C AFBF0018 */ sw $ra, 0x18($sp)
/* 7EBF30 80241220 AFB00010 */ sw $s0, 0x10($sp)
/* 7EBF34 80241224 8E30000C */ lw $s0, 0xc($s1)
/* 7EBF38 80241228 8E050000 */ lw $a1, ($s0)
/* 7EBF3C 8024122C 0C0B1EAF */ jal get_variable
/* 7EBF40 80241230 26100004 */ addiu $s0, $s0, 4
/* 7EBF44 80241234 00021880 */ sll $v1, $v0, 2
/* 7EBF48 80241238 00621821 */ addu $v1, $v1, $v0
/* 7EBF4C 8024123C 00031880 */ sll $v1, $v1, 2
/* 7EBF50 80241240 00621823 */ subu $v1, $v1, $v0
/* 7EBF54 80241244 000310C0 */ sll $v0, $v1, 3
/* 7EBF58 80241248 00621821 */ addu $v1, $v1, $v0
/* 7EBF5C 8024124C 000318C0 */ sll $v1, $v1, 3
/* 7EBF60 80241250 3C01800B */ lui $at, 0x800b
/* 7EBF64 80241254 00230821 */ addu $at, $at, $v1
/* 7EBF68 80241258 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* 7EBF6C 8024125C 3C014480 */ lui $at, 0x4480
/* 7EBF70 80241260 44810000 */ mtc1 $at, $f0
/* 7EBF74 80241264 00000000 */ nop
/* 7EBF78 80241268 46001082 */ mul.s $f2, $f2, $f0
/* 7EBF7C 8024126C 00000000 */ nop
/* 7EBF80 80241270 3C01CD5B */ lui $at, 0xcd5b
/* 7EBF84 80241274 34215858 */ ori $at, $at, 0x5858
/* 7EBF88 80241278 44810000 */ mtc1 $at, $f0
/* 7EBF8C 8024127C 00000000 */ nop
/* 7EBF90 80241280 46001080 */ add.s $f2, $f2, $f0
/* 7EBF94 80241284 8E050000 */ lw $a1, ($s0)
/* 7EBF98 80241288 4600110D */ trunc.w.s $f4, $f2
/* 7EBF9C 8024128C 44062000 */ mfc1 $a2, $f4
/* 7EBFA0 80241290 0C0B2026 */ jal set_variable
/* 7EBFA4 80241294 0220202D */ daddu $a0, $s1, $zero
/* 7EBFA8 80241298 8FBF0018 */ lw $ra, 0x18($sp)
/* 7EBFAC 8024129C 8FB10014 */ lw $s1, 0x14($sp)
/* 7EBFB0 802412A0 8FB00010 */ lw $s0, 0x10($sp)
/* 7EBFB4 802412A4 24020002 */ addiu $v0, $zero, 2
/* 7EBFB8 802412A8 03E00008 */ jr $ra
/* 7EBFBC 802412AC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024144C_7EC15C
/* 7EC15C 8024144C 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 7EC160 80241450 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 7EC164 80241454 10A00002 */ beqz $a1, .L80241460
/* 7EC168 80241458 2402003C */ addiu $v0, $zero, 0x3c
/* 7EC16C 8024145C AC820070 */ sw $v0, 0x70($a0)
.L80241460:
/* 7EC170 80241460 C4620080 */ lwc1 $f2, 0x80($v1)
/* 7EC174 80241464 3C0141F0 */ lui $at, 0x41f0
/* 7EC178 80241468 44810000 */ mtc1 $at, $f0
/* 7EC17C 8024146C 00000000 */ nop
/* 7EC180 80241470 46001000 */ add.s $f0, $f2, $f0
/* 7EC184 80241474 3C0143B4 */ lui $at, 0x43b4
/* 7EC188 80241478 44811000 */ mtc1 $at, $f2
/* 7EC18C 8024147C 00000000 */ nop
/* 7EC190 80241480 4600103E */ c.le.s $f2, $f0
/* 7EC194 80241484 00000000 */ nop
/* 7EC198 80241488 45000003 */ bc1f .L80241498
/* 7EC19C 8024148C E4600080 */ swc1 $f0, 0x80($v1)
/* 7EC1A0 80241490 46020001 */ sub.s $f0, $f0, $f2
/* 7EC1A4 80241494 E4600080 */ swc1 $f0, 0x80($v1)
.L80241498:
/* 7EC1A8 80241498 8C820070 */ lw $v0, 0x70($a0)
/* 7EC1AC 8024149C 2442FFFF */ addiu $v0, $v0, -1
/* 7EC1B0 802414A0 AC820070 */ sw $v0, 0x70($a0)
/* 7EC1B4 802414A4 000217C3 */ sra $v0, $v0, 0x1f
/* 7EC1B8 802414A8 03E00008 */ jr $ra
/* 7EC1BC 802414AC 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242A7C_8032FC
/* 8032FC 80242A7C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 803300 80242A80 AFB10014 */ sw $s1, 0x14($sp)
/* 803304 80242A84 0080882D */ daddu $s1, $a0, $zero
/* 803308 80242A88 AFBF0018 */ sw $ra, 0x18($sp)
/* 80330C 80242A8C AFB00010 */ sw $s0, 0x10($sp)
/* 803310 80242A90 8E30000C */ lw $s0, 0xc($s1)
/* 803314 80242A94 8E050000 */ lw $a1, ($s0)
/* 803318 80242A98 0C0B1EAF */ jal get_variable
/* 80331C 80242A9C 26100004 */ addiu $s0, $s0, 4
/* 803320 80242AA0 0220202D */ daddu $a0, $s1, $zero
/* 803324 80242AA4 8E050000 */ lw $a1, ($s0)
/* 803328 80242AA8 0C0B210B */ jal get_float_variable
/* 80332C 80242AAC 0040802D */ daddu $s0, $v0, $zero
/* 803330 80242AB0 24020002 */ addiu $v0, $zero, 2
/* 803334 80242AB4 00501804 */ sllv $v1, $s0, $v0
/* 803338 80242AB8 00701821 */ addu $v1, $v1, $s0
/* 80333C 80242ABC 00431804 */ sllv $v1, $v1, $v0
/* 803340 80242AC0 00701823 */ subu $v1, $v1, $s0
/* 803344 80242AC4 000320C0 */ sll $a0, $v1, 3
/* 803348 80242AC8 00641821 */ addu $v1, $v1, $a0
/* 80334C 80242ACC 000318C0 */ sll $v1, $v1, 3
/* 803350 80242AD0 3C01800B */ lui $at, 0x800b
/* 803354 80242AD4 00230821 */ addu $at, $at, $v1
/* 803358 80242AD8 E4201D98 */ swc1 $f0, 0x1d98($at)
/* 80335C 80242ADC 8FBF0018 */ lw $ra, 0x18($sp)
/* 803360 80242AE0 8FB10014 */ lw $s1, 0x14($sp)
/* 803364 80242AE4 8FB00010 */ lw $s0, 0x10($sp)
/* 803368 80242AE8 03E00008 */ jr $ra
/* 80336C 80242AEC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242AF0_803370
/* 803370 80242AF0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 803374 80242AF4 AFB10014 */ sw $s1, 0x14($sp)
/* 803378 80242AF8 0080882D */ daddu $s1, $a0, $zero
/* 80337C 80242AFC AFBF0018 */ sw $ra, 0x18($sp)
/* 803380 80242B00 AFB00010 */ sw $s0, 0x10($sp)
/* 803384 80242B04 8E30000C */ lw $s0, 0xc($s1)
/* 803388 80242B08 8E050000 */ lw $a1, ($s0)
/* 80338C 80242B0C 0C0B1EAF */ jal get_variable
/* 803390 80242B10 26100004 */ addiu $s0, $s0, 4
/* 803394 80242B14 00021880 */ sll $v1, $v0, 2
/* 803398 80242B18 00621821 */ addu $v1, $v1, $v0
/* 80339C 80242B1C 00031880 */ sll $v1, $v1, 2
/* 8033A0 80242B20 00621823 */ subu $v1, $v1, $v0
/* 8033A4 80242B24 000310C0 */ sll $v0, $v1, 3
/* 8033A8 80242B28 00621821 */ addu $v1, $v1, $v0
/* 8033AC 80242B2C 000318C0 */ sll $v1, $v1, 3
/* 8033B0 80242B30 3C01800B */ lui $at, 0x800b
/* 8033B4 80242B34 00230821 */ addu $at, $at, $v1
/* 8033B8 80242B38 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* 8033BC 80242B3C 3C014480 */ lui $at, 0x4480
/* 8033C0 80242B40 44810000 */ mtc1 $at, $f0
/* 8033C4 80242B44 00000000 */ nop
/* 8033C8 80242B48 46001082 */ mul.s $f2, $f2, $f0
/* 8033CC 80242B4C 00000000 */ nop
/* 8033D0 80242B50 3C01CD5B */ lui $at, 0xcd5b
/* 8033D4 80242B54 34215858 */ ori $at, $at, 0x5858
/* 8033D8 80242B58 44810000 */ mtc1 $at, $f0
/* 8033DC 80242B5C 00000000 */ nop
/* 8033E0 80242B60 46001080 */ add.s $f2, $f2, $f0
/* 8033E4 80242B64 8E050000 */ lw $a1, ($s0)
/* 8033E8 80242B68 4600110D */ trunc.w.s $f4, $f2
/* 8033EC 80242B6C 44062000 */ mfc1 $a2, $f4
/* 8033F0 80242B70 0C0B2026 */ jal set_variable
/* 8033F4 80242B74 0220202D */ daddu $a0, $s1, $zero
/* 8033F8 80242B78 8FBF0018 */ lw $ra, 0x18($sp)
/* 8033FC 80242B7C 8FB10014 */ lw $s1, 0x14($sp)
/* 803400 80242B80 8FB00010 */ lw $s0, 0x10($sp)
/* 803404 80242B84 24020002 */ addiu $v0, $zero, 2
/* 803408 80242B88 03E00008 */ jr $ra
/* 80340C 80242B8C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242D2C_8035AC
/* 8035AC 80242D2C 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 8035B0 80242D30 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 8035B4 80242D34 10A00002 */ beqz $a1, .L80242D40
/* 8035B8 80242D38 2402003C */ addiu $v0, $zero, 0x3c
/* 8035BC 80242D3C AC820070 */ sw $v0, 0x70($a0)
.L80242D40:
/* 8035C0 80242D40 C4620080 */ lwc1 $f2, 0x80($v1)
/* 8035C4 80242D44 3C0141F0 */ lui $at, 0x41f0
/* 8035C8 80242D48 44810000 */ mtc1 $at, $f0
/* 8035CC 80242D4C 00000000 */ nop
/* 8035D0 80242D50 46001000 */ add.s $f0, $f2, $f0
/* 8035D4 80242D54 3C0143B4 */ lui $at, 0x43b4
/* 8035D8 80242D58 44811000 */ mtc1 $at, $f2
/* 8035DC 80242D5C 00000000 */ nop
/* 8035E0 80242D60 4600103E */ c.le.s $f2, $f0
/* 8035E4 80242D64 00000000 */ nop
/* 8035E8 80242D68 45000003 */ bc1f .L80242D78
/* 8035EC 80242D6C E4600080 */ swc1 $f0, 0x80($v1)
/* 8035F0 80242D70 46020001 */ sub.s $f0, $f0, $f2
/* 8035F4 80242D74 E4600080 */ swc1 $f0, 0x80($v1)
.L80242D78:
/* 8035F8 80242D78 8C820070 */ lw $v0, 0x70($a0)
/* 8035FC 80242D7C 2442FFFF */ addiu $v0, $v0, -1
/* 803600 80242D80 AC820070 */ sw $v0, 0x70($a0)
/* 803604 80242D84 000217C3 */ sra $v0, $v0, 0x1f
/* 803608 80242D88 03E00008 */ jr $ra
/* 80360C 80242D8C 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024232C_8255EC
/* 8255EC 8024232C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 8255F0 80242330 AFB10014 */ sw $s1, 0x14($sp)
/* 8255F4 80242334 0080882D */ daddu $s1, $a0, $zero
/* 8255F8 80242338 AFBF0018 */ sw $ra, 0x18($sp)
/* 8255FC 8024233C AFB00010 */ sw $s0, 0x10($sp)
/* 825600 80242340 8E30000C */ lw $s0, 0xc($s1)
/* 825604 80242344 8E050000 */ lw $a1, ($s0)
/* 825608 80242348 0C0B1EAF */ jal get_variable
/* 82560C 8024234C 26100004 */ addiu $s0, $s0, 4
/* 825610 80242350 0220202D */ daddu $a0, $s1, $zero
/* 825614 80242354 8E050000 */ lw $a1, ($s0)
/* 825618 80242358 0C0B210B */ jal get_float_variable
/* 82561C 8024235C 0040802D */ daddu $s0, $v0, $zero
/* 825620 80242360 24020002 */ addiu $v0, $zero, 2
/* 825624 80242364 00501804 */ sllv $v1, $s0, $v0
/* 825628 80242368 00701821 */ addu $v1, $v1, $s0
/* 82562C 8024236C 00431804 */ sllv $v1, $v1, $v0
/* 825630 80242370 00701823 */ subu $v1, $v1, $s0
/* 825634 80242374 000320C0 */ sll $a0, $v1, 3
/* 825638 80242378 00641821 */ addu $v1, $v1, $a0
/* 82563C 8024237C 000318C0 */ sll $v1, $v1, 3
/* 825640 80242380 3C01800B */ lui $at, 0x800b
/* 825644 80242384 00230821 */ addu $at, $at, $v1
/* 825648 80242388 E4201D98 */ swc1 $f0, 0x1d98($at)
/* 82564C 8024238C 8FBF0018 */ lw $ra, 0x18($sp)
/* 825650 80242390 8FB10014 */ lw $s1, 0x14($sp)
/* 825654 80242394 8FB00010 */ lw $s0, 0x10($sp)
/* 825658 80242398 03E00008 */ jr $ra
/* 82565C 8024239C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802423A0_825660
/* 825660 802423A0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 825664 802423A4 AFB10014 */ sw $s1, 0x14($sp)
/* 825668 802423A8 0080882D */ daddu $s1, $a0, $zero
/* 82566C 802423AC AFBF0018 */ sw $ra, 0x18($sp)
/* 825670 802423B0 AFB00010 */ sw $s0, 0x10($sp)
/* 825674 802423B4 8E30000C */ lw $s0, 0xc($s1)
/* 825678 802423B8 8E050000 */ lw $a1, ($s0)
/* 82567C 802423BC 0C0B1EAF */ jal get_variable
/* 825680 802423C0 26100004 */ addiu $s0, $s0, 4
/* 825684 802423C4 00021880 */ sll $v1, $v0, 2
/* 825688 802423C8 00621821 */ addu $v1, $v1, $v0
/* 82568C 802423CC 00031880 */ sll $v1, $v1, 2
/* 825690 802423D0 00621823 */ subu $v1, $v1, $v0
/* 825694 802423D4 000310C0 */ sll $v0, $v1, 3
/* 825698 802423D8 00621821 */ addu $v1, $v1, $v0
/* 82569C 802423DC 000318C0 */ sll $v1, $v1, 3
/* 8256A0 802423E0 3C01800B */ lui $at, 0x800b
/* 8256A4 802423E4 00230821 */ addu $at, $at, $v1
/* 8256A8 802423E8 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* 8256AC 802423EC 3C014480 */ lui $at, 0x4480
/* 8256B0 802423F0 44810000 */ mtc1 $at, $f0
/* 8256B4 802423F4 00000000 */ nop
/* 8256B8 802423F8 46001082 */ mul.s $f2, $f2, $f0
/* 8256BC 802423FC 00000000 */ nop
/* 8256C0 80242400 3C01CD5B */ lui $at, 0xcd5b
/* 8256C4 80242404 34215858 */ ori $at, $at, 0x5858
/* 8256C8 80242408 44810000 */ mtc1 $at, $f0
/* 8256CC 8024240C 00000000 */ nop
/* 8256D0 80242410 46001080 */ add.s $f2, $f2, $f0
/* 8256D4 80242414 8E050000 */ lw $a1, ($s0)
/* 8256D8 80242418 4600110D */ trunc.w.s $f4, $f2
/* 8256DC 8024241C 44062000 */ mfc1 $a2, $f4
/* 8256E0 80242420 0C0B2026 */ jal set_variable
/* 8256E4 80242424 0220202D */ daddu $a0, $s1, $zero
/* 8256E8 80242428 8FBF0018 */ lw $ra, 0x18($sp)
/* 8256EC 8024242C 8FB10014 */ lw $s1, 0x14($sp)
/* 8256F0 80242430 8FB00010 */ lw $s0, 0x10($sp)
/* 8256F4 80242434 24020002 */ addiu $v0, $zero, 2
/* 8256F8 80242438 03E00008 */ jr $ra
/* 8256FC 8024243C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802425DC_82589C
/* 82589C 802425DC 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 8258A0 802425E0 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 8258A4 802425E4 10A00002 */ beqz $a1, .L802425F0
/* 8258A8 802425E8 2402003C */ addiu $v0, $zero, 0x3c
/* 8258AC 802425EC AC820070 */ sw $v0, 0x70($a0)
.L802425F0:
/* 8258B0 802425F0 C4620080 */ lwc1 $f2, 0x80($v1)
/* 8258B4 802425F4 3C0141F0 */ lui $at, 0x41f0
/* 8258B8 802425F8 44810000 */ mtc1 $at, $f0
/* 8258BC 802425FC 00000000 */ nop
/* 8258C0 80242600 46001000 */ add.s $f0, $f2, $f0
/* 8258C4 80242604 3C0143B4 */ lui $at, 0x43b4
/* 8258C8 80242608 44811000 */ mtc1 $at, $f2
/* 8258CC 8024260C 00000000 */ nop
/* 8258D0 80242610 4600103E */ c.le.s $f2, $f0
/* 8258D4 80242614 00000000 */ nop
/* 8258D8 80242618 45000003 */ bc1f .L80242628
/* 8258DC 8024261C E4600080 */ swc1 $f0, 0x80($v1)
/* 8258E0 80242620 46020001 */ sub.s $f0, $f0, $f2
/* 8258E4 80242624 E4600080 */ swc1 $f0, 0x80($v1)
.L80242628:
/* 8258E8 80242628 8C820070 */ lw $v0, 0x70($a0)
/* 8258EC 8024262C 2442FFFF */ addiu $v0, $v0, -1
/* 8258F0 80242630 AC820070 */ sw $v0, 0x70($a0)
/* 8258F4 80242634 000217C3 */ sra $v0, $v0, 0x1f
/* 8258F8 80242638 03E00008 */ jr $ra
/* 8258FC 8024263C 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024101C_83281C
/* 83281C 8024101C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 832820 80241020 AFB10014 */ sw $s1, 0x14($sp)
/* 832824 80241024 0080882D */ daddu $s1, $a0, $zero
/* 832828 80241028 AFBF0018 */ sw $ra, 0x18($sp)
/* 83282C 8024102C AFB00010 */ sw $s0, 0x10($sp)
/* 832830 80241030 8E30000C */ lw $s0, 0xc($s1)
/* 832834 80241034 8E050000 */ lw $a1, ($s0)
/* 832838 80241038 0C0B1EAF */ jal get_variable
/* 83283C 8024103C 26100004 */ addiu $s0, $s0, 4
/* 832840 80241040 0220202D */ daddu $a0, $s1, $zero
/* 832844 80241044 8E050000 */ lw $a1, ($s0)
/* 832848 80241048 0C0B210B */ jal get_float_variable
/* 83284C 8024104C 0040802D */ daddu $s0, $v0, $zero
/* 832850 80241050 24020002 */ addiu $v0, $zero, 2
/* 832854 80241054 00501804 */ sllv $v1, $s0, $v0
/* 832858 80241058 00701821 */ addu $v1, $v1, $s0
/* 83285C 8024105C 00431804 */ sllv $v1, $v1, $v0
/* 832860 80241060 00701823 */ subu $v1, $v1, $s0
/* 832864 80241064 000320C0 */ sll $a0, $v1, 3
/* 832868 80241068 00641821 */ addu $v1, $v1, $a0
/* 83286C 8024106C 000318C0 */ sll $v1, $v1, 3
/* 832870 80241070 3C01800B */ lui $at, 0x800b
/* 832874 80241074 00230821 */ addu $at, $at, $v1
/* 832878 80241078 E4201D98 */ swc1 $f0, 0x1d98($at)
/* 83287C 8024107C 8FBF0018 */ lw $ra, 0x18($sp)
/* 832880 80241080 8FB10014 */ lw $s1, 0x14($sp)
/* 832884 80241084 8FB00010 */ lw $s0, 0x10($sp)
/* 832888 80241088 03E00008 */ jr $ra
/* 83288C 8024108C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241090_832890
/* 832890 80241090 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 832894 80241094 AFB10014 */ sw $s1, 0x14($sp)
/* 832898 80241098 0080882D */ daddu $s1, $a0, $zero
/* 83289C 8024109C AFBF0018 */ sw $ra, 0x18($sp)
/* 8328A0 802410A0 AFB00010 */ sw $s0, 0x10($sp)
/* 8328A4 802410A4 8E30000C */ lw $s0, 0xc($s1)
/* 8328A8 802410A8 8E050000 */ lw $a1, ($s0)
/* 8328AC 802410AC 0C0B1EAF */ jal get_variable
/* 8328B0 802410B0 26100004 */ addiu $s0, $s0, 4
/* 8328B4 802410B4 00021880 */ sll $v1, $v0, 2
/* 8328B8 802410B8 00621821 */ addu $v1, $v1, $v0
/* 8328BC 802410BC 00031880 */ sll $v1, $v1, 2
/* 8328C0 802410C0 00621823 */ subu $v1, $v1, $v0
/* 8328C4 802410C4 000310C0 */ sll $v0, $v1, 3
/* 8328C8 802410C8 00621821 */ addu $v1, $v1, $v0
/* 8328CC 802410CC 000318C0 */ sll $v1, $v1, 3
/* 8328D0 802410D0 3C01800B */ lui $at, 0x800b
/* 8328D4 802410D4 00230821 */ addu $at, $at, $v1
/* 8328D8 802410D8 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* 8328DC 802410DC 3C014480 */ lui $at, 0x4480
/* 8328E0 802410E0 44810000 */ mtc1 $at, $f0
/* 8328E4 802410E4 00000000 */ nop
/* 8328E8 802410E8 46001082 */ mul.s $f2, $f2, $f0
/* 8328EC 802410EC 00000000 */ nop
/* 8328F0 802410F0 3C01CD5B */ lui $at, 0xcd5b
/* 8328F4 802410F4 34215858 */ ori $at, $at, 0x5858
/* 8328F8 802410F8 44810000 */ mtc1 $at, $f0
/* 8328FC 802410FC 00000000 */ nop
/* 832900 80241100 46001080 */ add.s $f2, $f2, $f0
/* 832904 80241104 8E050000 */ lw $a1, ($s0)
/* 832908 80241108 4600110D */ trunc.w.s $f4, $f2
/* 83290C 8024110C 44062000 */ mfc1 $a2, $f4
/* 832910 80241110 0C0B2026 */ jal set_variable
/* 832914 80241114 0220202D */ daddu $a0, $s1, $zero
/* 832918 80241118 8FBF0018 */ lw $ra, 0x18($sp)
/* 83291C 8024111C 8FB10014 */ lw $s1, 0x14($sp)
/* 832920 80241120 8FB00010 */ lw $s0, 0x10($sp)
/* 832924 80241124 24020002 */ addiu $v0, $zero, 2
/* 832928 80241128 03E00008 */ jr $ra
/* 83292C 8024112C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802412CC_832ACC
/* 832ACC 802412CC 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 832AD0 802412D0 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 832AD4 802412D4 10A00002 */ beqz $a1, .L802412E0
/* 832AD8 802412D8 2402003C */ addiu $v0, $zero, 0x3c
/* 832ADC 802412DC AC820070 */ sw $v0, 0x70($a0)
.L802412E0:
/* 832AE0 802412E0 C4620080 */ lwc1 $f2, 0x80($v1)
/* 832AE4 802412E4 3C0141F0 */ lui $at, 0x41f0
/* 832AE8 802412E8 44810000 */ mtc1 $at, $f0
/* 832AEC 802412EC 00000000 */ nop
/* 832AF0 802412F0 46001000 */ add.s $f0, $f2, $f0
/* 832AF4 802412F4 3C0143B4 */ lui $at, 0x43b4
/* 832AF8 802412F8 44811000 */ mtc1 $at, $f2
/* 832AFC 802412FC 00000000 */ nop
/* 832B00 80241300 4600103E */ c.le.s $f2, $f0
/* 832B04 80241304 00000000 */ nop
/* 832B08 80241308 45000003 */ bc1f .L80241318
/* 832B0C 8024130C E4600080 */ swc1 $f0, 0x80($v1)
/* 832B10 80241310 46020001 */ sub.s $f0, $f0, $f2
/* 832B14 80241314 E4600080 */ swc1 $f0, 0x80($v1)
.L80241318:
/* 832B18 80241318 8C820070 */ lw $v0, 0x70($a0)
/* 832B1C 8024131C 2442FFFF */ addiu $v0, $v0, -1
/* 832B20 80241320 AC820070 */ sw $v0, 0x70($a0)
/* 832B24 80241324 000217C3 */ sra $v0, $v0, 0x1f
/* 832B28 80241328 03E00008 */ jr $ra
/* 832B2C 8024132C 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240FCC_843B9C
/* 843B9C 80240FCC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 843BA0 80240FD0 AFB10014 */ sw $s1, 0x14($sp)
/* 843BA4 80240FD4 0080882D */ daddu $s1, $a0, $zero
/* 843BA8 80240FD8 AFBF0018 */ sw $ra, 0x18($sp)
/* 843BAC 80240FDC AFB00010 */ sw $s0, 0x10($sp)
/* 843BB0 80240FE0 8E30000C */ lw $s0, 0xc($s1)
/* 843BB4 80240FE4 8E050000 */ lw $a1, ($s0)
/* 843BB8 80240FE8 0C0B1EAF */ jal get_variable
/* 843BBC 80240FEC 26100004 */ addiu $s0, $s0, 4
/* 843BC0 80240FF0 0220202D */ daddu $a0, $s1, $zero
/* 843BC4 80240FF4 8E050000 */ lw $a1, ($s0)
/* 843BC8 80240FF8 0C0B210B */ jal get_float_variable
/* 843BCC 80240FFC 0040802D */ daddu $s0, $v0, $zero
/* 843BD0 80241000 24020002 */ addiu $v0, $zero, 2
/* 843BD4 80241004 00501804 */ sllv $v1, $s0, $v0
/* 843BD8 80241008 00701821 */ addu $v1, $v1, $s0
/* 843BDC 8024100C 00431804 */ sllv $v1, $v1, $v0
/* 843BE0 80241010 00701823 */ subu $v1, $v1, $s0
/* 843BE4 80241014 000320C0 */ sll $a0, $v1, 3
/* 843BE8 80241018 00641821 */ addu $v1, $v1, $a0
/* 843BEC 8024101C 000318C0 */ sll $v1, $v1, 3
/* 843BF0 80241020 3C01800B */ lui $at, 0x800b
/* 843BF4 80241024 00230821 */ addu $at, $at, $v1
/* 843BF8 80241028 E4201D98 */ swc1 $f0, 0x1d98($at)
/* 843BFC 8024102C 8FBF0018 */ lw $ra, 0x18($sp)
/* 843C00 80241030 8FB10014 */ lw $s1, 0x14($sp)
/* 843C04 80241034 8FB00010 */ lw $s0, 0x10($sp)
/* 843C08 80241038 03E00008 */ jr $ra
/* 843C0C 8024103C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241040_843C10
/* 843C10 80241040 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 843C14 80241044 AFB10014 */ sw $s1, 0x14($sp)
/* 843C18 80241048 0080882D */ daddu $s1, $a0, $zero
/* 843C1C 8024104C AFBF0018 */ sw $ra, 0x18($sp)
/* 843C20 80241050 AFB00010 */ sw $s0, 0x10($sp)
/* 843C24 80241054 8E30000C */ lw $s0, 0xc($s1)
/* 843C28 80241058 8E050000 */ lw $a1, ($s0)
/* 843C2C 8024105C 0C0B1EAF */ jal get_variable
/* 843C30 80241060 26100004 */ addiu $s0, $s0, 4
/* 843C34 80241064 00021880 */ sll $v1, $v0, 2
/* 843C38 80241068 00621821 */ addu $v1, $v1, $v0
/* 843C3C 8024106C 00031880 */ sll $v1, $v1, 2
/* 843C40 80241070 00621823 */ subu $v1, $v1, $v0
/* 843C44 80241074 000310C0 */ sll $v0, $v1, 3
/* 843C48 80241078 00621821 */ addu $v1, $v1, $v0
/* 843C4C 8024107C 000318C0 */ sll $v1, $v1, 3
/* 843C50 80241080 3C01800B */ lui $at, 0x800b
/* 843C54 80241084 00230821 */ addu $at, $at, $v1
/* 843C58 80241088 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* 843C5C 8024108C 3C014480 */ lui $at, 0x4480
/* 843C60 80241090 44810000 */ mtc1 $at, $f0
/* 843C64 80241094 00000000 */ nop
/* 843C68 80241098 46001082 */ mul.s $f2, $f2, $f0
/* 843C6C 8024109C 00000000 */ nop
/* 843C70 802410A0 3C01CD5B */ lui $at, 0xcd5b
/* 843C74 802410A4 34215858 */ ori $at, $at, 0x5858
/* 843C78 802410A8 44810000 */ mtc1 $at, $f0
/* 843C7C 802410AC 00000000 */ nop
/* 843C80 802410B0 46001080 */ add.s $f2, $f2, $f0
/* 843C84 802410B4 8E050000 */ lw $a1, ($s0)
/* 843C88 802410B8 4600110D */ trunc.w.s $f4, $f2
/* 843C8C 802410BC 44062000 */ mfc1 $a2, $f4
/* 843C90 802410C0 0C0B2026 */ jal set_variable
/* 843C94 802410C4 0220202D */ daddu $a0, $s1, $zero
/* 843C98 802410C8 8FBF0018 */ lw $ra, 0x18($sp)
/* 843C9C 802410CC 8FB10014 */ lw $s1, 0x14($sp)
/* 843CA0 802410D0 8FB00010 */ lw $s0, 0x10($sp)
/* 843CA4 802410D4 24020002 */ addiu $v0, $zero, 2
/* 843CA8 802410D8 03E00008 */ jr $ra
/* 843CAC 802410DC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024127C_843E4C
/* 843E4C 8024127C 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 843E50 80241280 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 843E54 80241284 10A00002 */ beqz $a1, .L80241290
/* 843E58 80241288 2402003C */ addiu $v0, $zero, 0x3c
/* 843E5C 8024128C AC820070 */ sw $v0, 0x70($a0)
.L80241290:
/* 843E60 80241290 C4620080 */ lwc1 $f2, 0x80($v1)
/* 843E64 80241294 3C0141F0 */ lui $at, 0x41f0
/* 843E68 80241298 44810000 */ mtc1 $at, $f0
/* 843E6C 8024129C 00000000 */ nop
/* 843E70 802412A0 46001000 */ add.s $f0, $f2, $f0
/* 843E74 802412A4 3C0143B4 */ lui $at, 0x43b4
/* 843E78 802412A8 44811000 */ mtc1 $at, $f2
/* 843E7C 802412AC 00000000 */ nop
/* 843E80 802412B0 4600103E */ c.le.s $f2, $f0
/* 843E84 802412B4 00000000 */ nop
/* 843E88 802412B8 45000003 */ bc1f .L802412C8
/* 843E8C 802412BC E4600080 */ swc1 $f0, 0x80($v1)
/* 843E90 802412C0 46020001 */ sub.s $f0, $f0, $f2
/* 843E94 802412C4 E4600080 */ swc1 $f0, 0x80($v1)
.L802412C8:
/* 843E98 802412C8 8C820070 */ lw $v0, 0x70($a0)
/* 843E9C 802412CC 2442FFFF */ addiu $v0, $v0, -1
/* 843EA0 802412D0 AC820070 */ sw $v0, 0x70($a0)
/* 843EA4 802412D4 000217C3 */ sra $v0, $v0, 0x1f
/* 843EA8 802412D8 03E00008 */ jr $ra
/* 843EAC 802412DC 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241E8C_853FFC
/* 853FFC 80241E8C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 854000 80241E90 AFB10014 */ sw $s1, 0x14($sp)
/* 854004 80241E94 0080882D */ daddu $s1, $a0, $zero
/* 854008 80241E98 AFBF0018 */ sw $ra, 0x18($sp)
/* 85400C 80241E9C AFB00010 */ sw $s0, 0x10($sp)
/* 854010 80241EA0 8E30000C */ lw $s0, 0xc($s1)
/* 854014 80241EA4 8E050000 */ lw $a1, ($s0)
/* 854018 80241EA8 0C0B1EAF */ jal get_variable
/* 85401C 80241EAC 26100004 */ addiu $s0, $s0, 4
/* 854020 80241EB0 0220202D */ daddu $a0, $s1, $zero
/* 854024 80241EB4 8E050000 */ lw $a1, ($s0)
/* 854028 80241EB8 0C0B210B */ jal get_float_variable
/* 85402C 80241EBC 0040802D */ daddu $s0, $v0, $zero
/* 854030 80241EC0 24020002 */ addiu $v0, $zero, 2
/* 854034 80241EC4 00501804 */ sllv $v1, $s0, $v0
/* 854038 80241EC8 00701821 */ addu $v1, $v1, $s0
/* 85403C 80241ECC 00431804 */ sllv $v1, $v1, $v0
/* 854040 80241ED0 00701823 */ subu $v1, $v1, $s0
/* 854044 80241ED4 000320C0 */ sll $a0, $v1, 3
/* 854048 80241ED8 00641821 */ addu $v1, $v1, $a0
/* 85404C 80241EDC 000318C0 */ sll $v1, $v1, 3
/* 854050 80241EE0 3C01800B */ lui $at, 0x800b
/* 854054 80241EE4 00230821 */ addu $at, $at, $v1
/* 854058 80241EE8 E4201D98 */ swc1 $f0, 0x1d98($at)
/* 85405C 80241EEC 8FBF0018 */ lw $ra, 0x18($sp)
/* 854060 80241EF0 8FB10014 */ lw $s1, 0x14($sp)
/* 854064 80241EF4 8FB00010 */ lw $s0, 0x10($sp)
/* 854068 80241EF8 03E00008 */ jr $ra
/* 85406C 80241EFC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241F00_854070
/* 854070 80241F00 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 854074 80241F04 AFB10014 */ sw $s1, 0x14($sp)
/* 854078 80241F08 0080882D */ daddu $s1, $a0, $zero
/* 85407C 80241F0C AFBF0018 */ sw $ra, 0x18($sp)
/* 854080 80241F10 AFB00010 */ sw $s0, 0x10($sp)
/* 854084 80241F14 8E30000C */ lw $s0, 0xc($s1)
/* 854088 80241F18 8E050000 */ lw $a1, ($s0)
/* 85408C 80241F1C 0C0B1EAF */ jal get_variable
/* 854090 80241F20 26100004 */ addiu $s0, $s0, 4
/* 854094 80241F24 00021880 */ sll $v1, $v0, 2
/* 854098 80241F28 00621821 */ addu $v1, $v1, $v0
/* 85409C 80241F2C 00031880 */ sll $v1, $v1, 2
/* 8540A0 80241F30 00621823 */ subu $v1, $v1, $v0
/* 8540A4 80241F34 000310C0 */ sll $v0, $v1, 3
/* 8540A8 80241F38 00621821 */ addu $v1, $v1, $v0
/* 8540AC 80241F3C 000318C0 */ sll $v1, $v1, 3
/* 8540B0 80241F40 3C01800B */ lui $at, 0x800b
/* 8540B4 80241F44 00230821 */ addu $at, $at, $v1
/* 8540B8 80241F48 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* 8540BC 80241F4C 3C014480 */ lui $at, 0x4480
/* 8540C0 80241F50 44810000 */ mtc1 $at, $f0
/* 8540C4 80241F54 00000000 */ nop
/* 8540C8 80241F58 46001082 */ mul.s $f2, $f2, $f0
/* 8540CC 80241F5C 00000000 */ nop
/* 8540D0 80241F60 3C01CD5B */ lui $at, 0xcd5b
/* 8540D4 80241F64 34215858 */ ori $at, $at, 0x5858
/* 8540D8 80241F68 44810000 */ mtc1 $at, $f0
/* 8540DC 80241F6C 00000000 */ nop
/* 8540E0 80241F70 46001080 */ add.s $f2, $f2, $f0
/* 8540E4 80241F74 8E050000 */ lw $a1, ($s0)
/* 8540E8 80241F78 4600110D */ trunc.w.s $f4, $f2
/* 8540EC 80241F7C 44062000 */ mfc1 $a2, $f4
/* 8540F0 80241F80 0C0B2026 */ jal set_variable
/* 8540F4 80241F84 0220202D */ daddu $a0, $s1, $zero
/* 8540F8 80241F88 8FBF0018 */ lw $ra, 0x18($sp)
/* 8540FC 80241F8C 8FB10014 */ lw $s1, 0x14($sp)
/* 854100 80241F90 8FB00010 */ lw $s0, 0x10($sp)
/* 854104 80241F94 24020002 */ addiu $v0, $zero, 2
/* 854108 80241F98 03E00008 */ jr $ra
/* 85410C 80241F9C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024213C_8542AC
/* 8542AC 8024213C 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 8542B0 80242140 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 8542B4 80242144 10A00002 */ beqz $a1, .L80242150
/* 8542B8 80242148 2402003C */ addiu $v0, $zero, 0x3c
/* 8542BC 8024214C AC820070 */ sw $v0, 0x70($a0)
.L80242150:
/* 8542C0 80242150 C4620080 */ lwc1 $f2, 0x80($v1)
/* 8542C4 80242154 3C0141F0 */ lui $at, 0x41f0
/* 8542C8 80242158 44810000 */ mtc1 $at, $f0
/* 8542CC 8024215C 00000000 */ nop
/* 8542D0 80242160 46001000 */ add.s $f0, $f2, $f0
/* 8542D4 80242164 3C0143B4 */ lui $at, 0x43b4
/* 8542D8 80242168 44811000 */ mtc1 $at, $f2
/* 8542DC 8024216C 00000000 */ nop
/* 8542E0 80242170 4600103E */ c.le.s $f2, $f0
/* 8542E4 80242174 00000000 */ nop
/* 8542E8 80242178 45000003 */ bc1f .L80242188
/* 8542EC 8024217C E4600080 */ swc1 $f0, 0x80($v1)
/* 8542F0 80242180 46020001 */ sub.s $f0, $f0, $f2
/* 8542F4 80242184 E4600080 */ swc1 $f0, 0x80($v1)
.L80242188:
/* 8542F8 80242188 8C820070 */ lw $v0, 0x70($a0)
/* 8542FC 8024218C 2442FFFF */ addiu $v0, $v0, -1
/* 854300 80242190 AC820070 */ sw $v0, 0x70($a0)
/* 854304 80242194 000217C3 */ sra $v0, $v0, 0x1f
/* 854308 80242198 03E00008 */ jr $ra
/* 85430C 8024219C 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802418D4_9C6CB4
/* 9C6CB4 802418D4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 9C6CB8 802418D8 AFB10014 */ sw $s1, 0x14($sp)
/* 9C6CBC 802418DC 0080882D */ daddu $s1, $a0, $zero
/* 9C6CC0 802418E0 AFBF0018 */ sw $ra, 0x18($sp)
/* 9C6CC4 802418E4 AFB00010 */ sw $s0, 0x10($sp)
/* 9C6CC8 802418E8 8E30000C */ lw $s0, 0xc($s1)
/* 9C6CCC 802418EC 8E050000 */ lw $a1, ($s0)
/* 9C6CD0 802418F0 0C0B1EAF */ jal get_variable
/* 9C6CD4 802418F4 26100004 */ addiu $s0, $s0, 4
/* 9C6CD8 802418F8 0220202D */ daddu $a0, $s1, $zero
/* 9C6CDC 802418FC 8E050000 */ lw $a1, ($s0)
/* 9C6CE0 80241900 0C0B210B */ jal get_float_variable
/* 9C6CE4 80241904 0040802D */ daddu $s0, $v0, $zero
/* 9C6CE8 80241908 24020002 */ addiu $v0, $zero, 2
/* 9C6CEC 8024190C 00501804 */ sllv $v1, $s0, $v0
/* 9C6CF0 80241910 00701821 */ addu $v1, $v1, $s0
/* 9C6CF4 80241914 00431804 */ sllv $v1, $v1, $v0
/* 9C6CF8 80241918 00701823 */ subu $v1, $v1, $s0
/* 9C6CFC 8024191C 000320C0 */ sll $a0, $v1, 3
/* 9C6D00 80241920 00641821 */ addu $v1, $v1, $a0
/* 9C6D04 80241924 000318C0 */ sll $v1, $v1, 3
/* 9C6D08 80241928 3C01800B */ lui $at, 0x800b
/* 9C6D0C 8024192C 00230821 */ addu $at, $at, $v1
/* 9C6D10 80241930 E4201D98 */ swc1 $f0, 0x1d98($at)
/* 9C6D14 80241934 8FBF0018 */ lw $ra, 0x18($sp)
/* 9C6D18 80241938 8FB10014 */ lw $s1, 0x14($sp)
/* 9C6D1C 8024193C 8FB00010 */ lw $s0, 0x10($sp)
/* 9C6D20 80241940 03E00008 */ jr $ra
/* 9C6D24 80241944 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241948_9C6D28
/* 9C6D28 80241948 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 9C6D2C 8024194C AFB10014 */ sw $s1, 0x14($sp)
/* 9C6D30 80241950 0080882D */ daddu $s1, $a0, $zero
/* 9C6D34 80241954 AFBF0018 */ sw $ra, 0x18($sp)
/* 9C6D38 80241958 AFB00010 */ sw $s0, 0x10($sp)
/* 9C6D3C 8024195C 8E30000C */ lw $s0, 0xc($s1)
/* 9C6D40 80241960 8E050000 */ lw $a1, ($s0)
/* 9C6D44 80241964 0C0B1EAF */ jal get_variable
/* 9C6D48 80241968 26100004 */ addiu $s0, $s0, 4
/* 9C6D4C 8024196C 00021880 */ sll $v1, $v0, 2
/* 9C6D50 80241970 00621821 */ addu $v1, $v1, $v0
/* 9C6D54 80241974 00031880 */ sll $v1, $v1, 2
/* 9C6D58 80241978 00621823 */ subu $v1, $v1, $v0
/* 9C6D5C 8024197C 000310C0 */ sll $v0, $v1, 3
/* 9C6D60 80241980 00621821 */ addu $v1, $v1, $v0
/* 9C6D64 80241984 000318C0 */ sll $v1, $v1, 3
/* 9C6D68 80241988 3C01800B */ lui $at, 0x800b
/* 9C6D6C 8024198C 00230821 */ addu $at, $at, $v1
/* 9C6D70 80241990 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* 9C6D74 80241994 3C014480 */ lui $at, 0x4480
/* 9C6D78 80241998 44810000 */ mtc1 $at, $f0
/* 9C6D7C 8024199C 00000000 */ nop
/* 9C6D80 802419A0 46001082 */ mul.s $f2, $f2, $f0
/* 9C6D84 802419A4 00000000 */ nop
/* 9C6D88 802419A8 3C01CD5B */ lui $at, 0xcd5b
/* 9C6D8C 802419AC 34215858 */ ori $at, $at, 0x5858
/* 9C6D90 802419B0 44810000 */ mtc1 $at, $f0
/* 9C6D94 802419B4 00000000 */ nop
/* 9C6D98 802419B8 46001080 */ add.s $f2, $f2, $f0
/* 9C6D9C 802419BC 8E050000 */ lw $a1, ($s0)
/* 9C6DA0 802419C0 4600110D */ trunc.w.s $f4, $f2
/* 9C6DA4 802419C4 44062000 */ mfc1 $a2, $f4
/* 9C6DA8 802419C8 0C0B2026 */ jal set_variable
/* 9C6DAC 802419CC 0220202D */ daddu $a0, $s1, $zero
/* 9C6DB0 802419D0 8FBF0018 */ lw $ra, 0x18($sp)
/* 9C6DB4 802419D4 8FB10014 */ lw $s1, 0x14($sp)
/* 9C6DB8 802419D8 8FB00010 */ lw $s0, 0x10($sp)
/* 9C6DBC 802419DC 24020002 */ addiu $v0, $zero, 2
/* 9C6DC0 802419E0 03E00008 */ jr $ra
/* 9C6DC4 802419E4 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241B84_9C6F64
/* 9C6F64 80241B84 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 9C6F68 80241B88 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 9C6F6C 80241B8C 10A00002 */ beqz $a1, .L80241B98
/* 9C6F70 80241B90 2402003C */ addiu $v0, $zero, 0x3c
/* 9C6F74 80241B94 AC820070 */ sw $v0, 0x70($a0)
.L80241B98:
/* 9C6F78 80241B98 C4620080 */ lwc1 $f2, 0x80($v1)
/* 9C6F7C 80241B9C 3C0141F0 */ lui $at, 0x41f0
/* 9C6F80 80241BA0 44810000 */ mtc1 $at, $f0
/* 9C6F84 80241BA4 00000000 */ nop
/* 9C6F88 80241BA8 46001000 */ add.s $f0, $f2, $f0
/* 9C6F8C 80241BAC 3C0143B4 */ lui $at, 0x43b4
/* 9C6F90 80241BB0 44811000 */ mtc1 $at, $f2
/* 9C6F94 80241BB4 00000000 */ nop
/* 9C6F98 80241BB8 4600103E */ c.le.s $f2, $f0
/* 9C6F9C 80241BBC 00000000 */ nop
/* 9C6FA0 80241BC0 45000003 */ bc1f .L80241BD0
/* 9C6FA4 80241BC4 E4600080 */ swc1 $f0, 0x80($v1)
/* 9C6FA8 80241BC8 46020001 */ sub.s $f0, $f0, $f2
/* 9C6FAC 80241BCC E4600080 */ swc1 $f0, 0x80($v1)
.L80241BD0:
/* 9C6FB0 80241BD0 8C820070 */ lw $v0, 0x70($a0)
/* 9C6FB4 80241BD4 2442FFFF */ addiu $v0, $v0, -1
/* 9C6FB8 80241BD8 AC820070 */ sw $v0, 0x70($a0)
/* 9C6FBC 80241BDC 000217C3 */ sra $v0, $v0, 0x1f
/* 9C6FC0 80241BE0 03E00008 */ jr $ra
/* 9C6FC4 80241BE4 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024247C_9D949C
/* 9D949C 8024247C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 9D94A0 80242480 AFB10014 */ sw $s1, 0x14($sp)
/* 9D94A4 80242484 0080882D */ daddu $s1, $a0, $zero
/* 9D94A8 80242488 AFBF0018 */ sw $ra, 0x18($sp)
/* 9D94AC 8024248C AFB00010 */ sw $s0, 0x10($sp)
/* 9D94B0 80242490 8E30000C */ lw $s0, 0xc($s1)
/* 9D94B4 80242494 8E050000 */ lw $a1, ($s0)
/* 9D94B8 80242498 0C0B1EAF */ jal get_variable
/* 9D94BC 8024249C 26100004 */ addiu $s0, $s0, 4
/* 9D94C0 802424A0 0220202D */ daddu $a0, $s1, $zero
/* 9D94C4 802424A4 8E050000 */ lw $a1, ($s0)
/* 9D94C8 802424A8 0C0B210B */ jal get_float_variable
/* 9D94CC 802424AC 0040802D */ daddu $s0, $v0, $zero
/* 9D94D0 802424B0 24020002 */ addiu $v0, $zero, 2
/* 9D94D4 802424B4 00501804 */ sllv $v1, $s0, $v0
/* 9D94D8 802424B8 00701821 */ addu $v1, $v1, $s0
/* 9D94DC 802424BC 00431804 */ sllv $v1, $v1, $v0
/* 9D94E0 802424C0 00701823 */ subu $v1, $v1, $s0
/* 9D94E4 802424C4 000320C0 */ sll $a0, $v1, 3
/* 9D94E8 802424C8 00641821 */ addu $v1, $v1, $a0
/* 9D94EC 802424CC 000318C0 */ sll $v1, $v1, 3
/* 9D94F0 802424D0 3C01800B */ lui $at, 0x800b
/* 9D94F4 802424D4 00230821 */ addu $at, $at, $v1
/* 9D94F8 802424D8 E4201D98 */ swc1 $f0, 0x1d98($at)
/* 9D94FC 802424DC 8FBF0018 */ lw $ra, 0x18($sp)
/* 9D9500 802424E0 8FB10014 */ lw $s1, 0x14($sp)
/* 9D9504 802424E4 8FB00010 */ lw $s0, 0x10($sp)
/* 9D9508 802424E8 03E00008 */ jr $ra
/* 9D950C 802424EC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802424F0_9D9510
/* 9D9510 802424F0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 9D9514 802424F4 AFB10014 */ sw $s1, 0x14($sp)
/* 9D9518 802424F8 0080882D */ daddu $s1, $a0, $zero
/* 9D951C 802424FC AFBF0018 */ sw $ra, 0x18($sp)
/* 9D9520 80242500 AFB00010 */ sw $s0, 0x10($sp)
/* 9D9524 80242504 8E30000C */ lw $s0, 0xc($s1)
/* 9D9528 80242508 8E050000 */ lw $a1, ($s0)
/* 9D952C 8024250C 0C0B1EAF */ jal get_variable
/* 9D9530 80242510 26100004 */ addiu $s0, $s0, 4
/* 9D9534 80242514 00021880 */ sll $v1, $v0, 2
/* 9D9538 80242518 00621821 */ addu $v1, $v1, $v0
/* 9D953C 8024251C 00031880 */ sll $v1, $v1, 2
/* 9D9540 80242520 00621823 */ subu $v1, $v1, $v0
/* 9D9544 80242524 000310C0 */ sll $v0, $v1, 3
/* 9D9548 80242528 00621821 */ addu $v1, $v1, $v0
/* 9D954C 8024252C 000318C0 */ sll $v1, $v1, 3
/* 9D9550 80242530 3C01800B */ lui $at, 0x800b
/* 9D9554 80242534 00230821 */ addu $at, $at, $v1
/* 9D9558 80242538 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* 9D955C 8024253C 3C014480 */ lui $at, 0x4480
/* 9D9560 80242540 44810000 */ mtc1 $at, $f0
/* 9D9564 80242544 00000000 */ nop
/* 9D9568 80242548 46001082 */ mul.s $f2, $f2, $f0
/* 9D956C 8024254C 00000000 */ nop
/* 9D9570 80242550 3C01CD5B */ lui $at, 0xcd5b
/* 9D9574 80242554 34215858 */ ori $at, $at, 0x5858
/* 9D9578 80242558 44810000 */ mtc1 $at, $f0
/* 9D957C 8024255C 00000000 */ nop
/* 9D9580 80242560 46001080 */ add.s $f2, $f2, $f0
/* 9D9584 80242564 8E050000 */ lw $a1, ($s0)
/* 9D9588 80242568 4600110D */ trunc.w.s $f4, $f2
/* 9D958C 8024256C 44062000 */ mfc1 $a2, $f4
/* 9D9590 80242570 0C0B2026 */ jal set_variable
/* 9D9594 80242574 0220202D */ daddu $a0, $s1, $zero
/* 9D9598 80242578 8FBF0018 */ lw $ra, 0x18($sp)
/* 9D959C 8024257C 8FB10014 */ lw $s1, 0x14($sp)
/* 9D95A0 80242580 8FB00010 */ lw $s0, 0x10($sp)
/* 9D95A4 80242584 24020002 */ addiu $v0, $zero, 2
/* 9D95A8 80242588 03E00008 */ jr $ra
/* 9D95AC 8024258C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024272C_9D974C
/* 9D974C 8024272C 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* 9D9750 80242730 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* 9D9754 80242734 10A00002 */ beqz $a1, .L80242740
/* 9D9758 80242738 2402003C */ addiu $v0, $zero, 0x3c
/* 9D975C 8024273C AC820070 */ sw $v0, 0x70($a0)
.L80242740:
/* 9D9760 80242740 C4620080 */ lwc1 $f2, 0x80($v1)
/* 9D9764 80242744 3C0141F0 */ lui $at, 0x41f0
/* 9D9768 80242748 44810000 */ mtc1 $at, $f0
/* 9D976C 8024274C 00000000 */ nop
/* 9D9770 80242750 46001000 */ add.s $f0, $f2, $f0
/* 9D9774 80242754 3C0143B4 */ lui $at, 0x43b4
/* 9D9778 80242758 44811000 */ mtc1 $at, $f2
/* 9D977C 8024275C 00000000 */ nop
/* 9D9780 80242760 4600103E */ c.le.s $f2, $f0
/* 9D9784 80242764 00000000 */ nop
/* 9D9788 80242768 45000003 */ bc1f .L80242778
/* 9D978C 8024276C E4600080 */ swc1 $f0, 0x80($v1)
/* 9D9790 80242770 46020001 */ sub.s $f0, $f0, $f2
/* 9D9794 80242774 E4600080 */ swc1 $f0, 0x80($v1)
.L80242778:
/* 9D9798 80242778 8C820070 */ lw $v0, 0x70($a0)
/* 9D979C 8024277C 2442FFFF */ addiu $v0, $v0, -1
/* 9D97A0 80242780 AC820070 */ sw $v0, 0x70($a0)
/* 9D97A4 80242784 000217C3 */ sra $v0, $v0, 0x1f
/* 9D97A8 80242788 03E00008 */ jr $ra
/* 9D97AC 8024278C 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024126C_CF8DDC
/* CF8DDC 8024126C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* CF8DE0 80241270 AFB10014 */ sw $s1, 0x14($sp)
/* CF8DE4 80241274 0080882D */ daddu $s1, $a0, $zero
/* CF8DE8 80241278 AFBF0018 */ sw $ra, 0x18($sp)
/* CF8DEC 8024127C AFB00010 */ sw $s0, 0x10($sp)
/* CF8DF0 80241280 8E30000C */ lw $s0, 0xc($s1)
/* CF8DF4 80241284 8E050000 */ lw $a1, ($s0)
/* CF8DF8 80241288 0C0B1EAF */ jal get_variable
/* CF8DFC 8024128C 26100004 */ addiu $s0, $s0, 4
/* CF8E00 80241290 0220202D */ daddu $a0, $s1, $zero
/* CF8E04 80241294 8E050000 */ lw $a1, ($s0)
/* CF8E08 80241298 0C0B210B */ jal get_float_variable
/* CF8E0C 8024129C 0040802D */ daddu $s0, $v0, $zero
/* CF8E10 802412A0 24020002 */ addiu $v0, $zero, 2
/* CF8E14 802412A4 00501804 */ sllv $v1, $s0, $v0
/* CF8E18 802412A8 00701821 */ addu $v1, $v1, $s0
/* CF8E1C 802412AC 00431804 */ sllv $v1, $v1, $v0
/* CF8E20 802412B0 00701823 */ subu $v1, $v1, $s0
/* CF8E24 802412B4 000320C0 */ sll $a0, $v1, 3
/* CF8E28 802412B8 00641821 */ addu $v1, $v1, $a0
/* CF8E2C 802412BC 000318C0 */ sll $v1, $v1, 3
/* CF8E30 802412C0 3C01800B */ lui $at, 0x800b
/* CF8E34 802412C4 00230821 */ addu $at, $at, $v1
/* CF8E38 802412C8 E4201D98 */ swc1 $f0, 0x1d98($at)
/* CF8E3C 802412CC 8FBF0018 */ lw $ra, 0x18($sp)
/* CF8E40 802412D0 8FB10014 */ lw $s1, 0x14($sp)
/* CF8E44 802412D4 8FB00010 */ lw $s0, 0x10($sp)
/* CF8E48 802412D8 03E00008 */ jr $ra
/* CF8E4C 802412DC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802412E0_CF8E50
/* CF8E50 802412E0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* CF8E54 802412E4 AFB10014 */ sw $s1, 0x14($sp)
/* CF8E58 802412E8 0080882D */ daddu $s1, $a0, $zero
/* CF8E5C 802412EC AFBF0018 */ sw $ra, 0x18($sp)
/* CF8E60 802412F0 AFB00010 */ sw $s0, 0x10($sp)
/* CF8E64 802412F4 8E30000C */ lw $s0, 0xc($s1)
/* CF8E68 802412F8 8E050000 */ lw $a1, ($s0)
/* CF8E6C 802412FC 0C0B1EAF */ jal get_variable
/* CF8E70 80241300 26100004 */ addiu $s0, $s0, 4
/* CF8E74 80241304 00021880 */ sll $v1, $v0, 2
/* CF8E78 80241308 00621821 */ addu $v1, $v1, $v0
/* CF8E7C 8024130C 00031880 */ sll $v1, $v1, 2
/* CF8E80 80241310 00621823 */ subu $v1, $v1, $v0
/* CF8E84 80241314 000310C0 */ sll $v0, $v1, 3
/* CF8E88 80241318 00621821 */ addu $v1, $v1, $v0
/* CF8E8C 8024131C 000318C0 */ sll $v1, $v1, 3
/* CF8E90 80241320 3C01800B */ lui $at, 0x800b
/* CF8E94 80241324 00230821 */ addu $at, $at, $v1
/* CF8E98 80241328 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* CF8E9C 8024132C 3C014480 */ lui $at, 0x4480
/* CF8EA0 80241330 44810000 */ mtc1 $at, $f0
/* CF8EA4 80241334 00000000 */ nop
/* CF8EA8 80241338 46001082 */ mul.s $f2, $f2, $f0
/* CF8EAC 8024133C 00000000 */ nop
/* CF8EB0 80241340 3C01CD5B */ lui $at, 0xcd5b
/* CF8EB4 80241344 34215858 */ ori $at, $at, 0x5858
/* CF8EB8 80241348 44810000 */ mtc1 $at, $f0
/* CF8EBC 8024134C 00000000 */ nop
/* CF8EC0 80241350 46001080 */ add.s $f2, $f2, $f0
/* CF8EC4 80241354 8E050000 */ lw $a1, ($s0)
/* CF8EC8 80241358 4600110D */ trunc.w.s $f4, $f2
/* CF8ECC 8024135C 44062000 */ mfc1 $a2, $f4
/* CF8ED0 80241360 0C0B2026 */ jal set_variable
/* CF8ED4 80241364 0220202D */ daddu $a0, $s1, $zero
/* CF8ED8 80241368 8FBF0018 */ lw $ra, 0x18($sp)
/* CF8EDC 8024136C 8FB10014 */ lw $s1, 0x14($sp)
/* CF8EE0 80241370 8FB00010 */ lw $s0, 0x10($sp)
/* CF8EE4 80241374 24020002 */ addiu $v0, $zero, 2
/* CF8EE8 80241378 03E00008 */ jr $ra
/* CF8EEC 8024137C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024151C_CF908C
/* CF908C 8024151C 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* CF9090 80241520 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* CF9094 80241524 10A00002 */ beqz $a1, .L80241530
/* CF9098 80241528 2402003C */ addiu $v0, $zero, 0x3c
/* CF909C 8024152C AC820070 */ sw $v0, 0x70($a0)
.L80241530:
/* CF90A0 80241530 C4620080 */ lwc1 $f2, 0x80($v1)
/* CF90A4 80241534 3C0141F0 */ lui $at, 0x41f0
/* CF90A8 80241538 44810000 */ mtc1 $at, $f0
/* CF90AC 8024153C 00000000 */ nop
/* CF90B0 80241540 46001000 */ add.s $f0, $f2, $f0
/* CF90B4 80241544 3C0143B4 */ lui $at, 0x43b4
/* CF90B8 80241548 44811000 */ mtc1 $at, $f2
/* CF90BC 8024154C 00000000 */ nop
/* CF90C0 80241550 4600103E */ c.le.s $f2, $f0
/* CF90C4 80241554 00000000 */ nop
/* CF90C8 80241558 45000003 */ bc1f .L80241568
/* CF90CC 8024155C E4600080 */ swc1 $f0, 0x80($v1)
/* CF90D0 80241560 46020001 */ sub.s $f0, $f0, $f2
/* CF90D4 80241564 E4600080 */ swc1 $f0, 0x80($v1)
.L80241568:
/* CF90D8 80241568 8C820070 */ lw $v0, 0x70($a0)
/* CF90DC 8024156C 2442FFFF */ addiu $v0, $v0, -1
/* CF90E0 80241570 AC820070 */ sw $v0, 0x70($a0)
/* CF90E4 80241574 000217C3 */ sra $v0, $v0, 0x1f
/* CF90E8 80241578 03E00008 */ jr $ra
/* CF90EC 8024157C 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241698_D06DC8
/* D06DC8 80241698 27BDFFE0 */ addiu $sp, $sp, -0x20
/* D06DCC 8024169C AFB10014 */ sw $s1, 0x14($sp)
/* D06DD0 802416A0 0080882D */ daddu $s1, $a0, $zero
/* D06DD4 802416A4 AFBF0018 */ sw $ra, 0x18($sp)
/* D06DD8 802416A8 AFB00010 */ sw $s0, 0x10($sp)
/* D06DDC 802416AC 8E30000C */ lw $s0, 0xc($s1)
/* D06DE0 802416B0 8E050000 */ lw $a1, ($s0)
/* D06DE4 802416B4 0C0B1EAF */ jal get_variable
/* D06DE8 802416B8 26100004 */ addiu $s0, $s0, 4
/* D06DEC 802416BC 0220202D */ daddu $a0, $s1, $zero
/* D06DF0 802416C0 8E050000 */ lw $a1, ($s0)
/* D06DF4 802416C4 0C0B210B */ jal get_float_variable
/* D06DF8 802416C8 0040802D */ daddu $s0, $v0, $zero
/* D06DFC 802416CC 24020002 */ addiu $v0, $zero, 2
/* D06E00 802416D0 00501804 */ sllv $v1, $s0, $v0
/* D06E04 802416D4 00701821 */ addu $v1, $v1, $s0
/* D06E08 802416D8 00431804 */ sllv $v1, $v1, $v0
/* D06E0C 802416DC 00701823 */ subu $v1, $v1, $s0
/* D06E10 802416E0 000320C0 */ sll $a0, $v1, 3
/* D06E14 802416E4 00641821 */ addu $v1, $v1, $a0
/* D06E18 802416E8 000318C0 */ sll $v1, $v1, 3
/* D06E1C 802416EC 3C01800B */ lui $at, 0x800b
/* D06E20 802416F0 00230821 */ addu $at, $at, $v1
/* D06E24 802416F4 E4201D98 */ swc1 $f0, 0x1d98($at)
/* D06E28 802416F8 8FBF0018 */ lw $ra, 0x18($sp)
/* D06E2C 802416FC 8FB10014 */ lw $s1, 0x14($sp)
/* D06E30 80241700 8FB00010 */ lw $s0, 0x10($sp)
/* D06E34 80241704 03E00008 */ jr $ra
/* D06E38 80241708 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024170C_D06E3C
/* D06E3C 8024170C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* D06E40 80241710 AFB10014 */ sw $s1, 0x14($sp)
/* D06E44 80241714 0080882D */ daddu $s1, $a0, $zero
/* D06E48 80241718 AFBF0018 */ sw $ra, 0x18($sp)
/* D06E4C 8024171C AFB00010 */ sw $s0, 0x10($sp)
/* D06E50 80241720 8E30000C */ lw $s0, 0xc($s1)
/* D06E54 80241724 8E050000 */ lw $a1, ($s0)
/* D06E58 80241728 0C0B1EAF */ jal get_variable
/* D06E5C 8024172C 26100004 */ addiu $s0, $s0, 4
/* D06E60 80241730 00021880 */ sll $v1, $v0, 2
/* D06E64 80241734 00621821 */ addu $v1, $v1, $v0
/* D06E68 80241738 00031880 */ sll $v1, $v1, 2
/* D06E6C 8024173C 00621823 */ subu $v1, $v1, $v0
/* D06E70 80241740 000310C0 */ sll $v0, $v1, 3
/* D06E74 80241744 00621821 */ addu $v1, $v1, $v0
/* D06E78 80241748 000318C0 */ sll $v1, $v1, 3
/* D06E7C 8024174C 3C01800B */ lui $at, 0x800b
/* D06E80 80241750 00230821 */ addu $at, $at, $v1
/* D06E84 80241754 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* D06E88 80241758 3C014480 */ lui $at, 0x4480
/* D06E8C 8024175C 44810000 */ mtc1 $at, $f0
/* D06E90 80241760 00000000 */ nop
/* D06E94 80241764 46001082 */ mul.s $f2, $f2, $f0
/* D06E98 80241768 00000000 */ nop
/* D06E9C 8024176C 3C01CD5B */ lui $at, 0xcd5b
/* D06EA0 80241770 34215858 */ ori $at, $at, 0x5858
/* D06EA4 80241774 44810000 */ mtc1 $at, $f0
/* D06EA8 80241778 00000000 */ nop
/* D06EAC 8024177C 46001080 */ add.s $f2, $f2, $f0
/* D06EB0 80241780 8E050000 */ lw $a1, ($s0)
/* D06EB4 80241784 4600110D */ trunc.w.s $f4, $f2
/* D06EB8 80241788 44062000 */ mfc1 $a2, $f4
/* D06EBC 8024178C 0C0B2026 */ jal set_variable
/* D06EC0 80241790 0220202D */ daddu $a0, $s1, $zero
/* D06EC4 80241794 8FBF0018 */ lw $ra, 0x18($sp)
/* D06EC8 80241798 8FB10014 */ lw $s1, 0x14($sp)
/* D06ECC 8024179C 8FB00010 */ lw $s0, 0x10($sp)
/* D06ED0 802417A0 24020002 */ addiu $v0, $zero, 2
/* D06ED4 802417A4 03E00008 */ jr $ra
/* D06ED8 802417A8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241948_D07078
/* D07078 80241948 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* D0707C 8024194C 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* D07080 80241950 10A00002 */ beqz $a1, .L8024195C
/* D07084 80241954 2402003C */ addiu $v0, $zero, 0x3c
/* D07088 80241958 AC820070 */ sw $v0, 0x70($a0)
.L8024195C:
/* D0708C 8024195C C4620080 */ lwc1 $f2, 0x80($v1)
/* D07090 80241960 3C0141F0 */ lui $at, 0x41f0
/* D07094 80241964 44810000 */ mtc1 $at, $f0
/* D07098 80241968 00000000 */ nop
/* D0709C 8024196C 46001000 */ add.s $f0, $f2, $f0
/* D070A0 80241970 3C0143B4 */ lui $at, 0x43b4
/* D070A4 80241974 44811000 */ mtc1 $at, $f2
/* D070A8 80241978 00000000 */ nop
/* D070AC 8024197C 4600103E */ c.le.s $f2, $f0
/* D070B0 80241980 00000000 */ nop
/* D070B4 80241984 45000003 */ bc1f .L80241994
/* D070B8 80241988 E4600080 */ swc1 $f0, 0x80($v1)
/* D070BC 8024198C 46020001 */ sub.s $f0, $f0, $f2
/* D070C0 80241990 E4600080 */ swc1 $f0, 0x80($v1)
.L80241994:
/* D070C4 80241994 8C820070 */ lw $v0, 0x70($a0)
/* D070C8 80241998 2442FFFF */ addiu $v0, $v0, -1
/* D070CC 8024199C AC820070 */ sw $v0, 0x70($a0)
/* D070D0 802419A0 000217C3 */ sra $v0, $v0, 0x1f
/* D070D4 802419A4 03E00008 */ jr $ra
/* D070D8 802419A8 30420002 */ andi $v0, $v0, 2

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024133C_D3B90C
/* D3B90C 8024133C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* D3B910 80241340 AFB10014 */ sw $s1, 0x14($sp)
/* D3B914 80241344 0080882D */ daddu $s1, $a0, $zero
/* D3B918 80241348 AFBF0018 */ sw $ra, 0x18($sp)
/* D3B91C 8024134C AFB00010 */ sw $s0, 0x10($sp)
/* D3B920 80241350 8E30000C */ lw $s0, 0xc($s1)
/* D3B924 80241354 8E050000 */ lw $a1, ($s0)
/* D3B928 80241358 0C0B1EAF */ jal get_variable
/* D3B92C 8024135C 26100004 */ addiu $s0, $s0, 4
/* D3B930 80241360 0220202D */ daddu $a0, $s1, $zero
/* D3B934 80241364 8E050000 */ lw $a1, ($s0)
/* D3B938 80241368 0C0B210B */ jal get_float_variable
/* D3B93C 8024136C 0040802D */ daddu $s0, $v0, $zero
/* D3B940 80241370 24020002 */ addiu $v0, $zero, 2
/* D3B944 80241374 00501804 */ sllv $v1, $s0, $v0
/* D3B948 80241378 00701821 */ addu $v1, $v1, $s0
/* D3B94C 8024137C 00431804 */ sllv $v1, $v1, $v0
/* D3B950 80241380 00701823 */ subu $v1, $v1, $s0
/* D3B954 80241384 000320C0 */ sll $a0, $v1, 3
/* D3B958 80241388 00641821 */ addu $v1, $v1, $a0
/* D3B95C 8024138C 000318C0 */ sll $v1, $v1, 3
/* D3B960 80241390 3C01800B */ lui $at, 0x800b
/* D3B964 80241394 00230821 */ addu $at, $at, $v1
/* D3B968 80241398 E4201D98 */ swc1 $f0, 0x1d98($at)
/* D3B96C 8024139C 8FBF0018 */ lw $ra, 0x18($sp)
/* D3B970 802413A0 8FB10014 */ lw $s1, 0x14($sp)
/* D3B974 802413A4 8FB00010 */ lw $s0, 0x10($sp)
/* D3B978 802413A8 03E00008 */ jr $ra
/* D3B97C 802413AC 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,44 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802413B0_D3B980
/* D3B980 802413B0 27BDFFE0 */ addiu $sp, $sp, -0x20
/* D3B984 802413B4 AFB10014 */ sw $s1, 0x14($sp)
/* D3B988 802413B8 0080882D */ daddu $s1, $a0, $zero
/* D3B98C 802413BC AFBF0018 */ sw $ra, 0x18($sp)
/* D3B990 802413C0 AFB00010 */ sw $s0, 0x10($sp)
/* D3B994 802413C4 8E30000C */ lw $s0, 0xc($s1)
/* D3B998 802413C8 8E050000 */ lw $a1, ($s0)
/* D3B99C 802413CC 0C0B1EAF */ jal get_variable
/* D3B9A0 802413D0 26100004 */ addiu $s0, $s0, 4
/* D3B9A4 802413D4 00021880 */ sll $v1, $v0, 2
/* D3B9A8 802413D8 00621821 */ addu $v1, $v1, $v0
/* D3B9AC 802413DC 00031880 */ sll $v1, $v1, 2
/* D3B9B0 802413E0 00621823 */ subu $v1, $v1, $v0
/* D3B9B4 802413E4 000310C0 */ sll $v0, $v1, 3
/* D3B9B8 802413E8 00621821 */ addu $v1, $v1, $v0
/* D3B9BC 802413EC 000318C0 */ sll $v1, $v1, 3
/* D3B9C0 802413F0 3C01800B */ lui $at, 0x800b
/* D3B9C4 802413F4 00230821 */ addu $at, $at, $v1
/* D3B9C8 802413F8 C4221D98 */ lwc1 $f2, 0x1d98($at)
/* D3B9CC 802413FC 3C014480 */ lui $at, 0x4480
/* D3B9D0 80241400 44810000 */ mtc1 $at, $f0
/* D3B9D4 80241404 00000000 */ nop
/* D3B9D8 80241408 46001082 */ mul.s $f2, $f2, $f0
/* D3B9DC 8024140C 00000000 */ nop
/* D3B9E0 80241410 3C01CD5B */ lui $at, 0xcd5b
/* D3B9E4 80241414 34215858 */ ori $at, $at, 0x5858
/* D3B9E8 80241418 44810000 */ mtc1 $at, $f0
/* D3B9EC 8024141C 00000000 */ nop
/* D3B9F0 80241420 46001080 */ add.s $f2, $f2, $f0
/* D3B9F4 80241424 8E050000 */ lw $a1, ($s0)
/* D3B9F8 80241428 4600110D */ trunc.w.s $f4, $f2
/* D3B9FC 8024142C 44062000 */ mfc1 $a2, $f4
/* D3BA00 80241430 0C0B2026 */ jal set_variable
/* D3BA04 80241434 0220202D */ daddu $a0, $s1, $zero
/* D3BA08 80241438 8FBF0018 */ lw $ra, 0x18($sp)
/* D3BA0C 8024143C 8FB10014 */ lw $s1, 0x14($sp)
/* D3BA10 80241440 8FB00010 */ lw $s0, 0x10($sp)
/* D3BA14 80241444 24020002 */ addiu $v0, $zero, 2
/* D3BA18 80241448 03E00008 */ jr $ra
/* D3BA1C 8024144C 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,31 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802415EC_D3BBBC
/* D3BBBC 802415EC 3C038011 */ lui $v1, %hi(gPlayerStatus)
/* D3BBC0 802415F0 2463EFC8 */ addiu $v1, $v1, %lo(gPlayerStatus)
/* D3BBC4 802415F4 10A00002 */ beqz $a1, .L80241600
/* D3BBC8 802415F8 2402003C */ addiu $v0, $zero, 0x3c
/* D3BBCC 802415FC AC820070 */ sw $v0, 0x70($a0)
.L80241600:
/* D3BBD0 80241600 C4620080 */ lwc1 $f2, 0x80($v1)
/* D3BBD4 80241604 3C0141F0 */ lui $at, 0x41f0
/* D3BBD8 80241608 44810000 */ mtc1 $at, $f0
/* D3BBDC 8024160C 00000000 */ nop
/* D3BBE0 80241610 46001000 */ add.s $f0, $f2, $f0
/* D3BBE4 80241614 3C0143B4 */ lui $at, 0x43b4
/* D3BBE8 80241618 44811000 */ mtc1 $at, $f2
/* D3BBEC 8024161C 00000000 */ nop
/* D3BBF0 80241620 4600103E */ c.le.s $f2, $f0
/* D3BBF4 80241624 00000000 */ nop
/* D3BBF8 80241628 45000003 */ bc1f .L80241638
/* D3BBFC 8024162C E4600080 */ swc1 $f0, 0x80($v1)
/* D3BC00 80241630 46020001 */ sub.s $f0, $f0, $f2
/* D3BC04 80241634 E4600080 */ swc1 $f0, 0x80($v1)
.L80241638:
/* D3BC08 80241638 8C820070 */ lw $v0, 0x70($a0)
/* D3BC0C 8024163C 2442FFFF */ addiu $v0, $v0, -1
/* D3BC10 80241640 AC820070 */ sw $v0, 0x70($a0)
/* D3BC14 80241644 000217C3 */ sra $v0, $v0, 0x1f
/* D3BC18 80241648 03E00008 */ jr $ra
/* D3BC1C 8024164C 30420002 */ andi $v0, $v0, 2

View File

@ -16,7 +16,7 @@ typedef s32 ScriptID;
#define SI_SAVE_VAR(v) (v - 170000000)
#define SI_ARRAY(v) (v - 190000000)
#define SI_ARRAY_FLAG(v) (v - 210000000)
#define SI_FIXED(v) ((s32)(v * 1024.0f) - 230000000) // See float_to_fixed_var
#define SI_FIXED(v) ((v * 1024.0f) + -230000000) // See float_to_fixed_var
/* Return type of si_execute_next_command */
#define SI_CONTINUE 0 /* Continue to next command */

View File

@ -60,13 +60,13 @@ INCLUDE_ASM(s32, "world/area_dro/dro_01/95B7E0", func_80241F94_95D194);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_dro/dro_01/95B7E0", func_80241FDC_95D1DC);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_dro/dro_01/95B7E0", func_80242050_95D250);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_dro/dro_01/95B7E0", func_8024228C_95D48C);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -36,13 +36,13 @@ INCLUDE_ASM(s32, "world/area_dro/dro_02/9694C0", func_80240E24_969FE4);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_dro/dro_02/9694C0", func_80240E6C_96A02C);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_dro/dro_02/9694C0", func_80240EE0_96A0A0);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_dro/dro_02/9694C0", func_8024111C_96A2DC);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -78,13 +78,13 @@ INCLUDE_ASM(s32, "world/area_hos/hos_03/A1BDB0", func_80242FC8_A1E0C8);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_hos/hos_03/A1BDB0", func_80243010_A1E110);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_hos/hos_03/A1BDB0", func_80243084_A1E184);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_hos/hos_03/A1BDB0", func_802432C0_A1E3C0);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -1,6 +1,6 @@
#include "hos_04.h"
INCLUDE_ASM(s32, "world/area_hos/hos_04/A274B0", func_802405E0_A274B0);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_hos/hos_04/A274B0", func_80240654_A27524);

View File

@ -70,13 +70,13 @@ INCLUDE_ASM(s32, "world/area_jan/jan_02/B2C8A0", func_80242138_B2E5A8);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_jan/jan_02/B2C8A0", func_80242180_B2E5F0);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_jan/jan_02/B2C8A0", func_802421F4_B2E664);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_jan/jan_02/B2C8A0", func_80242430_B2E8A0);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -110,13 +110,13 @@ INCLUDE_ASM(s32, "world/area_jan/jan_03/B34BD0", func_802426C0_B37290);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_jan/jan_03/B34BD0", func_80242708_B372D8);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_jan/jan_03/B34BD0", func_8024277C_B3734C);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_jan/jan_03/B34BD0", func_802429B8_B37588);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -52,13 +52,13 @@ INCLUDE_ASM(s32, "world/area_kmr/kmr_02/8B0070", func_80240EB4_8B0F24);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_kmr/kmr_02/8B0070", func_80240EFC_8B0F6C);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_kmr/kmr_02/8B0070", func_80240F70_8B0FE0);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_kmr/kmr_02/8B0070", func_802411AC_8B121C);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -36,13 +36,13 @@ INCLUDE_ASM(s32, "world/area_mac/mac_00/7EB340", func_80241154_7EBE64);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_00/7EB340", func_8024119C_7EBEAC);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_00/7EB340", func_80241210_7EBF20);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_00/7EB340", func_8024144C_7EC15C);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -62,13 +62,13 @@ INCLUDE_ASM(s32, "world/area_mac/mac_01/8017D0", func_80242A34_8032B4);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_01/8017D0", func_80242A7C_8032FC);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_01/8017D0", func_80242AF0_803370);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_01/8017D0", func_80242D2C_8035AC);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -60,13 +60,13 @@ INCLUDE_ASM(s32, "world/area_mac/mac_02/823BF0", func_802422E4_8255A4);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_02/823BF0", func_8024232C_8255EC);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_02/823BF0", func_802423A0_825660);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_02/823BF0", func_802425DC_82589C);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -38,13 +38,13 @@ INCLUDE_ASM(s32, "world/area_mac/mac_03/831B20", func_80240FD4_8327D4);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_03/831B20", func_8024101C_83281C);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_03/831B20", func_80241090_832890);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_03/831B20", func_802412CC_832ACC);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -36,13 +36,13 @@ INCLUDE_ASM(s32, "world/area_mac/mac_04/843030", func_80240F84_843B54);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_04/843030", func_80240FCC_843B9C);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_04/843030", func_80241040_843C10);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_04/843030", func_8024127C_843E4C);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -68,13 +68,13 @@ INCLUDE_ASM(s32, "world/area_mac/mac_05/852170", func_80241E44_853FB4);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_05/852170", func_80241E8C_853FFC);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_05/852170", func_80241F00_854070);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_mac/mac_05/852170", func_8024213C_8542AC);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -76,13 +76,13 @@ INCLUDE_ASM(s32, "world/area_nok/nok_01/9C53E0", func_8024188C_9C6C6C);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_nok/nok_01/9C53E0", func_802418D4_9C6CB4);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_nok/nok_01/9C53E0", func_80241948_9C6D28);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_nok/nok_01/9C53E0", func_80241B84_9C6F64);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -60,13 +60,13 @@ INCLUDE_ASM(s32, "world/area_nok/nok_02/9D7AA0", func_80242434_9D9454);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_nok/nok_02/9D7AA0", func_8024247C_9D949C);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_nok/nok_02/9D7AA0", func_802424F0_9D9510);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_nok/nok_02/9D7AA0", func_8024272C_9D974C);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -48,13 +48,13 @@ INCLUDE_ASM(s32, "world/area_sam/sam_01/CF7E80", func_80241224_CF8D94);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_01/CF7E80", func_8024126C_CF8DDC);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_01/CF7E80", func_802412E0_CF8E50);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_01/CF7E80", func_8024151C_CF908C);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -56,13 +56,13 @@ INCLUDE_ASM(s32, "world/area_sam/sam_02/D05F60", func_80241650_D06D80);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_02/D05F60", func_80241698_D06DC8);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_02/D05F60", func_8024170C_D06E3C);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_02/D05F60", func_80241948_D07078);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -36,13 +36,13 @@ INCLUDE_ASM(s32, "world/area_sam/sam_11/D3ADA0", func_802412F4_D3B8C4);
#include "world/common/GetGameStatus75.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_11/D3ADA0", func_8024133C_D3B90C);
#include "world/common/SetCamVfov.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_11/D3ADA0", func_802413B0_D3B980);
#include "world/common/GetCamVfov.inc.c"
#include "world/common/UnkCameraFunc.inc.c"
INCLUDE_ASM(s32, "world/area_sam/sam_11/D3ADA0", func_802415EC_D3BBBC);
#include "world/common/UnkRotatePlayer.inc.c"
#include "world/common/UnkPartnerFuncs.inc.c"

View File

@ -0,0 +1,10 @@
#include "common.h"
#include "map.h"
static ApiStatus GetCamVfov(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 cameraID = get_variable(script, *args++);
set_variable(script, *args++, SI_FIXED(gCameras[cameraID].vfov));
return ApiStatus_DONE2;
}

View File

@ -0,0 +1,10 @@
#include "common.h"
#include "map.h"
static ApiStatus SetCamVfov(ScriptInstance* script, s32 isInitialCall) {
Bytecode* args = script->ptrReadPos;
s32 cameraID = get_variable(script, *args++);
gCameras[cameraID].vfov = get_float_variable(script, *args++);
return ApiStatus_DONE2;
}

View File

@ -17,7 +17,6 @@ static ApiStatus UnkRotatePartner(ScriptInstance* script, s32 isInitialCall) {
return (script->functionTemp[0].s >> 0x1F) & ApiStatus_DONE2;
}
static ApiStatus UnkMovePartner(ScriptInstance* script, s32 isInitialCall) {
Npc* npc = get_npc_unsafe(NpcId_PARTNER);

View File

@ -0,0 +1,18 @@
#include "common.h"
static ApiStatus UnkRotatePlayer(ScriptInstance* script, s32 isInitialCall) {
PlayerStatus* playerStatus = PLAYER_STATUS;
if (isInitialCall) {
script->functionTemp[0].s = 60;
}
playerStatus->targetYaw += 30.0f;
if (playerStatus->targetYaw >= 360.0f) {
playerStatus->targetYaw -= 360.0f;
}
script->functionTemp[0].s--;
return (script->functionTemp[0].s >> 0x1F) & ApiStatus_DONE2;
}