mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 17:02:46 +01:00
36 lines
1.8 KiB
ArmAsm
36 lines
1.8 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80260A60
|
|
/* 18F340 80260A60 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 18F344 80260A64 3C02800E */ lui $v0, %hi(gBattleStatus)
|
|
/* 18F348 80260A68 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
|
/* 18F34C 80260A6C 0040202D */ daddu $a0, $v0, $zero
|
|
/* 18F350 80260A70 AFBF0010 */ sw $ra, 0x10($sp)
|
|
/* 18F354 80260A74 8C820004 */ lw $v0, 4($a0)
|
|
/* 18F358 80260A78 8C8300D8 */ lw $v1, 0xd8($a0)
|
|
/* 18F35C 80260A7C 30420040 */ andi $v0, $v0, 0x40
|
|
/* 18F360 80260A80 8C6301F4 */ lw $v1, 0x1f4($v1)
|
|
/* 18F364 80260A84 1040000A */ beqz $v0, .L80260AB0
|
|
/* 18F368 80260A88 3C06000A */ lui $a2, 0xa
|
|
/* 18F36C 80260A8C 3C028028 */ lui $v0, %hi(D_8028340C)
|
|
/* 18F370 80260A90 2442340C */ addiu $v0, $v0, %lo(D_8028340C)
|
|
/* 18F374 80260A94 AC620094 */ sw $v0, 0x94($v1)
|
|
/* 18F378 80260A98 34C60002 */ ori $a2, $a2, 2
|
|
/* 18F37C 80260A9C 0000202D */ daddu $a0, $zero, $zero
|
|
/* 18F380 80260AA0 0C098F3F */ jal set_animation
|
|
/* 18F384 80260AA4 0080282D */ daddu $a1, $a0, $zero
|
|
/* 18F388 80260AA8 080982B2 */ j .L80260AC8
|
|
/* 18F38C 80260AAC 00000000 */ nop
|
|
.L80260AB0:
|
|
/* 18F390 80260AB0 8082009A */ lb $v0, 0x9a($a0)
|
|
/* 18F394 80260AB4 14400004 */ bnez $v0, .L80260AC8
|
|
/* 18F398 80260AB8 00000000 */ nop
|
|
/* 18F39C 80260ABC 3C028028 */ lui $v0, %hi(D_80283238)
|
|
/* 18F3A0 80260AC0 24423238 */ addiu $v0, $v0, %lo(D_80283238)
|
|
/* 18F3A4 80260AC4 AC620094 */ sw $v0, 0x94($v1)
|
|
.L80260AC8:
|
|
/* 18F3A8 80260AC8 8FBF0010 */ lw $ra, 0x10($sp)
|
|
/* 18F3AC 80260ACC 03E00008 */ jr $ra
|
|
/* 18F3B0 80260AD0 27BD0018 */ addiu $sp, $sp, 0x18
|