papermario/ver/us/asm/nonmatchings/code_18F340/func_80260A60.s
alex a4e1c2f522
Add versioning (#187)
* fix vscode cpp extension messing with files.associations

* move stuff

* it builds!

* symlink papermario.us.z64

* ci: put baserom in right place

* add jp

* fix splat dir

* ignore starrod dump

* .s deps

* update jenkins

* add dsl back

* configure.py versions

* wups

* fine ethan

* fix paths

* configure: default to only the version(s) with existing baseroms

* fix coverage

* fix progress.py

* progress.py verisoning

* remove format.sh from CONTRIBUTING

* update CONTRIBUTING

* fix first_diff

* diff.py: use ver/current/

* update splat.yaml

* trying to fix subrepo

* git subrepo pull tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "06a737f02d"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "06a737f02d"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

* configure fix

* git subrepo pull tools/splat

subrepo:
  subdir:   "tools/splat"
  merged:   "41786effd3"
upstream:
  origin:   "https://github.com/ethteck/splat.git"
  branch:   "master"
  commit:   "41786effd3"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "2f68596"

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2021-02-22 18:21:23 +09:00

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