mirror of
https://github.com/pmret/papermario.git
synced 2024-11-14 15:03:25 +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>
44 lines
2.1 KiB
ArmAsm
44 lines
2.1 KiB
ArmAsm
.set noat # allow manual use of $at
|
|
.set noreorder # don't insert nops after branches
|
|
|
|
glabel func_80241190
|
|
/* 16FA70 80241190 3C03800E */ lui $v1, %hi(gBattleStatus+0x4)
|
|
/* 16FA74 80241194 8C63C074 */ lw $v1, %lo(gBattleStatus+0x4)($v1)
|
|
/* 16FA78 80241198 24020001 */ addiu $v0, $zero, 1
|
|
/* 16FA7C 8024119C 3C01800E */ lui $at, %hi(gBattleState)
|
|
/* 16FA80 802411A0 AC24C068 */ sw $a0, %lo(gBattleState)($at)
|
|
/* 16FA84 802411A4 3C01800E */ lui $at, %hi(gBattleStatus+0x470)
|
|
/* 16FA88 802411A8 AC22C4E0 */ sw $v0, %lo(gBattleStatus+0x470)($at)
|
|
/* 16FA8C 802411AC 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
|
/* 16FA90 802411B0 AC20C4DC */ sw $zero, %lo(gBattleStatus+0x46C)($at)
|
|
/* 16FA94 802411B4 30630040 */ andi $v1, $v1, 0x40
|
|
/* 16FA98 802411B8 10600015 */ beqz $v1, .L80241210
|
|
/* 16FA9C 802411BC 24020008 */ addiu $v0, $zero, 8
|
|
/* 16FAA0 802411C0 10820010 */ beq $a0, $v0, .L80241204
|
|
/* 16FAA4 802411C4 28820009 */ slti $v0, $a0, 9
|
|
/* 16FAA8 802411C8 10400005 */ beqz $v0, .L802411E0
|
|
/* 16FAAC 802411CC 24020007 */ addiu $v0, $zero, 7
|
|
/* 16FAB0 802411D0 5082000D */ beql $a0, $v0, .L80241208
|
|
/* 16FAB4 802411D4 24040008 */ addiu $a0, $zero, 8
|
|
/* 16FAB8 802411D8 08090482 */ j .L80241208
|
|
/* 16FABC 802411DC 00000000 */ nop
|
|
.L802411E0:
|
|
/* 16FAC0 802411E0 2402000D */ addiu $v0, $zero, 0xd
|
|
/* 16FAC4 802411E4 10820005 */ beq $a0, $v0, .L802411FC
|
|
/* 16FAC8 802411E8 2402000E */ addiu $v0, $zero, 0xe
|
|
/* 16FACC 802411EC 50820006 */ beql $a0, $v0, .L80241208
|
|
/* 16FAD0 802411F0 24040010 */ addiu $a0, $zero, 0x10
|
|
/* 16FAD4 802411F4 08090482 */ j .L80241208
|
|
/* 16FAD8 802411F8 00000000 */ nop
|
|
.L802411FC:
|
|
/* 16FADC 802411FC 08090482 */ j .L80241208
|
|
/* 16FAE0 80241200 2404000F */ addiu $a0, $zero, 0xf
|
|
.L80241204:
|
|
/* 16FAE4 80241204 24040007 */ addiu $a0, $zero, 7
|
|
.L80241208:
|
|
/* 16FAE8 80241208 3C01800E */ lui $at, %hi(gBattleState)
|
|
/* 16FAEC 8024120C AC24C068 */ sw $a0, %lo(gBattleState)($at)
|
|
.L80241210:
|
|
/* 16FAF0 80241210 03E00008 */ jr $ra
|
|
/* 16FAF4 80241214 00000000 */ nop
|