papermario/asm/nonmatchings/code_74F130/func_802A10A4_74F1D4.s
Ethan Roseman 39c2c200e3 🐱
2021-01-10 23:36:33 +09:00

15 lines
668 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802A10A4_74F1D4
/* 74F1D4 802A10A4 AC800084 */ sw $zero, 0x84($a0)
/* 74F1D8 802A10A8 3C02800E */ lui $v0, %hi(gBattleStatus+0x96)
/* 74F1DC 802A10AC 8042C106 */ lb $v0, %lo(gBattleStatus+0x96)($v0)
/* 74F1E0 802A10B0 28420063 */ slti $v0, $v0, 0x63
/* 74F1E4 802A10B4 14400002 */ bnez $v0, .L802A10C0
/* 74F1E8 802A10B8 24020001 */ addiu $v0, $zero, 1
/* 74F1EC 802A10BC AC820084 */ sw $v0, 0x84($a0)
.L802A10C0:
/* 74F1F0 802A10C0 03E00008 */ jr $ra
/* 74F1F4 802A10C4 24020002 */ addiu $v0, $zero, 2