2020-09-24 05:16:13 +02:00
|
|
|
.set noat # allow manual use of $at
|
2020-08-04 08:49:11 +02:00
|
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
|
|
|
|
glabel func_800E6860
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 7FD10 800E6860 27BDFFD0 */ addiu $sp, $sp, -0x30
|
2020-09-28 03:13:56 +02:00
|
|
|
/* 7FD14 800E6864 3C038011 */ lui $v1, %hi(D_8010EBB0)
|
|
|
|
/* 7FD18 800E6868 2463EBB0 */ addiu $v1, $v1, %lo(D_8010EBB0)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 7FD1C 800E686C AFBF0028 */ sw $ra, 0x28($sp)
|
|
|
|
/* 7FD20 800E6870 AFB10024 */ sw $s1, 0x24($sp)
|
|
|
|
/* 7FD24 800E6874 AFB00020 */ sw $s0, 0x20($sp)
|
|
|
|
/* 7FD28 800E6878 80620000 */ lb $v0, ($v1)
|
2020-09-28 03:13:56 +02:00
|
|
|
/* 7FD2C 800E687C 3C118011 */ lui $s1, %hi(gPlayerStatus)
|
|
|
|
/* 7FD30 800E6880 2631EFC8 */ addiu $s1, $s1, %lo(gPlayerStatus)
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 7FD34 800E6884 1040001A */ beqz $v0, .L800E68F0
|
|
|
|
/* 7FD38 800E6888 24020009 */ addiu $v0, $zero, 9
|
|
|
|
/* 7FD3C 800E688C 80630003 */ lb $v1, 3($v1)
|
|
|
|
/* 7FD40 800E6890 14620017 */ bne $v1, $v0, .L800E68F0
|
|
|
|
/* 7FD44 800E6894 00000000 */ nop
|
|
|
|
/* 7FD48 800E6898 0C00EABB */ jal get_npc_unsafe
|
|
|
|
/* 7FD4C 800E689C 2404FFFC */ addiu $a0, $zero, -4
|
|
|
|
/* 7FD50 800E68A0 0000202D */ daddu $a0, $zero, $zero
|
|
|
|
/* 7FD54 800E68A4 2405FFFF */ addiu $a1, $zero, -1
|
|
|
|
/* 7FD58 800E68A8 24060007 */ addiu $a2, $zero, 7
|
|
|
|
/* 7FD5C 800E68AC 0080382D */ daddu $a3, $a0, $zero
|
|
|
|
/* 7FD60 800E68B0 9223000E */ lbu $v1, 0xe($s1)
|
|
|
|
/* 7FD64 800E68B4 0040802D */ daddu $s0, $v0, $zero
|
|
|
|
/* 7FD68 800E68B8 AFA00010 */ sw $zero, 0x10($sp)
|
|
|
|
/* 7FD6C 800E68BC AFA00014 */ sw $zero, 0x14($sp)
|
|
|
|
/* 7FD70 800E68C0 AFA0001C */ sw $zero, 0x1c($sp)
|
|
|
|
/* 7FD74 800E68C4 0C0B77B9 */ jal func_802DDEE4
|
|
|
|
/* 7FD78 800E68C8 AFA30018 */ sw $v1, 0x18($sp)
|
|
|
|
/* 7FD7C 800E68CC 0200202D */ daddu $a0, $s0, $zero
|
|
|
|
/* 7FD80 800E68D0 24050007 */ addiu $a1, $zero, 7
|
|
|
|
/* 7FD84 800E68D4 9226000E */ lbu $a2, 0xe($s1)
|
|
|
|
/* 7FD88 800E68D8 0000382D */ daddu $a3, $zero, $zero
|
|
|
|
/* 7FD8C 800E68DC AFA00010 */ sw $zero, 0x10($sp)
|
|
|
|
/* 7FD90 800E68E0 AFA00014 */ sw $zero, 0x14($sp)
|
|
|
|
/* 7FD94 800E68E4 0C00F589 */ jal func_8003D624
|
|
|
|
/* 7FD98 800E68E8 AFA00018 */ sw $zero, 0x18($sp)
|
|
|
|
/* 7FD9C 800E68EC A220000F */ sb $zero, 0xf($s1)
|
2020-08-04 08:49:11 +02:00
|
|
|
.L800E68F0:
|
2020-09-24 05:16:13 +02:00
|
|
|
/* 7FDA0 800E68F0 8FBF0028 */ lw $ra, 0x28($sp)
|
|
|
|
/* 7FDA4 800E68F4 8FB10024 */ lw $s1, 0x24($sp)
|
|
|
|
/* 7FDA8 800E68F8 8FB00020 */ lw $s0, 0x20($sp)
|
|
|
|
/* 7FDAC 800E68FC 03E00008 */ jr $ra
|
|
|
|
/* 7FDB0 800E6900 27BD0030 */ addiu $sp, $sp, 0x30
|