.set noat # allow manual use of $at .set noreorder # don't insert nops after branches glabel func_802A1494_799C44 /* 799C44 802A1494 27BDFFE8 */ addiu $sp, $sp, -0x18 /* 799C48 802A1498 AFBF0010 */ sw $ra, 0x10($sp) /* 799C4C 802A149C 8C82000C */ lw $v0, 0xc($a0) /* 799C50 802A14A0 0C0B1EAF */ jal get_variable /* 799C54 802A14A4 8C450000 */ lw $a1, ($v0) /* 799C58 802A14A8 3C058011 */ lui $a1, %hi(gPlayerData+0x12) /* 799C5C 802A14AC 80A5F2A2 */ lb $a1, %lo(gPlayerData+0x12)($a1) /* 799C60 802A14B0 24040100 */ addiu $a0, $zero, 0x100 /* 799C64 802A14B4 00051880 */ sll $v1, $a1, 2 /* 799C68 802A14B8 00651821 */ addu $v1, $v1, $a1 /* 799C6C 802A14BC 00621821 */ addu $v1, $v1, $v0 /* 799C70 802A14C0 00031880 */ sll $v1, $v1, 2 /* 799C74 802A14C4 3C06802A */ lui $a2, %hi(D_8029C890) /* 799C78 802A14C8 00C33021 */ addu $a2, $a2, $v1 /* 799C7C 802A14CC 8CC6C890 */ lw $a2, %lo(D_8029C890)($a2) /* 799C80 802A14D0 0C098F3F */ jal set_animation /* 799C84 802A14D4 0000282D */ daddu $a1, $zero, $zero /* 799C88 802A14D8 8FBF0010 */ lw $ra, 0x10($sp) /* 799C8C 802A14DC 24020002 */ addiu $v0, $zero, 2 /* 799C90 802A14E0 03E00008 */ jr $ra /* 799C94 802A14E4 27BD0018 */ addiu $sp, $sp, 0x18