papermario/asm/nonmatchings/code_75C980/func_802A10E4_75CA64.s

15 lines
668 B
ArmAsm
Raw Normal View History

2021-01-10 15:36:33 +01:00
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10E4_75CA64
/* 75CA64 802A10E4 AC800084 */ sw $zero, 0x84($a0)
/* 75CA68 802A10E8 3C02800E */ lui $v0, %hi(gBattleStatus+0x97)
/* 75CA6C 802A10EC 8042C107 */ lb $v0, %lo(gBattleStatus+0x97)($v0)
/* 75CA70 802A10F0 28420063 */ slti $v0, $v0, 0x63
/* 75CA74 802A10F4 14400002 */ bnez $v0, .L802A1100
/* 75CA78 802A10F8 24020001 */ addiu $v0, $zero, 1
/* 75CA7C 802A10FC AC820084 */ sw $v0, 0x84($a0)
.L802A1100:
/* 75CA80 802A1100 03E00008 */ jr $ra
/* 75CA84 802A1104 24020002 */ addiu $v0, $zero, 2