mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 20:42:41 +01:00
Merge pull request #129 from ethteck/cornucopia
A Classic Cornucopia of Changes
This commit is contained in:
commit
922b82dc68
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -21,4 +21,7 @@
|
||||
"python.autoComplete.extraPaths": [
|
||||
"./tools"
|
||||
],
|
||||
"python.analysis.extraPaths": [
|
||||
"./tools"
|
||||
],
|
||||
}
|
||||
|
7
Makefile
7
Makefile
@ -62,7 +62,7 @@ CPPFLAGS := -Iinclude -Isrc -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2 -D_MIP
|
||||
ASFLAGS := -EB -Iinclude -march=vr4300 -mtune=vr4300
|
||||
OLDASFLAGS := -EB -Iinclude -G 0
|
||||
CFLAGS := -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32 -Wimplicit -Wuninitialized -Wshadow
|
||||
LDFLAGS := -T undefined_syms.txt -T undefined_funcs.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -Map $(LD_MAP) --no-check-sections
|
||||
LDFLAGS := -T undefined_syms.txt -T undefined_funcs.txt -T undefined_funcs_auto.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -Map $(LD_MAP) --no-check-sections
|
||||
|
||||
ifeq ($(WATCH_INCLUDES),1)
|
||||
CPPMFLAGS = -MP -MD -MF $@.mk -MT $(BUILD_DIR)/$*.d
|
||||
@ -150,6 +150,11 @@ $(BUILD_DIR)/%.s.o: %.s
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(AS) $(ASFLAGS) -o $@ $<
|
||||
|
||||
# Data
|
||||
$(BUILD_DIR)/data/%.data.o: asm/data/%.data.s
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(AS) $(ASFLAGS) -o $@ $<
|
||||
|
||||
# Images
|
||||
$(BUILD_DIR)/%.png.o: $(BUILD_DIR)/%.png
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
21
asm/data/si.data.s
Normal file
21
asm/data/si.data.s
Normal file
@ -0,0 +1,21 @@
|
||||
.include "macro.inc"
|
||||
|
||||
.section .data
|
||||
|
||||
glabel ShakeCam1
|
||||
.word 0x0000004D, 0x00000001, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xF24A7E80, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
glabel ShakeCamX
|
||||
.word 0x0000004D, 0x00000001, 0x00000000, 0x00000043, 0x00000005, ShakeCam, 0xFE363C80, 0xFE363C81, 0xFE363C82, 0xFE363C83, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
glabel gPlayerNpcPtr
|
||||
.word 0x802DB270, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_802D9D30
|
||||
.word 0x00000000
|
||||
|
||||
glabel D_802D9D34
|
||||
.word 0x00000043, 0x00000001, 0x802D5B10, 0x00000002, 0x00000000, 0x00000001, 0x00000000
|
||||
|
||||
glabel D_802D9D50
|
||||
.word 0x00000043, 0x00000001, func_802D7BA4, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0xFEFE00FF, 0x00000000, 0x00000000, 0x00000000
|
@ -4,10 +4,10 @@
|
||||
glabel begin_battle
|
||||
/* 16FAF8 80241218 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 16FAFC 8024121C AFB60038 */ sw $s6, 0x38($sp)
|
||||
/* 16FB00 80241220 3C16800E */ lui $s6, 0x800e
|
||||
/* 16FB04 80241224 8ED6C4FC */ lw $s6, -0x3b04($s6)
|
||||
/* 16FB08 80241228 3C02800E */ lui $v0, 0x800e
|
||||
/* 16FB0C 8024122C 8C42C4F4 */ lw $v0, -0x3b0c($v0)
|
||||
/* 16FB00 80241220 3C16800E */ lui $s6, %hi(gBattleStatus+0x48C)
|
||||
/* 16FB04 80241224 8ED6C4FC */ lw $s6, %lo(gBattleStatus+0x48C)($s6)
|
||||
/* 16FB08 80241228 3C02800E */ lui $v0, %hi(gBattleStatus+0x484)
|
||||
/* 16FB0C 8024122C 8C42C4F4 */ lw $v0, %lo(gBattleStatus+0x484)($v0)
|
||||
/* 16FB10 80241230 AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* 16FB14 80241234 3C14800E */ lui $s4, %hi(gBattleStatus)
|
||||
/* 16FB18 80241238 2694C070 */ addiu $s4, $s4, %lo(gBattleStatus)
|
||||
@ -33,8 +33,8 @@ glabel begin_battle
|
||||
.L80241284:
|
||||
/* 16FB64 80241284 8C950004 */ lw $s5, 4($a0)
|
||||
.L80241288:
|
||||
/* 16FB68 80241288 3C03800E */ lui $v1, 0x800e
|
||||
/* 16FB6C 8024128C 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 16FB68 80241288 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 16FB6C 8024128C 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 16FB70 80241290 2C620009 */ sltiu $v0, $v1, 9
|
||||
/* 16FB74 80241294 104001FC */ beqz $v0, .L80241A88
|
||||
/* 16FB78 80241298 AE950438 */ sw $s5, 0x438($s4)
|
||||
@ -231,8 +231,8 @@ glabel begin_battle
|
||||
/* 16FE54 80241574 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 16FE58 80241578 AE8300C4 */ sw $v1, 0xc4($s4)
|
||||
/* 16FE5C 8024157C 8C620144 */ lw $v0, 0x144($v1)
|
||||
/* 16FE60 80241580 3C01800E */ lui $at, 0x800e
|
||||
/* 16FE64 80241584 AC30C4DC */ sw $s0, -0x3b24($at)
|
||||
/* 16FE60 80241580 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 16FE64 80241584 AC30C4DC */ sw $s0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 16FE68 80241588 080906A2 */ j .L80241A88
|
||||
/* 16FE6C 8024158C AE8200C8 */ sw $v0, 0xc8($s4)
|
||||
/* 16FE70 80241590 8E8400C8 */ lw $a0, 0xc8($s4)
|
||||
@ -371,8 +371,8 @@ glabel begin_battle
|
||||
.L80241770:
|
||||
/* 170050 80241770 0C099129 */ jal load_player_actor
|
||||
/* 170054 80241774 00000000 */ nop
|
||||
/* 170058 80241778 3C02800E */ lui $v0, 0x800e
|
||||
/* 17005C 8024177C 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 170058 80241778 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 17005C 8024177C 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 170060 80241780 8E9000D8 */ lw $s0, 0xd8($s4)
|
||||
/* 170064 80241784 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 170068 80241788 3C048028 */ lui $a0, 0x8028
|
||||
@ -391,8 +391,8 @@ glabel begin_battle
|
||||
/* 170098 802417B8 0C0992DD */ jal load_partner_actor
|
||||
/* 17009C 802417BC AC600148 */ sw $zero, 0x148($v1)
|
||||
/* 1700A0 802417C0 24020004 */ addiu $v0, $zero, 4
|
||||
/* 1700A4 802417C4 3C01800E */ lui $at, 0x800e
|
||||
/* 1700A8 802417C8 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1700A4 802417C4 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1700A8 802417C8 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 1700AC 802417CC 080906A2 */ j .L80241A88
|
||||
/* 1700B0 802417D0 00000000 */ nop
|
||||
.L802417D4:
|
||||
@ -481,8 +481,8 @@ glabel begin_battle
|
||||
/* 1701DC 802418FC 30420001 */ andi $v0, $v0, 1
|
||||
/* 1701E0 80241900 14400012 */ bnez $v0, .L8024194C
|
||||
/* 1701E4 80241904 00000000 */ nop
|
||||
/* 1701E8 80241908 3C02800E */ lui $v0, 0x800e
|
||||
/* 1701EC 8024190C 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 1701E8 80241908 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 1701EC 8024190C 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 1701F0 80241910 8E9000D8 */ lw $s0, 0xd8($s4)
|
||||
/* 1701F4 80241914 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 1701F8 80241918 3C048028 */ lui $a0, %hi(MarioEnterStage)
|
||||
@ -530,8 +530,8 @@ glabel begin_battle
|
||||
/* 170290 802419B0 24020007 */ addiu $v0, $zero, 7
|
||||
/* 170294 802419B4 3C01802A */ lui $at, 0x802a
|
||||
/* 170298 802419B8 AC20F248 */ sw $zero, -0xdb8($at)
|
||||
/* 17029C 802419BC 3C01800E */ lui $at, 0x800e
|
||||
/* 1702A0 802419C0 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 17029C 802419BC 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1702A0 802419C0 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 1702A4 802419C4 080906A2 */ j .L80241A88
|
||||
/* 1702A8 802419C8 00000000 */ nop
|
||||
/* 1702AC 802419CC 3C108028 */ lui $s0, 0x8028
|
||||
@ -539,8 +539,8 @@ glabel begin_battle
|
||||
/* 1702B4 802419D4 8E020000 */ lw $v0, ($s0)
|
||||
/* 1702B8 802419D8 14400005 */ bnez $v0, .L802419F0
|
||||
/* 1702BC 802419DC 24020008 */ addiu $v0, $zero, 8
|
||||
/* 1702C0 802419E0 3C01800E */ lui $at, 0x800e
|
||||
/* 1702C4 802419E4 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1702C0 802419E0 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1702C4 802419E4 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 1702C8 802419E8 080906A2 */ j .L80241A88
|
||||
/* 1702CC 802419EC 00000000 */ nop
|
||||
.L802419F0:
|
||||
|
@ -2,10 +2,10 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel end_battle
|
||||
/* 173330 80244A50 3C03800E */ lui $v1, 0x800e
|
||||
/* 173334 80244A54 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 173338 80244A58 3C06800E */ lui $a2, 0x800e
|
||||
/* 17333C 80244A5C 8CC6C4FC */ lw $a2, -0x3b04($a2)
|
||||
/* 173330 80244A50 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 173334 80244A54 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 173338 80244A58 3C06800E */ lui $a2, %hi(gBattleStatus+0x48C)
|
||||
/* 17333C 80244A5C 8CC6C4FC */ lw $a2, %lo(gBattleStatus+0x48C)($a2)
|
||||
/* 173340 80244A60 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 173344 80244A64 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 173348 80244A68 3C13800B */ lui $s3, %hi(gCurrentEncounter)
|
||||
@ -60,8 +60,8 @@ glabel end_battle
|
||||
/* 173408 80244B28 24070078 */ addiu $a3, $zero, 0x78
|
||||
/* 17340C 80244B2C 24020001 */ addiu $v0, $zero, 1
|
||||
.L80244B30:
|
||||
/* 173410 80244B30 3C01800E */ lui $at, 0x800e
|
||||
/* 173414 80244B34 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 173410 80244B30 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 173414 80244B34 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 173418 80244B38 0809135D */ j .L80244D74
|
||||
/* 17341C 80244B3C 00000000 */ nop
|
||||
/* 173420 80244B40 3C048028 */ lui $a0, 0x8028
|
||||
@ -70,8 +70,8 @@ glabel end_battle
|
||||
/* 17342C 80244B4C 240500FF */ addiu $a1, $zero, 0xff
|
||||
/* 173430 80244B50 14650005 */ bne $v1, $a1, .L80244B68
|
||||
/* 173434 80244B54 24020002 */ addiu $v0, $zero, 2
|
||||
/* 173438 80244B58 3C01800E */ lui $at, 0x800e
|
||||
/* 17343C 80244B5C AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 173438 80244B58 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 17343C 80244B5C AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 173440 80244B60 0809135D */ j .L80244D74
|
||||
/* 173444 80244B64 00000000 */ nop
|
||||
.L80244B68:
|
||||
@ -105,8 +105,8 @@ glabel end_battle
|
||||
/* 1734AC 80244BCC 14800006 */ bnez $a0, .L80244BE8
|
||||
/* 1734B0 80244BD0 2405000A */ addiu $a1, $zero, 0xa
|
||||
/* 1734B4 80244BD4 24020004 */ addiu $v0, $zero, 4
|
||||
/* 1734B8 80244BD8 3C01800E */ lui $at, 0x800e
|
||||
/* 1734BC 80244BDC AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1734B8 80244BD8 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1734BC 80244BDC AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 1734C0 80244BE0 0809135D */ j .L80244D74
|
||||
/* 1734C4 80244BE4 00000000 */ nop
|
||||
.L80244BE8:
|
||||
@ -115,8 +115,8 @@ glabel end_battle
|
||||
/* 1734D0 80244BF0 AE4200BC */ sw $v0, 0xbc($s2)
|
||||
/* 1734D4 80244BF4 8C430144 */ lw $v1, 0x144($v0)
|
||||
/* 1734D8 80244BF8 24020003 */ addiu $v0, $zero, 3
|
||||
/* 1734DC 80244BFC 3C01800E */ lui $at, 0x800e
|
||||
/* 1734E0 80244C00 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1734DC 80244BFC 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1734E0 80244C00 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 1734E4 80244C04 0809135D */ j .L80244D74
|
||||
/* 1734E8 80244C08 AE4300C0 */ sw $v1, 0xc0($s2)
|
||||
/* 1734EC 80244C0C 8E4400C0 */ lw $a0, 0xc0($s2)
|
||||
@ -124,8 +124,8 @@ glabel end_battle
|
||||
/* 1734F4 80244C14 00000000 */ nop
|
||||
/* 1734F8 80244C18 14400056 */ bnez $v0, .L80244D74
|
||||
/* 1734FC 80244C1C 24020004 */ addiu $v0, $zero, 4
|
||||
/* 173500 80244C20 3C01800E */ lui $at, 0x800e
|
||||
/* 173504 80244C24 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 173500 80244C20 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 173504 80244C24 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 173508 80244C28 0C0B1045 */ jal kill_all_scripts
|
||||
/* 17350C 80244C2C 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 173510 80244C30 0240802D */ daddu $s0, $s2, $zero
|
||||
@ -191,8 +191,8 @@ glabel end_battle
|
||||
/* 1735E8 80244D08 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 1735EC 80244D0C 3C02800E */ lui $v0, %hi(gBattleState)
|
||||
/* 1735F0 80244D10 8C42C068 */ lw $v0, %lo(gBattleState)($v0)
|
||||
/* 1735F4 80244D14 3C01800E */ lui $at, 0x800e
|
||||
/* 1735F8 80244D18 AC22C4D0 */ sw $v0, -0x3b30($at)
|
||||
/* 1735F4 80244D14 3C01800E */ lui $at, %hi(gBattleStatus+0x460)
|
||||
/* 1735F8 80244D18 AC22C4D0 */ sw $v0, %lo(gBattleStatus+0x460)($at)
|
||||
/* 1735FC 80244D1C 0C016AFE */ jal get_map_IDs_by_name
|
||||
/* 173600 80244D20 27A60012 */ addiu $a2, $sp, 0x12
|
||||
/* 173604 80244D24 3C028007 */ lui $v0, %hi(gGameStatusPtr)
|
||||
@ -209,8 +209,8 @@ glabel end_battle
|
||||
/* 17362C 80244D4C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 173630 80244D50 3C02800E */ lui $v0, %hi(gBattleState)
|
||||
/* 173634 80244D54 8C42C068 */ lw $v0, %lo(gBattleState)($v0)
|
||||
/* 173638 80244D58 3C01800E */ lui $at, 0x800e
|
||||
/* 17363C 80244D5C AC22C4D0 */ sw $v0, -0x3b30($at)
|
||||
/* 173638 80244D58 3C01800E */ lui $at, %hi(gBattleStatus+0x460)
|
||||
/* 17363C 80244D5C AC22C4D0 */ sw $v0, %lo(gBattleStatus+0x460)($at)
|
||||
/* 173640 80244D60 0C00F945 */ jal func_8003E514
|
||||
/* 173644 80244D64 24040001 */ addiu $a0, $zero, 1
|
||||
/* 173648 80244D68 24040009 */ addiu $a0, $zero, 9
|
||||
|
@ -2,15 +2,15 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80241190
|
||||
/* 16FA70 80241190 3C03800E */ lui $v1, 0x800e
|
||||
/* 16FA74 80241194 8C63C074 */ lw $v1, -0x3f8c($v1)
|
||||
/* 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, 0x800e
|
||||
/* 16FA88 802411A8 AC22C4E0 */ sw $v0, -0x3b20($at)
|
||||
/* 16FA8C 802411AC 3C01800E */ lui $at, 0x800e
|
||||
/* 16FA90 802411B0 AC20C4DC */ sw $zero, -0x3b24($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
|
||||
|
@ -15,8 +15,8 @@ glabel func_80241B14
|
||||
/* 17041C 80241B3C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 170420 80241B40 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 170424 80241B44 8E9500DC */ lw $s5, 0xdc($s4)
|
||||
/* 170428 80241B48 3C02800E */ lui $v0, 0x800e
|
||||
/* 17042C 80241B4C 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 170428 80241B48 3C02800E */ lui $v0, %hi(gBattleStatus+0x46C)
|
||||
/* 17042C 80241B4C 8C42C4DC */ lw $v0, %lo(gBattleStatus+0x46C)($v0)
|
||||
/* 170430 80241B50 8E8500D8 */ lw $a1, 0xd8($s4)
|
||||
/* 170434 80241B54 144000E9 */ bnez $v0, .L80241EFC
|
||||
/* 170438 80241B58 3C04FEFF */ lui $a0, 0xfeff
|
||||
@ -273,11 +273,11 @@ glabel func_80241B14
|
||||
.L80241EF0:
|
||||
/* 1707D0 80241EF0 24020005 */ addiu $v0, $zero, 5
|
||||
.L80241EF4:
|
||||
/* 1707D4 80241EF4 3C01800E */ lui $at, 0x800e
|
||||
/* 1707D8 80241EF8 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1707D4 80241EF4 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1707D8 80241EF8 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80241EFC:
|
||||
/* 1707DC 80241EFC 3C03800E */ lui $v1, 0x800e
|
||||
/* 1707E0 80241F00 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 1707DC 80241EFC 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 1707E0 80241F00 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 1707E4 80241F04 24020005 */ addiu $v0, $zero, 5
|
||||
/* 1707E8 80241F08 14620020 */ bne $v1, $v0, .L80241F8C
|
||||
/* 1707EC 80241F0C 2402000A */ addiu $v0, $zero, 0xa
|
||||
@ -314,8 +314,8 @@ glabel func_80241B14
|
||||
.L80241F7C:
|
||||
/* 17085C 80241F7C 12600018 */ beqz $s3, .L80241FE0
|
||||
/* 170860 80241F80 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 170864 80241F84 3C03800E */ lui $v1, 0x800e
|
||||
/* 170868 80241F88 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 170864 80241F84 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 170868 80241F88 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
.L80241F8C:
|
||||
/* 17086C 80241F8C 1462001A */ bne $v1, $v0, .L80241FF8
|
||||
/* 170870 80241F90 0000982D */ daddu $s3, $zero, $zero
|
||||
|
@ -17,8 +17,8 @@ glabel func_80242FE0
|
||||
/* 1718F0 80243010 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 1718F4 80243014 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 1718F8 80243018 8ED500D8 */ lw $s5, 0xd8($s6)
|
||||
/* 1718FC 8024301C 3C02800E */ lui $v0, 0x800e
|
||||
/* 171900 80243020 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 1718FC 8024301C 3C02800E */ lui $v0, %hi(gBattleStatus+0x46C)
|
||||
/* 171900 80243020 8C42C4DC */ lw $v0, %lo(gBattleStatus+0x46C)($v0)
|
||||
/* 171904 80243024 1440002D */ bnez $v0, .L802430DC
|
||||
/* 171908 80243028 8ED200DC */ lw $s2, 0xdc($s6)
|
||||
/* 17190C 8024302C 8EC30004 */ lw $v1, 4($s6)
|
||||
@ -54,8 +54,8 @@ glabel func_80242FE0
|
||||
/* 171978 80243098 24020001 */ addiu $v0, $zero, 1
|
||||
/* 17197C 8024309C 3C04800E */ lui $a0, %hi(gBattleStatus)
|
||||
/* 171980 802430A0 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 171984 802430A4 3C01800E */ lui $at, 0x800e
|
||||
/* 171988 802430A8 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 171984 802430A4 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 171988 802430A8 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 17198C 802430AC 8C820004 */ lw $v0, 4($a0)
|
||||
/* 171990 802430B0 2403FFFD */ addiu $v1, $zero, -3
|
||||
/* 171994 802430B4 3C01802A */ lui $at, 0x802a
|
||||
@ -69,8 +69,8 @@ glabel func_80242FE0
|
||||
/* 1719B4 802430D4 00431024 */ and $v0, $v0, $v1
|
||||
/* 1719B8 802430D8 AC820004 */ sw $v0, 4($a0)
|
||||
.L802430DC:
|
||||
/* 1719BC 802430DC 3C03800E */ lui $v1, 0x800e
|
||||
/* 1719C0 802430E0 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 1719BC 802430DC 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 1719C0 802430E0 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 1719C4 802430E4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1719C8 802430E8 14620091 */ bne $v1, $v0, .L80243330
|
||||
/* 1719CC 802430EC 24020002 */ addiu $v0, $zero, 2
|
||||
@ -225,11 +225,11 @@ glabel func_80242FE0
|
||||
/* 171BF0 80243310 1440FF92 */ bnez $v0, .L8024315C
|
||||
/* 171BF4 80243314 00111080 */ sll $v0, $s1, 2
|
||||
/* 171BF8 80243318 24020002 */ addiu $v0, $zero, 2
|
||||
/* 171BFC 8024331C 3C01800E */ lui $at, 0x800e
|
||||
/* 171C00 80243320 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 171BFC 8024331C 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 171C00 80243320 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80243324:
|
||||
/* 171C04 80243324 3C03800E */ lui $v1, 0x800e
|
||||
/* 171C08 80243328 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 171C04 80243324 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 171C08 80243328 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 171C0C 8024332C 24020002 */ addiu $v0, $zero, 2
|
||||
.L80243330:
|
||||
/* 171C10 80243330 14620070 */ bne $v1, $v0, .L802434F4
|
||||
@ -353,11 +353,11 @@ glabel func_80242FE0
|
||||
/* 171DC4 802434E4 24020003 */ addiu $v0, $zero, 3
|
||||
/* 171DC8 802434E8 AC600048 */ sw $zero, 0x48($v1)
|
||||
.L802434EC:
|
||||
/* 171DCC 802434EC 3C01800E */ lui $at, 0x800e
|
||||
/* 171DD0 802434F0 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 171DCC 802434EC 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 171DD0 802434F0 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L802434F4:
|
||||
/* 171DD4 802434F4 3C03800E */ lui $v1, 0x800e
|
||||
/* 171DD8 802434F8 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 171DD4 802434F4 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 171DD8 802434F8 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 171DDC 802434FC 24020003 */ addiu $v0, $zero, 3
|
||||
/* 171DE0 80243500 1462006F */ bne $v1, $v0, .L802436C0
|
||||
/* 171DE4 80243504 00000000 */ nop
|
||||
@ -470,13 +470,13 @@ glabel func_80242FE0
|
||||
/* 171F84 802436A4 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 171F88 802436A8 8C820000 */ lw $v0, ($a0)
|
||||
/* 171F8C 802436AC 24030004 */ addiu $v1, $zero, 4
|
||||
/* 171F90 802436B0 3C01800E */ lui $at, 0x800e
|
||||
/* 171F94 802436B4 AC23C4DC */ sw $v1, -0x3b24($at)
|
||||
/* 171F90 802436B0 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 171F94 802436B4 AC23C4DC */ sw $v1, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 171F98 802436B8 00451024 */ and $v0, $v0, $a1
|
||||
/* 171F9C 802436BC AC820000 */ sw $v0, ($a0)
|
||||
.L802436C0:
|
||||
/* 171FA0 802436C0 3C10800E */ lui $s0, 0x800e
|
||||
/* 171FA4 802436C4 2610C4DC */ addiu $s0, $s0, -0x3b24
|
||||
/* 171FA0 802436C0 3C10800E */ lui $s0, %hi(gBattleStatus+0x46C)
|
||||
/* 171FA4 802436C4 2610C4DC */ addiu $s0, $s0, %lo(gBattleStatus+0x46C)
|
||||
/* 171FA8 802436C8 8E030000 */ lw $v1, ($s0)
|
||||
/* 171FAC 802436CC 24020004 */ addiu $v0, $zero, 4
|
||||
/* 171FB0 802436D0 14620038 */ bne $v1, $v0, .L802437B4
|
||||
@ -540,8 +540,8 @@ glabel func_80242FE0
|
||||
/* 17208C 802437AC 00431024 */ and $v0, $v0, $v1
|
||||
/* 172090 802437B0 ACA20004 */ sw $v0, 4($a1)
|
||||
.L802437B4:
|
||||
/* 172094 802437B4 3C03800E */ lui $v1, 0x800e
|
||||
/* 172098 802437B8 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 172094 802437B4 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 172098 802437B8 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 17209C 802437BC 24020005 */ addiu $v0, $zero, 5
|
||||
/* 1720A0 802437C0 14620028 */ bne $v1, $v0, .L80243864
|
||||
/* 1720A4 802437C4 24020006 */ addiu $v0, $zero, 6
|
||||
@ -582,11 +582,11 @@ glabel func_80242FE0
|
||||
/* 172124 80243844 1440FFEC */ bnez $v0, .L802437F8
|
||||
/* 172128 80243848 26520004 */ addiu $s2, $s2, 4
|
||||
/* 17212C 8024384C 24020006 */ addiu $v0, $zero, 6
|
||||
/* 172130 80243850 3C01800E */ lui $at, 0x800e
|
||||
/* 172134 80243854 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 172130 80243850 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 172134 80243854 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80243858:
|
||||
/* 172138 80243858 3C03800E */ lui $v1, 0x800e
|
||||
/* 17213C 8024385C 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 172138 80243858 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 17213C 8024385C 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 172140 80243860 24020006 */ addiu $v0, $zero, 6
|
||||
.L80243864:
|
||||
/* 172144 80243864 14620016 */ bne $v1, $v0, .L802438C0
|
||||
@ -613,11 +613,11 @@ glabel func_80242FE0
|
||||
/* 17218C 802438AC 26520004 */ addiu $s2, $s2, 4
|
||||
/* 172190 802438B0 16800003 */ bnez $s4, .L802438C0
|
||||
/* 172194 802438B4 24020007 */ addiu $v0, $zero, 7
|
||||
/* 172198 802438B8 3C01800E */ lui $at, 0x800e
|
||||
/* 17219C 802438BC AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 172198 802438B8 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 17219C 802438BC AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L802438C0:
|
||||
/* 1721A0 802438C0 3C03800E */ lui $v1, 0x800e
|
||||
/* 1721A4 802438C4 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 1721A0 802438C0 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 1721A4 802438C4 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 1721A8 802438C8 24020007 */ addiu $v0, $zero, 7
|
||||
/* 1721AC 802438CC 14620003 */ bne $v1, $v0, .L802438DC
|
||||
/* 1721B0 802438D0 24040014 */ addiu $a0, $zero, 0x14
|
||||
|
@ -20,8 +20,8 @@ glabel func_802439D8
|
||||
/* 1722F4 80243A14 F7B60040 */ sdc1 $f22, 0x40($sp)
|
||||
/* 1722F8 80243A18 F7B40038 */ sdc1 $f20, 0x38($sp)
|
||||
/* 1722FC 80243A1C 8ED500D8 */ lw $s5, 0xd8($s6)
|
||||
/* 172300 80243A20 3C02800E */ lui $v0, 0x800e
|
||||
/* 172304 80243A24 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 172300 80243A20 3C02800E */ lui $v0, %hi(gBattleStatus+0x46C)
|
||||
/* 172304 80243A24 8C42C4DC */ lw $v0, %lo(gBattleStatus+0x46C)($v0)
|
||||
/* 172308 80243A28 8ED300DC */ lw $s3, 0xdc($s6)
|
||||
/* 17230C 80243A2C 1440002E */ bnez $v0, .L80243AE8
|
||||
/* 172310 80243A30 0000A02D */ daddu $s4, $zero, $zero
|
||||
@ -74,11 +74,11 @@ glabel func_802439D8
|
||||
/* 1723B4 80243AD4 0C093903 */ jal func_8024E40C
|
||||
/* 1723B8 80243AD8 24040002 */ addiu $a0, $zero, 2
|
||||
/* 1723BC 80243ADC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1723C0 80243AE0 3C01800E */ lui $at, 0x800e
|
||||
/* 1723C4 80243AE4 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1723C0 80243AE0 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1723C4 80243AE4 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80243AE8:
|
||||
/* 1723C8 80243AE8 3C04800E */ lui $a0, 0x800e
|
||||
/* 1723CC 80243AEC 2484C4DC */ addiu $a0, $a0, -0x3b24
|
||||
/* 1723C8 80243AE8 3C04800E */ lui $a0, %hi(gBattleStatus+0x46C)
|
||||
/* 1723CC 80243AEC 2484C4DC */ addiu $a0, $a0, %lo(gBattleStatus+0x46C)
|
||||
/* 1723D0 80243AF0 8C830000 */ lw $v1, ($a0)
|
||||
/* 1723D4 80243AF4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1723D8 80243AF8 1462002A */ bne $v1, $v0, .L80243BA4
|
||||
@ -127,8 +127,8 @@ glabel func_802439D8
|
||||
/* 17247C 80243B9C AE600054 */ sw $zero, 0x54($s3)
|
||||
/* 172480 80243BA0 E6600020 */ swc1 $f0, 0x20($s3)
|
||||
.L80243BA4:
|
||||
/* 172484 80243BA4 3C03800E */ lui $v1, 0x800e
|
||||
/* 172488 80243BA8 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 172484 80243BA4 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 172488 80243BA8 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 17248C 80243BAC 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* 172490 80243BB0 1462007D */ bne $v1, $v0, .L80243DA8
|
||||
/* 172494 80243BB4 2402000C */ addiu $v0, $zero, 0xc
|
||||
@ -255,11 +255,11 @@ glabel func_802439D8
|
||||
.L80243D8C:
|
||||
/* 17266C 80243D8C AC820000 */ sw $v0, ($a0)
|
||||
/* 172670 80243D90 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 172674 80243D94 3C01800E */ lui $at, 0x800e
|
||||
/* 172678 80243D98 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 172674 80243D94 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 172678 80243D98 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80243D9C:
|
||||
/* 17267C 80243D9C 3C03800E */ lui $v1, 0x800e
|
||||
/* 172680 80243DA0 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 17267C 80243D9C 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 172680 80243DA0 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 172684 80243DA4 2402000C */ addiu $v0, $zero, 0xc
|
||||
.L80243DA8:
|
||||
/* 172688 80243DA8 1462004C */ bne $v1, $v0, .L80243EDC
|
||||
@ -343,11 +343,11 @@ glabel func_802439D8
|
||||
.L80243ED0:
|
||||
/* 1727B0 80243ED0 24020002 */ addiu $v0, $zero, 2
|
||||
.L80243ED4:
|
||||
/* 1727B4 80243ED4 3C01800E */ lui $at, 0x800e
|
||||
/* 1727B8 80243ED8 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1727B4 80243ED4 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1727B8 80243ED8 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80243EDC:
|
||||
/* 1727BC 80243EDC 3C03800E */ lui $v1, 0x800e
|
||||
/* 1727C0 80243EE0 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 1727BC 80243EDC 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 1727C0 80243EE0 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 1727C4 80243EE4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1727C8 80243EE8 14620026 */ bne $v1, $v0, .L80243F84
|
||||
/* 1727CC 80243EEC 28620005 */ slti $v0, $v1, 5
|
||||
@ -387,11 +387,11 @@ glabel func_802439D8
|
||||
/* 172844 80243F64 0C093903 */ jal func_8024E40C
|
||||
/* 172848 80243F68 24040002 */ addiu $a0, $zero, 2
|
||||
/* 17284C 80243F6C 24020003 */ addiu $v0, $zero, 3
|
||||
/* 172850 80243F70 3C01800E */ lui $at, 0x800e
|
||||
/* 172854 80243F74 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 172850 80243F70 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 172854 80243F74 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80243F78:
|
||||
/* 172858 80243F78 3C03800E */ lui $v1, 0x800e
|
||||
/* 17285C 80243F7C 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 172858 80243F78 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 17285C 80243F7C 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 172860 80243F80 28620005 */ slti $v0, $v1, 5
|
||||
.L80243F84:
|
||||
/* 172864 80243F84 10400005 */ beqz $v0, .L80243F9C
|
||||
|
@ -13,8 +13,8 @@ glabel func_80244008
|
||||
/* 172908 80244028 3C158011 */ lui $s5, %hi(gPlayerData)
|
||||
/* 17290C 8024402C 26B5F290 */ addiu $s5, $s5, %lo(gPlayerData)
|
||||
/* 172910 80244030 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 172914 80244034 3C12800E */ lui $s2, 0x800e
|
||||
/* 172918 80244038 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 172914 80244034 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 172918 80244038 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
/* 17291C 8024403C AFBF0034 */ sw $ra, 0x34($sp)
|
||||
/* 172920 80244040 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 172924 80244044 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
@ -78,8 +78,8 @@ glabel func_80244008
|
||||
.L80244118:
|
||||
/* 1729F8 80244118 AE420000 */ sw $v0, ($s2)
|
||||
.L8024411C:
|
||||
/* 1729FC 8024411C 3C12800E */ lui $s2, 0x800e
|
||||
/* 172A00 80244120 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 1729FC 8024411C 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 172A00 80244120 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
/* 172A04 80244124 8E430000 */ lw $v1, ($s2)
|
||||
/* 172A08 80244128 24020005 */ addiu $v0, $zero, 5
|
||||
.L8024412C:
|
||||
@ -176,11 +176,11 @@ glabel func_80244008
|
||||
/* 172B5C 8024427C AE0001D8 */ sw $zero, 0x1d8($s0)
|
||||
.L80244280:
|
||||
/* 172B60 80244280 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* 172B64 80244284 3C01800E */ lui $at, 0x800e
|
||||
/* 172B68 80244288 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 172B64 80244284 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 172B68 80244288 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L8024428C:
|
||||
/* 172B6C 8024428C 3C04800E */ lui $a0, 0x800e
|
||||
/* 172B70 80244290 2484C4DC */ addiu $a0, $a0, -0x3b24
|
||||
/* 172B6C 8024428C 3C04800E */ lui $a0, %hi(gBattleStatus+0x46C)
|
||||
/* 172B70 80244290 2484C4DC */ addiu $a0, $a0, %lo(gBattleStatus+0x46C)
|
||||
/* 172B74 80244294 8C830000 */ lw $v1, ($a0)
|
||||
/* 172B78 80244298 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* 172B7C 8024429C 14620017 */ bne $v1, $v0, .L802442FC
|
||||
@ -210,8 +210,8 @@ glabel func_80244008
|
||||
/* 172BD4 802442F4 AE000054 */ sw $zero, 0x54($s0)
|
||||
/* 172BD8 802442F8 E6000020 */ swc1 $f0, 0x20($s0)
|
||||
.L802442FC:
|
||||
/* 172BDC 802442FC 3C12800E */ lui $s2, 0x800e
|
||||
/* 172BE0 80244300 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 172BDC 802442FC 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 172BE0 80244300 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
/* 172BE4 80244304 8E430000 */ lw $v1, ($s2)
|
||||
/* 172BE8 80244308 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 172BEC 8024430C 1462006D */ bne $v1, $v0, .L802444C4
|
||||
@ -327,8 +327,8 @@ glabel func_80244008
|
||||
/* 172D9C 802444BC 00451024 */ and $v0, $v0, $a1
|
||||
/* 172DA0 802444C0 AC820000 */ sw $v0, ($a0)
|
||||
.L802444C4:
|
||||
/* 172DA4 802444C4 3C03800E */ lui $v1, 0x800e
|
||||
/* 172DA8 802444C8 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 172DA4 802444C4 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 172DA8 802444C8 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 172DAC 802444CC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 172DB0 802444D0 14620026 */ bne $v1, $v0, .L8024456C
|
||||
/* 172DB4 802444D4 00000000 */ nop
|
||||
@ -364,8 +364,8 @@ glabel func_80244008
|
||||
.L80244544:
|
||||
/* 172E24 80244544 3C04800E */ lui $a0, %hi(gBattleStatus)
|
||||
/* 172E28 80244548 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 172E2C 8024454C 3C01800E */ lui $at, 0x800e
|
||||
/* 172E30 80244550 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 172E2C 8024454C 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 172E30 80244550 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 172E34 80244554 8C820000 */ lw $v0, ($a0)
|
||||
/* 172E38 80244558 2403FFFD */ addiu $v1, $zero, -3
|
||||
/* 172E3C 8024455C 3C01802A */ lui $at, 0x802a
|
||||
@ -373,8 +373,8 @@ glabel func_80244008
|
||||
/* 172E44 80244564 00431024 */ and $v0, $v0, $v1
|
||||
/* 172E48 80244568 AC820000 */ sw $v0, ($a0)
|
||||
.L8024456C:
|
||||
/* 172E4C 8024456C 3C12800E */ lui $s2, 0x800e
|
||||
/* 172E50 80244570 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 172E4C 8024456C 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 172E50 80244570 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
/* 172E54 80244574 8E500000 */ lw $s0, ($s2)
|
||||
/* 172E58 80244578 24020003 */ addiu $v0, $zero, 3
|
||||
/* 172E5C 8024457C 16020020 */ bne $s0, $v0, .L80244600
|
||||
@ -414,8 +414,8 @@ glabel func_80244008
|
||||
/* 172ED8 802445F8 00441021 */ addu $v0, $v0, $a0
|
||||
/* 172EDC 802445FC A2620079 */ sb $v0, 0x79($s3)
|
||||
.L80244600:
|
||||
/* 172EE0 80244600 3C03800E */ lui $v1, 0x800e
|
||||
/* 172EE4 80244604 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 172EE0 80244600 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 172EE4 80244604 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 172EE8 80244608 24020004 */ addiu $v0, $zero, 4
|
||||
/* 172EEC 8024460C 14620031 */ bne $v1, $v0, .L802446D4
|
||||
/* 172EF0 80244610 00000000 */ nop
|
||||
|
@ -10,8 +10,8 @@ glabel func_80244710
|
||||
/* 173004 80244724 3C158011 */ lui $s5, %hi(gPlayerData)
|
||||
/* 173008 80244728 26B5F290 */ addiu $s5, $s5, %lo(gPlayerData)
|
||||
/* 17300C 8024472C AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 173010 80244730 3C12800E */ lui $s2, 0x800e
|
||||
/* 173014 80244734 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 173010 80244730 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 173014 80244734 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
/* 173018 80244738 AFBF0030 */ sw $ra, 0x30($sp)
|
||||
/* 17301C 8024473C AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 173020 80244740 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
@ -107,11 +107,11 @@ glabel func_80244710
|
||||
/* 173170 80244890 AE2001D8 */ sw $zero, 0x1d8($s1)
|
||||
.L80244894:
|
||||
/* 173174 80244894 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* 173178 80244898 3C01800E */ lui $at, 0x800e
|
||||
/* 17317C 8024489C AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 173178 80244898 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 17317C 8024489C AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L802448A0:
|
||||
/* 173180 802448A0 3C12800E */ lui $s2, 0x800e
|
||||
/* 173184 802448A4 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 173180 802448A0 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 173184 802448A4 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
/* 173188 802448A8 8E500000 */ lw $s0, ($s2)
|
||||
/* 17318C 802448AC 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* 173190 802448B0 12020005 */ beq $s0, $v0, .L802448C8
|
||||
@ -163,8 +163,8 @@ glabel func_80244710
|
||||
/* 17323C 8024495C A260009A */ sb $zero, 0x9a($s3)
|
||||
/* 173240 80244960 AE500000 */ sw $s0, ($s2)
|
||||
.L80244964:
|
||||
/* 173244 80244964 3C10800E */ lui $s0, 0x800e
|
||||
/* 173248 80244968 2610C4DC */ addiu $s0, $s0, -0x3b24
|
||||
/* 173244 80244964 3C10800E */ lui $s0, %hi(gBattleStatus+0x46C)
|
||||
/* 173248 80244968 2610C4DC */ addiu $s0, $s0, %lo(gBattleStatus+0x46C)
|
||||
/* 17324C 8024496C 8E030000 */ lw $v1, ($s0)
|
||||
/* 173250 80244970 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* 173254 80244974 10620005 */ beq $v1, $v0, .L8024498C
|
||||
@ -201,8 +201,8 @@ glabel func_80244710
|
||||
/* 1732C0 802449E0 3C02800B */ lui $v0, %hi(gCurrentEncounter)
|
||||
/* 1732C4 802449E4 24420F10 */ addiu $v0, $v0, %lo(gCurrentEncounter)
|
||||
/* 1732C8 802449E8 A0430009 */ sb $v1, 9($v0)
|
||||
/* 1732CC 802449EC 3C02800E */ lui $v0, 0x800e
|
||||
/* 1732D0 802449F0 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 1732CC 802449EC 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 1732D0 802449F0 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 1732D4 802449F4 3C030200 */ lui $v1, 0x200
|
||||
/* 1732D8 802449F8 00431024 */ and $v0, $v0, $v1
|
||||
/* 1732DC 802449FC 14400007 */ bnez $v0, .L80244A1C
|
||||
|
@ -7,8 +7,8 @@ glabel func_80244E38
|
||||
/* 173720 80244E40 3C11800E */ lui $s1, %hi(gBattleStatus)
|
||||
/* 173724 80244E44 2631C070 */ addiu $s1, $s1, %lo(gBattleStatus)
|
||||
/* 173728 80244E48 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 17372C 80244E4C 3C12800E */ lui $s2, 0x800e
|
||||
/* 173730 80244E50 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 17372C 80244E4C 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 173730 80244E50 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
/* 173734 80244E54 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 173738 80244E58 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 17373C 80244E5C 8E430000 */ lw $v1, ($s2)
|
||||
|
@ -7,8 +7,8 @@ glabel func_80245440
|
||||
/* 173D28 80245448 3C11800E */ lui $s1, %hi(gBattleStatus)
|
||||
/* 173D2C 8024544C 2631C070 */ addiu $s1, $s1, %lo(gBattleStatus)
|
||||
/* 173D30 80245450 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 173D34 80245454 3C13800E */ lui $s3, 0x800e
|
||||
/* 173D38 80245458 2673C4DC */ addiu $s3, $s3, -0x3b24
|
||||
/* 173D34 80245454 3C13800E */ lui $s3, %hi(gBattleStatus+0x46C)
|
||||
/* 173D38 80245458 2673C4DC */ addiu $s3, $s3, %lo(gBattleStatus+0x46C)
|
||||
/* 173D3C 8024545C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 173D40 80245460 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 173D44 80245464 AFB20020 */ sw $s2, 0x20($sp)
|
||||
@ -95,8 +95,8 @@ glabel func_80245440
|
||||
/* 173E78 80245598 AC820148 */ sw $v0, 0x148($a0)
|
||||
.L8024559C:
|
||||
/* 173E7C 8024559C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 173E80 802455A0 3C01800E */ lui $at, 0x800e
|
||||
/* 173E84 802455A4 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 173E80 802455A0 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 173E84 802455A4 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 173E88 802455A8 0809158F */ j .L8024563C
|
||||
/* 173E8C 802455AC 00000000 */ nop
|
||||
.L802455B0:
|
||||
@ -138,16 +138,16 @@ glabel func_80245440
|
||||
/* 173F14 80245634 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 173F18 80245638 AE620000 */ sw $v0, ($s3)
|
||||
.L8024563C:
|
||||
/* 173F1C 8024563C 3C03800E */ lui $v1, 0x800e
|
||||
/* 173F20 80245640 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 173F1C 8024563C 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 173F20 80245640 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 173F24 80245644 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 173F28 80245648 14620012 */ bne $v1, $v0, .L80245694
|
||||
/* 173F2C 8024564C 24030001 */ addiu $v1, $zero, 1
|
||||
/* 173F30 80245650 3C02800B */ lui $v0, %hi(gCurrentEncounter)
|
||||
/* 173F34 80245654 24420F10 */ addiu $v0, $v0, %lo(gCurrentEncounter)
|
||||
/* 173F38 80245658 A0430009 */ sb $v1, 9($v0)
|
||||
/* 173F3C 8024565C 3C02800E */ lui $v0, 0x800e
|
||||
/* 173F40 80245660 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 173F3C 8024565C 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 173F40 80245660 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 173F44 80245664 3C030200 */ lui $v1, 0x200
|
||||
/* 173F48 80245668 00431024 */ and $v0, $v0, $v1
|
||||
/* 173F4C 8024566C 14400007 */ bnez $v0, .L8024568C
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8024721C
|
||||
/* 175AFC 8024721C 3C02800E */ lui $v0, 0x800e
|
||||
/* 175B00 80247220 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 175AFC 8024721C 3C02800E */ lui $v0, %hi(gBattleStatus+0x46C)
|
||||
/* 175B00 80247220 8C42C4DC */ lw $v0, %lo(gBattleStatus+0x46C)($v0)
|
||||
/* 175B04 80247224 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 175B08 80247228 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 175B0C 8024722C 3C10800E */ lui $s0, %hi(gBattleStatus)
|
||||
|
@ -13,8 +13,8 @@ glabel func_80247B04
|
||||
/* 176404 80247B24 3C13800B */ lui $s3, %hi(gCurrentEncounter)
|
||||
/* 176408 80247B28 26730F10 */ addiu $s3, $s3, %lo(gCurrentEncounter)
|
||||
/* 17640C 80247B2C AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 176410 80247B30 3C16800E */ lui $s6, 0x800e
|
||||
/* 176414 80247B34 26D6C4DC */ addiu $s6, $s6, -0x3b24
|
||||
/* 176410 80247B30 3C16800E */ lui $s6, %hi(gBattleStatus+0x46C)
|
||||
/* 176414 80247B34 26D6C4DC */ addiu $s6, $s6, %lo(gBattleStatus+0x46C)
|
||||
/* 176418 80247B38 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 17641C 80247B3C 24120001 */ addiu $s2, $zero, 1
|
||||
/* 176420 80247B40 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
@ -150,8 +150,8 @@ glabel func_80247B04
|
||||
/* 176600 80247D20 AC830148 */ sw $v1, 0x148($a0)
|
||||
.L80247D24:
|
||||
/* 176604 80247D24 24020001 */ addiu $v0, $zero, 1
|
||||
/* 176608 80247D28 3C01800E */ lui $at, 0x800e
|
||||
/* 17660C 80247D2C AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 176608 80247D28 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 17660C 80247D2C AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 176610 80247D30 08092032 */ j .L802480C8
|
||||
/* 176614 80247D34 00000000 */ nop
|
||||
.L80247D38:
|
||||
@ -364,8 +364,8 @@ glabel func_80247B04
|
||||
.L80248034:
|
||||
/* 176914 80248034 24020003 */ addiu $v0, $zero, 3
|
||||
.L80248038:
|
||||
/* 176918 80248038 3C01800E */ lui $at, 0x800e
|
||||
/* 17691C 8024803C AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 176918 80248038 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 17691C 8024803C AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 176920 80248040 08092032 */ j .L802480C8
|
||||
/* 176924 80248044 00000000 */ nop
|
||||
.L80248048:
|
||||
|
@ -7,8 +7,8 @@ glabel func_80248190
|
||||
/* 176A78 80248198 3C15800E */ lui $s5, %hi(gBattleStatus)
|
||||
/* 176A7C 8024819C 26B5C070 */ addiu $s5, $s5, %lo(gBattleStatus)
|
||||
/* 176A80 802481A0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 176A84 802481A4 3C12800E */ lui $s2, 0x800e
|
||||
/* 176A88 802481A8 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 176A84 802481A4 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 176A88 802481A8 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
/* 176A8C 802481AC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 176A90 802481B0 24110001 */ addiu $s1, $zero, 1
|
||||
/* 176A94 802481B4 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
@ -84,8 +84,8 @@ glabel func_80248190
|
||||
/* 176B94 802482B4 AC830148 */ sw $v1, 0x148($a0)
|
||||
.L802482B8:
|
||||
/* 176B98 802482B8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 176B9C 802482BC 3C01800E */ lui $at, 0x800e
|
||||
/* 176BA0 802482C0 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 176B9C 802482BC 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 176BA0 802482C0 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 176BA4 802482C4 08092176 */ j .L802485D8
|
||||
/* 176BA8 802482C8 00000000 */ nop
|
||||
.L802482CC:
|
||||
@ -274,8 +274,8 @@ glabel func_80248190
|
||||
.L8024856C:
|
||||
/* 176E4C 8024856C 24020003 */ addiu $v0, $zero, 3
|
||||
.L80248570:
|
||||
/* 176E50 80248570 3C01800E */ lui $at, 0x800e
|
||||
/* 176E54 80248574 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 176E50 80248570 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 176E54 80248574 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 176E58 80248578 08092176 */ j .L802485D8
|
||||
/* 176E5C 8024857C 00000000 */ nop
|
||||
.L80248580:
|
||||
|
@ -14,8 +14,8 @@ glabel func_80248660
|
||||
/* 176F64 80248684 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 176F68 80248688 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 176F6C 8024868C 8E7200D8 */ lw $s2, 0xd8($s3)
|
||||
/* 176F70 80248690 3C03800E */ lui $v1, 0x800e
|
||||
/* 176F74 80248694 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 176F70 80248690 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 176F74 80248694 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 176F78 80248698 8E7100DC */ lw $s1, 0xdc($s3)
|
||||
/* 176F7C 8024869C 10600005 */ beqz $v1, .L802486B4
|
||||
/* 176F80 802486A0 24020002 */ addiu $v0, $zero, 2
|
||||
@ -168,8 +168,8 @@ glabel func_80248660
|
||||
/* 177194 802488B4 AE0401E4 */ sw $a0, 0x1e4($s0)
|
||||
/* 177198 802488B8 86640172 */ lh $a0, 0x172($s3)
|
||||
/* 17719C 802488BC 24030002 */ addiu $v1, $zero, 2
|
||||
/* 1771A0 802488C0 3C01800E */ lui $at, 0x800e
|
||||
/* 1771A4 802488C4 AC23C4DC */ sw $v1, -0x3b24($at)
|
||||
/* 1771A0 802488C0 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1771A4 802488C4 AC23C4DC */ sw $v1, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 1771A8 802488C8 080922A1 */ j .L80248A84
|
||||
/* 1771AC 802488CC AC440148 */ sw $a0, 0x148($v0)
|
||||
.L802488D0:
|
||||
|
@ -2,10 +2,10 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80248B08
|
||||
/* 1773E8 80248B08 3C03800E */ lui $v1, 0x800e
|
||||
/* 1773EC 80248B0C 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 1773F0 80248B10 3C06800E */ lui $a2, 0x800e
|
||||
/* 1773F4 80248B14 8CC6C4FC */ lw $a2, -0x3b04($a2)
|
||||
/* 1773E8 80248B08 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 1773EC 80248B0C 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 1773F0 80248B10 3C06800E */ lui $a2, %hi(gBattleStatus+0x48C)
|
||||
/* 1773F4 80248B14 8CC6C4FC */ lw $a2, %lo(gBattleStatus+0x48C)($a2)
|
||||
/* 1773F8 80248B18 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1773FC 80248B1C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 177400 80248B20 3C12800E */ lui $s2, %hi(gBattleStatus)
|
||||
@ -39,8 +39,8 @@ glabel func_80248B08
|
||||
.L80248B90:
|
||||
/* 177470 80248B90 24020001 */ addiu $v0, $zero, 1
|
||||
.L80248B94:
|
||||
/* 177474 80248B94 3C01800E */ lui $at, 0x800e
|
||||
/* 177478 80248B98 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 177474 80248B94 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 177478 80248B98 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 17747C 80248B9C 08092358 */ j .L80248D60
|
||||
/* 177480 80248BA0 00000000 */ nop
|
||||
/* 177484 80248BA4 3C038028 */ lui $v1, 0x8028
|
||||
@ -61,8 +61,8 @@ glabel func_80248B08
|
||||
/* 1774BC 80248BDC 24420032 */ addiu $v0, $v0, 0x32
|
||||
/* 1774C0 80248BE0 24020002 */ addiu $v0, $zero, 2
|
||||
.L80248BE4:
|
||||
/* 1774C4 80248BE4 3C01800E */ lui $at, 0x800e
|
||||
/* 1774C8 80248BE8 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1774C4 80248BE4 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1774C8 80248BE8 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 1774CC 80248BEC 08092358 */ j .L80248D60
|
||||
/* 1774D0 80248BF0 00000000 */ nop
|
||||
.L80248BF4:
|
||||
@ -94,8 +94,8 @@ glabel func_80248B08
|
||||
/* 177530 80248C50 14800006 */ bnez $a0, .L80248C6C
|
||||
/* 177534 80248C54 2405000A */ addiu $a1, $zero, 0xa
|
||||
/* 177538 80248C58 24020004 */ addiu $v0, $zero, 4
|
||||
/* 17753C 80248C5C 3C01800E */ lui $at, 0x800e
|
||||
/* 177540 80248C60 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 17753C 80248C5C 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 177540 80248C60 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 177544 80248C64 08092358 */ j .L80248D60
|
||||
/* 177548 80248C68 00000000 */ nop
|
||||
.L80248C6C:
|
||||
@ -104,8 +104,8 @@ glabel func_80248B08
|
||||
/* 177554 80248C74 AE4200BC */ sw $v0, 0xbc($s2)
|
||||
/* 177558 80248C78 8C430144 */ lw $v1, 0x144($v0)
|
||||
/* 17755C 80248C7C 24020003 */ addiu $v0, $zero, 3
|
||||
/* 177560 80248C80 3C01800E */ lui $at, 0x800e
|
||||
/* 177564 80248C84 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 177560 80248C80 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 177564 80248C84 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 177568 80248C88 08092358 */ j .L80248D60
|
||||
/* 17756C 80248C8C AE4300C0 */ sw $v1, 0xc0($s2)
|
||||
/* 177570 80248C90 8E4400C0 */ lw $a0, 0xc0($s2)
|
||||
@ -113,8 +113,8 @@ glabel func_80248B08
|
||||
/* 177578 80248C98 00000000 */ nop
|
||||
/* 17757C 80248C9C 14400030 */ bnez $v0, .L80248D60
|
||||
/* 177580 80248CA0 24020004 */ addiu $v0, $zero, 4
|
||||
/* 177584 80248CA4 3C01800E */ lui $at, 0x800e
|
||||
/* 177588 80248CA8 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 177584 80248CA4 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 177588 80248CA8 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 17758C 80248CAC 0C0B1045 */ jal kill_all_scripts
|
||||
/* 177590 80248CB0 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 177594 80248CB4 0240802D */ daddu $s0, $s2, $zero
|
||||
@ -140,8 +140,8 @@ glabel func_80248B08
|
||||
/* 1775D8 80248CF8 00000000 */ nop
|
||||
/* 1775DC 80248CFC 0C051FB1 */ jal func_80147EC4
|
||||
/* 1775E0 80248D00 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 1775E4 80248D04 3C02800E */ lui $v0, 0x800e
|
||||
/* 1775E8 80248D08 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 1775E4 80248D04 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 1775E8 80248D08 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 1775EC 80248D0C 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 1775F0 80248D10 10400003 */ beqz $v0, .L80248D20
|
||||
/* 1775F4 80248D14 00000000 */ nop
|
||||
@ -161,8 +161,8 @@ glabel func_80248B08
|
||||
/* 177624 80248D44 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 177628 80248D48 3C02800E */ lui $v0, %hi(gBattleState)
|
||||
/* 17762C 80248D4C 8C42C068 */ lw $v0, %lo(gBattleState)($v0)
|
||||
/* 177630 80248D50 3C01800E */ lui $at, 0x800e
|
||||
/* 177634 80248D54 AC22C4D0 */ sw $v0, -0x3b30($at)
|
||||
/* 177630 80248D50 3C01800E */ lui $at, %hi(gBattleStatus+0x460)
|
||||
/* 177634 80248D54 AC22C4D0 */ sw $v0, %lo(gBattleStatus+0x460)($at)
|
||||
/* 177638 80248D58 0C00CD3C */ jal set_game_mode
|
||||
/* 17763C 80248D5C 24040009 */ addiu $a0, $zero, 9
|
||||
.L80248D60:
|
||||
|
@ -31,8 +31,8 @@ glabel switch_order
|
||||
/* 172260 80243980 00431024 */ and $v0, $v0, $v1
|
||||
/* 172264 80243984 1440000B */ bnez $v0, .L802439B4
|
||||
/* 172268 80243988 2404000E */ addiu $a0, $zero, 0xe
|
||||
/* 17226C 8024398C 3C11800E */ lui $s1, 0x800e
|
||||
/* 172270 80243990 2631C4DC */ addiu $s1, $s1, -0x3b24
|
||||
/* 17226C 8024398C 3C11800E */ lui $s1, %hi(gBattleStatus+0x46C)
|
||||
/* 172270 80243990 2631C4DC */ addiu $s1, $s1, %lo(gBattleStatus+0x46C)
|
||||
/* 172274 80243994 8E300000 */ lw $s0, ($s1)
|
||||
/* 172278 80243998 24020046 */ addiu $v0, $zero, 0x46
|
||||
/* 17227C 8024399C 16020005 */ bne $s0, $v0, .L802439B4
|
||||
|
@ -10,8 +10,8 @@ glabel switch_to_partner
|
||||
/* 1717F4 80242F14 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1717F8 80242F18 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1717FC 80242F1C 8E1100D8 */ lw $s1, 0xd8($s0)
|
||||
/* 171800 80242F20 3C02800E */ lui $v0, 0x800e
|
||||
/* 171804 80242F24 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 171800 80242F20 3C02800E */ lui $v0, %hi(gBattleStatus+0x46C)
|
||||
/* 171804 80242F24 8C42C4DC */ lw $v0, %lo(gBattleStatus+0x46C)($v0)
|
||||
/* 171808 80242F28 14400025 */ bnez $v0, .L80242FC0
|
||||
/* 17180C 80242F2C 8E1200DC */ lw $s2, 0xdc($s0)
|
||||
/* 171810 80242F30 0C098F18 */ jal func_80263C60
|
||||
|
@ -10,8 +10,8 @@ glabel switch_to_player
|
||||
/* 1713BC 80242ADC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1713C0 80242AE0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1713C4 80242AE4 8E1200D8 */ lw $s2, 0xd8($s0)
|
||||
/* 1713C8 80242AE8 3C02800E */ lui $v0, 0x800e
|
||||
/* 1713CC 80242AEC 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 1713C8 80242AE8 3C02800E */ lui $v0, %hi(gBattleStatus+0x46C)
|
||||
/* 1713CC 80242AEC 8C42C4DC */ lw $v0, %lo(gBattleStatus+0x46C)($v0)
|
||||
/* 1713D0 80242AF0 8E1100DC */ lw $s1, 0xdc($s0)
|
||||
/* 1713D4 80242AF4 14400026 */ bnez $v0, .L80242B90
|
||||
/* 1713D8 80242AF8 3C03FFF7 */ lui $v1, 0xfff7
|
||||
|
@ -7,8 +7,8 @@ glabel update_end_player_turn
|
||||
/* 171498 80242BB8 3C12800E */ lui $s2, %hi(gBattleStatus)
|
||||
/* 17149C 80242BBC 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)
|
||||
/* 1714A0 80242BC0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1714A4 80242BC4 3C11800E */ lui $s1, 0x800e
|
||||
/* 1714A8 80242BC8 2631C4DC */ addiu $s1, $s1, -0x3b24
|
||||
/* 1714A4 80242BC4 3C11800E */ lui $s1, %hi(gBattleStatus+0x46C)
|
||||
/* 1714A8 80242BC8 2631C4DC */ addiu $s1, $s1, %lo(gBattleStatus+0x46C)
|
||||
/* 1714AC 80242BCC AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 1714B0 80242BD0 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 1714B4 80242BD4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
@ -39,8 +39,8 @@ glabel update_end_player_turn
|
||||
.L80242C34:
|
||||
/* 171514 80242C34 AE220000 */ sw $v0, ($s1)
|
||||
.L80242C38:
|
||||
/* 171518 80242C38 3C03800E */ lui $v1, 0x800e
|
||||
/* 17151C 80242C3C 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 171518 80242C38 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 17151C 80242C3C 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 171520 80242C40 24020064 */ addiu $v0, $zero, 0x64
|
||||
/* 171524 80242C44 14620048 */ bne $v1, $v0, .L80242D68
|
||||
/* 171528 80242C48 24020001 */ addiu $v0, $zero, 1
|
||||
@ -114,11 +114,11 @@ glabel update_end_player_turn
|
||||
/* 171628 80242D48 1440FFF8 */ bnez $v0, .L80242D2C
|
||||
/* 17162C 80242D4C 24840004 */ addiu $a0, $a0, 4
|
||||
/* 171630 80242D50 24020001 */ addiu $v0, $zero, 1
|
||||
/* 171634 80242D54 3C01800E */ lui $at, 0x800e
|
||||
/* 171638 80242D58 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 171634 80242D54 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 171638 80242D58 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80242D5C:
|
||||
/* 17163C 80242D5C 3C03800E */ lui $v1, 0x800e
|
||||
/* 171640 80242D60 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 17163C 80242D5C 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 171640 80242D60 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 171644 80242D64 24020001 */ addiu $v0, $zero, 1
|
||||
.L80242D68:
|
||||
/* 171648 80242D68 1462001B */ bne $v1, $v0, .L80242DD8
|
||||
@ -148,11 +148,11 @@ glabel update_end_player_turn
|
||||
/* 1716A4 80242DC4 00000000 */ nop
|
||||
/* 1716A8 80242DC8 14400044 */ bnez $v0, .L80242EDC
|
||||
/* 1716AC 80242DCC 24020008 */ addiu $v0, $zero, 8
|
||||
/* 1716B0 80242DD0 3C01800E */ lui $at, 0x800e
|
||||
/* 1716B4 80242DD4 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1716B0 80242DD0 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1716B4 80242DD4 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80242DD8:
|
||||
/* 1716B8 80242DD8 3C11800E */ lui $s1, 0x800e
|
||||
/* 1716BC 80242DDC 2631C4DC */ addiu $s1, $s1, -0x3b24
|
||||
/* 1716B8 80242DD8 3C11800E */ lui $s1, %hi(gBattleStatus+0x46C)
|
||||
/* 1716BC 80242DDC 2631C4DC */ addiu $s1, $s1, %lo(gBattleStatus+0x46C)
|
||||
/* 1716C0 80242DE0 8E230000 */ lw $v1, ($s1)
|
||||
/* 1716C4 80242DE4 24020008 */ addiu $v0, $zero, 8
|
||||
/* 1716C8 80242DE8 14620014 */ bne $v1, $v0, .L80242E3C
|
||||
@ -173,8 +173,8 @@ glabel update_end_player_turn
|
||||
.L80242E24:
|
||||
/* 171704 80242E24 24020009 */ addiu $v0, $zero, 9
|
||||
/* 171708 80242E28 AE220000 */ sw $v0, ($s1)
|
||||
/* 17170C 80242E2C 3C11800E */ lui $s1, 0x800e
|
||||
/* 171710 80242E30 2631C4DC */ addiu $s1, $s1, -0x3b24
|
||||
/* 17170C 80242E2C 3C11800E */ lui $s1, %hi(gBattleStatus+0x46C)
|
||||
/* 171710 80242E30 2631C4DC */ addiu $s1, $s1, %lo(gBattleStatus+0x46C)
|
||||
/* 171714 80242E34 8E230000 */ lw $v1, ($s1)
|
||||
/* 171718 80242E38 24020009 */ addiu $v0, $zero, 9
|
||||
.L80242E3C:
|
||||
@ -191,8 +191,8 @@ glabel update_end_player_turn
|
||||
.L80242E64:
|
||||
/* 171744 80242E64 AE220000 */ sw $v0, ($s1)
|
||||
.L80242E68:
|
||||
/* 171748 80242E68 3C03800E */ lui $v1, 0x800e
|
||||
/* 17174C 80242E6C 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 171748 80242E68 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 17174C 80242E6C 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 171750 80242E70 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 171754 80242E74 14620019 */ bne $v1, $v0, .L80242EDC
|
||||
/* 171758 80242E78 00000000 */ nop
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel update_enemy_action
|
||||
/* 175E50 80247570 3C03800E */ lui $v1, 0x800e
|
||||
/* 175E54 80247574 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 175E50 80247570 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 175E54 80247574 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 175E58 80247578 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 175E5C 8024757C AFB60028 */ sw $s6, 0x28($sp)
|
||||
/* 175E60 80247580 3C16800E */ lui $s6, %hi(gBattleStatus)
|
||||
@ -270,8 +270,8 @@ glabel update_enemy_action
|
||||
.L8024794C:
|
||||
/* 17622C 8024794C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 176230 80247950 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 176234 80247954 3C01800E */ lui $at, 0x800e
|
||||
/* 176238 80247958 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 176234 80247954 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 176238 80247958 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L8024795C:
|
||||
/* 17623C 8024795C 0C093E58 */ jal show_battle_message
|
||||
/* 176240 80247960 2405003C */ addiu $a1, $zero, 0x3c
|
||||
@ -301,11 +301,11 @@ glabel update_enemy_action
|
||||
.L802479C0:
|
||||
/* 1762A0 802479C0 24020014 */ addiu $v0, $zero, 0x14
|
||||
.L802479C4:
|
||||
/* 1762A4 802479C4 3C01800E */ lui $at, 0x800e
|
||||
/* 1762A8 802479C8 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1762A4 802479C4 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1762A8 802479C8 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L802479CC:
|
||||
/* 1762AC 802479CC 3C10800E */ lui $s0, 0x800e
|
||||
/* 1762B0 802479D0 2610C4DC */ addiu $s0, $s0, -0x3b24
|
||||
/* 1762AC 802479CC 3C10800E */ lui $s0, %hi(gBattleStatus+0x46C)
|
||||
/* 1762B0 802479D0 2610C4DC */ addiu $s0, $s0, %lo(gBattleStatus+0x46C)
|
||||
/* 1762B4 802479D4 8E030000 */ lw $v1, ($s0)
|
||||
/* 1762B8 802479D8 24110015 */ addiu $s1, $zero, 0x15
|
||||
/* 1762BC 802479DC 10710020 */ beq $v1, $s1, .L80247A60
|
||||
@ -370,8 +370,8 @@ glabel update_enemy_action
|
||||
.L80247AB4:
|
||||
/* 176394 80247AB4 AE020000 */ sw $v0, ($s0)
|
||||
.L80247AB8:
|
||||
/* 176398 80247AB8 3C03800E */ lui $v1, 0x800e
|
||||
/* 17639C 80247ABC 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 176398 80247AB8 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 17639C 80247ABC 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 1763A0 80247AC0 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 1763A4 80247AC4 14620003 */ bne $v1, $v0, .L80247AD4
|
||||
/* 1763A8 80247AC8 00000000 */ nop
|
||||
|
@ -9,8 +9,8 @@ glabel update_enemy_change_turn
|
||||
/* 175B9C 802472BC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 175BA0 802472C0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 175BA4 802472C4 8E2A00D8 */ lw $t2, 0xd8($s1)
|
||||
/* 175BA8 802472C8 3C03800E */ lui $v1, 0x800e
|
||||
/* 175BAC 802472CC 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 175BA8 802472C8 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 175BAC 802472CC 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 175BB0 802472D0 8E2700DC */ lw $a3, 0xdc($s1)
|
||||
/* 175BB4 802472D4 0460009F */ bltz $v1, .L80247554
|
||||
/* 175BB8 802472D8 28620002 */ slti $v0, $v1, 2
|
||||
@ -102,8 +102,8 @@ glabel update_enemy_change_turn
|
||||
.L80247400:
|
||||
/* 175CE0 80247400 10600005 */ beqz $v1, .L80247418
|
||||
/* 175CE4 80247404 3C03FFFB */ lui $v1, 0xfffb
|
||||
/* 175CE8 80247408 3C01800E */ lui $at, 0x800e
|
||||
/* 175CEC 8024740C AC20C4DC */ sw $zero, -0x3b24($at)
|
||||
/* 175CE8 80247408 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 175CEC 8024740C AC20C4DC */ sw $zero, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 175CF0 80247410 08091D55 */ j .L80247554
|
||||
/* 175CF4 80247414 00000000 */ nop
|
||||
.L80247418:
|
||||
@ -157,8 +157,8 @@ glabel update_enemy_change_turn
|
||||
/* 175DB0 802474D0 AC430148 */ sw $v1, 0x148($v0)
|
||||
.L802474D4:
|
||||
/* 175DB4 802474D4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 175DB8 802474D8 3C01800E */ lui $at, 0x800e
|
||||
/* 175DBC 802474DC AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 175DB8 802474D8 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 175DBC 802474DC AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 175DC0 802474E0 08091D55 */ j .L80247554
|
||||
/* 175DC4 802474E4 00000000 */ nop
|
||||
.L802474E8:
|
||||
|
@ -10,8 +10,8 @@ glabel update_heroes_start_turn
|
||||
/* 170918 80242038 3C168011 */ lui $s6, %hi(gPlayerData)
|
||||
/* 17091C 8024203C 26D6F290 */ addiu $s6, $s6, %lo(gPlayerData)
|
||||
/* 170920 80242040 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 170924 80242044 3C12800E */ lui $s2, 0x800e
|
||||
/* 170928 80242048 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 170924 80242044 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 170928 80242048 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
/* 17092C 8024204C AFBF0034 */ sw $ra, 0x34($sp)
|
||||
/* 170930 80242050 AFB5002C */ sw $s5, 0x2c($sp)
|
||||
/* 170934 80242054 AFB40028 */ sw $s4, 0x28($sp)
|
||||
@ -106,8 +106,8 @@ glabel update_heroes_start_turn
|
||||
/* 170A88 802421A8 34420004 */ ori $v0, $v0, 4
|
||||
/* 170A8C 802421AC AE620004 */ sw $v0, 4($s3)
|
||||
.L802421B0:
|
||||
/* 170A90 802421B0 3C12800E */ lui $s2, 0x800e
|
||||
/* 170A94 802421B4 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 170A90 802421B0 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 170A94 802421B4 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
/* 170A98 802421B8 8E440000 */ lw $a0, ($s2)
|
||||
/* 170A9C 802421BC 24150002 */ addiu $s5, $zero, 2
|
||||
/* 170AA0 802421C0 10950066 */ beq $a0, $s5, .L8024235C
|
||||
@ -223,8 +223,8 @@ glabel update_heroes_start_turn
|
||||
.L80242370:
|
||||
/* 170C50 80242370 AE420000 */ sw $v0, ($s2)
|
||||
.L80242374:
|
||||
/* 170C54 80242374 3C10800E */ lui $s0, 0x800e
|
||||
/* 170C58 80242378 2610C4DC */ addiu $s0, $s0, -0x3b24
|
||||
/* 170C54 80242374 3C10800E */ lui $s0, %hi(gBattleStatus+0x46C)
|
||||
/* 170C58 80242378 2610C4DC */ addiu $s0, $s0, %lo(gBattleStatus+0x46C)
|
||||
/* 170C5C 8024237C 8E030000 */ lw $v1, ($s0)
|
||||
/* 170C60 80242380 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* 170C64 80242384 10620005 */ beq $v1, $v0, .L8024239C
|
||||
@ -266,8 +266,8 @@ glabel update_heroes_start_turn
|
||||
.L80242408:
|
||||
/* 170CE8 80242408 AE020000 */ sw $v0, ($s0)
|
||||
.L8024240C:
|
||||
/* 170CEC 8024240C 3C10800E */ lui $s0, 0x800e
|
||||
/* 170CF0 80242410 2610C4DC */ addiu $s0, $s0, -0x3b24
|
||||
/* 170CEC 8024240C 3C10800E */ lui $s0, %hi(gBattleStatus+0x46C)
|
||||
/* 170CF0 80242410 2610C4DC */ addiu $s0, $s0, %lo(gBattleStatus+0x46C)
|
||||
/* 170CF4 80242414 8E030000 */ lw $v1, ($s0)
|
||||
/* 170CF8 80242418 2402000F */ addiu $v0, $zero, 0xf
|
||||
.L8024241C:
|
||||
@ -324,8 +324,8 @@ glabel update_heroes_start_turn
|
||||
.L802424D0:
|
||||
/* 170DB0 802424D0 AE020000 */ sw $v0, ($s0)
|
||||
.L802424D4:
|
||||
/* 170DB4 802424D4 3C03800E */ lui $v1, 0x800e
|
||||
/* 170DB8 802424D8 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 170DB4 802424D4 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 170DB8 802424D8 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 170DBC 802424DC 24020015 */ addiu $v0, $zero, 0x15
|
||||
/* 170DC0 802424E0 14620042 */ bne $v1, $v0, .L802425EC
|
||||
/* 170DC4 802424E4 24020016 */ addiu $v0, $zero, 0x16
|
||||
@ -393,10 +393,10 @@ glabel update_heroes_start_turn
|
||||
.L802425D4:
|
||||
/* 170EB4 802425D4 24020016 */ addiu $v0, $zero, 0x16
|
||||
.L802425D8:
|
||||
/* 170EB8 802425D8 3C01800E */ lui $at, 0x800e
|
||||
/* 170EBC 802425DC AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 170EC0 802425E0 3C03800E */ lui $v1, 0x800e
|
||||
/* 170EC4 802425E4 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 170EB8 802425D8 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 170EBC 802425DC AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 170EC0 802425E0 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 170EC4 802425E4 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 170EC8 802425E8 24020016 */ addiu $v0, $zero, 0x16
|
||||
.L802425EC:
|
||||
/* 170ECC 802425EC 146200A8 */ bne $v1, $v0, .L80242890
|
||||
@ -582,11 +582,11 @@ glabel update_heroes_start_turn
|
||||
/* 17115C 8024287C 1440FFE9 */ bnez $v0, .L80242824
|
||||
/* 171160 80242880 26100004 */ addiu $s0, $s0, 4
|
||||
/* 171164 80242884 24020001 */ addiu $v0, $zero, 1
|
||||
/* 171168 80242888 3C01800E */ lui $at, 0x800e
|
||||
/* 17116C 8024288C AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 171168 80242888 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 17116C 8024288C AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80242890:
|
||||
/* 171170 80242890 3C12800E */ lui $s2, 0x800e
|
||||
/* 171174 80242894 8E52C4DC */ lw $s2, -0x3b24($s2)
|
||||
/* 171170 80242890 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 171174 80242894 8E52C4DC */ lw $s2, %lo(gBattleStatus+0x46C)($s2)
|
||||
/* 171178 80242898 24020001 */ addiu $v0, $zero, 1
|
||||
/* 17117C 8024289C 16420051 */ bne $s2, $v0, .L802429E4
|
||||
/* 171180 802428A0 00000000 */ nop
|
||||
@ -672,11 +672,11 @@ glabel update_heroes_start_turn
|
||||
.L802429D8:
|
||||
/* 1712B8 802429D8 2402001E */ addiu $v0, $zero, 0x1e
|
||||
.L802429DC:
|
||||
/* 1712BC 802429DC 3C01800E */ lui $at, 0x800e
|
||||
/* 1712C0 802429E0 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1712BC 802429DC 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1712C0 802429E0 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L802429E4:
|
||||
/* 1712C4 802429E4 3C03800E */ lui $v1, 0x800e
|
||||
/* 1712C8 802429E8 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 1712C4 802429E4 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 1712C8 802429E8 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 1712CC 802429EC 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 1712D0 802429F0 14620026 */ bne $v1, $v0, .L80242A8C
|
||||
/* 1712D4 802429F4 00000000 */ nop
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel update_partner_action
|
||||
/* 175414 80246B34 3C03800E */ lui $v1, 0x800e
|
||||
/* 175418 80246B38 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 175414 80246B34 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 175418 80246B38 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 17541C 80246B3C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 175420 80246B40 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 175424 80246B44 3C15800E */ lui $s5, %hi(gBattleStatus)
|
||||
@ -115,8 +115,8 @@ glabel update_partner_action
|
||||
/* 1755B8 80246CD8 AE8201D4 */ sw $v0, 0x1d4($s4)
|
||||
/* 1755BC 80246CDC 8C440144 */ lw $a0, 0x144($v0)
|
||||
/* 1755C0 80246CE0 24030003 */ addiu $v1, $zero, 3
|
||||
/* 1755C4 80246CE4 3C01800E */ lui $at, 0x800e
|
||||
/* 1755C8 80246CE8 AC23C4DC */ sw $v1, -0x3b24($at)
|
||||
/* 1755C4 80246CE4 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1755C8 80246CE8 AC23C4DC */ sw $v1, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 1755CC 80246CEC 24030100 */ addiu $v1, $zero, 0x100
|
||||
/* 1755D0 80246CF0 AE8401E4 */ sw $a0, 0x1e4($s4)
|
||||
/* 1755D4 80246CF4 08091BFF */ j .L80246FFC
|
||||
@ -298,8 +298,8 @@ glabel update_partner_action
|
||||
/* 175858 80246F78 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* 17585C 80246F7C A280021C */ sb $zero, 0x21c($s4)
|
||||
/* 175860 80246F80 A280021D */ sb $zero, 0x21d($s4)
|
||||
/* 175864 80246F84 3C01800E */ lui $at, 0x800e
|
||||
/* 175868 80246F88 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 175864 80246F84 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 175868 80246F88 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 17586C 80246F8C 8E820000 */ lw $v0, ($s4)
|
||||
/* 175870 80246F90 3C030800 */ lui $v1, 0x800
|
||||
/* 175874 80246F94 00431025 */ or $v0, $v0, $v1
|
||||
@ -328,11 +328,11 @@ glabel update_partner_action
|
||||
.L80246FF0:
|
||||
/* 1758D0 80246FF0 24020014 */ addiu $v0, $zero, 0x14
|
||||
.L80246FF4:
|
||||
/* 1758D4 80246FF4 3C01800E */ lui $at, 0x800e
|
||||
/* 1758D8 80246FF8 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1758D4 80246FF4 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1758D8 80246FF8 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80246FFC:
|
||||
/* 1758DC 80246FFC 3C10800E */ lui $s0, 0x800e
|
||||
/* 1758E0 80247000 2610C4DC */ addiu $s0, $s0, -0x3b24
|
||||
/* 1758DC 80246FFC 3C10800E */ lui $s0, %hi(gBattleStatus+0x46C)
|
||||
/* 1758E0 80247000 2610C4DC */ addiu $s0, $s0, %lo(gBattleStatus+0x46C)
|
||||
/* 1758E4 80247004 8E030000 */ lw $v1, ($s0)
|
||||
/* 1758E8 80247008 24020015 */ addiu $v0, $zero, 0x15
|
||||
/* 1758EC 8024700C 10620052 */ beq $v1, $v0, .L80247158
|
||||
@ -366,8 +366,8 @@ glabel update_partner_action
|
||||
.L8024706C:
|
||||
/* 17594C 8024706C 16600005 */ bnez $s3, .L80247084
|
||||
/* 175950 80247070 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 175954 80247074 3C01800E */ lui $at, 0x800e
|
||||
/* 175958 80247078 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 175954 80247074 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 175958 80247078 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 17595C 8024707C 08091C6C */ j .L802471B0
|
||||
/* 175960 80247080 00000000 */ nop
|
||||
.L80247084:
|
||||
@ -404,8 +404,8 @@ glabel update_partner_action
|
||||
.L802470FC:
|
||||
/* 1759DC 802470FC 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 1759E0 80247100 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 1759E4 80247104 3C01800E */ lui $at, 0x800e
|
||||
/* 1759E8 80247108 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1759E4 80247104 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1759E8 80247108 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L8024710C:
|
||||
/* 1759EC 8024710C 0C05272D */ jal play_sound
|
||||
/* 1759F0 80247110 24042107 */ addiu $a0, $zero, 0x2107
|
||||
@ -424,8 +424,8 @@ glabel update_partner_action
|
||||
/* 175A1C 8024713C 1440FFFA */ bnez $v0, .L80247128
|
||||
/* 175A20 80247140 24630004 */ addiu $v1, $v1, 4
|
||||
/* 175A24 80247144 24020015 */ addiu $v0, $zero, 0x15
|
||||
/* 175A28 80247148 3C01800E */ lui $at, 0x800e
|
||||
/* 175A2C 8024714C AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 175A28 80247148 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 175A2C 8024714C AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 175A30 80247150 08091C6C */ j .L802471B0
|
||||
/* 175A34 80247154 00000000 */ nop
|
||||
.L80247158:
|
||||
@ -455,8 +455,8 @@ glabel update_partner_action
|
||||
.L802471AC:
|
||||
/* 175A8C 802471AC AE020000 */ sw $v0, ($s0)
|
||||
.L802471B0:
|
||||
/* 175A90 802471B0 3C03800E */ lui $v1, 0x800e
|
||||
/* 175A94 802471B4 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 175A90 802471B0 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 175A94 802471B4 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 175A98 802471B8 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 175A9C 802471BC 1462000C */ bne $v1, $v0, .L802471F0
|
||||
/* 175AA0 802471C0 00000000 */ nop
|
||||
|
@ -13,8 +13,8 @@ glabel update_player_action
|
||||
/* 1743D0 80245AF0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1743D4 80245AF4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1743D8 80245AF8 8E9500D8 */ lw $s5, 0xd8($s4)
|
||||
/* 1743DC 80245AFC 3C02800E */ lui $v0, 0x800e
|
||||
/* 1743E0 80245B00 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 1743DC 80245AFC 3C02800E */ lui $v0, %hi(gBattleStatus+0x46C)
|
||||
/* 1743E0 80245B00 8C42C4DC */ lw $v0, %lo(gBattleStatus+0x46C)($v0)
|
||||
/* 1743E4 80245B04 8E9200DC */ lw $s2, 0xdc($s4)
|
||||
/* 1743E8 80245B08 14400068 */ bnez $v0, .L80245CAC
|
||||
/* 1743EC 80245B0C 2402007F */ addiu $v0, $zero, 0x7f
|
||||
@ -113,8 +113,8 @@ glabel update_player_action
|
||||
/* 17454C 80245C6C 00431025 */ or $v0, $v0, $v1
|
||||
/* 174550 80245C70 0C093EC3 */ jal close_action_command_instruction_popup
|
||||
/* 174554 80245C74 AC820000 */ sw $v0, ($a0)
|
||||
/* 174558 80245C78 3C01800E */ lui $at, 0x800e
|
||||
/* 17455C 80245C7C AC30C4DC */ sw $s0, -0x3b24($at)
|
||||
/* 174558 80245C78 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 17455C 80245C7C AC30C4DC */ sw $s0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 174560 80245C80 0809172B */ j .L80245CAC
|
||||
/* 174564 80245C84 00000000 */ nop
|
||||
.L80245C88:
|
||||
@ -122,15 +122,15 @@ glabel update_player_action
|
||||
.L80245C8C:
|
||||
/* 17456C 80245C8C 3C04800E */ lui $a0, %hi(gBattleStatus)
|
||||
/* 174570 80245C90 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 174574 80245C94 3C01800E */ lui $at, 0x800e
|
||||
/* 174578 80245C98 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 174574 80245C94 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174578 80245C98 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 17457C 80245C9C 8C820000 */ lw $v0, ($a0)
|
||||
/* 174580 80245CA0 2403FFFD */ addiu $v1, $zero, -3
|
||||
/* 174584 80245CA4 00431024 */ and $v0, $v0, $v1
|
||||
/* 174588 80245CA8 AC820000 */ sw $v0, ($a0)
|
||||
.L80245CAC:
|
||||
/* 17458C 80245CAC 3C04800E */ lui $a0, 0x800e
|
||||
/* 174590 80245CB0 2484C4DC */ addiu $a0, $a0, -0x3b24
|
||||
/* 17458C 80245CAC 3C04800E */ lui $a0, %hi(gBattleStatus+0x46C)
|
||||
/* 174590 80245CB0 2484C4DC */ addiu $a0, $a0, %lo(gBattleStatus+0x46C)
|
||||
/* 174594 80245CB4 8C830000 */ lw $v1, ($a0)
|
||||
/* 174598 80245CB8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 17459C 80245CBC 10620005 */ beq $v1, $v0, .L80245CD4
|
||||
@ -171,8 +171,8 @@ glabel update_player_action
|
||||
.L80245D3C:
|
||||
/* 17461C 80245D3C 3C01802A */ lui $at, 0x802a
|
||||
/* 174620 80245D40 AC22F248 */ sw $v0, -0xdb8($at)
|
||||
/* 174624 80245D44 3C01800E */ lui $at, 0x800e
|
||||
/* 174628 80245D48 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 174624 80245D44 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174628 80245D48 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 17462C 80245D4C 0809175E */ j .L80245D78
|
||||
/* 174630 80245D50 00000000 */ nop
|
||||
.L80245D54:
|
||||
@ -187,8 +187,8 @@ glabel update_player_action
|
||||
/* 174650 80245D70 24020003 */ addiu $v0, $zero, 3
|
||||
/* 174654 80245D74 AC820000 */ sw $v0, ($a0)
|
||||
.L80245D78:
|
||||
/* 174658 80245D78 3C10800E */ lui $s0, 0x800e
|
||||
/* 17465C 80245D7C 2610C4DC */ addiu $s0, $s0, -0x3b24
|
||||
/* 174658 80245D78 3C10800E */ lui $s0, %hi(gBattleStatus+0x46C)
|
||||
/* 17465C 80245D7C 2610C4DC */ addiu $s0, $s0, %lo(gBattleStatus+0x46C)
|
||||
/* 174660 80245D80 8E030000 */ lw $v1, ($s0)
|
||||
/* 174664 80245D84 24020004 */ addiu $v0, $zero, 4
|
||||
/* 174668 80245D88 10620031 */ beq $v1, $v0, .L80245E50
|
||||
@ -239,8 +239,8 @@ glabel update_player_action
|
||||
/* 174710 80245E30 AEA401D4 */ sw $a0, 0x1d4($s5)
|
||||
/* 174714 80245E34 8C830144 */ lw $v1, 0x144($a0)
|
||||
/* 174718 80245E38 24020004 */ addiu $v0, $zero, 4
|
||||
/* 17471C 80245E3C 3C01800E */ lui $at, 0x800e
|
||||
/* 174720 80245E40 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 17471C 80245E3C 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174720 80245E40 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 174724 80245E44 AEA301E4 */ sw $v1, 0x1e4($s5)
|
||||
/* 174728 80245E48 080918A2 */ j .L80246288
|
||||
/* 17472C 80245E4C AC800148 */ sw $zero, 0x148($a0)
|
||||
@ -457,8 +457,8 @@ glabel update_player_action
|
||||
.L80246144:
|
||||
/* 174A24 80246144 16600005 */ bnez $s3, .L8024615C
|
||||
/* 174A28 80246148 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 174A2C 8024614C 3C01800E */ lui $at, 0x800e
|
||||
/* 174A30 80246150 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 174A2C 8024614C 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174A30 80246150 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 174A34 80246154 080918A2 */ j .L80246288
|
||||
/* 174A38 80246158 00000000 */ nop
|
||||
.L8024615C:
|
||||
@ -495,8 +495,8 @@ glabel update_player_action
|
||||
.L802461D4:
|
||||
/* 174AB4 802461D4 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 174AB8 802461D8 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 174ABC 802461DC 3C01800E */ lui $at, 0x800e
|
||||
/* 174AC0 802461E0 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 174ABC 802461DC 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174AC0 802461E0 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L802461E4:
|
||||
/* 174AC4 802461E4 0C05272D */ jal play_sound
|
||||
/* 174AC8 802461E8 24042107 */ addiu $a0, $zero, 0x2107
|
||||
@ -515,8 +515,8 @@ glabel update_player_action
|
||||
/* 174AF4 80246214 1440FFFA */ bnez $v0, .L80246200
|
||||
/* 174AF8 80246218 24630004 */ addiu $v1, $v1, 4
|
||||
/* 174AFC 8024621C 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* 174B00 80246220 3C01800E */ lui $at, 0x800e
|
||||
/* 174B04 80246224 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 174B00 80246220 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174B04 80246224 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 174B08 80246228 080918A2 */ j .L80246288
|
||||
/* 174B0C 8024622C 00000000 */ nop
|
||||
.L80246230:
|
||||
@ -546,8 +546,8 @@ glabel update_player_action
|
||||
.L80246284:
|
||||
/* 174B64 80246284 AE020000 */ sw $v0, ($s0)
|
||||
.L80246288:
|
||||
/* 174B68 80246288 3C10800E */ lui $s0, 0x800e
|
||||
/* 174B6C 8024628C 2610C4DC */ addiu $s0, $s0, -0x3b24
|
||||
/* 174B68 80246288 3C10800E */ lui $s0, %hi(gBattleStatus+0x46C)
|
||||
/* 174B6C 8024628C 2610C4DC */ addiu $s0, $s0, %lo(gBattleStatus+0x46C)
|
||||
/* 174B70 80246290 8E030000 */ lw $v1, ($s0)
|
||||
/* 174B74 80246294 24020015 */ addiu $v0, $zero, 0x15
|
||||
.L80246298:
|
||||
@ -600,8 +600,8 @@ glabel update_player_action
|
||||
.L80246348:
|
||||
/* 174C28 80246348 0000802D */ daddu $s0, $zero, $zero
|
||||
/* 174C2C 8024634C 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 174C30 80246350 3C01800E */ lui $at, 0x800e
|
||||
/* 174C34 80246354 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 174C30 80246350 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174C34 80246354 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L80246358:
|
||||
/* 174C38 80246358 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 174C3C 8024635C 0C093E58 */ jal show_battle_message
|
||||
@ -609,8 +609,8 @@ glabel update_player_action
|
||||
/* 174C44 80246364 24020015 */ addiu $v0, $zero, 0x15
|
||||
/* 174C48 80246368 A2A0021C */ sb $zero, 0x21c($s5)
|
||||
/* 174C4C 8024636C A2A0021D */ sb $zero, 0x21d($s5)
|
||||
/* 174C50 80246370 3C01800E */ lui $at, 0x800e
|
||||
/* 174C54 80246374 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 174C50 80246370 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174C54 80246374 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 174C58 80246378 8EA20000 */ lw $v0, ($s5)
|
||||
/* 174C5C 8024637C 3C030800 */ lui $v1, 0x800
|
||||
/* 174C60 80246380 00431025 */ or $v0, $v0, $v1
|
||||
@ -643,8 +643,8 @@ glabel update_player_action
|
||||
.L802463E0:
|
||||
/* 174CC0 802463E0 AE020000 */ sw $v0, ($s0)
|
||||
.L802463E4:
|
||||
/* 174CC4 802463E4 3C03800E */ lui $v1, 0x800e
|
||||
/* 174CC8 802463E8 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 174CC4 802463E4 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 174CC8 802463E8 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 174CCC 802463EC 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 174CD0 802463F0 1462000C */ bne $v1, $v0, .L80246424
|
||||
/* 174CD4 802463F4 00000000 */ nop
|
||||
|
@ -6,8 +6,8 @@ glabel update_player_change_turn
|
||||
/* 174D34 80246454 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 174D38 80246458 3C13800E */ lui $s3, %hi(gBattleStatus)
|
||||
/* 174D3C 8024645C 2673C070 */ addiu $s3, $s3, %lo(gBattleStatus)
|
||||
/* 174D40 80246460 3C04800E */ lui $a0, 0x800e
|
||||
/* 174D44 80246464 2484C4DC */ addiu $a0, $a0, -0x3b24
|
||||
/* 174D40 80246460 3C04800E */ lui $a0, %hi(gBattleStatus+0x46C)
|
||||
/* 174D44 80246464 2484C4DC */ addiu $a0, $a0, %lo(gBattleStatus+0x46C)
|
||||
/* 174D48 80246468 AFBF0030 */ sw $ra, 0x30($sp)
|
||||
/* 174D4C 8024646C AFB7002C */ sw $s7, 0x2c($sp)
|
||||
/* 174D50 80246470 AFB60028 */ sw $s6, 0x28($sp)
|
||||
@ -34,8 +34,8 @@ glabel update_player_change_turn
|
||||
/* 174DA4 802464C4 080919A8 */ j .L802466A0
|
||||
/* 174DA8 802464C8 AC820000 */ sw $v0, ($a0)
|
||||
.L802464CC:
|
||||
/* 174DAC 802464CC 3C02800E */ lui $v0, 0x800e
|
||||
/* 174DB0 802464D0 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 174DAC 802464CC 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 174DB0 802464D0 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 174DB4 802464D4 3C030400 */ lui $v1, 0x400
|
||||
/* 174DB8 802464D8 00431024 */ and $v0, $v0, $v1
|
||||
/* 174DBC 802464DC 1440000D */ bnez $v0, .L80246514
|
||||
@ -106,8 +106,8 @@ glabel update_player_change_turn
|
||||
/* 174EAC 802465CC 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 174EB0 802465D0 24020005 */ addiu $v0, $zero, 5
|
||||
.L802465D4:
|
||||
/* 174EB4 802465D4 3C01800E */ lui $at, 0x800e
|
||||
/* 174EB8 802465D8 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 174EB4 802465D4 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174EB8 802465D8 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 174EBC 802465DC 080919A8 */ j .L802466A0
|
||||
/* 174EC0 802465E0 00000000 */ nop
|
||||
.L802465E4:
|
||||
@ -158,13 +158,13 @@ glabel update_player_change_turn
|
||||
/* 174F64 80246684 3442FFFF */ ori $v0, $v0, 0xffff
|
||||
/* 174F68 80246688 8EC30004 */ lw $v1, 4($s6)
|
||||
/* 174F6C 8024668C 24040005 */ addiu $a0, $zero, 5
|
||||
/* 174F70 80246690 3C01800E */ lui $at, 0x800e
|
||||
/* 174F74 80246694 AC24C4DC */ sw $a0, -0x3b24($at)
|
||||
/* 174F70 80246690 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174F74 80246694 AC24C4DC */ sw $a0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 174F78 80246698 00621824 */ and $v1, $v1, $v0
|
||||
/* 174F7C 8024669C AEC30004 */ sw $v1, 4($s6)
|
||||
.L802466A0:
|
||||
/* 174F80 802466A0 3C12800E */ lui $s2, 0x800e
|
||||
/* 174F84 802466A4 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 174F80 802466A0 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 174F84 802466A4 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
/* 174F88 802466A8 8E430000 */ lw $v1, ($s2)
|
||||
/* 174F8C 802466AC 24020005 */ addiu $v0, $zero, 5
|
||||
/* 174F90 802466B0 14620027 */ bne $v1, $v0, .L80246750
|
||||
@ -207,8 +207,8 @@ glabel update_player_change_turn
|
||||
/* 175018 80246738 AE000054 */ sw $zero, 0x54($s0)
|
||||
/* 17501C 8024673C E6000020 */ swc1 $f0, 0x20($s0)
|
||||
.L80246740:
|
||||
/* 175020 80246740 3C12800E */ lui $s2, 0x800e
|
||||
/* 175024 80246744 2652C4DC */ addiu $s2, $s2, -0x3b24
|
||||
/* 175020 80246740 3C12800E */ lui $s2, %hi(gBattleStatus+0x46C)
|
||||
/* 175024 80246744 2652C4DC */ addiu $s2, $s2, %lo(gBattleStatus+0x46C)
|
||||
.L80246748:
|
||||
/* 175028 80246748 8E430000 */ lw $v1, ($s2)
|
||||
/* 17502C 8024674C 24020006 */ addiu $v0, $zero, 6
|
||||
@ -325,8 +325,8 @@ glabel update_player_change_turn
|
||||
/* 1751DC 802468FC 00431025 */ or $v0, $v0, $v1
|
||||
/* 1751E0 80246900 AC820000 */ sw $v0, ($a0)
|
||||
.L80246904:
|
||||
/* 1751E4 80246904 3C03800E */ lui $v1, 0x800e
|
||||
/* 1751E8 80246908 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 1751E4 80246904 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 1751E8 80246908 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 1751EC 8024690C 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 1751F0 80246910 14620078 */ bne $v1, $v0, .L80246AF4
|
||||
/* 1751F4 80246914 00000000 */ nop
|
||||
@ -377,8 +377,8 @@ glabel update_player_change_turn
|
||||
/* 17529C 802469BC 0C090464 */ jal func_80241190
|
||||
/* 1752A0 802469C0 2404000C */ addiu $a0, $zero, 0xc
|
||||
/* 1752A4 802469C4 24020046 */ addiu $v0, $zero, 0x46
|
||||
/* 1752A8 802469C8 3C01800E */ lui $at, 0x800e
|
||||
/* 1752AC 802469CC AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1752A8 802469C8 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1752AC 802469CC AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 1752B0 802469D0 08091ABD */ j .L80246AF4
|
||||
/* 1752B4 802469D4 00000000 */ nop
|
||||
.L802469D8:
|
||||
|
@ -10,8 +10,8 @@ glabel update_run_away
|
||||
/* 1737F4 80244F14 3C158011 */ lui $s5, %hi(gPlayerData)
|
||||
/* 1737F8 80244F18 26B5F290 */ addiu $s5, $s5, %lo(gPlayerData)
|
||||
/* 1737FC 80244F1C AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 173800 80244F20 3C14800E */ lui $s4, 0x800e
|
||||
/* 173804 80244F24 2694C4DC */ addiu $s4, $s4, -0x3b24
|
||||
/* 173800 80244F20 3C14800E */ lui $s4, %hi(gBattleStatus+0x46C)
|
||||
/* 173804 80244F24 2694C4DC */ addiu $s4, $s4, %lo(gBattleStatus+0x46C)
|
||||
/* 173808 80244F28 AFBF0030 */ sw $ra, 0x30($sp)
|
||||
/* 17380C 80244F2C AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 173810 80244F30 AFB20020 */ sw $s2, 0x20($sp)
|
||||
@ -121,8 +121,8 @@ glabel update_run_away
|
||||
.L802450BC:
|
||||
/* 17399C 802450BC 24020002 */ addiu $v0, $zero, 2
|
||||
.L802450C0:
|
||||
/* 1739A0 802450C0 3C01800E */ lui $at, 0x800e
|
||||
/* 1739A4 802450C4 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1739A0 802450C0 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1739A4 802450C4 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 1739A8 802450C8 0809146D */ j .L802451B4
|
||||
/* 1739AC 802450CC 00000000 */ nop
|
||||
.L802450D0:
|
||||
@ -188,8 +188,8 @@ glabel update_run_away
|
||||
/* 173A8C 802451AC 3C01802A */ lui $at, 0x802a
|
||||
/* 173A90 802451B0 AC24F260 */ sw $a0, -0xda0($at)
|
||||
.L802451B4:
|
||||
/* 173A94 802451B4 3C03800E */ lui $v1, 0x800e
|
||||
/* 173A98 802451B8 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 173A94 802451B4 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 173A98 802451B8 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 173A9C 802451BC 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 173AA0 802451C0 14620043 */ bne $v1, $v0, .L802452D0
|
||||
/* 173AA4 802451C4 2402000B */ addiu $v0, $zero, 0xb
|
||||
@ -258,11 +258,11 @@ glabel update_run_away
|
||||
/* 173B90 802452B0 0C08F847 */ jal func_8023E11C
|
||||
/* 173B94 802452B4 00000000 */ nop
|
||||
/* 173B98 802452B8 2402000B */ addiu $v0, $zero, 0xb
|
||||
/* 173B9C 802452BC 3C01800E */ lui $at, 0x800e
|
||||
/* 173BA0 802452C0 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 173B9C 802452BC 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 173BA0 802452C0 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L802452C4:
|
||||
/* 173BA4 802452C4 3C03800E */ lui $v1, 0x800e
|
||||
/* 173BA8 802452C8 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 173BA4 802452C4 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 173BA8 802452C8 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 173BAC 802452CC 2402000B */ addiu $v0, $zero, 0xb
|
||||
.L802452D0:
|
||||
/* 173BB0 802452D0 14620011 */ bne $v1, $v0, .L80245318
|
||||
@ -270,8 +270,8 @@ glabel update_run_away
|
||||
/* 173BB8 802452D8 96A202A8 */ lhu $v0, 0x2a8($s5)
|
||||
/* 173BBC 802452DC 24420001 */ addiu $v0, $v0, 1
|
||||
/* 173BC0 802452E0 A6A202A8 */ sh $v0, 0x2a8($s5)
|
||||
/* 173BC4 802452E4 3C02800E */ lui $v0, 0x800e
|
||||
/* 173BC8 802452E8 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 173BC4 802452E4 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 173BC8 802452E8 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 173BCC 802452EC 00431024 */ and $v0, $v0, $v1
|
||||
/* 173BD0 802452F0 14400007 */ bnez $v0, .L80245310
|
||||
/* 173BD4 802452F4 24020008 */ addiu $v0, $zero, 8
|
||||
@ -285,8 +285,8 @@ glabel update_run_away
|
||||
/* 173BF0 80245310 0C090464 */ jal func_80241190
|
||||
/* 173BF4 80245314 24040020 */ addiu $a0, $zero, 0x20
|
||||
.L80245318:
|
||||
/* 173BF8 80245318 3C03800E */ lui $v1, 0x800e
|
||||
/* 173BFC 8024531C 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 173BF8 80245318 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 173BFC 8024531C 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 173C00 80245320 24020003 */ addiu $v0, $zero, 3
|
||||
/* 173C04 80245324 10620005 */ beq $v1, $v0, .L8024533C
|
||||
/* 173C08 80245328 24020004 */ addiu $v0, $zero, 4
|
||||
@ -324,8 +324,8 @@ glabel update_run_away
|
||||
.L802453A4:
|
||||
/* 173C84 802453A4 24020004 */ addiu $v0, $zero, 4
|
||||
.L802453A8:
|
||||
/* 173C88 802453A8 3C01800E */ lui $at, 0x800e
|
||||
/* 173C8C 802453AC AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 173C88 802453A8 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 173C8C 802453AC AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 173C90 802453B0 08091505 */ j .L80245414
|
||||
/* 173C94 802453B4 00000000 */ nop
|
||||
.L802453B8:
|
||||
|
@ -12,8 +12,8 @@ glabel update_swap_partner
|
||||
/* 173FF4 80245714 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 173FF8 80245718 8E5000D8 */ lw $s0, 0xd8($s2)
|
||||
/* 173FFC 8024571C 8E5100DC */ lw $s1, 0xdc($s2)
|
||||
/* 174000 80245720 3C03800E */ lui $v1, 0x800e
|
||||
/* 174004 80245724 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 174000 80245720 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 174004 80245724 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 174008 80245728 2C620008 */ sltiu $v0, $v1, 8
|
||||
/* 17400C 8024572C 104000DF */ beqz $v0, .L80245AAC
|
||||
/* 174010 80245730 2613000C */ addiu $s3, $s0, 0xc
|
||||
@ -78,8 +78,8 @@ glabel update_swap_partner
|
||||
/* 1740F4 80245814 3C01802A */ lui $at, 0x802a
|
||||
/* 1740F8 80245818 AC22F248 */ sw $v0, -0xdb8($at)
|
||||
/* 1740FC 8024581C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 174100 80245820 3C01800E */ lui $at, 0x800e
|
||||
/* 174104 80245824 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 174100 80245820 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174104 80245824 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 174108 80245828 3C03802A */ lui $v1, 0x802a
|
||||
/* 17410C 8024582C 2463F248 */ addiu $v1, $v1, -0xdb8
|
||||
/* 174110 80245830 8C620000 */ lw $v0, ($v1)
|
||||
@ -106,8 +106,8 @@ glabel update_swap_partner
|
||||
/* 174160 80245880 E6600018 */ swc1 $f0, 0x18($s3)
|
||||
/* 174164 80245884 C620014C */ lwc1 $f0, 0x14c($s1)
|
||||
/* 174168 80245888 24020003 */ addiu $v0, $zero, 3
|
||||
/* 17416C 8024588C 3C01800E */ lui $at, 0x800e
|
||||
/* 174170 80245890 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 17416C 8024588C 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174170 80245890 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 174174 80245894 080916AB */ j .L80245AAC
|
||||
/* 174178 80245898 E6600020 */ swc1 $f0, 0x20($s3)
|
||||
/* 17417C 8024589C 8E4400C0 */ lw $a0, 0xc0($s2)
|
||||
@ -145,8 +145,8 @@ glabel update_swap_partner
|
||||
/* 1741FC 8024591C E6200148 */ swc1 $f0, 0x148($s1)
|
||||
/* 174200 80245920 C600014C */ lwc1 $f0, 0x14c($s0)
|
||||
/* 174204 80245924 24020004 */ addiu $v0, $zero, 4
|
||||
/* 174208 80245928 3C01800E */ lui $at, 0x800e
|
||||
/* 17420C 8024592C AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 174208 80245928 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 17420C 8024592C AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 174210 80245930 080916AB */ j .L80245AAC
|
||||
/* 174214 80245934 E620014C */ swc1 $f0, 0x14c($s1)
|
||||
/* 174218 80245938 8E5100DC */ lw $s1, 0xdc($s2)
|
||||
@ -167,8 +167,8 @@ glabel update_swap_partner
|
||||
/* 174250 80245970 AE4400BC */ sw $a0, 0xbc($s2)
|
||||
/* 174254 80245974 8C820144 */ lw $v0, 0x144($a0)
|
||||
/* 174258 80245978 24030005 */ addiu $v1, $zero, 5
|
||||
/* 17425C 8024597C 3C01800E */ lui $at, 0x800e
|
||||
/* 174260 80245980 AC23C4DC */ sw $v1, -0x3b24($at)
|
||||
/* 17425C 8024597C 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174260 80245980 AC23C4DC */ sw $v1, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 174264 80245984 AE4200C0 */ sw $v0, 0xc0($s2)
|
||||
/* 174268 80245988 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 17426C 8024598C 080916AB */ j .L80245AAC
|
||||
@ -198,8 +198,8 @@ glabel update_swap_partner
|
||||
.L802459EC:
|
||||
/* 1742CC 802459EC 24020006 */ addiu $v0, $zero, 6
|
||||
.L802459F0:
|
||||
/* 1742D0 802459F0 3C01800E */ lui $at, 0x800e
|
||||
/* 1742D4 802459F4 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 1742D0 802459F0 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 1742D4 802459F4 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 1742D8 802459F8 080916AB */ j .L80245AAC
|
||||
/* 1742DC 802459FC 00000000 */ nop
|
||||
/* 1742E0 80245A00 8E5100DC */ lw $s1, 0xdc($s2)
|
||||
@ -216,8 +216,8 @@ glabel update_swap_partner
|
||||
/* 174308 80245A28 0C093903 */ jal func_8024E40C
|
||||
/* 17430C 80245A2C 24040002 */ addiu $a0, $zero, 2
|
||||
/* 174310 80245A30 24020007 */ addiu $v0, $zero, 7
|
||||
/* 174314 80245A34 3C01800E */ lui $at, 0x800e
|
||||
/* 174318 80245A38 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 174314 80245A34 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 174318 80245A38 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 17431C 80245A3C 080916AB */ j .L80245AAC
|
||||
/* 174320 80245A40 00000000 */ nop
|
||||
/* 174324 80245A44 8242008C */ lb $v0, 0x8c($s2)
|
||||
|
@ -9,8 +9,8 @@ glabel draw_main_battle_ui
|
||||
/* 16D36C 8023EA8C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 16D370 8023EA90 3C10800E */ lui $s0, %hi(gBattleState)
|
||||
/* 16D374 8023EA94 8E10C068 */ lw $s0, %lo(gBattleState)($s0)
|
||||
/* 16D378 8023EA98 3C04800E */ lui $a0, 0x800e
|
||||
/* 16D37C 8023EA9C 2484C4D0 */ addiu $a0, $a0, -0x3b30
|
||||
/* 16D378 8023EA98 3C04800E */ lui $a0, %hi(gBattleStatus+0x460)
|
||||
/* 16D37C 8023EA9C 2484C4D0 */ addiu $a0, $a0, %lo(gBattleStatus+0x460)
|
||||
/* 16D380 8023EAA0 8C820000 */ lw $v0, ($a0)
|
||||
/* 16D384 8023EAA4 12020005 */ beq $s0, $v0, .L8023EABC
|
||||
/* 16D388 8023EAA8 0200182D */ daddu $v1, $s0, $zero
|
||||
|
@ -63,8 +63,8 @@ glabel func_80240AA8
|
||||
/* 16F464 80240B84 00641824 */ and $v1, $v1, $a0
|
||||
/* 16F468 80240B88 AC430000 */ sw $v1, ($v0)
|
||||
.L80240B8C:
|
||||
/* 16F46C 80240B8C 3C02800E */ lui $v0, 0x800e
|
||||
/* 16F470 80240B90 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 16F46C 80240B8C 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 16F470 80240B90 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 16F474 80240B94 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 16F478 80240B98 10400006 */ beqz $v0, .L80240BB4
|
||||
/* 16F47C 80240B9C 00000000 */ nop
|
||||
|
@ -174,8 +174,8 @@ glabel initialize_battle
|
||||
/* 16CC90 8023E3B0 24620001 */ addiu $v0, $v1, 1
|
||||
/* 16CC94 8023E3B4 A66202A2 */ sh $v0, 0x2a2($s3)
|
||||
.L8023E3B8:
|
||||
/* 16CC98 8023E3B8 3C02800E */ lui $v0, 0x800e
|
||||
/* 16CC9C 8023E3BC 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 16CC98 8023E3B8 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 16CC9C 8023E3BC 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 16CCA0 8023E3C0 82630012 */ lb $v1, 0x12($s3)
|
||||
/* 16CCA4 8023E3C4 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 16CCA8 8023E3C8 3C01802A */ lui $at, 0x802a
|
||||
|
@ -316,8 +316,8 @@ glabel update_starpoints_display
|
||||
/* 16F128 80240848 3C01802A */ lui $at, 0x802a
|
||||
/* 16F12C 8024084C C422DA44 */ lwc1 $f2, -0x25bc($at)
|
||||
/* 16F130 80240850 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 16F134 80240854 3C02800E */ lui $v0, 0x800e
|
||||
/* 16F138 80240858 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 16F134 80240854 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 16F138 80240858 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 16F13C 8024085C 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 16F140 80240860 3C12802A */ lui $s2, 0x802a
|
||||
/* 16F144 80240864 8E52DA40 */ lw $s2, -0x25c0($s2)
|
||||
|
@ -1,37 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel ApplyShrinkFromOwner
|
||||
/* 182A78 80254198 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 182A7C 8025419C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 182A80 802541A0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 182A84 802541A4 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 182A88 802541A8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 182A8C 802541AC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 182A90 802541B0 8E240148 */ lw $a0, 0x148($s1)
|
||||
/* 182A94 802541B4 0C09A75B */ jal get_actor
|
||||
/* 182A98 802541B8 8E32000C */ lw $s2, 0xc($s1)
|
||||
/* 182A9C 802541BC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 182AA0 802541C0 8E450000 */ lw $a1, ($s2)
|
||||
/* 182AA4 802541C4 0C0B1EAF */ jal get_variable
|
||||
/* 182AA8 802541C8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 182AAC 802541CC 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 182AB0 802541D0 82030210 */ lb $v1, 0x210($s0)
|
||||
/* 182AB4 802541D4 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 182AB8 802541D8 14620005 */ bne $v1, $v0, .L802541F0
|
||||
/* 182ABC 802541DC 00000000 */ nop
|
||||
/* 182AC0 802541E0 18C00003 */ blez $a2, .L802541F0
|
||||
/* 182AC4 802541E4 000617C2 */ srl $v0, $a2, 0x1f
|
||||
/* 182AC8 802541E8 00C21021 */ addu $v0, $a2, $v0
|
||||
/* 182ACC 802541EC 00023043 */ sra $a2, $v0, 1
|
||||
.L802541F0:
|
||||
/* 182AD0 802541F0 8E450000 */ lw $a1, ($s2)
|
||||
/* 182AD4 802541F4 0C0B2026 */ jal set_variable
|
||||
/* 182AD8 802541F8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 182ADC 802541FC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 182AE0 80254200 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 182AE4 80254204 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 182AE8 80254208 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 182AEC 8025420C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 182AF0 80254210 03E00008 */ jr $ra
|
||||
/* 182AF4 80254214 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -8,8 +8,8 @@ glabel LoadBattleDmaData
|
||||
/* 181F10 80253630 0C0B1EAF */ jal get_variable
|
||||
/* 181F14 80253634 8C450000 */ lw $a1, ($v0)
|
||||
/* 181F18 80253638 00021840 */ sll $v1, $v0, 1
|
||||
/* 181F1C 8025363C 3C04800E */ lui $a0, 0x800e
|
||||
/* 181F20 80253640 9084C4EA */ lbu $a0, -0x3b16($a0)
|
||||
/* 181F1C 8025363C 3C04800E */ lui $a0, %hi(gBattleStatus+0x47A)
|
||||
/* 181F20 80253640 9084C4EA */ lbu $a0, %lo(gBattleStatus+0x47A)($a0)
|
||||
/* 181F24 80253644 00621821 */ addu $v1, $v1, $v0
|
||||
/* 181F28 80253648 00042140 */ sll $a0, $a0, 5
|
||||
/* 181F2C 8025364C 3C028009 */ lui $v0, 0x8009
|
||||
|
@ -1,39 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel MakeStatusField
|
||||
/* 182474 80253B94 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 182478 80253B98 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 18247C 80253B9C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 182480 80253BA0 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 182484 80253BA4 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 182488 80253BA8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 18248C 80253BAC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 182490 80253BB0 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 182494 80253BB4 8E130000 */ lw $s3, ($s0)
|
||||
/* 182498 80253BB8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 18249C 80253BBC 8E120000 */ lw $s2, ($s0)
|
||||
/* 1824A0 80253BC0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1824A4 80253BC4 8E050000 */ lw $a1, ($s0)
|
||||
/* 1824A8 80253BC8 0C0B1EAF */ jal get_variable
|
||||
/* 1824AC 80253BCC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1824B0 80253BD0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1824B4 80253BD4 8E050000 */ lw $a1, ($s0)
|
||||
/* 1824B8 80253BD8 0C0B1EAF */ jal get_variable
|
||||
/* 1824BC 80253BDC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1824C0 80253BE0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1824C4 80253BE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 1824C8 80253BE8 00021200 */ sll $v0, $v0, 8
|
||||
/* 1824CC 80253BEC 3C038000 */ lui $v1, 0x8000
|
||||
/* 1824D0 80253BF0 00431025 */ or $v0, $v0, $v1
|
||||
/* 1824D4 80253BF4 02429025 */ or $s2, $s2, $v0
|
||||
/* 1824D8 80253BF8 0C0B2026 */ jal set_variable
|
||||
/* 1824DC 80253BFC 02503025 */ or $a2, $s2, $s0
|
||||
/* 1824E0 80253C00 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 1824E4 80253C04 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 1824E8 80253C08 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1824EC 80253C0C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1824F0 80253C10 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1824F4 80253C14 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1824F8 80253C18 03E00008 */ jr $ra
|
||||
/* 1824FC 80253C1C 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,41 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel MultiplyVec2ByActorScale
|
||||
/* 182928 80254048 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 18292C 8025404C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 182930 80254050 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 182934 80254054 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 182938 80254058 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 18293C 8025405C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 182940 80254060 8E040148 */ lw $a0, 0x148($s0)
|
||||
/* 182944 80254064 0C09A75B */ jal get_actor
|
||||
/* 182948 80254068 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 18294C 8025406C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 182950 80254070 8E250000 */ lw $a1, ($s1)
|
||||
/* 182954 80254074 0C0B210B */ jal get_float_variable
|
||||
/* 182958 80254078 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 18295C 8025407C C6420188 */ lwc1 $f2, 0x188($s2)
|
||||
/* 182960 80254080 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 182964 80254084 00000000 */ nop
|
||||
/* 182968 80254088 8E250000 */ lw $a1, ($s1)
|
||||
/* 18296C 8025408C 44060000 */ mfc1 $a2, $f0
|
||||
/* 182970 80254090 0C0B2190 */ jal set_float_variable
|
||||
/* 182974 80254094 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 182978 80254098 8E250004 */ lw $a1, 4($s1)
|
||||
/* 18297C 8025409C 0C0B210B */ jal get_float_variable
|
||||
/* 182980 802540A0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 182984 802540A4 C6420188 */ lwc1 $f2, 0x188($s2)
|
||||
/* 182988 802540A8 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 18298C 802540AC 00000000 */ nop
|
||||
/* 182990 802540B0 8E250004 */ lw $a1, 4($s1)
|
||||
/* 182994 802540B4 44060000 */ mfc1 $a2, $f0
|
||||
/* 182998 802540B8 0C0B2190 */ jal set_float_variable
|
||||
/* 18299C 802540BC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1829A0 802540C0 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 1829A4 802540C4 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 1829A8 802540C8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1829AC 802540CC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1829B0 802540D0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1829B4 802540D4 03E00008 */ jr $ra
|
||||
/* 1829B8 802540D8 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,51 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel MultiplyVec3ByActorScale
|
||||
/* 1829BC 802540DC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1829C0 802540E0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1829C4 802540E4 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 1829C8 802540E8 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1829CC 802540EC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 1829D0 802540F0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 1829D4 802540F4 8E040148 */ lw $a0, 0x148($s0)
|
||||
/* 1829D8 802540F8 0C09A75B */ jal get_actor
|
||||
/* 1829DC 802540FC 8E11000C */ lw $s1, 0xc($s0)
|
||||
/* 1829E0 80254100 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1829E4 80254104 8E250000 */ lw $a1, ($s1)
|
||||
/* 1829E8 80254108 0C0B210B */ jal get_float_variable
|
||||
/* 1829EC 8025410C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 1829F0 80254110 C6420188 */ lwc1 $f2, 0x188($s2)
|
||||
/* 1829F4 80254114 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 1829F8 80254118 00000000 */ nop
|
||||
/* 1829FC 8025411C 8E250000 */ lw $a1, ($s1)
|
||||
/* 182A00 80254120 44060000 */ mfc1 $a2, $f0
|
||||
/* 182A04 80254124 0C0B2190 */ jal set_float_variable
|
||||
/* 182A08 80254128 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 182A0C 8025412C 8E250004 */ lw $a1, 4($s1)
|
||||
/* 182A10 80254130 0C0B210B */ jal get_float_variable
|
||||
/* 182A14 80254134 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 182A18 80254138 C6420188 */ lwc1 $f2, 0x188($s2)
|
||||
/* 182A1C 8025413C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 182A20 80254140 00000000 */ nop
|
||||
/* 182A24 80254144 8E250004 */ lw $a1, 4($s1)
|
||||
/* 182A28 80254148 44060000 */ mfc1 $a2, $f0
|
||||
/* 182A2C 8025414C 0C0B2190 */ jal set_float_variable
|
||||
/* 182A30 80254150 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 182A34 80254154 8E250008 */ lw $a1, 8($s1)
|
||||
/* 182A38 80254158 0C0B210B */ jal get_float_variable
|
||||
/* 182A3C 8025415C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 182A40 80254160 C6420188 */ lwc1 $f2, 0x188($s2)
|
||||
/* 182A44 80254164 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 182A48 80254168 00000000 */ nop
|
||||
/* 182A4C 8025416C 8E250008 */ lw $a1, 8($s1)
|
||||
/* 182A50 80254170 44060000 */ mfc1 $a2, $f0
|
||||
/* 182A54 80254174 0C0B2190 */ jal set_float_variable
|
||||
/* 182A58 80254178 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 182A5C 8025417C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 182A60 80254180 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 182A64 80254184 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 182A68 80254188 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 182A6C 8025418C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 182A70 80254190 03E00008 */ jr $ra
|
||||
/* 182A74 80254194 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,46 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel PlayLoopingSoundAtActor
|
||||
/* 182254 80253974 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 182258 80253978 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 18225C 8025397C 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 182260 80253980 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 182264 80253984 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 182268 80253988 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 18226C 8025398C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 182270 80253990 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 182274 80253994 8E050000 */ lw $a1, ($s0)
|
||||
/* 182278 80253998 0C0B1EAF */ jal get_variable
|
||||
/* 18227C 8025399C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 182280 802539A0 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 182284 802539A4 8E050000 */ lw $a1, ($s0)
|
||||
/* 182288 802539A8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 18228C 802539AC 0C0B1EAF */ jal get_variable
|
||||
/* 182290 802539B0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 182294 802539B4 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 182298 802539B8 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 18229C 802539BC 16220002 */ bne $s1, $v0, .L802539C8
|
||||
/* 1822A0 802539C0 8E100000 */ lw $s0, ($s0)
|
||||
/* 1822A4 802539C4 8E510148 */ lw $s1, 0x148($s2)
|
||||
.L802539C8:
|
||||
/* 1822A8 802539C8 0C09A75B */ jal get_actor
|
||||
/* 1822AC 802539CC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1822B0 802539D0 00131880 */ sll $v1, $s3, 2
|
||||
/* 1822B4 802539D4 00431821 */ addu $v1, $v0, $v1
|
||||
/* 1822B8 802539D8 AC700438 */ sw $s0, 0x438($v1)
|
||||
/* 1822BC 802539DC C440014C */ lwc1 $f0, 0x14c($v0)
|
||||
/* 1822C0 802539E0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1822C4 802539E4 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 1822C8 802539E8 8C460144 */ lw $a2, 0x144($v0)
|
||||
/* 1822CC 802539EC 8C470148 */ lw $a3, 0x148($v0)
|
||||
/* 1822D0 802539F0 0C052757 */ jal play_sound_at_position
|
||||
/* 1822D4 802539F4 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 1822D8 802539F8 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 1822DC 802539FC 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 1822E0 80253A00 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 1822E4 80253A04 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 1822E8 80253A08 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 1822EC 80253A0C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1822F0 80253A10 03E00008 */ jr $ra
|
||||
/* 1822F4 80253A14 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,46 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel PlaySoundAtPart
|
||||
/* 1821B0 802538D0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 1821B4 802538D4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 1821B8 802538D8 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 1821BC 802538DC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 1821C0 802538E0 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 1821C4 802538E4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 1821C8 802538E8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 1821CC 802538EC 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 1821D0 802538F0 8E050000 */ lw $a1, ($s0)
|
||||
/* 1821D4 802538F4 0C0B1EAF */ jal get_variable
|
||||
/* 1821D8 802538F8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1821DC 802538FC 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 1821E0 80253900 8E050000 */ lw $a1, ($s0)
|
||||
/* 1821E4 80253904 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1821E8 80253908 0C0B1EAF */ jal get_variable
|
||||
/* 1821EC 8025390C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1821F0 80253910 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 1821F4 80253914 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1821F8 80253918 16220002 */ bne $s1, $v0, .L80253924
|
||||
/* 1821FC 8025391C 8E100000 */ lw $s0, ($s0)
|
||||
/* 182200 80253920 8E510148 */ lw $s1, 0x148($s2)
|
||||
.L80253924:
|
||||
/* 182204 80253924 0C09A75B */ jal get_actor
|
||||
/* 182208 80253928 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 18220C 8025392C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 182210 80253930 0C099117 */ jal get_actor_part
|
||||
/* 182214 80253934 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 182218 80253938 C4400060 */ lwc1 $f0, 0x60($v0)
|
||||
/* 18221C 8025393C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 182220 80253940 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 182224 80253944 8C460058 */ lw $a2, 0x58($v0)
|
||||
/* 182228 80253948 8C47005C */ lw $a3, 0x5c($v0)
|
||||
/* 18222C 8025394C 0C052757 */ jal play_sound_at_position
|
||||
/* 182230 80253950 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 182234 80253954 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 182238 80253958 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 18223C 8025395C 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 182240 80253960 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 182244 80253964 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 182248 80253968 24020002 */ addiu $v0, $zero, 2
|
||||
/* 18224C 8025396C 03E00008 */ jr $ra
|
||||
/* 182250 80253970 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,37 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel ShowBattleChoice
|
||||
/* 181E18 80253538 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 181E1C 8025353C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 181E20 80253540 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 181E24 80253544 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 181E28 80253548 10A00009 */ beqz $a1, .L80253570
|
||||
/* 181E2C 8025354C 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 181E30 80253550 0C0B1EAF */ jal get_variable
|
||||
/* 181E34 80253554 8C450000 */ lw $a1, ($v0)
|
||||
/* 181E38 80253558 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 181E3C 8025355C 26050074 */ addiu $a1, $s0, 0x74
|
||||
/* 181E40 80253560 0C049640 */ jal load_string
|
||||
/* 181E44 80253564 AE000074 */ sw $zero, 0x74($s0)
|
||||
/* 181E48 80253568 3C01802A */ lui $at, 0x802a
|
||||
/* 181E4C 8025356C AC22FA64 */ sw $v0, -0x59c($at)
|
||||
.L80253570:
|
||||
/* 181E50 80253570 8E030074 */ lw $v1, 0x74($s0)
|
||||
/* 181E54 80253574 24020001 */ addiu $v0, $zero, 1
|
||||
/* 181E58 80253578 1462000A */ bne $v1, $v0, .L802535A4
|
||||
/* 181E5C 8025357C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 181E60 80253580 3C02802A */ lui $v0, 0x802a
|
||||
/* 181E64 80253584 8C42FA64 */ lw $v0, -0x59c($v0)
|
||||
/* 181E68 80253588 3C04802A */ lui $a0, %hi(gSpeakingActorPrintCtx)
|
||||
/* 181E6C 8025358C 8C84FA60 */ lw $a0, %lo(gSpeakingActorPrintCtx)($a0)
|
||||
/* 181E70 80253590 904304E8 */ lbu $v1, 0x4e8($v0)
|
||||
/* 181E74 80253594 24020001 */ addiu $v0, $zero, 1
|
||||
/* 181E78 80253598 A08304E8 */ sb $v1, 0x4e8($a0)
|
||||
/* 181E7C 8025359C 306300FF */ andi $v1, $v1, 0xff
|
||||
/* 181E80 802535A0 AE030084 */ sw $v1, 0x84($s0)
|
||||
.L802535A4:
|
||||
/* 181E84 802535A4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 181E88 802535A8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 181E8C 802535AC 03E00008 */ jr $ra
|
||||
/* 181E90 802535B0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel StopLoopingSoundAtActor
|
||||
/* 1822F8 80253A18 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 1822FC 80253A1C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 182300 80253A20 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 182304 80253A24 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 182308 80253A28 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 18230C 80253A2C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 182310 80253A30 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 182314 80253A34 8E050000 */ lw $a1, ($s0)
|
||||
/* 182318 80253A38 0C0B1EAF */ jal get_variable
|
||||
/* 18231C 80253A3C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 182320 80253A40 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 182324 80253A44 8E050000 */ lw $a1, ($s0)
|
||||
/* 182328 80253A48 0C0B1EAF */ jal get_variable
|
||||
/* 18232C 80253A4C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 182330 80253A50 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 182334 80253A54 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 182338 80253A58 16220002 */ bne $s1, $v0, .L80253A64
|
||||
/* 18233C 80253A5C 00000000 */ nop
|
||||
/* 182340 80253A60 8E510148 */ lw $s1, 0x148($s2)
|
||||
.L80253A64:
|
||||
/* 182344 80253A64 0C09A75B */ jal get_actor
|
||||
/* 182348 80253A68 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 18234C 80253A6C 00101880 */ sll $v1, $s0, 2
|
||||
/* 182350 80253A70 00438021 */ addu $s0, $v0, $v1
|
||||
/* 182354 80253A74 8E040438 */ lw $a0, 0x438($s0)
|
||||
/* 182358 80253A78 10800005 */ beqz $a0, .L80253A90
|
||||
/* 18235C 80253A7C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 182360 80253A80 0C05271B */ jal stop_sound
|
||||
/* 182364 80253A84 00000000 */ nop
|
||||
/* 182368 80253A88 AE000438 */ sw $zero, 0x438($s0)
|
||||
/* 18236C 80253A8C 24020002 */ addiu $v0, $zero, 2
|
||||
.L80253A90:
|
||||
/* 182370 80253A90 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 182374 80253A94 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 182378 80253A98 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 18237C 80253A9C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 182380 80253AA0 03E00008 */ jr $ra
|
||||
/* 182384 80253AA4 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,41 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802536A8
|
||||
/* 181F88 802536A8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 181F8C 802536AC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 181F90 802536B0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 181F94 802536B4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 181F98 802536B8 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 181F9C 802536BC 3C10800E */ lui $s0, %hi(gBattleStatus)
|
||||
/* 181FA0 802536C0 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
|
||||
/* 181FA4 802536C4 8C450000 */ lw $a1, ($v0)
|
||||
/* 181FA8 802536C8 0C0B1EAF */ jal get_variable
|
||||
/* 181FAC 802536CC 0200882D */ daddu $s1, $s0, $zero
|
||||
/* 181FB0 802536D0 1040000A */ beqz $v0, .L802536FC
|
||||
/* 181FB4 802536D4 2403FF7F */ addiu $v1, $zero, -0x81
|
||||
/* 181FB8 802536D8 3C02800A */ lui $v0, %hi(D_8009A650)
|
||||
/* 181FBC 802536DC 2442A650 */ addiu $v0, $v0, %lo(D_8009A650)
|
||||
/* 181FC0 802536E0 92030092 */ lbu $v1, 0x92($s0)
|
||||
/* 181FC4 802536E4 8C440000 */ lw $a0, ($v0)
|
||||
/* 181FC8 802536E8 34630001 */ ori $v1, $v1, 1
|
||||
/* 181FCC 802536EC 34840080 */ ori $a0, $a0, 0x80
|
||||
/* 181FD0 802536F0 A2030092 */ sb $v1, 0x92($s0)
|
||||
/* 181FD4 802536F4 08094DC7 */ j .L8025371C
|
||||
/* 181FD8 802536F8 AC440000 */ sw $a0, ($v0)
|
||||
.L802536FC:
|
||||
/* 181FDC 802536FC 92220092 */ lbu $v0, 0x92($s1)
|
||||
/* 181FE0 80253700 3C04800A */ lui $a0, %hi(D_8009A650)
|
||||
/* 181FE4 80253704 2484A650 */ addiu $a0, $a0, %lo(D_8009A650)
|
||||
/* 181FE8 80253708 304200FE */ andi $v0, $v0, 0xfe
|
||||
/* 181FEC 8025370C A2220092 */ sb $v0, 0x92($s1)
|
||||
/* 181FF0 80253710 8C820000 */ lw $v0, ($a0)
|
||||
/* 181FF4 80253714 00431024 */ and $v0, $v0, $v1
|
||||
/* 181FF8 80253718 AC820000 */ sw $v0, ($a0)
|
||||
.L8025371C:
|
||||
/* 181FFC 8025371C 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 182000 80253720 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 182004 80253724 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 182008 80253728 24020002 */ addiu $v0, $zero, 2
|
||||
/* 18200C 8025372C 03E00008 */ jr $ra
|
||||
/* 182010 80253730 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,44 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80253734
|
||||
/* 182014 80253734 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 182018 80253738 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 18201C 8025373C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 182020 80253740 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 182024 80253744 0C0B1EAF */ jal get_variable
|
||||
/* 182028 80253748 8C450000 */ lw $a1, ($v0)
|
||||
/* 18202C 8025374C 3C10800E */ lui $s0, %hi(gBattleStatus)
|
||||
/* 182030 80253750 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
|
||||
/* 182034 80253754 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 182038 80253758 24040001 */ addiu $a0, $zero, 1
|
||||
/* 18203C 8025375C 10640012 */ beq $v1, $a0, .L802537A8
|
||||
/* 182040 80253760 28620002 */ slti $v0, $v1, 2
|
||||
/* 182044 80253764 10400005 */ beqz $v0, .L8025377C
|
||||
/* 182048 80253768 24020002 */ addiu $v0, $zero, 2
|
||||
/* 18204C 8025376C 10600009 */ beqz $v1, .L80253794
|
||||
/* 182050 80253770 2402FFFF */ addiu $v0, $zero, -1
|
||||
/* 182054 80253774 08094DEB */ j .L802537AC
|
||||
/* 182058 80253778 00000000 */ nop
|
||||
.L8025377C:
|
||||
/* 18205C 8025377C 10620007 */ beq $v1, $v0, .L8025379C
|
||||
/* 182060 80253780 24020003 */ addiu $v0, $zero, 3
|
||||
/* 182064 80253784 50620009 */ beql $v1, $v0, .L802537AC
|
||||
/* 182068 80253788 A2040432 */ sb $a0, 0x432($s0)
|
||||
/* 18206C 8025378C 08094DEB */ j .L802537AC
|
||||
/* 182070 80253790 00000000 */ nop
|
||||
.L80253794:
|
||||
/* 182074 80253794 08094DEB */ j .L802537AC
|
||||
/* 182078 80253798 A2020432 */ sb $v0, 0x432($s0)
|
||||
.L8025379C:
|
||||
/* 18207C 8025379C 2402FFFE */ addiu $v0, $zero, -2
|
||||
/* 182080 802537A0 08094DEB */ j .L802537AC
|
||||
/* 182084 802537A4 A2020432 */ sb $v0, 0x432($s0)
|
||||
.L802537A8:
|
||||
/* 182088 802537A8 A2040432 */ sb $a0, 0x432($s0)
|
||||
.L802537AC:
|
||||
/* 18208C 802537AC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 182090 802537B0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 182094 802537B4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 182098 802537B8 03E00008 */ jr $ra
|
||||
/* 18209C 802537BC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,44 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802537C0
|
||||
/* 1820A0 802537C0 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 1820A4 802537C4 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 1820A8 802537C8 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 1820AC 802537CC AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 1820B0 802537D0 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 1820B4 802537D4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 1820B8 802537D8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 1820BC 802537DC 8E22000C */ lw $v0, 0xc($s1)
|
||||
/* 1820C0 802537E0 8C520000 */ lw $s2, ($v0)
|
||||
/* 1820C4 802537E4 8C530004 */ lw $s3, 4($v0)
|
||||
/* 1820C8 802537E8 24040001 */ addiu $a0, $zero, 1
|
||||
/* 1820CC 802537EC 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 1820D0 802537F0 0C04DF70 */ jal func_80137DC0
|
||||
/* 1820D4 802537F4 27A60014 */ addiu $a2, $sp, 0x14
|
||||
/* 1820D8 802537F8 C7A20014 */ lwc1 $f2, 0x14($sp)
|
||||
/* 1820DC 802537FC 3C014300 */ lui $at, 0x4300
|
||||
/* 1820E0 80253800 44810000 */ mtc1 $at, $f0
|
||||
/* 1820E4 80253804 00000000 */ nop
|
||||
/* 1820E8 80253808 4600103C */ c.lt.s $f2, $f0
|
||||
/* 1820EC 8025380C 00000000 */ nop
|
||||
/* 1820F0 80253810 45000002 */ bc1f .L8025381C
|
||||
/* 1820F4 80253814 24100001 */ addiu $s0, $zero, 1
|
||||
/* 1820F8 80253818 0000802D */ daddu $s0, $zero, $zero
|
||||
.L8025381C:
|
||||
/* 1820FC 8025381C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 182100 80253820 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 182104 80253824 0C0B2026 */ jal set_variable
|
||||
/* 182108 80253828 24060001 */ addiu $a2, $zero, 1
|
||||
/* 18210C 8025382C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 182110 80253830 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 182114 80253834 0C0B2026 */ jal set_variable
|
||||
/* 182118 80253838 0200302D */ daddu $a2, $s0, $zero
|
||||
/* 18211C 8025383C 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 182120 80253840 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 182124 80253844 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 182128 80253848 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 18212C 8025384C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 182130 80253850 24020002 */ addiu $v0, $zero, 2
|
||||
/* 182134 80253854 03E00008 */ jr $ra
|
||||
/* 182138 80253858 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,37 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel is_actor_hp_bar_visible
|
||||
/* 182500 80253C20 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 182504 80253C24 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 182508 80253C28 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 18250C 80253C2C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 182510 80253C30 0C03A752 */ jal is_ability_active
|
||||
/* 182514 80253C34 24040036 */ addiu $a0, $zero, 0x36
|
||||
/* 182518 80253C38 14400014 */ bnez $v0, .L80253C8C
|
||||
/* 18251C 80253C3C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 182520 80253C40 92040136 */ lbu $a0, 0x136($s0)
|
||||
/* 182524 80253C44 000420C2 */ srl $a0, $a0, 3
|
||||
/* 182528 80253C48 0C05154E */ jal get_global_byte
|
||||
/* 18252C 80253C4C 2484016D */ addiu $a0, $a0, 0x16d
|
||||
/* 182530 80253C50 8E030000 */ lw $v1, ($s0)
|
||||
/* 182534 80253C54 30631000 */ andi $v1, $v1, 0x1000
|
||||
/* 182538 80253C58 10600008 */ beqz $v1, .L80253C7C
|
||||
/* 18253C 80253C5C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 182540 80253C60 92020136 */ lbu $v0, 0x136($s0)
|
||||
/* 182544 80253C64 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 182548 80253C68 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 18254C 80253C6C 000210C2 */ srl $v0, $v0, 3
|
||||
/* 182550 80253C70 00431021 */ addu $v0, $v0, $v1
|
||||
/* 182554 80253C74 90420440 */ lbu $v0, 0x440($v0)
|
||||
/* 182558 80253C78 00822025 */ or $a0, $a0, $v0
|
||||
.L80253C7C:
|
||||
/* 18255C 80253C7C 92020136 */ lbu $v0, 0x136($s0)
|
||||
/* 182560 80253C80 30420007 */ andi $v0, $v0, 7
|
||||
/* 182564 80253C84 00441007 */ srav $v0, $a0, $v0
|
||||
/* 182568 80253C88 30420001 */ andi $v0, $v0, 1
|
||||
.L80253C8C:
|
||||
/* 18256C 80253C8C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 182570 80253C90 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 182574 80253C94 03E00008 */ jr $ra
|
||||
/* 182578 80253C98 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel is_actortype_hpbar_visible
|
||||
/* 18257C 80253C9C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 182580 80253CA0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 182584 80253CA4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 182588 80253CA8 24040036 */ addiu $a0, $zero, 0x36
|
||||
/* 18258C 80253CAC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 182590 80253CB0 0C03A752 */ jal is_ability_active
|
||||
/* 182594 80253CB4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 182598 80253CB8 14400010 */ bnez $v0, .L80253CFC
|
||||
/* 18259C 80253CBC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1825A0 80253CC0 06210002 */ bgez $s1, .L80253CCC
|
||||
/* 1825A4 80253CC4 0220802D */ daddu $s0, $s1, $zero
|
||||
/* 1825A8 80253CC8 26300007 */ addiu $s0, $s1, 7
|
||||
.L80253CCC:
|
||||
/* 1825AC 80253CCC 001080C3 */ sra $s0, $s0, 3
|
||||
/* 1825B0 80253CD0 0C05154E */ jal get_global_byte
|
||||
/* 1825B4 80253CD4 2604016D */ addiu $a0, $s0, 0x16d
|
||||
/* 1825B8 80253CD8 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 1825BC 80253CDC 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 1825C0 80253CE0 02031821 */ addu $v1, $s0, $v1
|
||||
/* 1825C4 80253CE4 90630440 */ lbu $v1, 0x440($v1)
|
||||
/* 1825C8 80253CE8 001080C0 */ sll $s0, $s0, 3
|
||||
/* 1825CC 80253CEC 02308023 */ subu $s0, $s1, $s0
|
||||
/* 1825D0 80253CF0 00431025 */ or $v0, $v0, $v1
|
||||
/* 1825D4 80253CF4 02021007 */ srav $v0, $v0, $s0
|
||||
/* 1825D8 80253CF8 30420001 */ andi $v0, $v0, 1
|
||||
.L80253CFC:
|
||||
/* 1825DC 80253CFC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1825E0 80253D00 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1825E4 80253D04 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1825E8 80253D08 03E00008 */ jr $ra
|
||||
/* 1825EC 80253D0C 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel disable_partner_blur
|
||||
/* 182F48 80254668 3C04800E */ lui $a0, 0x800e
|
||||
/* 182F4C 8025466C 8C84C14C */ lw $a0, -0x3eb4($a0)
|
||||
/* 182F48 80254668 3C04800E */ lui $a0, %hi(gBattleStatus+0xDC)
|
||||
/* 182F4C 8025466C 8C84C14C */ lw $a0, %lo(gBattleStatus+0xDC)($a0)
|
||||
/* 182F50 80254670 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 182F54 80254674 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 182F58 80254678 0C095157 */ jal disable_actor_blur
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel disable_player_blur
|
||||
/* 1831F4 80254914 3C02800E */ lui $v0, 0x800e
|
||||
/* 1831F8 80254918 8C42C148 */ lw $v0, -0x3eb8($v0)
|
||||
/* 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)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel enable_partner_blur
|
||||
/* 182F24 80254644 3C04800E */ lui $a0, 0x800e
|
||||
/* 182F28 80254648 8C84C14C */ lw $a0, -0x3eb4($a0)
|
||||
/* 182F24 80254644 3C04800E */ lui $a0, %hi(gBattleStatus+0xDC)
|
||||
/* 182F28 80254648 8C84C14C */ lw $a0, %lo(gBattleStatus+0xDC)($a0)
|
||||
/* 182F2C 8025464C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 182F30 80254650 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 182F34 80254654 0C0950B3 */ jal enable_actor_blur
|
||||
|
@ -4,8 +4,8 @@
|
||||
glabel enable_player_blur
|
||||
/* 182FB4 802546D4 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 182FB8 802546D8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 182FBC 802546DC 3C11800E */ lui $s1, 0x800e
|
||||
/* 182FC0 802546E0 8E31C148 */ lw $s1, -0x3eb8($s1)
|
||||
/* 182FBC 802546DC 3C11800E */ lui $s1, %hi(gBattleStatus+0xD8)
|
||||
/* 182FC0 802546E0 8E31C148 */ lw $s1, %lo(gBattleStatus+0xD8)($s1)
|
||||
/* 182FC4 802546E4 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 182FC8 802546E8 0000A02D */ daddu $s4, $zero, $zero
|
||||
/* 182FCC 802546EC AFB50024 */ sw $s5, 0x24($sp)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80254250
|
||||
/* 182B30 80254250 3C03800E */ lui $v1, 0x800e
|
||||
/* 182B34 80254254 8463C1F0 */ lh $v1, -0x3e10($v1)
|
||||
/* 182B30 80254250 3C03800E */ lui $v1, %hi(gBattleStatus+0x180)
|
||||
/* 182B34 80254254 8463C1F0 */ lh $v1, %lo(gBattleStatus+0x180)($v1)
|
||||
/* 182B38 80254258 28620003 */ slti $v0, $v1, 3
|
||||
/* 182B3C 8025425C 14400008 */ bnez $v0, .L80254280
|
||||
/* 182B40 80254260 0000202D */ daddu $a0, $zero, $zero
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802546B0
|
||||
/* 182F90 802546B0 3C04800E */ lui $a0, 0x800e
|
||||
/* 182F94 802546B4 8C84C14C */ lw $a0, -0x3eb4($a0)
|
||||
/* 182F90 802546B0 3C04800E */ lui $a0, %hi(gBattleStatus+0xDC)
|
||||
/* 182F94 802546B4 8C84C14C */ lw $a0, %lo(gBattleStatus+0xDC)($a0)
|
||||
/* 182F98 802546B8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 182F9C 802546BC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 182FA0 802546C0 0C095184 */ jal func_80254610
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80254950
|
||||
/* 183230 80254950 3C04800E */ lui $a0, 0x800e
|
||||
/* 183234 80254954 8C84C148 */ lw $a0, -0x3eb8($a0)
|
||||
/* 183230 80254950 3C04800E */ lui $a0, %hi(gBattleStatus+0xD8)
|
||||
/* 183234 80254954 8C84C148 */ lw $a0, %lo(gBattleStatus+0xD8)($a0)
|
||||
/* 183238 80254958 8C8201F4 */ lw $v0, 0x1f4($a0)
|
||||
/* 18323C 8025495C 8C4500C0 */ lw $a1, 0xc0($v0)
|
||||
/* 183240 80254960 80A207DB */ lb $v0, 0x7db($a1)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802549A0
|
||||
/* 183280 802549A0 3C02800E */ lui $v0, 0x800e
|
||||
/* 183284 802549A4 8C42C148 */ lw $v0, -0x3eb8($v0)
|
||||
/* 183280 802549A0 3C02800E */ lui $v0, %hi(gBattleStatus+0xD8)
|
||||
/* 183284 802549A4 8C42C148 */ lw $v0, %lo(gBattleStatus+0xD8)($v0)
|
||||
/* 183288 802549A8 8C4201F4 */ lw $v0, 0x1f4($v0)
|
||||
/* 18328C 802549AC 8C4300C0 */ lw $v1, 0xc0($v0)
|
||||
/* 183290 802549B0 24020014 */ addiu $v0, $zero, 0x14
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
glabel func_802549C0
|
||||
/* 1832A0 802549C0 3C05EFFF */ lui $a1, 0xefff
|
||||
/* 1832A4 802549C4 3C03800E */ lui $v1, 0x800e
|
||||
/* 1832A8 802549C8 8C63C148 */ lw $v1, -0x3eb8($v1)
|
||||
/* 1832A4 802549C4 3C03800E */ lui $v1, %hi(gBattleStatus+0xD8)
|
||||
/* 1832A8 802549C8 8C63C148 */ lw $v1, %lo(gBattleStatus+0xD8)($v1)
|
||||
/* 1832AC 802549CC 34A5FFFF */ ori $a1, $a1, 0xffff
|
||||
/* 1832B0 802549D0 8C6401F4 */ lw $a0, 0x1f4($v1)
|
||||
/* 1832B4 802549D4 8C620000 */ lw $v0, ($v1)
|
||||
|
@ -628,8 +628,8 @@ glabel func_80255FE0
|
||||
/* 18521C 8025693C 8FA803D0 */ lw $t0, 0x3d0($sp)
|
||||
/* 185220 80256940 11000027 */ beqz $t0, .L802569E0
|
||||
/* 185224 80256944 0260A02D */ daddu $s4, $s3, $zero
|
||||
/* 185228 80256948 3C02800E */ lui $v0, 0x800e
|
||||
/* 18522C 8025694C 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 185228 80256948 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 18522C 8025694C 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 185230 80256950 24030004 */ addiu $v1, $zero, 4
|
||||
/* 185234 80256954 30420014 */ andi $v0, $v0, 0x14
|
||||
/* 185238 80256958 14430015 */ bne $v0, $v1, .L802569B0
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
glabel func_80257B88
|
||||
/* 186468 80257B88 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 18646C 80257B8C 3C05800E */ lui $a1, 0x800e
|
||||
/* 186470 80257B90 8CA5C14C */ lw $a1, -0x3eb4($a1)
|
||||
/* 18646C 80257B8C 3C05800E */ lui $a1, %hi(gBattleStatus+0xDC)
|
||||
/* 186470 80257B90 8CA5C14C */ lw $a1, %lo(gBattleStatus+0xDC)($a1)
|
||||
/* 186474 80257B94 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 186478 80257B98 0C095C7C */ jal func_802571F0
|
||||
/* 18647C 80257B9C 24040001 */ addiu $a0, $zero, 1
|
||||
|
@ -352,8 +352,8 @@ glabel func_80257DA4
|
||||
/* 186B94 802582B4 00431024 */ and $v0, $v0, $v1
|
||||
/* 186B98 802582B8 1040001C */ beqz $v0, .L8025832C
|
||||
/* 186B9C 802582BC 00000000 */ nop
|
||||
/* 186BA0 802582C0 3C02800E */ lui $v0, 0x800e
|
||||
/* 186BA4 802582C4 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 186BA0 802582C0 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 186BA4 802582C4 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 186BA8 802582C8 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 186BAC 802582CC 14400017 */ bnez $v0, .L8025832C
|
||||
/* 186BB0 802582D0 00000000 */ nop
|
||||
@ -413,8 +413,8 @@ glabel func_80257DA4
|
||||
/* 186C68 80258388 0220902D */ daddu $s2, $s1, $zero
|
||||
/* 186C6C 8025838C 0220982D */ daddu $s3, $s1, $zero
|
||||
/* 186C70 80258390 8EFE0088 */ lw $fp, 0x88($s7)
|
||||
/* 186C74 80258394 3C02800E */ lui $v0, 0x800e
|
||||
/* 186C78 80258398 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 186C74 80258394 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 186C78 80258398 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 186C7C 8025839C 24030002 */ addiu $v1, $zero, 2
|
||||
/* 186C80 802583A0 3042000A */ andi $v0, $v0, 0xa
|
||||
/* 186C84 802583A4 14430003 */ bne $v0, $v1, .L802583B4
|
||||
@ -438,8 +438,8 @@ glabel func_80257DA4
|
||||
/* 186CC4 802583E4 1440003C */ bnez $v0, .L802584D8
|
||||
/* 186CC8 802583E8 00000000 */ nop
|
||||
.L802583EC:
|
||||
/* 186CCC 802583EC 3C04800E */ lui $a0, 0x800e
|
||||
/* 186CD0 802583F0 8C84C074 */ lw $a0, -0x3f8c($a0)
|
||||
/* 186CCC 802583EC 3C04800E */ lui $a0, %hi(gBattleStatus+0x4)
|
||||
/* 186CD0 802583F0 8C84C074 */ lw $a0, %lo(gBattleStatus+0x4)($a0)
|
||||
/* 186CD4 802583F4 3C020010 */ lui $v0, 0x10
|
||||
/* 186CD8 802583F8 00821024 */ and $v0, $a0, $v0
|
||||
/* 186CDC 802583FC 14400036 */ bnez $v0, .L802584D8
|
||||
|
@ -4,8 +4,8 @@
|
||||
glabel func_80258E14
|
||||
/* 1876F4 80258E14 27BDFCE8 */ addiu $sp, $sp, -0x318
|
||||
/* 1876F8 80258E18 AFB002D8 */ sw $s0, 0x2d8($sp)
|
||||
/* 1876FC 80258E1C 3C10800E */ lui $s0, 0x800e
|
||||
/* 187700 80258E20 8E10C148 */ lw $s0, -0x3eb8($s0)
|
||||
/* 1876FC 80258E1C 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
|
||||
/* 187700 80258E20 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
|
||||
/* 187704 80258E24 AFBF02F8 */ sw $ra, 0x2f8($sp)
|
||||
/* 187708 80258E28 AFB702F4 */ sw $s7, 0x2f4($sp)
|
||||
/* 18770C 80258E2C AFB602F0 */ sw $s6, 0x2f0($sp)
|
||||
|
@ -44,8 +44,8 @@ glabel func_8025B5C0
|
||||
/* 189F38 8025B658 1444FFF8 */ bne $v0, $a0, .L8025B63C
|
||||
/* 189F3C 8025B65C 00000000 */ nop
|
||||
.L8025B660:
|
||||
/* 189F40 8025B660 3C02800E */ lui $v0, 0x800e
|
||||
/* 189F44 8025B664 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 189F40 8025B660 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 189F44 8025B664 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 189F48 8025B668 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 189F4C 8025B66C 14400019 */ bnez $v0, .L8025B6D4
|
||||
/* 189F50 8025B670 24020004 */ addiu $v0, $zero, 4
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel reset_partner_blur
|
||||
/* 182F6C 8025468C 3C04800E */ lui $a0, 0x800e
|
||||
/* 182F70 80254690 8C84C14C */ lw $a0, -0x3eb4($a0)
|
||||
/* 182F6C 8025468C 3C04800E */ lui $a0, %hi(gBattleStatus+0xDC)
|
||||
/* 182F70 80254690 8C84C14C */ lw $a0, %lo(gBattleStatus+0xDC)($a0)
|
||||
/* 182F74 80254694 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 182F78 80254698 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 182F7C 8025469C 0C09516B */ jal reset_actor_blur
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
glabel update_hero_shadows
|
||||
/* 18488C 80255FAC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 184890 80255FB0 3C05800E */ lui $a1, 0x800e
|
||||
/* 184894 80255FB4 8CA5C14C */ lw $a1, -0x3eb4($a1)
|
||||
/* 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
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8025DEB0
|
||||
/* 18C790 8025DEB0 3C02800E */ lui $v0, 0x800e
|
||||
/* 18C794 8025DEB4 8042C0E8 */ lb $v0, -0x3f18($v0)
|
||||
/* 18C790 8025DEB0 3C02800E */ lui $v0, %hi(gBattleStatus+0x78)
|
||||
/* 18C794 8025DEB4 8042C0E8 */ lb $v0, %lo(gBattleStatus+0x78)($v0)
|
||||
/* 18C798 8025DEB8 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 18C79C 8025DEBC 03E00008 */ jr $ra
|
||||
/* 18C7A0 8025DEC0 24020002 */ addiu $v0, $zero, 2
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8025E190
|
||||
/* 18CA70 8025E190 3C03800E */ lui $v1, 0x800e
|
||||
/* 18CA74 8025E194 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 18CA70 8025E190 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 18CA74 8025E194 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 18CA78 8025E198 27BDFF98 */ addiu $sp, $sp, -0x68
|
||||
/* 18CA7C 8025E19C AFBE0060 */ sw $fp, 0x60($sp)
|
||||
/* 18CA80 8025E1A0 3C1E800E */ lui $fp, %hi(gBattleStatus)
|
||||
@ -86,8 +86,8 @@ glabel func_8025E190
|
||||
/* 18CBAC 8025E2CC AC20FB54 */ sw $zero, -0x4ac($at)
|
||||
/* 18CBB0 8025E2D0 3C01802A */ lui $at, 0x802a
|
||||
/* 18CBB4 8025E2D4 AC24FB4C */ sw $a0, -0x4b4($at)
|
||||
/* 18CBB8 8025E2D8 3C01800E */ lui $at, 0x800e
|
||||
/* 18CBBC 8025E2DC AC24C4DC */ sw $a0, -0x3b24($at)
|
||||
/* 18CBB8 8025E2D8 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 18CBBC 8025E2DC AC24C4DC */ sw $a0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 18CBC0 8025E2E0 00641825 */ or $v1, $v1, $a0
|
||||
/* 18CBC4 8025E2E4 08097FD2 */ j .L8025FF48
|
||||
/* 18CBC8 8025E2E8 AC430004 */ sw $v1, 4($v0)
|
||||
@ -141,8 +141,8 @@ glabel func_8025E190
|
||||
/* 18CC7C 8025E39C AE020000 */ sw $v0, ($s0)
|
||||
/* 18CC80 8025E3A0 8CA30144 */ lw $v1, 0x144($a1)
|
||||
/* 18CC84 8025E3A4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 18CC88 8025E3A8 3C01800E */ lui $at, 0x800e
|
||||
/* 18CC8C 8025E3AC AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 18CC88 8025E3A8 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 18CC8C 8025E3AC AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 18CC90 8025E3B0 AE2301E4 */ sw $v1, 0x1e4($s1)
|
||||
/* 18CC94 8025E3B4 ACA00148 */ sw $zero, 0x148($a1)
|
||||
/* 18CC98 8025E3B8 3C01802A */ lui $at, 0x802a
|
||||
@ -321,8 +321,8 @@ glabel func_8025E190
|
||||
/* 18CF30 8025E650 3C01802A */ lui $at, 0x802a
|
||||
/* 18CF34 8025E654 AC22FB7C */ sw $v0, -0x484($at)
|
||||
/* 18CF38 8025E658 24020006 */ addiu $v0, $zero, 6
|
||||
/* 18CF3C 8025E65C 3C01800E */ lui $at, 0x800e
|
||||
/* 18CF40 8025E660 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 18CF3C 8025E65C 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 18CF40 8025E660 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 18CF44 8025E664 3C01802A */ lui $at, 0x802a
|
||||
/* 18CF48 8025E668 AC23FB80 */ sw $v1, -0x480($at)
|
||||
/* 18CF4C 8025E66C 0C04760B */ jal func_8011D82C
|
||||
@ -1659,8 +1659,8 @@ glabel func_8025E190
|
||||
/* 18E374 8025FA94 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 18E378 8025FA98 ACA20148 */ sw $v0, 0x148($a1)
|
||||
.L8025FA9C:
|
||||
/* 18E37C 8025FA9C 3C02800E */ lui $v0, 0x800e
|
||||
/* 18E380 8025FAA0 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 18E37C 8025FA9C 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 18E380 8025FAA0 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 18E384 8025FAA4 3C030200 */ lui $v1, 0x200
|
||||
/* 18E388 8025FAA8 00431024 */ and $v0, $v0, $v1
|
||||
/* 18E38C 8025FAAC 14400007 */ bnez $v0, .L8025FACC
|
||||
@ -1873,8 +1873,8 @@ glabel func_8025E190
|
||||
/* 18E67C 8025FD9C 28420063 */ slti $v0, $v0, 0x63
|
||||
/* 18E680 8025FDA0 14400069 */ bnez $v0, .L8025FF48
|
||||
/* 18E684 8025FDA4 3C030200 */ lui $v1, 0x200
|
||||
/* 18E688 8025FDA8 3C02800E */ lui $v0, 0x800e
|
||||
/* 18E68C 8025FDAC 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 18E688 8025FDA8 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 18E68C 8025FDAC 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 18E690 8025FDB0 00431024 */ and $v0, $v0, $v1
|
||||
/* 18E694 8025FDB4 14400009 */ bnez $v0, .L8025FDDC
|
||||
/* 18E698 8025FDB8 24040001 */ addiu $a0, $zero, 1
|
||||
@ -1984,8 +1984,8 @@ glabel func_8025E190
|
||||
/* 18E818 8025FF38 24040020 */ addiu $a0, $zero, 0x20
|
||||
/* 18E81C 8025FF3C 24020002 */ addiu $v0, $zero, 2
|
||||
.L8025FF40:
|
||||
/* 18E820 8025FF40 3C01800E */ lui $at, 0x800e
|
||||
/* 18E824 8025FF44 AC22C4DC */ sw $v0, -0x3b24($at)
|
||||
/* 18E820 8025FF40 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 18E824 8025FF44 AC22C4DC */ sw $v0, %lo(gBattleStatus+0x46C)($at)
|
||||
.L8025FF48:
|
||||
/* 18E828 8025FF48 3C03802A */ lui $v1, 0x802a
|
||||
/* 18E82C 8025FF4C 2463FB84 */ addiu $v1, $v1, -0x47c
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802601BC
|
||||
/* 18EA9C 802601BC 3C02800E */ lui $v0, 0x800e
|
||||
/* 18EAA0 802601C0 8C42C4DC */ lw $v0, -0x3b24($v0)
|
||||
/* 18EA9C 802601BC 3C02800E */ lui $v0, %hi(gBattleStatus+0x46C)
|
||||
/* 18EAA0 802601C0 8C42C4DC */ lw $v0, %lo(gBattleStatus+0x46C)($v0)
|
||||
/* 18EAA4 802601C4 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 18EAA8 802601C8 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 18EAAC 802601CC AFB50024 */ sw $s5, 0x24($sp)
|
||||
@ -441,8 +441,8 @@ glabel func_802601BC
|
||||
/* 18F110 80260830 0C04DF62 */ jal func_80137D88
|
||||
/* 18F114 80260834 0000202D */ daddu $a0, $zero, $zero
|
||||
.L80260838:
|
||||
/* 18F118 80260838 3C03800E */ lui $v1, 0x800e
|
||||
/* 18F11C 8026083C 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 18F118 80260838 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 18F11C 8026083C 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 18F120 80260840 28620007 */ slti $v0, $v1, 7
|
||||
/* 18F124 80260844 14400037 */ bnez $v0, .L80260924
|
||||
/* 18F128 80260848 2862000A */ slti $v0, $v1, 0xa
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
glabel func_80260948
|
||||
/* 18F228 80260948 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 18F22C 8026094C 3C03800E */ lui $v1, 0x800e
|
||||
/* 18F230 80260950 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 18F22C 8026094C 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 18F230 80260950 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 18F234 80260954 24020008 */ addiu $v0, $zero, 8
|
||||
/* 18F238 80260958 10620008 */ beq $v1, $v0, .L8026097C
|
||||
/* 18F23C 8026095C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80260AD4
|
||||
/* 18F3B4 80260AD4 3C03800E */ lui $v1, 0x800e
|
||||
/* 18F3B8 80260AD8 8C63C148 */ lw $v1, -0x3eb8($v1)
|
||||
/* 18F3B4 80260AD4 3C03800E */ lui $v1, %hi(gBattleStatus+0xD8)
|
||||
/* 18F3B8 80260AD8 8C63C148 */ lw $v1, %lo(gBattleStatus+0xD8)($v1)
|
||||
/* 18F3BC 80260ADC 90620210 */ lbu $v0, 0x210($v1)
|
||||
/* 18F3C0 80260AE0 80630214 */ lb $v1, 0x214($v1)
|
||||
/* 18F3C4 80260AE4 2442FFFD */ addiu $v0, $v0, -3
|
||||
|
@ -6,8 +6,8 @@ glabel func_80260B70
|
||||
/* 18F454 80260B74 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 18F458 80260B78 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 18F45C 80260B7C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 18F460 80260B80 3C10800E */ lui $s0, 0x800e
|
||||
/* 18F464 80260B84 8E10C148 */ lw $s0, -0x3eb8($s0)
|
||||
/* 18F460 80260B80 3C10800E */ lui $s0, %hi(gBattleStatus+0xD8)
|
||||
/* 18F464 80260B84 8E10C148 */ lw $s0, %lo(gBattleStatus+0xD8)($s0)
|
||||
/* 18F468 80260B88 3C0141A0 */ lui $at, 0x41a0
|
||||
/* 18F46C 80260B8C 44811000 */ mtc1 $at, $f2
|
||||
/* 18F470 80260B90 24040002 */ addiu $a0, $zero, 2
|
||||
|
@ -4,10 +4,10 @@
|
||||
glabel func_8026127C
|
||||
/* 18FB5C 8026127C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 18FB60 80261280 3C04F7FF */ lui $a0, 0xf7ff
|
||||
/* 18FB64 80261284 3C02800E */ lui $v0, 0x800e
|
||||
/* 18FB68 80261288 8C42C4E4 */ lw $v0, -0x3b1c($v0)
|
||||
/* 18FB6C 8026128C 3C03800E */ lui $v1, 0x800e
|
||||
/* 18FB70 80261290 8C63C4D8 */ lw $v1, -0x3b28($v1)
|
||||
/* 18FB64 80261284 3C02800E */ lui $v0, %hi(gBattleStatus+0x474)
|
||||
/* 18FB68 80261288 8C42C4E4 */ lw $v0, %lo(gBattleStatus+0x474)($v0)
|
||||
/* 18FB6C 8026128C 3C03800E */ lui $v1, %hi(gBattleStatus+0x468)
|
||||
/* 18FB70 80261290 8C63C4D8 */ lw $v1, %lo(gBattleStatus+0x468)($v1)
|
||||
/* 18FB74 80261294 3484FFFF */ ori $a0, $a0, 0xffff
|
||||
/* 18FB78 80261298 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 18FB7C 8026129C 3C10800E */ lui $s0, %hi(gBattleStatus)
|
||||
@ -20,8 +20,8 @@ glabel func_8026127C
|
||||
/* 18FB98 802612B8 8E020000 */ lw $v0, ($s0)
|
||||
/* 18FB9C 802612BC 3C118011 */ lui $s1, %hi(gPlayerData)
|
||||
/* 18FBA0 802612C0 2631F290 */ addiu $s1, $s1, %lo(gPlayerData)
|
||||
/* 18FBA4 802612C4 3C01800E */ lui $at, 0x800e
|
||||
/* 18FBA8 802612C8 AC23C4DC */ sw $v1, -0x3b24($at)
|
||||
/* 18FBA4 802612C4 3C01800E */ lui $at, %hi(gBattleStatus+0x46C)
|
||||
/* 18FBA8 802612C8 AC23C4DC */ sw $v1, %lo(gBattleStatus+0x46C)($at)
|
||||
/* 18FBAC 802612CC 8E030004 */ lw $v1, 4($s0)
|
||||
/* 18FBB0 802612D0 34420008 */ ori $v0, $v0, 8
|
||||
/* 18FBB4 802612D4 00642024 */ and $a0, $v1, $a0
|
||||
|
@ -12,8 +12,8 @@ glabel func_80261FB4
|
||||
/* 1908B0 80261FD0 8E4400AC */ lw $a0, 0xac($s2)
|
||||
/* 1908B4 80261FD4 0C04C3D6 */ jal get_item_entity
|
||||
/* 1908B8 80261FD8 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 1908BC 80261FDC 3C04800E */ lui $a0, 0x800e
|
||||
/* 1908C0 80261FE0 8C84C148 */ lw $a0, -0x3eb8($a0)
|
||||
/* 1908BC 80261FDC 3C04800E */ lui $a0, %hi(gBattleStatus+0xD8)
|
||||
/* 1908C0 80261FE0 8C84C148 */ lw $a0, %lo(gBattleStatus+0xD8)($a0)
|
||||
/* 1908C4 80261FE4 12000004 */ beqz $s0, .L80261FF8
|
||||
/* 1908C8 80261FE8 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 1908CC 80261FEC 2402000A */ addiu $v0, $zero, 0xa
|
||||
|
@ -472,8 +472,8 @@ glabel create_target_list
|
||||
/* 1911FC 8026291C 8EC20184 */ lw $v0, 0x184($s6)
|
||||
/* 191200 80262920 04420029 */ bltzl $v0, .L802629C8
|
||||
/* 191204 80262924 24040001 */ addiu $a0, $zero, 1
|
||||
/* 191208 80262928 3C02800E */ lui $v0, 0x800e
|
||||
/* 19120C 8026292C 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 191208 80262928 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 19120C 8026292C 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 191210 80262930 30424000 */ andi $v0, $v0, 0x4000
|
||||
/* 191214 80262934 14400013 */ bnez $v0, .L80262984
|
||||
/* 191218 80262938 00000000 */ nop
|
||||
|
@ -9,12 +9,12 @@ glabel func_80263464
|
||||
/* 191D54 80263474 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 191D58 80263478 3C02800E */ lui $v0, %hi(gBattleState)
|
||||
/* 191D5C 8026347C 8C42C068 */ lw $v0, %lo(gBattleState)($v0)
|
||||
/* 191D60 80263480 3C03800E */ lui $v1, 0x800e
|
||||
/* 191D64 80263484 8C63C4DC */ lw $v1, -0x3b24($v1)
|
||||
/* 191D68 80263488 3C01800E */ lui $at, 0x800e
|
||||
/* 191D6C 8026348C AC22C4E4 */ sw $v0, -0x3b1c($at)
|
||||
/* 191D70 80263490 3C01800E */ lui $at, 0x800e
|
||||
/* 191D74 80263494 AC23C4D8 */ sw $v1, -0x3b28($at)
|
||||
/* 191D60 80263480 3C03800E */ lui $v1, %hi(gBattleStatus+0x46C)
|
||||
/* 191D64 80263484 8C63C4DC */ lw $v1, %lo(gBattleStatus+0x46C)($v1)
|
||||
/* 191D68 80263488 3C01800E */ lui $at, %hi(gBattleStatus+0x474)
|
||||
/* 191D6C 8026348C AC22C4E4 */ sw $v0, %lo(gBattleStatus+0x474)($at)
|
||||
/* 191D70 80263490 3C01800E */ lui $at, %hi(gBattleStatus+0x468)
|
||||
/* 191D74 80263494 AC23C4D8 */ sw $v1, %lo(gBattleStatus+0x468)($at)
|
||||
/* 191D78 80263498 0C090464 */ jal func_80241190
|
||||
/* 191D7C 8026349C 2404001B */ addiu $a0, $zero, 0x1b
|
||||
/* 191D80 802634A0 08098D2B */ j .L802634AC
|
||||
|
@ -123,8 +123,8 @@ glabel func_802634B8
|
||||
/* 191F50 80263670 2402FFFE */ addiu $v0, $zero, -2
|
||||
/* 191F54 80263674 A26201F6 */ sb $v0, 0x1f6($s3)
|
||||
.L80263678:
|
||||
/* 191F58 80263678 3C02800E */ lui $v0, 0x800e
|
||||
/* 191F5C 8026367C 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 191F58 80263678 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 191F5C 8026367C 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 191F60 80263680 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* 191F64 80263684 10400002 */ beqz $v0, .L80263690
|
||||
/* 191F68 80263688 2402FFFF */ addiu $v0, $zero, -1
|
||||
|
@ -124,8 +124,8 @@ glabel func_802636E4
|
||||
/* 192180 802638A0 2402FFFE */ addiu $v0, $zero, -2
|
||||
/* 192184 802638A4 A26201F6 */ sb $v0, 0x1f6($s3)
|
||||
.L802638A8:
|
||||
/* 192188 802638A8 3C02800E */ lui $v0, 0x800e
|
||||
/* 19218C 802638AC 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 192188 802638A8 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 19218C 802638AC 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 192190 802638B0 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* 192194 802638B4 10400002 */ beqz $v0, .L802638C0
|
||||
/* 192198 802638B8 2402FFFF */ addiu $v0, $zero, -1
|
||||
|
@ -110,8 +110,8 @@ glabel func_80263914
|
||||
/* 19237C 80263A9C 54400001 */ bnel $v0, $zero, .L80263AA4
|
||||
/* 192380 80263AA0 A24001F6 */ sb $zero, 0x1f6($s2)
|
||||
.L80263AA4:
|
||||
/* 192384 80263AA4 3C02800E */ lui $v0, 0x800e
|
||||
/* 192388 80263AA8 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 192384 80263AA4 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 192388 80263AA8 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 19238C 80263AAC 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* 192390 80263AB0 10400002 */ beqz $v0, .L80263ABC
|
||||
/* 192394 80263AB4 2402FFFF */ addiu $v0, $zero, -1
|
||||
|
@ -10,8 +10,8 @@ glabel func_802667F0
|
||||
/* 1950E4 80266804 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 1950E8 80266808 8E020200 */ lw $v0, 0x200($s0)
|
||||
/* 1950EC 8026680C C7A40030 */ lwc1 $f4, 0x30($sp)
|
||||
/* 1950F0 80266810 3C05800E */ lui $a1, 0x800e
|
||||
/* 1950F4 80266814 8CA5C148 */ lw $a1, -0x3eb8($a1)
|
||||
/* 1950F0 80266810 3C05800E */ lui $a1, %hi(gBattleStatus+0xD8)
|
||||
/* 1950F4 80266814 8CA5C148 */ lw $a1, %lo(gBattleStatus+0xD8)($a1)
|
||||
/* 1950F8 80266818 1440001A */ bnez $v0, .L80266884
|
||||
/* 1950FC 8026681C 0080182D */ daddu $v1, $a0, $zero
|
||||
/* 195100 80266820 2C620006 */ sltiu $v0, $v1, 6
|
||||
|
@ -28,8 +28,8 @@ glabel load_player_actor
|
||||
/* 192DD8 802644F8 AE020008 */ sw $v0, 8($s0)
|
||||
/* 192DDC 802644FC 90420005 */ lbu $v0, 5($v0)
|
||||
/* 192DE0 80264500 A2020136 */ sb $v0, 0x136($s0)
|
||||
/* 192DE4 80264504 3C02800E */ lui $v0, 0x800e
|
||||
/* 192DE8 80264508 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 192DE4 80264504 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 192DE8 80264508 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 192DEC 8026450C 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 192DF0 80264510 14400007 */ bnez $v0, .L80264530
|
||||
/* 192DF4 80264514 00000000 */ nop
|
||||
@ -247,8 +247,8 @@ glabel load_player_actor
|
||||
/* 19312C 8026484C AE200030 */ sw $zero, 0x30($s1)
|
||||
/* 193130 80264850 AE200034 */ sw $zero, 0x34($s1)
|
||||
/* 193134 80264854 AE220078 */ sw $v0, 0x78($s1)
|
||||
/* 193138 80264858 3C02800E */ lui $v0, 0x800e
|
||||
/* 19313C 8026485C 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 193138 80264858 3C02800E */ lui $v0, %hi(gBattleStatus+0x4)
|
||||
/* 19313C 8026485C 8C42C074 */ lw $v0, %lo(gBattleStatus+0x4)($v0)
|
||||
/* 193140 80264860 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 193144 80264864 10400005 */ beqz $v0, .L8026487C
|
||||
/* 193148 80264868 00000000 */ nop
|
||||
|
@ -1,59 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel AddActorPos
|
||||
/* 19A20C 8026B92C 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 19A210 8026B930 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19A214 8026B934 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 19A218 8026B938 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 19A21C 8026B93C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19A220 8026B940 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19A224 8026B944 F7B80030 */ sdc1 $f24, 0x30($sp)
|
||||
/* 19A228 8026B948 F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 19A22C 8026B94C F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 19A230 8026B950 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 19A234 8026B954 8E050000 */ lw $a1, ($s0)
|
||||
/* 19A238 8026B958 0C0B1EAF */ jal get_variable
|
||||
/* 19A23C 8026B95C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19A240 8026B960 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 19A244 8026B964 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19A248 8026B968 16220002 */ bne $s1, $v0, .L8026B974
|
||||
/* 19A24C 8026B96C 00000000 */ nop
|
||||
/* 19A250 8026B970 8E510148 */ lw $s1, 0x148($s2)
|
||||
.L8026B974:
|
||||
/* 19A254 8026B974 8E050000 */ lw $a1, ($s0)
|
||||
/* 19A258 8026B978 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19A25C 8026B97C 0C0B210B */ jal get_float_variable
|
||||
/* 19A260 8026B980 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A264 8026B984 8E050000 */ lw $a1, ($s0)
|
||||
/* 19A268 8026B988 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19A26C 8026B98C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A270 8026B990 0C0B210B */ jal get_float_variable
|
||||
/* 19A274 8026B994 46000606 */ mov.s $f24, $f0
|
||||
/* 19A278 8026B998 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A27C 8026B99C 8E050000 */ lw $a1, ($s0)
|
||||
/* 19A280 8026B9A0 0C0B210B */ jal get_float_variable
|
||||
/* 19A284 8026B9A4 46000506 */ mov.s $f20, $f0
|
||||
/* 19A288 8026B9A8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 19A28C 8026B9AC 0C09A75B */ jal get_actor
|
||||
/* 19A290 8026B9B0 46000586 */ mov.s $f22, $f0
|
||||
/* 19A294 8026B9B4 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 19A298 8026B9B8 C4640144 */ lwc1 $f4, 0x144($v1)
|
||||
/* 19A29C 8026B9BC 46182100 */ add.s $f4, $f4, $f24
|
||||
/* 19A2A0 8026B9C0 C4620148 */ lwc1 $f2, 0x148($v1)
|
||||
/* 19A2A4 8026B9C4 46141080 */ add.s $f2, $f2, $f20
|
||||
/* 19A2A8 8026B9C8 C460014C */ lwc1 $f0, 0x14c($v1)
|
||||
/* 19A2AC 8026B9CC 46160000 */ add.s $f0, $f0, $f22
|
||||
/* 19A2B0 8026B9D0 E4640144 */ swc1 $f4, 0x144($v1)
|
||||
/* 19A2B4 8026B9D4 E4620148 */ swc1 $f2, 0x148($v1)
|
||||
/* 19A2B8 8026B9D8 E460014C */ swc1 $f0, 0x14c($v1)
|
||||
/* 19A2BC 8026B9DC 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 19A2C0 8026B9E0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19A2C4 8026B9E4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19A2C8 8026B9E8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19A2CC 8026B9EC D7B80030 */ ldc1 $f24, 0x30($sp)
|
||||
/* 19A2D0 8026B9F0 D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 19A2D4 8026B9F4 D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 19A2D8 8026B9F8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19A2DC 8026B9FC 03E00008 */ jr $ra
|
||||
/* 19A2E0 8026BA00 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,119 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel AddPartDispOffset
|
||||
/* 19A668 8026BD88 27BDFFC0 */ addiu $sp, $sp, -0x40
|
||||
/* 19A66C 8026BD8C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19A670 8026BD90 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 19A674 8026BD94 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 19A678 8026BD98 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 19A67C 8026BD9C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19A680 8026BDA0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19A684 8026BDA4 F7B80038 */ sdc1 $f24, 0x38($sp)
|
||||
/* 19A688 8026BDA8 F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 19A68C 8026BDAC F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 19A690 8026BDB0 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 19A694 8026BDB4 8E250000 */ lw $a1, ($s1)
|
||||
/* 19A698 8026BDB8 0C0B1EAF */ jal get_variable
|
||||
/* 19A69C 8026BDBC 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19A6A0 8026BDC0 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 19A6A4 8026BDC4 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19A6A8 8026BDC8 16620002 */ bne $s3, $v0, .L8026BDD4
|
||||
/* 19A6AC 8026BDCC 00000000 */ nop
|
||||
/* 19A6B0 8026BDD0 8E530148 */ lw $s3, 0x148($s2)
|
||||
.L8026BDD4:
|
||||
/* 19A6B4 8026BDD4 8E250000 */ lw $a1, ($s1)
|
||||
/* 19A6B8 8026BDD8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19A6BC 8026BDDC 0C0B1EAF */ jal get_variable
|
||||
/* 19A6C0 8026BDE0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A6C4 8026BDE4 8E250000 */ lw $a1, ($s1)
|
||||
/* 19A6C8 8026BDE8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19A6CC 8026BDEC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A6D0 8026BDF0 0C0B210B */ jal get_float_variable
|
||||
/* 19A6D4 8026BDF4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19A6D8 8026BDF8 8E250000 */ lw $a1, ($s1)
|
||||
/* 19A6DC 8026BDFC 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19A6E0 8026BE00 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A6E4 8026BE04 0C0B210B */ jal get_float_variable
|
||||
/* 19A6E8 8026BE08 46000506 */ mov.s $f20, $f0
|
||||
/* 19A6EC 8026BE0C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A6F0 8026BE10 8E250000 */ lw $a1, ($s1)
|
||||
/* 19A6F4 8026BE14 0C0B210B */ jal get_float_variable
|
||||
/* 19A6F8 8026BE18 46000586 */ mov.s $f22, $f0
|
||||
/* 19A6FC 8026BE1C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 19A700 8026BE20 0C09A75B */ jal get_actor
|
||||
/* 19A704 8026BE24 46000606 */ mov.s $f24, $f0
|
||||
/* 19A708 8026BE28 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19A70C 8026BE2C 0C099117 */ jal get_actor_part
|
||||
/* 19A710 8026BE30 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 19A714 8026BE34 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19A718 8026BE38 8C820000 */ lw $v0, ($a0)
|
||||
/* 19A71C 8026BE3C 3C030010 */ lui $v1, 0x10
|
||||
/* 19A720 8026BE40 00431024 */ and $v0, $v0, $v1
|
||||
/* 19A724 8026BE44 1440001B */ bnez $v0, .L8026BEB4
|
||||
/* 19A728 8026BE48 00000000 */ nop
|
||||
/* 19A72C 8026BE4C 84820014 */ lh $v0, 0x14($a0)
|
||||
/* 19A730 8026BE50 44820000 */ mtc1 $v0, $f0
|
||||
/* 19A734 8026BE54 00000000 */ nop
|
||||
/* 19A738 8026BE58 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 19A73C 8026BE5C 46140000 */ add.s $f0, $f0, $f20
|
||||
/* 19A740 8026BE60 84820016 */ lh $v0, 0x16($a0)
|
||||
/* 19A744 8026BE64 44821000 */ mtc1 $v0, $f2
|
||||
/* 19A748 8026BE68 00000000 */ nop
|
||||
/* 19A74C 8026BE6C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 19A750 8026BE70 46161080 */ add.s $f2, $f2, $f22
|
||||
/* 19A754 8026BE74 84820018 */ lh $v0, 0x18($a0)
|
||||
/* 19A758 8026BE78 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 19A75C 8026BE7C 44032000 */ mfc1 $v1, $f4
|
||||
/* 19A760 8026BE80 44820000 */ mtc1 $v0, $f0
|
||||
/* 19A764 8026BE84 00000000 */ nop
|
||||
/* 19A768 8026BE88 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 19A76C 8026BE8C 46180000 */ add.s $f0, $f0, $f24
|
||||
/* 19A770 8026BE90 A4830014 */ sh $v1, 0x14($a0)
|
||||
/* 19A774 8026BE94 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 19A778 8026BE98 44022000 */ mfc1 $v0, $f4
|
||||
/* 19A77C 8026BE9C 00000000 */ nop
|
||||
/* 19A780 8026BEA0 A4820016 */ sh $v0, 0x16($a0)
|
||||
/* 19A784 8026BEA4 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 19A788 8026BEA8 44022000 */ mfc1 $v0, $f4
|
||||
/* 19A78C 8026BEAC 0809AFC7 */ j .L8026BF1C
|
||||
/* 19A790 8026BEB0 A4820018 */ sh $v0, 0x18($a0)
|
||||
.L8026BEB4:
|
||||
/* 19A794 8026BEB4 8482001A */ lh $v0, 0x1a($a0)
|
||||
/* 19A798 8026BEB8 44820000 */ mtc1 $v0, $f0
|
||||
/* 19A79C 8026BEBC 00000000 */ nop
|
||||
/* 19A7A0 8026BEC0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 19A7A4 8026BEC4 46140000 */ add.s $f0, $f0, $f20
|
||||
/* 19A7A8 8026BEC8 8482001C */ lh $v0, 0x1c($a0)
|
||||
/* 19A7AC 8026BECC 44821000 */ mtc1 $v0, $f2
|
||||
/* 19A7B0 8026BED0 00000000 */ nop
|
||||
/* 19A7B4 8026BED4 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 19A7B8 8026BED8 46161080 */ add.s $f2, $f2, $f22
|
||||
/* 19A7BC 8026BEDC 8482001E */ lh $v0, 0x1e($a0)
|
||||
/* 19A7C0 8026BEE0 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 19A7C4 8026BEE4 44032000 */ mfc1 $v1, $f4
|
||||
/* 19A7C8 8026BEE8 44820000 */ mtc1 $v0, $f0
|
||||
/* 19A7CC 8026BEEC 00000000 */ nop
|
||||
/* 19A7D0 8026BEF0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 19A7D4 8026BEF4 46180000 */ add.s $f0, $f0, $f24
|
||||
/* 19A7D8 8026BEF8 A483001A */ sh $v1, 0x1a($a0)
|
||||
/* 19A7DC 8026BEFC 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 19A7E0 8026BF00 44022000 */ mfc1 $v0, $f4
|
||||
/* 19A7E4 8026BF04 00000000 */ nop
|
||||
/* 19A7E8 8026BF08 A482001C */ sh $v0, 0x1c($a0)
|
||||
/* 19A7EC 8026BF0C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 19A7F0 8026BF10 44022000 */ mfc1 $v0, $f4
|
||||
/* 19A7F4 8026BF14 00000000 */ nop
|
||||
/* 19A7F8 8026BF18 A482001E */ sh $v0, 0x1e($a0)
|
||||
.L8026BF1C:
|
||||
/* 19A7FC 8026BF1C 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 19A800 8026BF20 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 19A804 8026BF24 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19A808 8026BF28 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19A80C 8026BF2C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19A810 8026BF30 D7B80038 */ ldc1 $f24, 0x38($sp)
|
||||
/* 19A814 8026BF34 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 19A818 8026BF38 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 19A81C 8026BF3C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19A820 8026BF40 03E00008 */ jr $ra
|
||||
/* 19A824 8026BF44 27BD0040 */ addiu $sp, $sp, 0x40
|
@ -1,54 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel AddPartMovementVar
|
||||
/* 19ABC8 8026C2E8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 19ABCC 8026C2EC AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 19ABD0 8026C2F0 0080982D */ daddu $s3, $a0, $zero
|
||||
/* 19ABD4 8026C2F4 AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 19ABD8 8026C2F8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19ABDC 8026C2FC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19ABE0 8026C300 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19ABE4 8026C304 8E70000C */ lw $s0, 0xc($s3)
|
||||
/* 19ABE8 8026C308 8E050000 */ lw $a1, ($s0)
|
||||
/* 19ABEC 8026C30C 0C0B1EAF */ jal get_variable
|
||||
/* 19ABF0 8026C310 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19ABF4 8026C314 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 19ABF8 8026C318 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19ABFC 8026C31C 16420002 */ bne $s2, $v0, .L8026C328
|
||||
/* 19AC00 8026C320 00000000 */ nop
|
||||
/* 19AC04 8026C324 8E720148 */ lw $s2, 0x148($s3)
|
||||
.L8026C328:
|
||||
/* 19AC08 8026C328 8E050000 */ lw $a1, ($s0)
|
||||
/* 19AC0C 8026C32C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19AC10 8026C330 0C0B1EAF */ jal get_variable
|
||||
/* 19AC14 8026C334 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 19AC18 8026C338 8E050000 */ lw $a1, ($s0)
|
||||
/* 19AC1C 8026C33C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19AC20 8026C340 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 19AC24 8026C344 0C0B1EAF */ jal get_variable
|
||||
/* 19AC28 8026C348 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 19AC2C 8026C34C 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 19AC30 8026C350 8E050000 */ lw $a1, ($s0)
|
||||
/* 19AC34 8026C354 0C0B1EAF */ jal get_variable
|
||||
/* 19AC38 8026C358 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19AC3C 8026C35C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19AC40 8026C360 0C09A75B */ jal get_actor
|
||||
/* 19AC44 8026C364 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 19AC48 8026C368 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19AC4C 8026C36C 0C099117 */ jal get_actor_part
|
||||
/* 19AC50 8026C370 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 19AC54 8026C374 8C440010 */ lw $a0, 0x10($v0)
|
||||
/* 19AC58 8026C378 00108080 */ sll $s0, $s0, 2
|
||||
/* 19AC5C 8026C37C 00902021 */ addu $a0, $a0, $s0
|
||||
/* 19AC60 8026C380 8C83004C */ lw $v1, 0x4c($a0)
|
||||
/* 19AC64 8026C384 00721821 */ addu $v1, $v1, $s2
|
||||
/* 19AC68 8026C388 AC83004C */ sw $v1, 0x4c($a0)
|
||||
/* 19AC6C 8026C38C 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 19AC70 8026C390 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 19AC74 8026C394 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19AC78 8026C398 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19AC7C 8026C39C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19AC80 8026C3A0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19AC84 8026C3A4 03E00008 */ jr $ra
|
||||
/* 19AC88 8026C3A8 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -5,8 +5,8 @@ glabel DidActionSucceed
|
||||
/* 1A5794 80276EB4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1A5798 80276EB8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1A579C 80276EBC 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 1A57A0 80276EC0 3C03800E */ lui $v1, 0x800e
|
||||
/* 1A57A4 80276EC4 8063C0F1 */ lb $v1, -0x3f0f($v1)
|
||||
/* 1A57A0 80276EC0 3C03800E */ lui $v1, %hi(gBattleStatus+0x81)
|
||||
/* 1A57A4 80276EC4 8063C0F1 */ lb $v1, %lo(gBattleStatus+0x81)($v1)
|
||||
/* 1A57A8 80276EC8 8C450000 */ lw $a1, ($v0)
|
||||
/* 1A57AC 80276ECC 04610002 */ bgez $v1, .L80276ED8
|
||||
/* 1A57B0 80276ED0 0000302D */ daddu $a2, $zero, $zero
|
||||
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetActorFlags
|
||||
/* 19B800 8026CF20 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 19B804 8026CF24 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19B808 8026CF28 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 19B80C 8026CF2C AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 19B810 8026CF30 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19B814 8026CF34 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 19B818 8026CF38 8E050000 */ lw $a1, ($s0)
|
||||
/* 19B81C 8026CF3C 0C0B1EAF */ jal get_variable
|
||||
/* 19B820 8026CF40 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19B824 8026CF44 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19B828 8026CF48 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19B82C 8026CF4C 14820002 */ bne $a0, $v0, .L8026CF58
|
||||
/* 19B830 8026CF50 00000000 */ nop
|
||||
/* 19B834 8026CF54 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8026CF58:
|
||||
/* 19B838 8026CF58 0C09A75B */ jal get_actor
|
||||
/* 19B83C 8026CF5C 8E100000 */ lw $s0, ($s0)
|
||||
/* 19B840 8026CF60 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 19B844 8026CF64 8C460000 */ lw $a2, ($v0)
|
||||
/* 19B848 8026CF68 0C0B2026 */ jal set_variable
|
||||
/* 19B84C 8026CF6C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 19B850 8026CF70 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 19B854 8026CF74 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19B858 8026CF78 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19B85C 8026CF7C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19B860 8026CF80 03E00008 */ jr $ra
|
||||
/* 19B864 8026CF84 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,55 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetActorRotation
|
||||
/* 19AE4C 8026C56C 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 19AE50 8026C570 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 19AE54 8026C574 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 19AE58 8026C578 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 19AE5C 8026C57C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 19AE60 8026C580 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19AE64 8026C584 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19AE68 8026C588 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19AE6C 8026C58C 8E90000C */ lw $s0, 0xc($s4)
|
||||
/* 19AE70 8026C590 8E050000 */ lw $a1, ($s0)
|
||||
/* 19AE74 8026C594 0C0B1EAF */ jal get_variable
|
||||
/* 19AE78 8026C598 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19AE7C 8026C59C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19AE80 8026C5A0 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19AE84 8026C5A4 14820002 */ bne $a0, $v0, .L8026C5B0
|
||||
/* 19AE88 8026C5A8 00000000 */ nop
|
||||
/* 19AE8C 8026C5AC 8E840148 */ lw $a0, 0x148($s4)
|
||||
.L8026C5B0:
|
||||
/* 19AE90 8026C5B0 8E110000 */ lw $s1, ($s0)
|
||||
/* 19AE94 8026C5B4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19AE98 8026C5B8 8E120000 */ lw $s2, ($s0)
|
||||
/* 19AE9C 8026C5BC 0C09A75B */ jal get_actor
|
||||
/* 19AEA0 8026C5C0 8E130004 */ lw $s3, 4($s0)
|
||||
/* 19AEA4 8026C5C4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19AEA8 8026C5C8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19AEAC 8026C5CC C600015C */ lwc1 $f0, 0x15c($s0)
|
||||
/* 19AEB0 8026C5D0 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 19AEB4 8026C5D4 44061000 */ mfc1 $a2, $f2
|
||||
/* 19AEB8 8026C5D8 0C0B2026 */ jal set_variable
|
||||
/* 19AEBC 8026C5DC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 19AEC0 8026C5E0 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19AEC4 8026C5E4 C6000160 */ lwc1 $f0, 0x160($s0)
|
||||
/* 19AEC8 8026C5E8 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 19AECC 8026C5EC 44061000 */ mfc1 $a2, $f2
|
||||
/* 19AED0 8026C5F0 0C0B2026 */ jal set_variable
|
||||
/* 19AED4 8026C5F4 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 19AED8 8026C5F8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19AEDC 8026C5FC C6000164 */ lwc1 $f0, 0x164($s0)
|
||||
/* 19AEE0 8026C600 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 19AEE4 8026C604 44061000 */ mfc1 $a2, $f2
|
||||
/* 19AEE8 8026C608 0C0B2026 */ jal set_variable
|
||||
/* 19AEEC 8026C60C 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 19AEF0 8026C610 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 19AEF4 8026C614 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 19AEF8 8026C618 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 19AEFC 8026C61C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19AF00 8026C620 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19AF04 8026C624 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19AF08 8026C628 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19AF0C 8026C62C 03E00008 */ jr $ra
|
||||
/* 19AF10 8026C630 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,55 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetActorScale
|
||||
/* 19B364 8026CA84 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 19B368 8026CA88 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19B36C 8026CA8C 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 19B370 8026CA90 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 19B374 8026CA94 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19B378 8026CA98 F7B80030 */ sdc1 $f24, 0x30($sp)
|
||||
/* 19B37C 8026CA9C F7B60028 */ sdc1 $f22, 0x28($sp)
|
||||
/* 19B380 8026CAA0 F7B40020 */ sdc1 $f20, 0x20($sp)
|
||||
/* 19B384 8026CAA4 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 19B388 8026CAA8 8E050000 */ lw $a1, ($s0)
|
||||
/* 19B38C 8026CAAC 0C0B1EAF */ jal get_variable
|
||||
/* 19B390 8026CAB0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19B394 8026CAB4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19B398 8026CAB8 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19B39C 8026CABC 14820002 */ bne $a0, $v0, .L8026CAC8
|
||||
/* 19B3A0 8026CAC0 00000000 */ nop
|
||||
/* 19B3A4 8026CAC4 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8026CAC8:
|
||||
/* 19B3A8 8026CAC8 C6140000 */ lwc1 $f20, ($s0)
|
||||
/* 19B3AC 8026CACC 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 19B3B0 8026CAD0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19B3B4 8026CAD4 C6160000 */ lwc1 $f22, ($s0)
|
||||
/* 19B3B8 8026CAD8 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 19B3BC 8026CADC C6180004 */ lwc1 $f24, 4($s0)
|
||||
/* 19B3C0 8026CAE0 0C09A75B */ jal get_actor
|
||||
/* 19B3C4 8026CAE4 4680C620 */ cvt.s.w $f24, $f24
|
||||
/* 19B3C8 8026CAE8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19B3CC 8026CAEC 8E060170 */ lw $a2, 0x170($s0)
|
||||
/* 19B3D0 8026CAF0 4600A08D */ trunc.w.s $f2, $f20
|
||||
/* 19B3D4 8026CAF4 44051000 */ mfc1 $a1, $f2
|
||||
/* 19B3D8 8026CAF8 0C0B2190 */ jal set_float_variable
|
||||
/* 19B3DC 8026CAFC 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 19B3E0 8026CB00 8E060174 */ lw $a2, 0x174($s0)
|
||||
/* 19B3E4 8026CB04 4600B08D */ trunc.w.s $f2, $f22
|
||||
/* 19B3E8 8026CB08 44051000 */ mfc1 $a1, $f2
|
||||
/* 19B3EC 8026CB0C 0C0B2190 */ jal set_float_variable
|
||||
/* 19B3F0 8026CB10 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 19B3F4 8026CB14 8E060178 */ lw $a2, 0x178($s0)
|
||||
/* 19B3F8 8026CB18 4600C08D */ trunc.w.s $f2, $f24
|
||||
/* 19B3FC 8026CB1C 44051000 */ mfc1 $a1, $f2
|
||||
/* 19B400 8026CB20 0C0B2190 */ jal set_float_variable
|
||||
/* 19B404 8026CB24 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 19B408 8026CB28 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 19B40C 8026CB2C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19B410 8026CB30 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19B414 8026CB34 D7B80030 */ ldc1 $f24, 0x30($sp)
|
||||
/* 19B418 8026CB38 D7B60028 */ ldc1 $f22, 0x28($sp)
|
||||
/* 19B41C 8026CB3C D7B40020 */ ldc1 $f20, 0x20($sp)
|
||||
/* 19B420 8026CB40 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19B424 8026CB44 03E00008 */ jr $ra
|
||||
/* 19B428 8026CB48 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,41 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetActorVar
|
||||
/* 19A894 8026BFB4 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 19A898 8026BFB8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19A89C 8026BFBC 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 19A8A0 8026BFC0 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 19A8A4 8026BFC4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19A8A8 8026BFC8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19A8AC 8026BFCC 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 19A8B0 8026BFD0 8E250000 */ lw $a1, ($s1)
|
||||
/* 19A8B4 8026BFD4 0C0B1EAF */ jal get_variable
|
||||
/* 19A8B8 8026BFD8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19A8BC 8026BFDC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19A8C0 8026BFE0 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19A8C4 8026BFE4 16020002 */ bne $s0, $v0, .L8026BFF0
|
||||
/* 19A8C8 8026BFE8 00000000 */ nop
|
||||
/* 19A8CC 8026BFEC 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L8026BFF0:
|
||||
/* 19A8D0 8026BFF0 8E250000 */ lw $a1, ($s1)
|
||||
/* 19A8D4 8026BFF4 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19A8D8 8026BFF8 0C0B1EAF */ jal get_variable
|
||||
/* 19A8DC 8026BFFC 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A8E0 8026C000 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 19A8E4 8026C004 8E310000 */ lw $s1, ($s1)
|
||||
/* 19A8E8 8026C008 0C09A75B */ jal get_actor
|
||||
/* 19A8EC 8026C00C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19A8F0 8026C010 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A8F4 8026C014 00108080 */ sll $s0, $s0, 2
|
||||
/* 19A8F8 8026C018 00501021 */ addu $v0, $v0, $s0
|
||||
/* 19A8FC 8026C01C 8C460088 */ lw $a2, 0x88($v0)
|
||||
/* 19A900 8026C020 0C0B2026 */ jal set_variable
|
||||
/* 19A904 8026C024 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 19A908 8026C028 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 19A90C 8026C02C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19A910 8026C030 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19A914 8026C034 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19A918 8026C038 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19A91C 8026C03C 03E00008 */ jr $ra
|
||||
/* 19A920 8026C040 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetActorYaw
|
||||
/* 199CA8 8026B3C8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 199CAC 8026B3CC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 199CB0 8026B3D0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 199CB4 8026B3D4 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 199CB8 8026B3D8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 199CBC 8026B3DC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 199CC0 8026B3E0 8E050000 */ lw $a1, ($s0)
|
||||
/* 199CC4 8026B3E4 0C0B1EAF */ jal get_variable
|
||||
/* 199CC8 8026B3E8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 199CCC 8026B3EC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 199CD0 8026B3F0 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 199CD4 8026B3F4 14820002 */ bne $a0, $v0, .L8026B400
|
||||
/* 199CD8 8026B3F8 00000000 */ nop
|
||||
/* 199CDC 8026B3FC 8E240148 */ lw $a0, 0x148($s1)
|
||||
.L8026B400:
|
||||
/* 199CE0 8026B400 0C09A75B */ jal get_actor
|
||||
/* 199CE4 8026B404 8E100000 */ lw $s0, ($s0)
|
||||
/* 199CE8 8026B408 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 199CEC 8026B40C C440018C */ lwc1 $f0, 0x18c($v0)
|
||||
/* 199CF0 8026B410 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 199CF4 8026B414 44061000 */ mfc1 $a2, $f2
|
||||
/* 199CF8 8026B418 0C0B2026 */ jal set_variable
|
||||
/* 199CFC 8026B41C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 199D00 8026B420 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 199D04 8026B424 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 199D08 8026B428 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 199D0C 8026B42C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 199D10 8026B430 03E00008 */ jr $ra
|
||||
/* 199D14 8026B434 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,44 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetAnimation
|
||||
/* 199B18 8026B238 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 199B1C 8026B23C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 199B20 8026B240 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 199B24 8026B244 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 199B28 8026B248 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 199B2C 8026B24C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 199B30 8026B250 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 199B34 8026B254 8E250000 */ lw $a1, ($s1)
|
||||
/* 199B38 8026B258 0C0B1EAF */ jal get_variable
|
||||
/* 199B3C 8026B25C 26310004 */ addiu $s1, $s1, 4
|
||||
/* 199B40 8026B260 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 199B44 8026B264 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 199B48 8026B268 16020002 */ bne $s0, $v0, .L8026B274
|
||||
/* 199B4C 8026B26C 00000000 */ nop
|
||||
/* 199B50 8026B270 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L8026B274:
|
||||
/* 199B54 8026B274 8E250000 */ lw $a1, ($s1)
|
||||
/* 199B58 8026B278 26310004 */ addiu $s1, $s1, 4
|
||||
/* 199B5C 8026B27C 0C0B1EAF */ jal get_variable
|
||||
/* 199B60 8026B280 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 199B64 8026B284 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 199B68 8026B288 8E310000 */ lw $s1, ($s1)
|
||||
/* 199B6C 8026B28C 0C09A75B */ jal get_actor
|
||||
/* 199B70 8026B290 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 199B74 8026B294 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 199B78 8026B298 0C099117 */ jal get_actor_part
|
||||
/* 199B7C 8026B29C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 199B80 8026B2A0 10400004 */ beqz $v0, .L8026B2B4
|
||||
/* 199B84 8026B2A4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 199B88 8026B2A8 8C460088 */ lw $a2, 0x88($v0)
|
||||
/* 199B8C 8026B2AC 0C0B2026 */ jal set_variable
|
||||
/* 199B90 8026B2B0 0220282D */ daddu $a1, $s1, $zero
|
||||
.L8026B2B4:
|
||||
/* 199B94 8026B2B4 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 199B98 8026B2B8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 199B9C 8026B2BC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 199BA0 8026B2C0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 199BA4 8026B2C4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 199BA8 8026B2C8 03E00008 */ jr $ra
|
||||
/* 199BAC 8026B2CC 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -13,9 +13,9 @@ glabel GetBattleVar
|
||||
/* 19DF94 8026F6B4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19DF98 8026F6B8 00021080 */ sll $v0, $v0, 2
|
||||
/* 19DF9C 8026F6BC 8E050000 */ lw $a1, ($s0)
|
||||
/* 19DFA0 8026F6C0 3C06800E */ lui $a2, 0x800e
|
||||
/* 19DFA0 8026F6C0 3C06800E */ lui $a2, %hi(gBattleStatus+0x8)
|
||||
/* 19DFA4 8026F6C4 00C23021 */ addu $a2, $a2, $v0
|
||||
/* 19DFA8 8026F6C8 8CC6C078 */ lw $a2, -0x3f88($a2)
|
||||
/* 19DFA8 8026F6C8 8CC6C078 */ lw $a2, %lo(gBattleStatus+0x8)($a2)
|
||||
/* 19DFAC 8026F6CC 0C0B2026 */ jal set_variable
|
||||
/* 19DFB0 8026F6D0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 19DFB4 8026F6D4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
|
@ -1,56 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetHomePos
|
||||
/* 199654 8026AD74 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 199658 8026AD78 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 19965C 8026AD7C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 199660 8026AD80 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 199664 8026AD84 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 199668 8026AD88 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19966C 8026AD8C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 199670 8026AD90 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 199674 8026AD94 8E92000C */ lw $s2, 0xc($s4)
|
||||
/* 199678 8026AD98 8E450000 */ lw $a1, ($s2)
|
||||
/* 19967C 8026AD9C 0C0B1EAF */ jal get_variable
|
||||
/* 199680 8026ADA0 26520004 */ addiu $s2, $s2, 4
|
||||
/* 199684 8026ADA4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 199688 8026ADA8 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19968C 8026ADAC 14820002 */ bne $a0, $v0, .L8026ADB8
|
||||
/* 199690 8026ADB0 00000000 */ nop
|
||||
/* 199694 8026ADB4 8E840148 */ lw $a0, 0x148($s4)
|
||||
.L8026ADB8:
|
||||
/* 199698 8026ADB8 0C09A75B */ jal get_actor
|
||||
/* 19969C 8026ADBC 00000000 */ nop
|
||||
/* 1996A0 8026ADC0 8E450000 */ lw $a1, ($s2)
|
||||
/* 1996A4 8026ADC4 26520004 */ addiu $s2, $s2, 4
|
||||
/* 1996A8 8026ADC8 C4400138 */ lwc1 $f0, 0x138($v0)
|
||||
/* 1996AC 8026ADCC C4420140 */ lwc1 $f2, 0x140($v0)
|
||||
/* 1996B0 8026ADD0 8E500000 */ lw $s0, ($s2)
|
||||
/* 1996B4 8026ADD4 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 1996B8 8026ADD8 44062000 */ mfc1 $a2, $f4
|
||||
/* 1996BC 8026ADDC C440013C */ lwc1 $f0, 0x13c($v0)
|
||||
/* 1996C0 8026ADE0 8E520004 */ lw $s2, 4($s2)
|
||||
/* 1996C4 8026ADE4 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 1996C8 8026ADE8 44112000 */ mfc1 $s1, $f4
|
||||
/* 1996CC 8026ADEC 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 1996D0 8026ADF0 44132000 */ mfc1 $s3, $f4
|
||||
/* 1996D4 8026ADF4 0C0B2026 */ jal set_variable
|
||||
/* 1996D8 8026ADF8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 1996DC 8026ADFC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 1996E0 8026AE00 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1996E4 8026AE04 0C0B2026 */ jal set_variable
|
||||
/* 1996E8 8026AE08 0220302D */ daddu $a2, $s1, $zero
|
||||
/* 1996EC 8026AE0C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 1996F0 8026AE10 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 1996F4 8026AE14 0C0B2026 */ jal set_variable
|
||||
/* 1996F8 8026AE18 0260302D */ daddu $a2, $s3, $zero
|
||||
/* 1996FC 8026AE1C 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 199700 8026AE20 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 199704 8026AE24 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 199708 8026AE28 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19970C 8026AE2C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 199710 8026AE30 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 199714 8026AE34 24020002 */ addiu $v0, $zero, 2
|
||||
/* 199718 8026AE38 03E00008 */ jr $ra
|
||||
/* 19971C 8026AE3C 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,91 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPartDispOffset
|
||||
/* 19A3C8 8026BAE8 27BDFFC8 */ addiu $sp, $sp, -0x38
|
||||
/* 19A3CC 8026BAEC AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19A3D0 8026BAF0 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 19A3D4 8026BAF4 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 19A3D8 8026BAF8 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 19A3DC 8026BAFC AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 19A3E0 8026BB00 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19A3E4 8026BB04 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19A3E8 8026BB08 F7B60030 */ sdc1 $f22, 0x30($sp)
|
||||
/* 19A3EC 8026BB0C F7B40028 */ sdc1 $f20, 0x28($sp)
|
||||
/* 19A3F0 8026BB10 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 19A3F4 8026BB14 8E250000 */ lw $a1, ($s1)
|
||||
/* 19A3F8 8026BB18 0C0B1EAF */ jal get_variable
|
||||
/* 19A3FC 8026BB1C 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19A400 8026BB20 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19A404 8026BB24 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19A408 8026BB28 16020002 */ bne $s0, $v0, .L8026BB34
|
||||
/* 19A40C 8026BB2C 00000000 */ nop
|
||||
/* 19A410 8026BB30 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L8026BB34:
|
||||
/* 19A414 8026BB34 8E250000 */ lw $a1, ($s1)
|
||||
/* 19A418 8026BB38 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19A41C 8026BB3C 0C0B1EAF */ jal get_variable
|
||||
/* 19A420 8026BB40 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A424 8026BB44 8E330000 */ lw $s3, ($s1)
|
||||
/* 19A428 8026BB48 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19A42C 8026BB4C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 19A430 8026BB50 8E340000 */ lw $s4, ($s1)
|
||||
/* 19A434 8026BB54 8E310004 */ lw $s1, 4($s1)
|
||||
/* 19A438 8026BB58 0C09A75B */ jal get_actor
|
||||
/* 19A43C 8026BB5C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19A440 8026BB60 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19A444 8026BB64 0C099117 */ jal get_actor_part
|
||||
/* 19A448 8026BB68 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 19A44C 8026BB6C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19A450 8026BB70 8C820000 */ lw $v0, ($a0)
|
||||
/* 19A454 8026BB74 3C030010 */ lui $v1, 0x10
|
||||
/* 19A458 8026BB78 00431024 */ and $v0, $v0, $v1
|
||||
/* 19A45C 8026BB7C 14400008 */ bnez $v0, .L8026BBA0
|
||||
/* 19A460 8026BB80 00000000 */ nop
|
||||
/* 19A464 8026BB84 84820014 */ lh $v0, 0x14($a0)
|
||||
/* 19A468 8026BB88 84830018 */ lh $v1, 0x18($a0)
|
||||
/* 19A46C 8026BB8C 44820000 */ mtc1 $v0, $f0
|
||||
/* 19A470 8026BB90 00000000 */ nop
|
||||
/* 19A474 8026BB94 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 19A478 8026BB98 0809AEEE */ j .L8026BBB8
|
||||
/* 19A47C 8026BB9C 84820016 */ lh $v0, 0x16($a0)
|
||||
.L8026BBA0:
|
||||
/* 19A480 8026BBA0 8482001A */ lh $v0, 0x1a($a0)
|
||||
/* 19A484 8026BBA4 8483001E */ lh $v1, 0x1e($a0)
|
||||
/* 19A488 8026BBA8 44820000 */ mtc1 $v0, $f0
|
||||
/* 19A48C 8026BBAC 00000000 */ nop
|
||||
/* 19A490 8026BBB0 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 19A494 8026BBB4 8482001C */ lh $v0, 0x1c($a0)
|
||||
.L8026BBB8:
|
||||
/* 19A498 8026BBB8 4483B000 */ mtc1 $v1, $f22
|
||||
/* 19A49C 8026BBBC 00000000 */ nop
|
||||
/* 19A4A0 8026BBC0 4680B5A0 */ cvt.s.w $f22, $f22
|
||||
/* 19A4A4 8026BBC4 4482A000 */ mtc1 $v0, $f20
|
||||
/* 19A4A8 8026BBC8 00000000 */ nop
|
||||
/* 19A4AC 8026BBCC 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 19A4B0 8026BBD0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A4B4 8026BBD4 4600008D */ trunc.w.s $f2, $f0
|
||||
/* 19A4B8 8026BBD8 44061000 */ mfc1 $a2, $f2
|
||||
/* 19A4BC 8026BBDC 0C0B2026 */ jal set_variable
|
||||
/* 19A4C0 8026BBE0 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 19A4C4 8026BBE4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A4C8 8026BBE8 4600A08D */ trunc.w.s $f2, $f20
|
||||
/* 19A4CC 8026BBEC 44061000 */ mfc1 $a2, $f2
|
||||
/* 19A4D0 8026BBF0 0C0B2026 */ jal set_variable
|
||||
/* 19A4D4 8026BBF4 0280282D */ daddu $a1, $s4, $zero
|
||||
/* 19A4D8 8026BBF8 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19A4DC 8026BBFC 4600B08D */ trunc.w.s $f2, $f22
|
||||
/* 19A4E0 8026BC00 44061000 */ mfc1 $a2, $f2
|
||||
/* 19A4E4 8026BC04 0C0B2026 */ jal set_variable
|
||||
/* 19A4E8 8026BC08 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 19A4EC 8026BC0C 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 19A4F0 8026BC10 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 19A4F4 8026BC14 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 19A4F8 8026BC18 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19A4FC 8026BC1C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19A500 8026BC20 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19A504 8026BC24 D7B60030 */ ldc1 $f22, 0x30($sp)
|
||||
/* 19A508 8026BC28 D7B40028 */ ldc1 $f20, 0x28($sp)
|
||||
/* 19A50C 8026BC2C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19A510 8026BC30 03E00008 */ jr $ra
|
||||
/* 19A514 8026BC34 27BD0038 */ addiu $sp, $sp, 0x38
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPartEventFlags
|
||||
/* 19BD68 8026D488 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 19BD6C 8026D48C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19BD70 8026D490 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 19BD74 8026D494 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 19BD78 8026D498 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19BD7C 8026D49C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19BD80 8026D4A0 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 19BD84 8026D4A4 8E250000 */ lw $a1, ($s1)
|
||||
/* 19BD88 8026D4A8 0C0B1EAF */ jal get_variable
|
||||
/* 19BD8C 8026D4AC 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19BD90 8026D4B0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19BD94 8026D4B4 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19BD98 8026D4B8 16020002 */ bne $s0, $v0, .L8026D4C4
|
||||
/* 19BD9C 8026D4BC 00000000 */ nop
|
||||
/* 19BDA0 8026D4C0 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L8026D4C4:
|
||||
/* 19BDA4 8026D4C4 8E250000 */ lw $a1, ($s1)
|
||||
/* 19BDA8 8026D4C8 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19BDAC 8026D4CC 0C0B1EAF */ jal get_variable
|
||||
/* 19BDB0 8026D4D0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19BDB4 8026D4D4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 19BDB8 8026D4D8 8E310000 */ lw $s1, ($s1)
|
||||
/* 19BDBC 8026D4DC 0C09A75B */ jal get_actor
|
||||
/* 19BDC0 8026D4E0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19BDC4 8026D4E4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19BDC8 8026D4E8 0C099117 */ jal get_actor_part
|
||||
/* 19BDCC 8026D4EC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 19BDD0 8026D4F0 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19BDD4 8026D4F4 8C46007C */ lw $a2, 0x7c($v0)
|
||||
/* 19BDD8 8026D4F8 0C0B2026 */ jal set_variable
|
||||
/* 19BDDC 8026D4FC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 19BDE0 8026D500 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 19BDE4 8026D504 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19BDE8 8026D508 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19BDEC 8026D50C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19BDF0 8026D510 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19BDF4 8026D514 03E00008 */ jr $ra
|
||||
/* 19BDF8 8026D518 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPartFlags
|
||||
/* 19BAF8 8026D218 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 19BAFC 8026D21C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19BB00 8026D220 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 19BB04 8026D224 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 19BB08 8026D228 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19BB0C 8026D22C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19BB10 8026D230 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 19BB14 8026D234 8E250000 */ lw $a1, ($s1)
|
||||
/* 19BB18 8026D238 0C0B1EAF */ jal get_variable
|
||||
/* 19BB1C 8026D23C 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19BB20 8026D240 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19BB24 8026D244 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19BB28 8026D248 16020002 */ bne $s0, $v0, .L8026D254
|
||||
/* 19BB2C 8026D24C 00000000 */ nop
|
||||
/* 19BB30 8026D250 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L8026D254:
|
||||
/* 19BB34 8026D254 8E250000 */ lw $a1, ($s1)
|
||||
/* 19BB38 8026D258 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19BB3C 8026D25C 0C0B1EAF */ jal get_variable
|
||||
/* 19BB40 8026D260 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19BB44 8026D264 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 19BB48 8026D268 8E310000 */ lw $s1, ($s1)
|
||||
/* 19BB4C 8026D26C 0C09A75B */ jal get_actor
|
||||
/* 19BB50 8026D270 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19BB54 8026D274 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19BB58 8026D278 0C099117 */ jal get_actor_part
|
||||
/* 19BB5C 8026D27C 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 19BB60 8026D280 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19BB64 8026D284 8C460000 */ lw $a2, ($v0)
|
||||
/* 19BB68 8026D288 0C0B2026 */ jal set_variable
|
||||
/* 19BB6C 8026D28C 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 19BB70 8026D290 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 19BB74 8026D294 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19BB78 8026D298 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19BB7C 8026D29C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19BB80 8026D2A0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19BB84 8026D2A4 03E00008 */ jr $ra
|
||||
/* 19BB88 8026D2A8 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,52 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPartMovementVar
|
||||
/* 19AA50 8026C170 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 19AA54 8026C174 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 19AA58 8026C178 0080982D */ daddu $s3, $a0, $zero
|
||||
/* 19AA5C 8026C17C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 19AA60 8026C180 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19AA64 8026C184 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19AA68 8026C188 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19AA6C 8026C18C 8E72000C */ lw $s2, 0xc($s3)
|
||||
/* 19AA70 8026C190 8E450000 */ lw $a1, ($s2)
|
||||
/* 19AA74 8026C194 0C0B1EAF */ jal get_variable
|
||||
/* 19AA78 8026C198 26520004 */ addiu $s2, $s2, 4
|
||||
/* 19AA7C 8026C19C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19AA80 8026C1A0 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19AA84 8026C1A4 16020002 */ bne $s0, $v0, .L8026C1B0
|
||||
/* 19AA88 8026C1A8 00000000 */ nop
|
||||
/* 19AA8C 8026C1AC 8E700148 */ lw $s0, 0x148($s3)
|
||||
.L8026C1B0:
|
||||
/* 19AA90 8026C1B0 8E450000 */ lw $a1, ($s2)
|
||||
/* 19AA94 8026C1B4 26520004 */ addiu $s2, $s2, 4
|
||||
/* 19AA98 8026C1B8 0C0B1EAF */ jal get_variable
|
||||
/* 19AA9C 8026C1BC 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 19AAA0 8026C1C0 8E450000 */ lw $a1, ($s2)
|
||||
/* 19AAA4 8026C1C4 26520004 */ addiu $s2, $s2, 4
|
||||
/* 19AAA8 8026C1C8 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 19AAAC 8026C1CC 0C0B1EAF */ jal get_variable
|
||||
/* 19AAB0 8026C1D0 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 19AAB4 8026C1D4 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 19AAB8 8026C1D8 8E520000 */ lw $s2, ($s2)
|
||||
/* 19AABC 8026C1DC 0C09A75B */ jal get_actor
|
||||
/* 19AAC0 8026C1E0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19AAC4 8026C1E4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19AAC8 8026C1E8 0C099117 */ jal get_actor_part
|
||||
/* 19AACC 8026C1EC 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 19AAD0 8026C1F0 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 19AAD4 8026C1F4 8C420010 */ lw $v0, 0x10($v0)
|
||||
/* 19AAD8 8026C1F8 00108080 */ sll $s0, $s0, 2
|
||||
/* 19AADC 8026C1FC 00501021 */ addu $v0, $v0, $s0
|
||||
/* 19AAE0 8026C200 8C46004C */ lw $a2, 0x4c($v0)
|
||||
/* 19AAE4 8026C204 0C0B2026 */ jal set_variable
|
||||
/* 19AAE8 8026C208 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 19AAEC 8026C20C 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 19AAF0 8026C210 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 19AAF4 8026C214 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19AAF8 8026C218 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19AAFC 8026C21C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19AB00 8026C220 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19AB04 8026C224 03E00008 */ jr $ra
|
||||
/* 19AB08 8026C228 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,76 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPartOffset
|
||||
/* 199454 8026AB74 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 199458 8026AB78 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19945C 8026AB7C 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 199460 8026AB80 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 199464 8026AB84 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 199468 8026AB88 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 19946C 8026AB8C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 199470 8026AB90 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 199474 8026AB94 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 199478 8026AB98 8E250000 */ lw $a1, ($s1)
|
||||
/* 19947C 8026AB9C 0C0B1EAF */ jal get_variable
|
||||
/* 199480 8026ABA0 26310004 */ addiu $s1, $s1, 4
|
||||
/* 199484 8026ABA4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 199488 8026ABA8 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19948C 8026ABAC 16020002 */ bne $s0, $v0, .L8026ABB8
|
||||
/* 199490 8026ABB0 00000000 */ nop
|
||||
/* 199494 8026ABB4 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L8026ABB8:
|
||||
/* 199498 8026ABB8 8E250000 */ lw $a1, ($s1)
|
||||
/* 19949C 8026ABBC 26310004 */ addiu $s1, $s1, 4
|
||||
/* 1994A0 8026ABC0 0C0B1EAF */ jal get_variable
|
||||
/* 1994A4 8026ABC4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1994A8 8026ABC8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1994AC 8026ABCC 0C09A75B */ jal get_actor
|
||||
/* 1994B0 8026ABD0 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1994B4 8026ABD4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1994B8 8026ABD8 0C099117 */ jal get_actor_part
|
||||
/* 1994BC 8026ABDC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1994C0 8026ABE0 8E250000 */ lw $a1, ($s1)
|
||||
/* 1994C4 8026ABE4 26310004 */ addiu $s1, $s1, 4
|
||||
/* 1994C8 8026ABE8 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 1994CC 8026ABEC 3C020010 */ lui $v0, 0x10
|
||||
/* 1994D0 8026ABF0 8CC30000 */ lw $v1, ($a2)
|
||||
/* 1994D4 8026ABF4 8E330000 */ lw $s3, ($s1)
|
||||
/* 1994D8 8026ABF8 8E340004 */ lw $s4, 4($s1)
|
||||
/* 1994DC 8026ABFC 00621824 */ and $v1, $v1, $v0
|
||||
/* 1994E0 8026AC00 14600005 */ bnez $v1, .L8026AC18
|
||||
/* 1994E4 8026AC04 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 1994E8 8026AC08 84C20014 */ lh $v0, 0x14($a2)
|
||||
/* 1994EC 8026AC0C 84D00016 */ lh $s0, 0x16($a2)
|
||||
/* 1994F0 8026AC10 0809AB0F */ j .L8026AC3C
|
||||
/* 1994F4 8026AC14 84D10018 */ lh $s1, 0x18($a2)
|
||||
.L8026AC18:
|
||||
/* 1994F8 8026AC18 C4C0002C */ lwc1 $f0, 0x2c($a2)
|
||||
/* 1994FC 8026AC1C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 199500 8026AC20 44022000 */ mfc1 $v0, $f4
|
||||
/* 199504 8026AC24 C4C00030 */ lwc1 $f0, 0x30($a2)
|
||||
/* 199508 8026AC28 C4C20034 */ lwc1 $f2, 0x34($a2)
|
||||
/* 19950C 8026AC2C 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 199510 8026AC30 44102000 */ mfc1 $s0, $f4
|
||||
/* 199514 8026AC34 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 199518 8026AC38 44112000 */ mfc1 $s1, $f4
|
||||
.L8026AC3C:
|
||||
/* 19951C 8026AC3C 0C0B2026 */ jal set_variable
|
||||
/* 199520 8026AC40 0040302D */ daddu $a2, $v0, $zero
|
||||
/* 199524 8026AC44 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 199528 8026AC48 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 19952C 8026AC4C 0C0B2026 */ jal set_variable
|
||||
/* 199530 8026AC50 0200302D */ daddu $a2, $s0, $zero
|
||||
/* 199534 8026AC54 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 199538 8026AC58 0280282D */ daddu $a1, $s4, $zero
|
||||
/* 19953C 8026AC5C 0C0B2026 */ jal set_variable
|
||||
/* 199540 8026AC60 0220302D */ daddu $a2, $s1, $zero
|
||||
/* 199544 8026AC64 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 199548 8026AC68 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 19954C 8026AC6C 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 199550 8026AC70 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 199554 8026AC74 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 199558 8026AC78 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19955C 8026AC7C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 199560 8026AC80 03E00008 */ jr $ra
|
||||
/* 199564 8026AC84 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,64 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPartPos
|
||||
/* 199568 8026AC88 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 19956C 8026AC8C AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 199570 8026AC90 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 199574 8026AC94 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 199578 8026AC98 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 19957C 8026AC9C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 199580 8026ACA0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 199584 8026ACA4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 199588 8026ACA8 8E92000C */ lw $s2, 0xc($s4)
|
||||
/* 19958C 8026ACAC 8E450000 */ lw $a1, ($s2)
|
||||
/* 199590 8026ACB0 0C0B1EAF */ jal get_variable
|
||||
/* 199594 8026ACB4 26520004 */ addiu $s2, $s2, 4
|
||||
/* 199598 8026ACB8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19959C 8026ACBC 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1995A0 8026ACC0 16020002 */ bne $s0, $v0, .L8026ACCC
|
||||
/* 1995A4 8026ACC4 00000000 */ nop
|
||||
/* 1995A8 8026ACC8 8E900148 */ lw $s0, 0x148($s4)
|
||||
.L8026ACCC:
|
||||
/* 1995AC 8026ACCC 8E450000 */ lw $a1, ($s2)
|
||||
/* 1995B0 8026ACD0 26520004 */ addiu $s2, $s2, 4
|
||||
/* 1995B4 8026ACD4 0C0B1EAF */ jal get_variable
|
||||
/* 1995B8 8026ACD8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 1995BC 8026ACDC 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1995C0 8026ACE0 0C09A75B */ jal get_actor
|
||||
/* 1995C4 8026ACE4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1995C8 8026ACE8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1995CC 8026ACEC 0C099117 */ jal get_actor_part
|
||||
/* 1995D0 8026ACF0 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1995D4 8026ACF4 8E450000 */ lw $a1, ($s2)
|
||||
/* 1995D8 8026ACF8 26520004 */ addiu $s2, $s2, 4
|
||||
/* 1995DC 8026ACFC C4400058 */ lwc1 $f0, 0x58($v0)
|
||||
/* 1995E0 8026AD00 C4420060 */ lwc1 $f2, 0x60($v0)
|
||||
/* 1995E4 8026AD04 8E500000 */ lw $s0, ($s2)
|
||||
/* 1995E8 8026AD08 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 1995EC 8026AD0C 44062000 */ mfc1 $a2, $f4
|
||||
/* 1995F0 8026AD10 C440005C */ lwc1 $f0, 0x5c($v0)
|
||||
/* 1995F4 8026AD14 8E520004 */ lw $s2, 4($s2)
|
||||
/* 1995F8 8026AD18 4600010D */ trunc.w.s $f4, $f0
|
||||
/* 1995FC 8026AD1C 44112000 */ mfc1 $s1, $f4
|
||||
/* 199600 8026AD20 4600110D */ trunc.w.s $f4, $f2
|
||||
/* 199604 8026AD24 44132000 */ mfc1 $s3, $f4
|
||||
/* 199608 8026AD28 0C0B2026 */ jal set_variable
|
||||
/* 19960C 8026AD2C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199610 8026AD30 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199614 8026AD34 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 199618 8026AD38 0C0B2026 */ jal set_variable
|
||||
/* 19961C 8026AD3C 0220302D */ daddu $a2, $s1, $zero
|
||||
/* 199620 8026AD40 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 199624 8026AD44 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 199628 8026AD48 0C0B2026 */ jal set_variable
|
||||
/* 19962C 8026AD4C 0260302D */ daddu $a2, $s3, $zero
|
||||
/* 199630 8026AD50 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 199634 8026AD54 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 199638 8026AD58 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 19963C 8026AD5C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 199640 8026AD60 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 199644 8026AD64 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 199648 8026AD68 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19964C 8026AD6C 03E00008 */ jr $ra
|
||||
/* 199650 8026AD70 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,60 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPartRotation
|
||||
/* 19B108 8026C828 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 19B10C 8026C82C AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 19B110 8026C830 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 19B114 8026C834 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 19B118 8026C838 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 19B11C 8026C83C AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 19B120 8026C840 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19B124 8026C844 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19B128 8026C848 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19B12C 8026C84C 8E90000C */ lw $s0, 0xc($s4)
|
||||
/* 19B130 8026C850 8E050000 */ lw $a1, ($s0)
|
||||
/* 19B134 8026C854 0C0B1EAF */ jal get_variable
|
||||
/* 19B138 8026C858 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19B13C 8026C85C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 19B140 8026C860 8E050000 */ lw $a1, ($s0)
|
||||
/* 19B144 8026C864 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19B148 8026C868 0C0B1EAF */ jal get_variable
|
||||
/* 19B14C 8026C86C 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19B150 8026C870 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* 19B154 8026C874 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19B158 8026C878 16420002 */ bne $s2, $v0, .L8026C884
|
||||
/* 19B15C 8026C87C 00000000 */ nop
|
||||
/* 19B160 8026C880 8E920148 */ lw $s2, 0x148($s4)
|
||||
.L8026C884:
|
||||
/* 19B164 8026C884 8E110000 */ lw $s1, ($s0)
|
||||
/* 19B168 8026C888 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19B16C 8026C88C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19B170 8026C890 8E120000 */ lw $s2, ($s0)
|
||||
/* 19B174 8026C894 0C09A75B */ jal get_actor
|
||||
/* 19B178 8026C898 8E130004 */ lw $s3, 4($s0)
|
||||
/* 19B17C 8026C89C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19B180 8026C8A0 0C099117 */ jal get_actor_part
|
||||
/* 19B184 8026C8A4 02A0282D */ daddu $a1, $s5, $zero
|
||||
/* 19B188 8026C8A8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19B18C 8026C8AC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19B190 8026C8B0 8E060038 */ lw $a2, 0x38($s0)
|
||||
/* 19B194 8026C8B4 0C0B2190 */ jal set_float_variable
|
||||
/* 19B198 8026C8B8 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 19B19C 8026C8BC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19B1A0 8026C8C0 8E06003C */ lw $a2, 0x3c($s0)
|
||||
/* 19B1A4 8026C8C4 0C0B2190 */ jal set_float_variable
|
||||
/* 19B1A8 8026C8C8 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 19B1AC 8026C8CC 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19B1B0 8026C8D0 8E060040 */ lw $a2, 0x40($s0)
|
||||
/* 19B1B4 8026C8D4 0C0B2190 */ jal set_float_variable
|
||||
/* 19B1B8 8026C8D8 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 19B1BC 8026C8DC 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 19B1C0 8026C8E0 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 19B1C4 8026C8E4 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 19B1C8 8026C8E8 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 19B1CC 8026C8EC 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19B1D0 8026C8F0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19B1D4 8026C8F4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19B1D8 8026C8F8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19B1DC 8026C8FC 03E00008 */ jr $ra
|
||||
/* 19B1E0 8026C900 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,60 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPartScale
|
||||
/* 19B514 8026CC34 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 19B518 8026CC38 AFB40020 */ sw $s4, 0x20($sp)
|
||||
/* 19B51C 8026CC3C 0080A02D */ daddu $s4, $a0, $zero
|
||||
/* 19B520 8026CC40 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 19B524 8026CC44 AFB50024 */ sw $s5, 0x24($sp)
|
||||
/* 19B528 8026CC48 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 19B52C 8026CC4C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19B530 8026CC50 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19B534 8026CC54 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19B538 8026CC58 8E90000C */ lw $s0, 0xc($s4)
|
||||
/* 19B53C 8026CC5C 8E050000 */ lw $a1, ($s0)
|
||||
/* 19B540 8026CC60 0C0B1EAF */ jal get_variable
|
||||
/* 19B544 8026CC64 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19B548 8026CC68 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 19B54C 8026CC6C 8E050000 */ lw $a1, ($s0)
|
||||
/* 19B550 8026CC70 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19B554 8026CC74 0C0B1EAF */ jal get_variable
|
||||
/* 19B558 8026CC78 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19B55C 8026CC7C 0040A82D */ daddu $s5, $v0, $zero
|
||||
/* 19B560 8026CC80 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19B564 8026CC84 16420002 */ bne $s2, $v0, .L8026CC90
|
||||
/* 19B568 8026CC88 00000000 */ nop
|
||||
/* 19B56C 8026CC8C 8E920148 */ lw $s2, 0x148($s4)
|
||||
.L8026CC90:
|
||||
/* 19B570 8026CC90 8E110000 */ lw $s1, ($s0)
|
||||
/* 19B574 8026CC94 26100004 */ addiu $s0, $s0, 4
|
||||
/* 19B578 8026CC98 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19B57C 8026CC9C 8E120000 */ lw $s2, ($s0)
|
||||
/* 19B580 8026CCA0 0C09A75B */ jal get_actor
|
||||
/* 19B584 8026CCA4 8E130004 */ lw $s3, 4($s0)
|
||||
/* 19B588 8026CCA8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19B58C 8026CCAC 0C099117 */ jal get_actor_part
|
||||
/* 19B590 8026CCB0 02A0282D */ daddu $a1, $s5, $zero
|
||||
/* 19B594 8026CCB4 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19B598 8026CCB8 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19B59C 8026CCBC 8E06004C */ lw $a2, 0x4c($s0)
|
||||
/* 19B5A0 8026CCC0 0C0B2190 */ jal set_float_variable
|
||||
/* 19B5A4 8026CCC4 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 19B5A8 8026CCC8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19B5AC 8026CCCC 8E060050 */ lw $a2, 0x50($s0)
|
||||
/* 19B5B0 8026CCD0 0C0B2190 */ jal set_float_variable
|
||||
/* 19B5B4 8026CCD4 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 19B5B8 8026CCD8 0280202D */ daddu $a0, $s4, $zero
|
||||
/* 19B5BC 8026CCDC 8E060054 */ lw $a2, 0x54($s0)
|
||||
/* 19B5C0 8026CCE0 0C0B2190 */ jal set_float_variable
|
||||
/* 19B5C4 8026CCE4 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 19B5C8 8026CCE8 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 19B5CC 8026CCEC 8FB50024 */ lw $s5, 0x24($sp)
|
||||
/* 19B5D0 8026CCF0 8FB40020 */ lw $s4, 0x20($sp)
|
||||
/* 19B5D4 8026CCF4 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 19B5D8 8026CCF8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19B5DC 8026CCFC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19B5E0 8026CD00 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19B5E4 8026CD04 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19B5E8 8026CD08 03E00008 */ jr $ra
|
||||
/* 19B5EC 8026CD0C 27BD0030 */ addiu $sp, $sp, 0x30
|
@ -1,42 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPartTargetFlags
|
||||
/* 19BB8C 8026D2AC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 19BB90 8026D2B0 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 19BB94 8026D2B4 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 19BB98 8026D2B8 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 19BB9C 8026D2BC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19BBA0 8026D2C0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19BBA4 8026D2C4 8E51000C */ lw $s1, 0xc($s2)
|
||||
/* 19BBA8 8026D2C8 8E250000 */ lw $a1, ($s1)
|
||||
/* 19BBAC 8026D2CC 0C0B1EAF */ jal get_variable
|
||||
/* 19BBB0 8026D2D0 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19BBB4 8026D2D4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19BBB8 8026D2D8 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 19BBBC 8026D2DC 16020002 */ bne $s0, $v0, .L8026D2E8
|
||||
/* 19BBC0 8026D2E0 00000000 */ nop
|
||||
/* 19BBC4 8026D2E4 8E500148 */ lw $s0, 0x148($s2)
|
||||
.L8026D2E8:
|
||||
/* 19BBC8 8026D2E8 8E250000 */ lw $a1, ($s1)
|
||||
/* 19BBCC 8026D2EC 26310004 */ addiu $s1, $s1, 4
|
||||
/* 19BBD0 8026D2F0 0C0B1EAF */ jal get_variable
|
||||
/* 19BBD4 8026D2F4 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19BBD8 8026D2F8 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 19BBDC 8026D2FC 8E310000 */ lw $s1, ($s1)
|
||||
/* 19BBE0 8026D300 0C09A75B */ jal get_actor
|
||||
/* 19BBE4 8026D304 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19BBE8 8026D308 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19BBEC 8026D30C 0C099117 */ jal get_actor_part
|
||||
/* 19BBF0 8026D310 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 19BBF4 8026D314 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 19BBF8 8026D318 8C460004 */ lw $a2, 4($v0)
|
||||
/* 19BBFC 8026D31C 0C0B2026 */ jal set_variable
|
||||
/* 19BC00 8026D320 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 19BC04 8026D324 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 19BC08 8026D328 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 19BC0C 8026D32C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 19BC10 8026D330 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19BC14 8026D334 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19BC18 8026D338 03E00008 */ jr $ra
|
||||
/* 19BC1C 8026D33C 27BD0020 */ addiu $sp, $sp, 0x20
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user