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

21 lines
995 B
ArmAsm

.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel disable_player_blur
/* 1831F4 80254914 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8)
/* 1831F8 80254918 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0)
/* 1831FC 8025491C 8C4201F4 */ lw $v0, 0x1f4($v0)
/* 183200 80254920 8C4400C0 */ lw $a0, 0xc0($v0)
/* 183204 80254924 808207DB */ lb $v0, 0x7db($a0)
/* 183208 80254928 908307DB */ lbu $v1, 0x7db($a0)
/* 18320C 8025492C 10400006 */ beqz $v0, .L80254948
/* 183210 80254930 2462FFFF */ addiu $v0, $v1, -1
/* 183214 80254934 A08207DB */ sb $v0, 0x7db($a0)
/* 183218 80254938 00021600 */ sll $v0, $v0, 0x18
/* 18321C 8025493C 14400002 */ bnez $v0, .L80254948
/* 183220 80254940 24020014 */ addiu $v0, $zero, 0x14
/* 183224 80254944 A08208AC */ sb $v0, 0x8ac($a0)
.L80254948:
/* 183228 80254948 03E00008 */ jr $ra
/* 18322C 8025494C 00000000 */ nop