mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
27 lines
1.3 KiB
ArmAsm
27 lines
1.3 KiB
ArmAsm
|
.set noat # allow manual use of $at
|
||
|
.set noreorder # don't insert nops after branches
|
||
|
|
||
|
glabel func_802A1050_763590
|
||
|
/* 763590 802A1050 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||
|
/* 763594 802A1054 AFB00010 */ sw $s0, 0x10($sp)
|
||
|
/* 763598 802A1058 0080802D */ daddu $s0, $a0, $zero
|
||
|
/* 76359C 802A105C 24040016 */ addiu $a0, $zero, 0x16
|
||
|
/* 7635A0 802A1060 AFBF0014 */ sw $ra, 0x14($sp)
|
||
|
/* 7635A4 802A1064 0C03A752 */ jal is_ability_active
|
||
|
/* 7635A8 802A1068 AE000084 */ sw $zero, 0x84($s0)
|
||
|
/* 7635AC 802A106C 10400002 */ beqz $v0, .L802A1078
|
||
|
/* 7635B0 802A1070 24020001 */ addiu $v0, $zero, 1
|
||
|
/* 7635B4 802A1074 AE020084 */ sw $v0, 0x84($s0)
|
||
|
.L802A1078:
|
||
|
/* 7635B8 802A1078 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||
|
/* 7635BC 802A107C 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0)
|
||
|
/* 7635C0 802A1080 30421000 */ andi $v0, $v0, 0x1000
|
||
|
/* 7635C4 802A1084 10400002 */ beqz $v0, .L802A1090
|
||
|
/* 7635C8 802A1088 24020001 */ addiu $v0, $zero, 1
|
||
|
/* 7635CC 802A108C AE020084 */ sw $v0, 0x84($s0)
|
||
|
.L802A1090:
|
||
|
/* 7635D0 802A1090 8FBF0014 */ lw $ra, 0x14($sp)
|
||
|
/* 7635D4 802A1094 8FB00010 */ lw $s0, 0x10($sp)
|
||
|
/* 7635D8 802A1098 24020002 */ addiu $v0, $zero, 2
|
||
|
/* 7635DC 802A109C 03E00008 */ jr $ra
|