mirror of
https://github.com/pmret/papermario.git
synced 2024-11-15 07:22:29 +01:00
a4e1c2f522
* 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>
30 lines
1.4 KiB
ArmAsm
30 lines
1.4 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_8026E208
|
|
/* 19CAE8 8026E208 27BDFFE8 */ addiu $sp, $sp, -0x18
|
|
/* 19CAEC 8026E20C AFBF0014 */ sw $ra, 0x14($sp)
|
|
/* 19CAF0 8026E210 AFB00010 */ sw $s0, 0x10($sp)
|
|
/* 19CAF4 8026E214 8C82000C */ lw $v0, 0xc($a0)
|
|
/* 19CAF8 8026E218 0C0B1EAF */ jal get_variable
|
|
/* 19CAFC 8026E21C 8C450000 */ lw $a1, ($v0)
|
|
/* 19CB00 8026E220 3C10800E */ lui $s0, %hi(gBattleStatus)
|
|
/* 19CB04 8026E224 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
|
|
/* 19CB08 8026E228 0040182D */ daddu $v1, $v0, $zero
|
|
/* 19CB0C 8026E22C 10600005 */ beqz $v1, .L8026E244
|
|
/* 19CB10 8026E230 24020001 */ addiu $v0, $zero, 1
|
|
/* 19CB14 8026E234 10620004 */ beq $v1, $v0, .L8026E248
|
|
/* 19CB18 8026E238 2402FFFF */ addiu $v0, $zero, -1
|
|
/* 19CB1C 8026E23C 0809B893 */ j .L8026E24C
|
|
/* 19CB20 8026E240 00000000 */ nop
|
|
.L8026E244:
|
|
/* 19CB24 8026E244 24020001 */ addiu $v0, $zero, 1
|
|
.L8026E248:
|
|
/* 19CB28 8026E248 A2020094 */ sb $v0, 0x94($s0)
|
|
.L8026E24C:
|
|
/* 19CB2C 8026E24C 8FBF0014 */ lw $ra, 0x14($sp)
|
|
/* 19CB30 8026E250 8FB00010 */ lw $s0, 0x10($sp)
|
|
/* 19CB34 8026E254 24020002 */ addiu $v0, $zero, 2
|
|
/* 19CB38 8026E258 03E00008 */ jr $ra
|
|
/* 19CB3C 8026E25C 27BD0018 */ addiu $sp, $sp, 0x18
|