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

26 lines
1.2 KiB
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel update_enemy_shadows
/* 18483C 80255F5C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 184840 80255F60 AFB10014 */ sw $s1, 0x14($sp)
/* 184844 80255F64 0000882D */ daddu $s1, $zero, $zero
/* 184848 80255F68 AFB00010 */ sw $s0, 0x10($sp)
/* 18484C 80255F6C 3C10800E */ lui $s0, %hi(gBattleStatus)
/* 184850 80255F70 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
/* 184854 80255F74 AFBF0018 */ sw $ra, 0x18($sp)
.L80255F78:
/* 184858 80255F78 8E0500E0 */ lw $a1, 0xe0($s0)
/* 18485C 80255F7C 26100004 */ addiu $s0, $s0, 4
/* 184860 80255F80 26310001 */ addiu $s1, $s1, 1
/* 184864 80255F84 0C09566F */ jal update_actor_shadow
/* 184868 80255F88 0000202D */ daddu $a0, $zero, $zero
/* 18486C 80255F8C 2A220018 */ slti $v0, $s1, 0x18
/* 184870 80255F90 1440FFF9 */ bnez $v0, .L80255F78
/* 184874 80255F94 00000000 */ nop
/* 184878 80255F98 8FBF0018 */ lw $ra, 0x18($sp)
/* 18487C 80255F9C 8FB10014 */ lw $s1, 0x14($sp)
/* 184880 80255FA0 8FB00010 */ lw $s0, 0x10($sp)
/* 184884 80255FA4 03E00008 */ jr $ra
/* 184888 80255FA8 27BD0020 */ addiu $sp, $sp, 0x20