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>
28 lines
1.3 KiB
ArmAsm
28 lines
1.3 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_802D23F8
|
|
/* F6DA8 802D23F8 3C038011 */ lui $v1, %hi(gPlayerActionState)
|
|
/* F6DAC 802D23FC 9063F07C */ lbu $v1, %lo(gPlayerActionState)($v1)
|
|
/* F6DB0 802D2400 2C620003 */ sltiu $v0, $v1, 3
|
|
/* F6DB4 802D2404 1440000D */ bnez $v0, .L802D243C
|
|
/* F6DB8 802D2408 00031600 */ sll $v0, $v1, 0x18
|
|
/* F6DBC 802D240C 00021E03 */ sra $v1, $v0, 0x18
|
|
/* F6DC0 802D2410 2402000A */ addiu $v0, $zero, 0xa
|
|
/* F6DC4 802D2414 10620009 */ beq $v1, $v0, .L802D243C
|
|
/* F6DC8 802D2418 2402000B */ addiu $v0, $zero, 0xb
|
|
/* F6DCC 802D241C 10620007 */ beq $v1, $v0, .L802D243C
|
|
/* F6DD0 802D2420 2402000E */ addiu $v0, $zero, 0xe
|
|
/* F6DD4 802D2424 10620005 */ beq $v1, $v0, .L802D243C
|
|
/* F6DD8 802D2428 24020010 */ addiu $v0, $zero, 0x10
|
|
/* F6DDC 802D242C 10620003 */ beq $v1, $v0, .L802D243C
|
|
/* F6DE0 802D2430 2402001A */ addiu $v0, $zero, 0x1a
|
|
/* F6DE4 802D2434 14620003 */ bne $v1, $v0, .L802D2444
|
|
/* F6DE8 802D2438 00000000 */ nop
|
|
.L802D243C:
|
|
/* F6DEC 802D243C 03E00008 */ jr $ra
|
|
/* F6DF0 802D2440 24020001 */ addiu $v0, $zero, 1
|
|
.L802D2444:
|
|
/* F6DF4 802D2444 03E00008 */ jr $ra
|
|
/* F6DF8 802D2448 0000102D */ daddu $v0, $zero, $zero
|