papermario/ver/us/asm/nonmatchings/code_182B30/update_hero_shadows.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

16 lines
765 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel update_hero_shadows
/* 18488C 80255FAC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 184890 80255FB0 3C05800E */ lui $a1, %hi(gBattleStatus+0xDC)
/* 184894 80255FB4 8CA5C14C */ lw $a1, %lo(gBattleStatus+0xDC)($a1)
/* 184898 80255FB8 AFBF0010 */ sw $ra, 0x10($sp)
/* 18489C 80255FBC 0C09566F */ jal update_actor_shadow
/* 1848A0 80255FC0 24040001 */ addiu $a0, $zero, 1
/* 1848A4 80255FC4 0C095EEB */ jal update_player_actor_shadow
/* 1848A8 80255FC8 00000000 */ nop
/* 1848AC 80255FCC 8FBF0010 */ lw $ra, 0x10($sp)
/* 1848B0 80255FD0 03E00008 */ jr $ra
/* 1848B4 80255FD4 27BD0018 */ addiu $sp, $sp, 0x18