mirror of
https://github.com/pmret/papermario.git
synced 2024-11-15 07:22:29 +01:00
3315d6010f
* all non-world rodata migrated * data disasm * kinda working * updated yaml * bloop * linker header * configure 2.0 * bin * mass rename to remove code_ * pause rename * battle partner stuff * whew * more renames * more renames * more renaming * it builds! * updates * remove main prefix * one more thing * crc, yay0 * .data, .rodata, .bss * img * dead_atan2 * it buildsgit add -A * split battle/partner/6FAD10 * rm &s on sleepy_sheep syms * sha1sum ninja rule description * OK but commented out PaperMarioMapFS and PaperMarioNpcSprites * uncomment * fix mapfs * match func_8003CFB4 * . * clean up and name npc_iter_no_op * npc.c * enable cc warnings * name npc_find_near * use singular options.asset_path * smores * cc_dsl only when needed * kinda fix configure for splat refactor2 * ok! * new msg format * remove old msg format docs * slight bug fixes, splat adjustment * git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "cfc140bb76" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "cfc140bb76" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * git subrepo pull (merge) --force tools/splat subrepo: subdir: "tools/splat" merged: "85349befcd" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "85349befcd" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" * Update symbol addrs * git subrepo pull tools/splat subrepo: subdir: "tools/splat" merged: "a44631e194" upstream: origin: "https://github.com/ethteck/splat.git" branch: "master" commit: "a44631e194" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "2f68596" Co-authored-by: Alex Bates <hi@imalex.xyz>
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(bPeachIdleAnims)
|
|
/* 18F370 80260A90 2442340C */ addiu $v0, $v0, %lo(bPeachIdleAnims)
|
|
/* 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(bMarioIdleAnims)
|
|
/* 18F3A0 80260AC0 24423238 */ addiu $v0, $v0, %lo(bMarioIdleAnims)
|
|
/* 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
|