mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
Merge branch 'master' into new_splits
This commit is contained in:
commit
16a9ee0a7b
13
Makefile
13
Makefile
@ -11,6 +11,7 @@ SRC_DIRS := src src/os src/os/nusys
|
||||
ASM_DIRS := asm asm/os
|
||||
INCLUDE_DIRS := include include/PR src
|
||||
DATA_DIRS := bin
|
||||
YAY0_DIRS := bin/Yay0
|
||||
|
||||
# Source code files
|
||||
C_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.c))
|
||||
@ -19,12 +20,14 @@ ifdef PM_HEADER_REBUILD
|
||||
H_FILES := $(foreach dir,$(INCLUDE_DIRS),$(wildcard $(dir)/*.h))
|
||||
endif
|
||||
DATA_FILES := $(foreach dir,$(DATA_DIRS),$(wildcard $(dir)/*.bin))
|
||||
YAY0_FILES := $(foreach dir,$(YAY0_DIRS),$(wildcard $(dir)/*.bin))
|
||||
|
||||
# Object files
|
||||
O_FILES := $(foreach file,$(C_FILES),$(BUILD_DIR)/$(file:.c=.o)) \
|
||||
$(foreach file,$(S_FILES),$(BUILD_DIR)/$(file:.s=.o)) \
|
||||
$(foreach file,$(DATA_FILES),$(BUILD_DIR)/$(file:.bin=.o)) \
|
||||
|
||||
YAY0_FILES := $(foreach file,$(YAY0_FILES),$(BUILD_DIR)/$(file:.bin=.bin.Yay0))
|
||||
|
||||
####################### Other Tools #########################
|
||||
|
||||
@ -68,7 +71,7 @@ submodules:
|
||||
git submodule update --init --recursive
|
||||
|
||||
split:
|
||||
rm -rf $(DATA_DIRS) && ./tools/n64splat/split.py baserom.z64 tools/splat.yaml . --modes ld bin
|
||||
rm -rf $(DATA_DIRS) && ./tools/n64splat/split.py baserom.z64 tools/splat.yaml . --modes ld bin Yay0
|
||||
|
||||
split-all:
|
||||
rm -rf $(DATA_DIRS) && ./tools/n64splat/split.py baserom.z64 tools/splat.yaml . --modes all
|
||||
@ -77,13 +80,14 @@ $(TARGET).ld: tools/splat.yaml
|
||||
./tools/n64splat/split.py baserom.z64 tools/splat.yaml . --modes ld
|
||||
|
||||
setup: clean submodules split
|
||||
make -C tools
|
||||
|
||||
print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true
|
||||
|
||||
$(BUILD_DIR):
|
||||
mkdir -p $(BUILD_DIR)
|
||||
|
||||
$(BUILD_DIR)/$(TARGET).elf: $(O_FILES) $(LD_SCRIPT)
|
||||
$(BUILD_DIR)/$(TARGET).elf: $(O_FILES) $(YAY0_FILES) $(LD_SCRIPT)
|
||||
@$(LD) $(LDFLAGS) -o $@ $(O_FILES)
|
||||
|
||||
$(BUILD_DIR)/%.o: %.s
|
||||
@ -95,6 +99,11 @@ $(BUILD_DIR)/%.o: %.c $(H_FILES)
|
||||
$(BUILD_DIR)/%.o: %.bin
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
||||
$(BUILD_DIR)/%.bin.Yay0: %.bin
|
||||
mkdir -p build/bin/Yay0
|
||||
tools/Yay0compress $< $<.Yay0
|
||||
$(LD) -r -b binary -o $@ $<.Yay0
|
||||
|
||||
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
|
||||
$(OBJCOPY) $< $@ -O binary
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
glabel pause_get_menu_string
|
||||
/* 1421C0 8024EE80 00042080 */ sll $a0, $a0, 2
|
||||
/* 1421C4 8024EE84 3C028027 */ lui $v0, 0x8027
|
||||
/* 1421C4 8024EE84 3C028027 */ lui $v0, %hi(gPauseMenuStrings)
|
||||
/* 1421C8 8024EE88 00441021 */ addu $v0, $v0, $a0
|
||||
/* 1421CC 8024EE8C 03E00008 */ jr $ra
|
||||
/* 1421D0 8024EE90 8C42F778 */ lw $v0, -0x888($v0)
|
||||
/* 1421D0 8024EE90 8C42F778 */ lw $v0, %lo(gPauseMenuStrings)($v0)
|
||||
|
@ -189,8 +189,8 @@ glabel end_battle
|
||||
/* 1735E0 80244D00 3C04802A */ lui $a0, 0x802a
|
||||
/* 1735E4 80244D04 2484CAAC */ addiu $a0, $a0, -0x3554
|
||||
/* 1735E8 80244D08 27A50010 */ addiu $a1, $sp, 0x10
|
||||
/* 1735EC 80244D0C 3C02800E */ lui $v0, 0x800e
|
||||
/* 1735F0 80244D10 8C42C068 */ lw $v0, -0x3f98($v0)
|
||||
/* 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)
|
||||
/* 1735FC 80244D1C 0C016AFE */ jal get_map_IDs_by_name
|
||||
@ -207,8 +207,8 @@ glabel end_battle
|
||||
.L80244D48:
|
||||
/* 173628 80244D48 0C090464 */ jal func_80241190
|
||||
/* 17362C 80244D4C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 173630 80244D50 3C02800E */ lui $v0, 0x800e
|
||||
/* 173634 80244D54 8C42C068 */ lw $v0, -0x3f98($v0)
|
||||
/* 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)
|
||||
/* 173640 80244D60 0C00F945 */ jal func_8003E514
|
||||
|
@ -5,8 +5,8 @@ glabel func_80241190
|
||||
/* 16FA70 80241190 3C03800E */ lui $v1, 0x800e
|
||||
/* 16FA74 80241194 8C63C074 */ lw $v1, -0x3f8c($v1)
|
||||
/* 16FA78 80241198 24020001 */ addiu $v0, $zero, 1
|
||||
/* 16FA7C 8024119C 3C01800E */ lui $at, 0x800e
|
||||
/* 16FA80 802411A0 AC24C068 */ sw $a0, -0x3f98($at)
|
||||
/* 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
|
||||
@ -36,8 +36,8 @@ glabel func_80241190
|
||||
.L80241204:
|
||||
/* 16FAE4 80241204 24040007 */ addiu $a0, $zero, 7
|
||||
.L80241208:
|
||||
/* 16FAE8 80241208 3C01800E */ lui $at, 0x800e
|
||||
/* 16FAEC 8024120C AC24C068 */ sw $a0, -0x3f98($at)
|
||||
/* 16FAE8 80241208 3C01800E */ lui $at, %hi(gBattleState)
|
||||
/* 16FAEC 8024120C AC24C068 */ sw $a0, %lo(gBattleState)($at)
|
||||
.L80241210:
|
||||
/* 16FAF0 80241210 03E00008 */ jr $ra
|
||||
/* 16FAF4 80241214 00000000 */ nop
|
||||
|
@ -159,8 +159,8 @@ glabel func_80248B08
|
||||
.L80248D40:
|
||||
/* 177620 80248D40 0C090464 */ jal func_80241190
|
||||
/* 177624 80248D44 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 177628 80248D48 3C02800E */ lui $v0, 0x800e
|
||||
/* 17762C 80248D4C 8C42C068 */ lw $v0, -0x3f98($v0)
|
||||
/* 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)
|
||||
/* 177638 80248D58 0C00CD3C */ jal set_game_mode
|
||||
|
@ -7,8 +7,8 @@ glabel draw_main_battle_ui
|
||||
/* 16D364 8023EA84 0000882D */ daddu $s1, $zero, $zero
|
||||
/* 16D368 8023EA88 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 16D36C 8023EA8C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 16D370 8023EA90 3C10800E */ lui $s0, 0x800e
|
||||
/* 16D374 8023EA94 8E10C068 */ lw $s0, -0x3f98($s0)
|
||||
/* 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
|
||||
/* 16D380 8023EAA0 8C820000 */ lw $v0, ($a0)
|
||||
|
@ -2,8 +2,8 @@
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8023ED5C
|
||||
/* 16D63C 8023ED5C 3C02800E */ lui $v0, 0x800e
|
||||
/* 16D640 8023ED60 8C42C068 */ lw $v0, -0x3f98($v0)
|
||||
/* 16D63C 8023ED5C 3C02800E */ lui $v0, %hi(gBattleState)
|
||||
/* 16D640 8023ED60 8C42C068 */ lw $v0, %lo(gBattleState)($v0)
|
||||
/* 16D644 8023ED64 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 16D648 8023ED68 AFB40030 */ sw $s4, 0x30($sp)
|
||||
/* 16D64C 8023ED6C 3C14800E */ lui $s4, %hi(gBattleStatus)
|
||||
|
@ -25,7 +25,7 @@ glabel func_8023F088
|
||||
/* 16D9B8 8023F0D8 000218C0 */ sll $v1, $v0, 3
|
||||
/* 16D9BC 8023F0DC 00431021 */ addu $v0, $v0, $v1
|
||||
/* 16D9C0 8023F0E0 000210C0 */ sll $v0, $v0, 3
|
||||
/* 16D9C4 8023F0E4 0C099EF7 */ jal hide_foreground_models_unchecked
|
||||
/* 16D9C4 8023F0E4 0C099EF7 */ jal hide_foreground_models_unsafe
|
||||
/* 16D9C8 8023F0E8 0044B821 */ addu $s7, $v0, $a0
|
||||
/* 16D9CC 8023F0EC 0C046EE9 */ jal is_world_fog_enabled
|
||||
/* 16D9D0 8023F0F0 00000000 */ nop
|
||||
|
@ -4,7 +4,7 @@
|
||||
glabel func_8023FF84
|
||||
/* 16E864 8023FF84 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 16E868 8023FF88 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 16E86C 8023FF8C 0C099F12 */ jal show_foreground_models_unchecked
|
||||
/* 16E86C 8023FF8C 0C099F12 */ jal show_foreground_models_unsafe
|
||||
/* 16E870 8023FF90 00000000 */ nop
|
||||
/* 16E874 8023FF94 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 16E878 8023FF98 03E00008 */ jr $ra
|
||||
|
@ -92,13 +92,13 @@ glabel update_battle_state
|
||||
/* 16CE64 8023E584 82030095 */ lb $v1, 0x95($s0)
|
||||
/* 16CE68 8023E588 10600005 */ beqz $v1, .L8023E5A0
|
||||
/* 16CE6C 8023E58C 24110001 */ addiu $s1, $zero, 1
|
||||
/* 16CE70 8023E590 3C02800E */ lui $v0, 0x800e
|
||||
/* 16CE74 8023E594 8C42C068 */ lw $v0, -0x3f98($v0)
|
||||
/* 16CE70 8023E590 3C02800E */ lui $v0, %hi(gBattleState)
|
||||
/* 16CE74 8023E594 8C42C068 */ lw $v0, %lo(gBattleState)($v0)
|
||||
/* 16CE78 8023E598 10620092 */ beq $v1, $v0, .L8023E7E4
|
||||
/* 16CE7C 8023E59C 00000000 */ nop
|
||||
.L8023E5A0:
|
||||
/* 16CE80 8023E5A0 3C02800E */ lui $v0, 0x800e
|
||||
/* 16CE84 8023E5A4 8C42C068 */ lw $v0, -0x3f98($v0)
|
||||
/* 16CE80 8023E5A0 3C02800E */ lui $v0, %hi(gBattleState)
|
||||
/* 16CE84 8023E5A4 8C42C068 */ lw $v0, %lo(gBattleState)($v0)
|
||||
/* 16CE88 8023E5A8 24430001 */ addiu $v1, $v0, 1
|
||||
/* 16CE8C 8023E5AC 2C620025 */ sltiu $v0, $v1, 0x25
|
||||
/* 16CE90 8023E5B0 1040008C */ beqz $v0, .L8023E7E4
|
||||
@ -383,8 +383,8 @@ glabel update_battle_state
|
||||
.L8023E9E0:
|
||||
/* 16D2C0 8023E9E0 1485000A */ bne $a0, $a1, .L8023EA0C
|
||||
/* 16D2C4 8023E9E4 2462000A */ addiu $v0, $v1, 0xa
|
||||
/* 16D2C8 8023E9E8 3C03800E */ lui $v1, 0x800e
|
||||
/* 16D2CC 8023E9EC 8C63C068 */ lw $v1, -0x3f98($v1)
|
||||
/* 16D2C8 8023E9E8 3C03800E */ lui $v1, %hi(gBattleState)
|
||||
/* 16D2CC 8023E9EC 8C63C068 */ lw $v1, %lo(gBattleState)($v1)
|
||||
/* 16D2D0 8023E9F0 24020023 */ addiu $v0, $zero, 0x23
|
||||
/* 16D2D4 8023E9F4 1062001B */ beq $v1, $v0, .L8023EA64
|
||||
/* 16D2D8 8023E9F8 00000000 */ nop
|
||||
|
@ -30,13 +30,13 @@ glabel ActorSpeak
|
||||
/* 181874 80252F94 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 181878 80252F98 0C0B1EAF */ jal get_variable
|
||||
/* 18187C 80252F9C 0040A02D */ daddu $s4, $v0, $zero
|
||||
/* 181880 80252FA0 3C01802A */ lui $at, 0x802a
|
||||
/* 181884 80252FA4 AC22FA6C */ sw $v0, -0x594($at)
|
||||
/* 181880 80252FA0 3C01802A */ lui $at, %hi(gSpeakingActorTalkAnim)
|
||||
/* 181884 80252FA4 AC22FA6C */ sw $v0, %lo(gSpeakingActorTalkAnim)($at)
|
||||
/* 181888 80252FA8 8E250000 */ lw $a1, ($s1)
|
||||
/* 18188C 80252FAC 0C0B1EAF */ jal get_variable
|
||||
/* 181890 80252FB0 0260202D */ daddu $a0, $s3, $zero
|
||||
/* 181894 80252FB4 3C01802A */ lui $at, 0x802a
|
||||
/* 181898 80252FB8 AC22FA70 */ sw $v0, -0x590($at)
|
||||
/* 181894 80252FB4 3C01802A */ lui $at, %hi(gSpeakingActorIdleAnim)
|
||||
/* 181898 80252FB8 AC22FA70 */ sw $v0, %lo(gSpeakingActorIdleAnim)($at)
|
||||
/* 18189C 80252FBC 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 1818A0 80252FC0 16420002 */ bne $s2, $v0, .L80252FCC
|
||||
/* 1818A4 80252FC4 00000000 */ nop
|
||||
@ -52,8 +52,8 @@ glabel ActorSpeak
|
||||
/* 1818C8 80252FE8 86230150 */ lh $v1, 0x150($s1)
|
||||
/* 1818CC 80252FEC C6200144 */ lwc1 $f0, 0x144($s1)
|
||||
/* 1818D0 80252FF0 8E220000 */ lw $v0, ($s1)
|
||||
/* 1818D4 80252FF4 3C01802A */ lui $at, 0x802a
|
||||
/* 1818D8 80252FF8 AC31FA74 */ sw $s1, -0x58c($at)
|
||||
/* 1818D4 80252FF4 3C01802A */ lui $at, %hi(gSpeakingActor)
|
||||
/* 1818D8 80252FF8 AC31FA74 */ sw $s1, %lo(gSpeakingActor)($at)
|
||||
/* 1818DC 80252FFC 3C01802A */ lui $at, 0x802a
|
||||
/* 1818E0 80253000 AC32FA78 */ sw $s2, -0x588($at)
|
||||
/* 1818E4 80253004 44831000 */ mtc1 $v1, $f2
|
||||
@ -106,23 +106,23 @@ glabel ActorSpeak
|
||||
/* 181998 802530B8 0C00B94E */ jal get_screen_coords
|
||||
/* 18199C 802530BC AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 1819A0 802530C0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1819A4 802530C4 3C05802A */ lui $a1, 0x802a
|
||||
/* 1819A8 802530C8 24A5FA68 */ addiu $a1, $a1, -0x598
|
||||
/* 1819A4 802530C4 3C05802A */ lui $a1, %hi(gSpeakingActorPrintIsDone)
|
||||
/* 1819A8 802530C8 24A5FA68 */ addiu $a1, $a1, %lo(gSpeakingActorPrintIsDone)
|
||||
/* 1819AC 802530CC 0C049640 */ jal load_string
|
||||
/* 1819B0 802530D0 ACA00000 */ sw $zero, ($a1)
|
||||
/* 1819B4 802530D4 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 1819B8 802530D8 8FA60024 */ lw $a2, 0x24($sp)
|
||||
/* 1819BC 802530DC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1819C0 802530E0 3C01802A */ lui $at, 0x802a
|
||||
/* 1819C4 802530E4 AC24FA60 */ sw $a0, -0x5a0($at)
|
||||
/* 1819C0 802530E0 3C01802A */ lui $at, %hi(gSpeakingActorPrintCtx)
|
||||
/* 1819C4 802530E4 AC24FA60 */ sw $a0, %lo(gSpeakingActorPrintCtx)($at)
|
||||
/* 1819C8 802530E8 0C0496AE */ jal clamp_printer_coords
|
||||
/* 1819CC 802530EC 00000000 */ nop
|
||||
/* 1819D0 802530F0 3C03800A */ lui $v1, %hi(D_8009A650)
|
||||
/* 1819D4 802530F4 2463A650 */ addiu $v1, $v1, %lo(D_8009A650)
|
||||
/* 1819D8 802530F8 AE600070 */ sw $zero, 0x70($s3)
|
||||
/* 1819DC 802530FC 8C620000 */ lw $v0, ($v1)
|
||||
/* 1819E0 80253100 3C06802A */ lui $a2, 0x802a
|
||||
/* 1819E4 80253104 8CC6FA6C */ lw $a2, -0x594($a2)
|
||||
/* 1819E0 80253100 3C06802A */ lui $a2, %hi(gSpeakingActorTalkAnim)
|
||||
/* 1819E4 80253104 8CC6FA6C */ lw $a2, %lo(gSpeakingActorTalkAnim)($a2)
|
||||
/* 1819E8 80253108 34420010 */ ori $v0, $v0, 0x10
|
||||
/* 1819EC 8025310C 04C00004 */ bltz $a2, .L80253120
|
||||
/* 1819F0 80253110 AC620000 */ sw $v0, ($v1)
|
||||
@ -136,8 +136,8 @@ glabel ActorSpeak
|
||||
/* 181A08 80253128 8E620070 */ lw $v0, 0x70($s3)
|
||||
/* 181A0C 8025312C 14400060 */ bnez $v0, .L802532B0
|
||||
/* 181A10 80253130 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 181A14 80253134 3C11802A */ lui $s1, 0x802a
|
||||
/* 181A18 80253138 8E31FA74 */ lw $s1, -0x58c($s1)
|
||||
/* 181A14 80253134 3C11802A */ lui $s1, %hi(gSpeakingActor)
|
||||
/* 181A18 80253138 8E31FA74 */ lw $s1, %lo(gSpeakingActor)($s1)
|
||||
/* 181A1C 8025313C 3C12802A */ lui $s2, 0x802a
|
||||
/* 181A20 80253140 8E52FA78 */ lw $s2, -0x588($s2)
|
||||
/* 181A24 80253144 86220150 */ lh $v0, 0x150($s1)
|
||||
@ -192,8 +192,8 @@ glabel ActorSpeak
|
||||
/* 181AE0 80253200 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 181AE4 80253204 0C00B94E */ jal get_screen_coords
|
||||
/* 181AE8 80253208 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 181AEC 8025320C 3C10802A */ lui $s0, 0x802a
|
||||
/* 181AF0 80253210 2610FA60 */ addiu $s0, $s0, -0x5a0
|
||||
/* 181AEC 8025320C 3C10802A */ lui $s0, %hi(gSpeakingActorPrintCtx)
|
||||
/* 181AF0 80253210 2610FA60 */ addiu $s0, $s0, %lo(gSpeakingActorPrintCtx)
|
||||
/* 181AF4 80253214 8E040000 */ lw $a0, ($s0)
|
||||
/* 181AF8 80253218 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 181AFC 8025321C 0C0496AE */ jal clamp_printer_coords
|
||||
@ -210,21 +210,21 @@ glabel ActorSpeak
|
||||
.L80253248:
|
||||
/* 181B28 80253248 10400005 */ beqz $v0, .L80253260
|
||||
/* 181B2C 8025324C 00000000 */ nop
|
||||
/* 181B30 80253250 3C06802A */ lui $a2, 0x802a
|
||||
/* 181B34 80253254 8CC6FA6C */ lw $a2, -0x594($a2)
|
||||
/* 181B30 80253250 3C06802A */ lui $a2, %hi(gSpeakingActorTalkAnim)
|
||||
/* 181B34 80253254 8CC6FA6C */ lw $a2, %lo(gSpeakingActorTalkAnim)($a2)
|
||||
/* 181B38 80253258 08094C9A */ j .L80253268
|
||||
/* 181B3C 8025325C 00000000 */ nop
|
||||
.L80253260:
|
||||
/* 181B40 80253260 3C06802A */ lui $a2, 0x802a
|
||||
/* 181B44 80253264 8CC6FA70 */ lw $a2, -0x590($a2)
|
||||
/* 181B40 80253260 3C06802A */ lui $a2, %hi(gSpeakingActorIdleAnim)
|
||||
/* 181B44 80253264 8CC6FA70 */ lw $a2, %lo(gSpeakingActorIdleAnim)($a2)
|
||||
.L80253268:
|
||||
/* 181B48 80253268 04C00003 */ bltz $a2, .L80253278
|
||||
/* 181B4C 8025326C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 181B50 80253270 0C098F82 */ jal func_80263E08
|
||||
/* 181B54 80253274 0240282D */ daddu $a1, $s2, $zero
|
||||
.L80253278:
|
||||
/* 181B58 80253278 3C03802A */ lui $v1, 0x802a
|
||||
/* 181B5C 8025327C 8C63FA68 */ lw $v1, -0x598($v1)
|
||||
/* 181B58 80253278 3C03802A */ lui $v1, %hi(gSpeakingActorPrintIsDone)
|
||||
/* 181B5C 8025327C 8C63FA68 */ lw $v1, %lo(gSpeakingActorPrintIsDone)($v1)
|
||||
/* 181B60 80253280 24020001 */ addiu $v0, $zero, 1
|
||||
/* 181B64 80253284 1462000A */ bne $v1, $v0, .L802532B0
|
||||
/* 181B68 80253288 0000102D */ daddu $v0, $zero, $zero
|
||||
|
@ -24,13 +24,13 @@ glabel EndActorSpeech
|
||||
/* 181BFC 8025331C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 181C00 80253320 0C0B1EAF */ jal get_variable
|
||||
/* 181C04 80253324 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 181C08 80253328 3C01802A */ lui $at, 0x802a
|
||||
/* 181C0C 8025332C AC22FA6C */ sw $v0, -0x594($at)
|
||||
/* 181C08 80253328 3C01802A */ lui $at, %hi(gSpeakingActorTalkAnim)
|
||||
/* 181C0C 8025332C AC22FA6C */ sw $v0, %lo(gSpeakingActorTalkAnim)($at)
|
||||
/* 181C10 80253330 8E050000 */ lw $a1, ($s0)
|
||||
/* 181C14 80253334 0C0B1EAF */ jal get_variable
|
||||
/* 181C18 80253338 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 181C1C 8025333C 3C01802A */ lui $at, 0x802a
|
||||
/* 181C20 80253340 AC22FA70 */ sw $v0, -0x590($at)
|
||||
/* 181C1C 8025333C 3C01802A */ lui $at, %hi(gSpeakingActorIdleAnim)
|
||||
/* 181C20 80253340 AC22FA70 */ sw $v0, %lo(gSpeakingActorIdleAnim)($at)
|
||||
/* 181C24 80253344 2402FF81 */ addiu $v0, $zero, -0x7f
|
||||
/* 181C28 80253348 16220002 */ bne $s1, $v0, .L80253354
|
||||
/* 181C2C 8025334C 00000000 */ nop
|
||||
@ -42,10 +42,10 @@ glabel EndActorSpeech
|
||||
/* 181C40 80253360 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 181C44 80253364 0C099117 */ jal get_actor_part
|
||||
/* 181C48 80253368 0260282D */ daddu $a1, $s3, $zero
|
||||
/* 181C4C 8025336C 3C04802A */ lui $a0, 0x802a
|
||||
/* 181C50 80253370 8C84FA60 */ lw $a0, -0x5a0($a0)
|
||||
/* 181C54 80253374 3C01802A */ lui $at, 0x802a
|
||||
/* 181C58 80253378 AC31FA74 */ sw $s1, -0x58c($at)
|
||||
/* 181C4C 8025336C 3C04802A */ lui $a0, %hi(gSpeakingActorPrintCtx)
|
||||
/* 181C50 80253370 8C84FA60 */ lw $a0, %lo(gSpeakingActorPrintCtx)($a0)
|
||||
/* 181C54 80253374 3C01802A */ lui $at, %hi(gSpeakingActor)
|
||||
/* 181C58 80253378 AC31FA74 */ sw $s1, %lo(gSpeakingActor)($at)
|
||||
/* 181C5C 8025337C 3C01802A */ lui $at, 0x802a
|
||||
/* 181C60 80253380 AC22FA78 */ sw $v0, -0x588($at)
|
||||
/* 181C64 80253384 0C04971C */ jal close_message
|
||||
@ -56,8 +56,8 @@ glabel EndActorSpeech
|
||||
/* 181C74 80253394 8E420070 */ lw $v0, 0x70($s2)
|
||||
/* 181C78 80253398 14400060 */ bnez $v0, .L8025351C
|
||||
/* 181C7C 8025339C 0000102D */ daddu $v0, $zero, $zero
|
||||
/* 181C80 802533A0 3C11802A */ lui $s1, 0x802a
|
||||
/* 181C84 802533A4 8E31FA74 */ lw $s1, -0x58c($s1)
|
||||
/* 181C80 802533A0 3C11802A */ lui $s1, %hi(gSpeakingActor)
|
||||
/* 181C84 802533A4 8E31FA74 */ lw $s1, %lo(gSpeakingActor)($s1)
|
||||
/* 181C88 802533A8 3C12802A */ lui $s2, 0x802a
|
||||
/* 181C8C 802533AC 8E52FA78 */ lw $s2, -0x588($s2)
|
||||
/* 181C90 802533B0 86220150 */ lh $v0, 0x150($s1)
|
||||
@ -112,8 +112,8 @@ glabel EndActorSpeech
|
||||
/* 181D4C 8025346C 27A20028 */ addiu $v0, $sp, 0x28
|
||||
/* 181D50 80253470 0C00B94E */ jal get_screen_coords
|
||||
/* 181D54 80253474 AFA20018 */ sw $v0, 0x18($sp)
|
||||
/* 181D58 80253478 3C10802A */ lui $s0, 0x802a
|
||||
/* 181D5C 8025347C 2610FA60 */ addiu $s0, $s0, -0x5a0
|
||||
/* 181D58 80253478 3C10802A */ lui $s0, %hi(gSpeakingActorPrintCtx)
|
||||
/* 181D5C 8025347C 2610FA60 */ addiu $s0, $s0, %lo(gSpeakingActorPrintCtx)
|
||||
/* 181D60 80253480 8E040000 */ lw $a0, ($s0)
|
||||
/* 181D64 80253484 8FA50020 */ lw $a1, 0x20($sp)
|
||||
/* 181D68 80253488 0C0496AE */ jal clamp_printer_coords
|
||||
@ -130,21 +130,21 @@ glabel EndActorSpeech
|
||||
.L802534B4:
|
||||
/* 181D94 802534B4 10400005 */ beqz $v0, .L802534CC
|
||||
/* 181D98 802534B8 00000000 */ nop
|
||||
/* 181D9C 802534BC 3C06802A */ lui $a2, 0x802a
|
||||
/* 181DA0 802534C0 8CC6FA6C */ lw $a2, -0x594($a2)
|
||||
/* 181D9C 802534BC 3C06802A */ lui $a2, %hi(gSpeakingActorTalkAnim)
|
||||
/* 181DA0 802534C0 8CC6FA6C */ lw $a2, %lo(gSpeakingActorTalkAnim)($a2)
|
||||
/* 181DA4 802534C4 08094D35 */ j .L802534D4
|
||||
/* 181DA8 802534C8 00000000 */ nop
|
||||
.L802534CC:
|
||||
/* 181DAC 802534CC 3C06802A */ lui $a2, 0x802a
|
||||
/* 181DB0 802534D0 8CC6FA70 */ lw $a2, -0x590($a2)
|
||||
/* 181DAC 802534CC 3C06802A */ lui $a2, %hi(gSpeakingActorIdleAnim)
|
||||
/* 181DB0 802534D0 8CC6FA70 */ lw $a2, %lo(gSpeakingActorIdleAnim)($a2)
|
||||
.L802534D4:
|
||||
/* 181DB4 802534D4 04C00003 */ bltz $a2, .L802534E4
|
||||
/* 181DB8 802534D8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 181DBC 802534DC 0C098F82 */ jal func_80263E08
|
||||
/* 181DC0 802534E0 0240282D */ daddu $a1, $s2, $zero
|
||||
.L802534E4:
|
||||
/* 181DC4 802534E4 3C03802A */ lui $v1, 0x802a
|
||||
/* 181DC8 802534E8 8C63FA68 */ lw $v1, -0x598($v1)
|
||||
/* 181DC4 802534E4 3C03802A */ lui $v1, %hi(gSpeakingActorPrintIsDone)
|
||||
/* 181DC8 802534E8 8C63FA68 */ lw $v1, %lo(gSpeakingActorPrintIsDone)($v1)
|
||||
/* 181DCC 802534EC 24020001 */ addiu $v0, $zero, 1
|
||||
/* 181DD0 802534F0 1462000A */ bne $v1, $v0, .L8025351C
|
||||
/* 181DD4 802534F4 0000102D */ daddu $v0, $zero, $zero
|
||||
|
@ -19,8 +19,8 @@ glabel LoadBattleDmaData
|
||||
/* 181F3C 8025365C 00431021 */ addu $v0, $v0, $v1
|
||||
/* 181F40 80253660 5040000E */ beql $v0, $zero, .L8025369C
|
||||
/* 181F44 80253664 24020002 */ addiu $v0, $zero, 2
|
||||
/* 181F48 80253668 3C068028 */ lui $a2, 0x8028
|
||||
/* 181F4C 8025366C 8CC64000 */ lw $a2, 0x4000($a2)
|
||||
/* 181F48 80253668 3C068028 */ lui $a2, %hi(gBattleDmaDest)
|
||||
/* 181F4C 8025366C 8CC64000 */ lw $a2, %lo(gBattleDmaDest)($a2)
|
||||
/* 181F50 80253670 14C00005 */ bnez $a2, .L80253688
|
||||
/* 181F54 80253674 00000000 */ nop
|
||||
/* 181F58 80253678 8C440000 */ lw $a0, ($v0)
|
||||
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel OverrideBattleDmaDest
|
||||
/* 181ED8 802535F8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 181EDC 802535FC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 181EE0 80253600 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 181EE4 80253604 0C0B1EAF */ jal get_variable
|
||||
/* 181EE8 80253608 8C450000 */ lw $a1, ($v0)
|
||||
/* 181EEC 8025360C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 181EF0 80253610 3C018028 */ lui $at, 0x8028
|
||||
/* 181EF4 80253614 AC224000 */ sw $v0, 0x4000($at)
|
||||
/* 181EF8 80253618 24020002 */ addiu $v0, $zero, 2
|
||||
/* 181EFC 8025361C 03E00008 */ jr $ra
|
||||
/* 181F00 80253620 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,23 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetForegroundModelsVisible
|
||||
/* 1823CC 80253AEC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1823D0 80253AF0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1823D4 80253AF4 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 1823D8 80253AF8 0C0B1EAF */ jal get_variable
|
||||
/* 1823DC 80253AFC 8C450000 */ lw $a1, ($v0)
|
||||
/* 1823E0 80253B00 10400005 */ beqz $v0, .L80253B18
|
||||
/* 1823E4 80253B04 00000000 */ nop
|
||||
/* 1823E8 80253B08 0C099F4A */ jal show_foreground_models
|
||||
/* 1823EC 80253B0C 00000000 */ nop
|
||||
/* 1823F0 80253B10 08094EC8 */ j .L80253B20
|
||||
/* 1823F4 80253B14 00000000 */ nop
|
||||
.L80253B18:
|
||||
/* 1823F8 80253B18 0C099F2D */ jal hide_foreground_models
|
||||
/* 1823FC 80253B1C 00000000 */ nop
|
||||
.L80253B20:
|
||||
/* 182400 80253B20 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 182404 80253B24 24020002 */ addiu $v0, $zero, 2
|
||||
/* 182408 80253B28 03E00008 */ jr $ra
|
||||
/* 18240C 80253B2C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,23 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetForegroundModelsVisibleUnchecked
|
||||
/* 182388 80253AA8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 18238C 80253AAC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 182390 80253AB0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 182394 80253AB4 0C0B1EAF */ jal get_variable
|
||||
/* 182398 80253AB8 8C450000 */ lw $a1, ($v0)
|
||||
/* 18239C 80253ABC 10400005 */ beqz $v0, .L80253AD4
|
||||
/* 1823A0 80253AC0 00000000 */ nop
|
||||
/* 1823A4 80253AC4 0C099F12 */ jal show_foreground_models_unchecked
|
||||
/* 1823A8 80253AC8 00000000 */ nop
|
||||
/* 1823AC 80253ACC 08094EB7 */ j .L80253ADC
|
||||
/* 1823B0 80253AD0 00000000 */ nop
|
||||
.L80253AD4:
|
||||
/* 1823B4 80253AD4 0C099EF7 */ jal hide_foreground_models_unchecked
|
||||
/* 1823B8 80253AD8 00000000 */ nop
|
||||
.L80253ADC:
|
||||
/* 1823BC 80253ADC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1823C0 80253AE0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1823C4 80253AE4 03E00008 */ jr $ra
|
||||
/* 1823C8 80253AE8 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -23,8 +23,8 @@ glabel ShowBattleChoice
|
||||
/* 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, 0x802a
|
||||
/* 181E6C 8025358C 8C84FA60 */ lw $a0, -0x5a0($a0)
|
||||
/* 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)
|
||||
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel StartRumble
|
||||
/* 182AF8 80254218 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 182AFC 8025421C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 182B00 80254220 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 182B04 80254224 0C0B1EAF */ jal get_variable
|
||||
/* 182B08 80254228 8C450000 */ lw $a1, ($v0)
|
||||
/* 182B0C 8025422C 0C099F7D */ jal start_rumble_type
|
||||
/* 182B10 80254230 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 182B14 80254234 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 182B18 80254238 24020002 */ addiu $v0, $zero, 2
|
||||
/* 182B1C 8025423C 03E00008 */ jr $ra
|
||||
/* 182B20 80254240 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 182B24 80254244 00000000 */ nop
|
||||
/* 182B28 80254248 00000000 */ nop
|
||||
/* 182B2C 8025424C 00000000 */ nop
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80253B30
|
||||
/* 182410 80253B30 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 182414 80253B34 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 182418 80253B38 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 18241C 80253B3C AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 182420 80253B40 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 182424 80253B44 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 182428 80253B48 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 18242C 80253B4C 8C510000 */ lw $s1, ($v0)
|
||||
/* 182430 80253B50 24420004 */ addiu $v0, $v0, 4
|
||||
/* 182434 80253B54 8C450004 */ lw $a1, 4($v0)
|
||||
/* 182438 80253B58 0C0B1EAF */ jal get_variable
|
||||
/* 18243C 80253B5C 8C520000 */ lw $s2, ($v0)
|
||||
/* 182440 80253B60 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 182444 80253B64 0220282D */ daddu $a1, $s1, $zero
|
||||
/* 182448 80253B68 00021200 */ sll $v0, $v0, 8
|
||||
/* 18244C 80253B6C 344200FE */ ori $v0, $v0, 0xfe
|
||||
/* 182450 80253B70 0C0B2026 */ jal set_variable
|
||||
/* 182454 80253B74 02423025 */ or $a2, $s2, $v0
|
||||
/* 182458 80253B78 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 18245C 80253B7C 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 182460 80253B80 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 182464 80253B84 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 182468 80253B88 24020002 */ addiu $v0, $zero, 2
|
||||
/* 18246C 80253B8C 03E00008 */ jr $ra
|
||||
/* 182470 80253B90 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,13 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel HasMerleeCastsLeft
|
||||
/* 1902A8 802619C8 AC800084 */ sw $zero, 0x84($a0)
|
||||
/* 1902AC 802619CC 3C028011 */ lui $v0, 0x8011
|
||||
/* 1902B0 802619D0 8042F51A */ lb $v0, -0xae6($v0)
|
||||
/* 1902B4 802619D4 18400002 */ blez $v0, .L802619E0
|
||||
/* 1902B8 802619D8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 1902BC 802619DC AC820084 */ sw $v0, 0x84($a0)
|
||||
.L802619E0:
|
||||
/* 1902C0 802619E0 03E00008 */ jr $ra
|
||||
/* 1902C4 802619E4 24020002 */ addiu $v0, $zero, 2
|
@ -1,19 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel IncrementPlayerFP
|
||||
/* 190640 80261D60 3C048011 */ lui $a0, %hi(gPlayerData)
|
||||
/* 190644 80261D64 2484F290 */ addiu $a0, $a0, %lo(gPlayerData)
|
||||
/* 190648 80261D68 90820005 */ lbu $v0, 5($a0)
|
||||
/* 19064C 80261D6C 80830006 */ lb $v1, 6($a0)
|
||||
/* 190650 80261D70 24420001 */ addiu $v0, $v0, 1
|
||||
/* 190654 80261D74 A0820005 */ sb $v0, 5($a0)
|
||||
/* 190658 80261D78 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 19065C 80261D7C 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 190660 80261D80 0062182A */ slt $v1, $v1, $v0
|
||||
/* 190664 80261D84 90820006 */ lbu $v0, 6($a0)
|
||||
/* 190668 80261D88 54600001 */ bnel $v1, $zero, .L80261D90
|
||||
/* 19066C 80261D8C A0820005 */ sb $v0, 5($a0)
|
||||
.L80261D90:
|
||||
/* 190670 80261D90 03E00008 */ jr $ra
|
||||
/* 190674 80261D94 24020002 */ addiu $v0, $zero, 2
|
@ -1,19 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel IncrementPlayerHP
|
||||
/* 190608 80261D28 3C048011 */ lui $a0, %hi(gPlayerData)
|
||||
/* 19060C 80261D2C 2484F290 */ addiu $a0, $a0, %lo(gPlayerData)
|
||||
/* 190610 80261D30 90820002 */ lbu $v0, 2($a0)
|
||||
/* 190614 80261D34 80830003 */ lb $v1, 3($a0)
|
||||
/* 190618 80261D38 24420001 */ addiu $v0, $v0, 1
|
||||
/* 19061C 80261D3C A0820002 */ sb $v0, 2($a0)
|
||||
/* 190620 80261D40 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 190624 80261D44 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 190628 80261D48 0062182A */ slt $v1, $v1, $v0
|
||||
/* 19062C 80261D4C 90820003 */ lbu $v0, 3($a0)
|
||||
/* 190630 80261D50 54600001 */ bnel $v1, $zero, .L80261D58
|
||||
/* 190634 80261D54 A0820002 */ sb $v0, 2($a0)
|
||||
.L80261D58:
|
||||
/* 190638 80261D58 03E00008 */ jr $ra
|
||||
/* 19063C 80261D5C 24020002 */ addiu $v0, $zero, 2
|
@ -1,12 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80260DB8
|
||||
/* 18F698 80260DB8 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 18F69C 80260DBC 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 18F6A0 80260DC0 8C430000 */ lw $v1, ($v0)
|
||||
/* 18F6A4 80260DC4 3C040004 */ lui $a0, 4
|
||||
/* 18F6A8 80260DC8 00641825 */ or $v1, $v1, $a0
|
||||
/* 18F6AC 80260DCC AC430000 */ sw $v1, ($v0)
|
||||
/* 18F6B0 80260DD0 03E00008 */ jr $ra
|
||||
/* 18F6B4 80260DD4 24020002 */ addiu $v0, $zero, 2
|
@ -1,29 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80260DD8
|
||||
/* 18F6B8 80260DD8 3C028011 */ lui $v0, 0x8011
|
||||
/* 18F6BC 80260DDC 8042F29A */ lb $v0, -0xd66($v0)
|
||||
/* 18F6C0 80260DE0 3C03800E */ lui $v1, 0x800e
|
||||
/* 18F6C4 80260DE4 8C63C148 */ lw $v1, -0x3eb8($v1)
|
||||
/* 18F6C8 80260DE8 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 18F6CC 80260DEC AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 18F6D0 80260DF0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 18F6D4 80260DF4 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 18F6D8 80260DF8 14400009 */ bnez $v0, .L80260E20
|
||||
/* 18F6DC 80260DFC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 18F6E0 80260E00 8C700088 */ lw $s0, 0x88($v1)
|
||||
/* 18F6E4 80260E04 0C00A67F */ jal rand_int
|
||||
/* 18F6E8 80260E08 24040064 */ addiu $a0, $zero, 0x64
|
||||
/* 18F6EC 80260E0C 0202802A */ slt $s0, $s0, $v0
|
||||
/* 18F6F0 80260E10 56000003 */ bnel $s0, $zero, .L80260E20
|
||||
/* 18F6F4 80260E14 AE200084 */ sw $zero, 0x84($s1)
|
||||
/* 18F6F8 80260E18 24020001 */ addiu $v0, $zero, 1
|
||||
/* 18F6FC 80260E1C AE220084 */ sw $v0, 0x84($s1)
|
||||
.L80260E20:
|
||||
/* 18F700 80260E20 24020002 */ addiu $v0, $zero, 2
|
||||
/* 18F704 80260E24 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 18F708 80260E28 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 18F70C 80260E2C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 18F710 80260E30 03E00008 */ jr $ra
|
||||
/* 18F714 80260E34 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,13 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80260E38
|
||||
/* 18F718 80260E38 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 18F71C 80260E3C 24040031 */ addiu $a0, $zero, 0x31
|
||||
/* 18F720 80260E40 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 18F724 80260E44 0C093E58 */ jal show_battle_message
|
||||
/* 18F728 80260E48 2405003C */ addiu $a1, $zero, 0x3c
|
||||
/* 18F72C 80260E4C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 18F730 80260E50 24020002 */ addiu $v0, $zero, 2
|
||||
/* 18F734 80260E54 03E00008 */ jr $ra
|
||||
/* 18F738 80260E58 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,17 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80260E5C
|
||||
/* 18F73C 80260E5C 3C03FFFF */ lui $v1, 0xffff
|
||||
/* 18F740 80260E60 3C04800E */ lui $a0, %hi(gBattleStatus)
|
||||
/* 18F744 80260E64 2484C070 */ addiu $a0, $a0, %lo(gBattleStatus)
|
||||
/* 18F748 80260E68 8C820000 */ lw $v0, ($a0)
|
||||
/* 18F74C 80260E6C 34637FFF */ ori $v1, $v1, 0x7fff
|
||||
/* 18F750 80260E70 00431024 */ and $v0, $v0, $v1
|
||||
/* 18F754 80260E74 2403DFFF */ addiu $v1, $zero, -0x2001
|
||||
/* 18F758 80260E78 00431024 */ and $v0, $v0, $v1
|
||||
/* 18F75C 80260E7C 2403BFFF */ addiu $v1, $zero, -0x4001
|
||||
/* 18F760 80260E80 00431024 */ and $v0, $v0, $v1
|
||||
/* 18F764 80260E84 AC820000 */ sw $v0, ($a0)
|
||||
/* 18F768 80260E88 03E00008 */ jr $ra
|
||||
/* 18F76C 80260E8C 24020002 */ addiu $v0, $zero, 2
|
@ -15,8 +15,8 @@ glabel func_8026127C
|
||||
/* 18FB84 802612A4 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 18FB88 802612A8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 18FB8C 802612AC A2000099 */ sb $zero, 0x99($s0)
|
||||
/* 18FB90 802612B0 3C01800E */ lui $at, 0x800e
|
||||
/* 18FB94 802612B4 AC22C068 */ sw $v0, -0x3f98($at)
|
||||
/* 18FB90 802612B0 3C01800E */ lui $at, %hi(gBattleState)
|
||||
/* 18FB94 802612B4 AC22C068 */ sw $v0, %lo(gBattleState)($at)
|
||||
/* 18FB98 802612B8 8E020000 */ lw $v0, ($s0)
|
||||
/* 18FB9C 802612BC 3C118011 */ lui $s1, %hi(gPlayerData)
|
||||
/* 18FBA0 802612C0 2631F290 */ addiu $s1, $s1, %lo(gPlayerData)
|
||||
|
@ -1,13 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80261388
|
||||
/* 18FC68 80261388 3C02800E */ lui $v0, 0x800e
|
||||
/* 18FC6C 8026138C 8C42C14C */ lw $v0, -0x3eb4($v0)
|
||||
/* 18FC70 80261390 10400003 */ beqz $v0, .L802613A0
|
||||
/* 18FC74 80261394 AC800084 */ sw $zero, 0x84($a0)
|
||||
/* 18FC78 80261398 24020001 */ addiu $v0, $zero, 1
|
||||
/* 18FC7C 8026139C AC820084 */ sw $v0, 0x84($a0)
|
||||
.L802613A0:
|
||||
/* 18FC80 802613A0 03E00008 */ jr $ra
|
||||
/* 18FC84 802613A4 24020002 */ addiu $v0, $zero, 2
|
@ -1,9 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802613A8
|
||||
/* 18FC88 802613A8 24020095 */ addiu $v0, $zero, 0x95
|
||||
/* 18FC8C 802613AC 3C01800E */ lui $at, 0x800e
|
||||
/* 18FC90 802613B0 A422C1EA */ sh $v0, -0x3e16($at)
|
||||
/* 18FC94 802613B4 03E00008 */ jr $ra
|
||||
/* 18FC98 802613B8 24020002 */ addiu $v0, $zero, 2
|
@ -1,19 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80261D98
|
||||
/* 190678 80261D98 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19067C 80261D9C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 190680 80261DA0 0C09A75B */ jal get_actor
|
||||
/* 190684 80261DA4 8C840148 */ lw $a0, 0x148($a0)
|
||||
/* 190688 80261DA8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19068C 80261DAC 24050004 */ addiu $a1, $zero, 4
|
||||
/* 190690 80261DB0 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 190694 80261DB4 0C099B3C */ jal inflict_status_set_duration
|
||||
/* 190698 80261DB8 24070001 */ addiu $a3, $zero, 1
|
||||
/* 19069C 80261DBC 0C099DDF */ jal func_8026777C
|
||||
/* 1906A0 80261DC0 00000000 */ nop
|
||||
/* 1906A4 80261DC4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1906A8 80261DC8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1906AC 80261DCC 03E00008 */ jr $ra
|
||||
/* 1906B0 80261DD0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,12 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80261DD4
|
||||
/* 1906B4 80261DD4 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||
/* 1906B8 80261DD8 2463F290 */ addiu $v1, $v1, %lo(gPlayerData)
|
||||
/* 1906BC 80261DDC 80620000 */ lb $v0, ($v1)
|
||||
/* 1906C0 80261DE0 AC8200B0 */ sw $v0, 0xb0($a0)
|
||||
/* 1906C4 80261DE4 80620001 */ lb $v0, 1($v1)
|
||||
/* 1906C8 80261DE8 AC8200B4 */ sw $v0, 0xb4($a0)
|
||||
/* 1906CC 80261DEC 03E00008 */ jr $ra
|
||||
/* 1906D0 80261DF0 24020002 */ addiu $v0, $zero, 2
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel StartRumbleWithParams
|
||||
/* 19667C 80267D9C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 196680 80267DA0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 196684 80267DA4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 196688 80267DA8 AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 19668C 80267DAC AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 196690 80267DB0 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 196694 80267DB4 8E050000 */ lw $a1, ($s0)
|
||||
/* 196698 80267DB8 0C0B1EAF */ jal get_variable
|
||||
/* 19669C 80267DBC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1966A0 80267DC0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 1966A4 80267DC4 8E050000 */ lw $a1, ($s0)
|
||||
/* 1966A8 80267DC8 0C0B1EAF */ jal get_variable
|
||||
/* 1966AC 80267DCC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1966B0 80267DD0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 1966B4 80267DD4 0C00A3C2 */ jal start_rumble
|
||||
/* 1966B8 80267DD8 0040282D */ daddu $a1, $v0, $zero
|
||||
/* 1966BC 80267DDC 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1966C0 80267DE0 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1966C4 80267DE4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1966C8 80267DE8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1966CC 80267DEC 03E00008 */ jr $ra
|
||||
/* 1966D0 80267DF0 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 add_actor_decoration
|
||||
/* 195A70 80267190 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 195A74 80267194 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 195A78 80267198 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 195A7C 8026719C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 195A80 802671A0 AFB3001C */ sw $s3, 0x1c($sp)
|
||||
/* 195A84 802671A4 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 195A88 802671A8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 195A8C 802671AC 8C9001F4 */ lw $s0, 0x1f4($a0)
|
||||
/* 195A90 802671B0 12000012 */ beqz $s0, .L802671FC
|
||||
/* 195A94 802671B4 00C0982D */ daddu $s3, $a2, $zero
|
||||
/* 195A98 802671B8 3C110010 */ lui $s1, 0x10
|
||||
/* 195A9C 802671BC 36310001 */ ori $s1, $s1, 1
|
||||
.L802671C0:
|
||||
/* 195AA0 802671C0 8E030000 */ lw $v1, ($s0)
|
||||
/* 195AA4 802671C4 00711024 */ and $v0, $v1, $s1
|
||||
/* 195AA8 802671C8 14400009 */ bnez $v0, .L802671F0
|
||||
/* 195AAC 802671CC 00000000 */ nop
|
||||
/* 195AB0 802671D0 8E020094 */ lw $v0, 0x94($s0)
|
||||
/* 195AB4 802671D4 10400006 */ beqz $v0, .L802671F0
|
||||
/* 195AB8 802671D8 30620002 */ andi $v0, $v1, 2
|
||||
/* 195ABC 802671DC 14400004 */ bnez $v0, .L802671F0
|
||||
/* 195AC0 802671E0 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 195AC4 802671E4 0240282D */ daddu $a1, $s2, $zero
|
||||
/* 195AC8 802671E8 0C099C45 */ jal add_part_decoration
|
||||
/* 195ACC 802671EC 0260302D */ daddu $a2, $s3, $zero
|
||||
.L802671F0:
|
||||
/* 195AD0 802671F0 8E10000C */ lw $s0, 0xc($s0)
|
||||
/* 195AD4 802671F4 1600FFF2 */ bnez $s0, .L802671C0
|
||||
/* 195AD8 802671F8 00000000 */ nop
|
||||
.L802671FC:
|
||||
/* 195ADC 802671FC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 195AE0 80267200 8FB3001C */ lw $s3, 0x1c($sp)
|
||||
/* 195AE4 80267204 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 195AE8 80267208 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 195AEC 8026720C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 195AF0 80267210 03E00008 */ jr $ra
|
||||
/* 195AF4 80267214 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,37 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel create_part_shadow
|
||||
/* 195BFC 8026731C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 195C00 80267320 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 195C04 80267324 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 195C08 80267328 0C09A75B */ jal get_actor
|
||||
/* 195C0C 8026732C 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 195C10 80267330 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 195C14 80267334 0C099117 */ jal get_actor_part
|
||||
/* 195C18 80267338 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 195C1C 8026733C 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 195C20 80267340 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 195C24 80267344 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* 195C28 80267348 8E050058 */ lw $a1, 0x58($s0)
|
||||
/* 195C2C 8026734C 8E020000 */ lw $v0, ($s0)
|
||||
/* 195C30 80267350 8E06005C */ lw $a2, 0x5c($s0)
|
||||
/* 195C34 80267354 8E070060 */ lw $a3, 0x60($s0)
|
||||
/* 195C38 80267358 00431024 */ and $v0, $v0, $v1
|
||||
/* 195C3C 8026735C 0C044898 */ jal create_shadow_type
|
||||
/* 195C40 80267360 AE020000 */ sw $v0, ($s0)
|
||||
/* 195C44 80267364 AE02009C */ sw $v0, 0x9c($s0)
|
||||
/* 195C48 80267368 92020072 */ lbu $v0, 0x72($s0)
|
||||
/* 195C4C 8026736C 3C014038 */ lui $at, 0x4038
|
||||
/* 195C50 80267370 44811800 */ mtc1 $at, $f3
|
||||
/* 195C54 80267374 44801000 */ mtc1 $zero, $f2
|
||||
/* 195C58 80267378 44820000 */ mtc1 $v0, $f0
|
||||
/* 195C5C 8026737C 00000000 */ nop
|
||||
/* 195C60 80267380 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 195C64 80267384 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 195C68 80267388 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 195C6C 8026738C E60000A0 */ swc1 $f0, 0xa0($s0)
|
||||
/* 195C70 80267390 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 195C74 80267394 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 195C78 80267398 03E00008 */ jr $ra
|
||||
/* 195C7C 8026739C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,11 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel enemy_create_target_list
|
||||
/* 191928 80263048 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19192C 8026304C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 191930 80263050 0C098890 */ jal create_target_list
|
||||
/* 191934 80263054 24050001 */ addiu $a1, $zero, 1
|
||||
/* 191938 80263058 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 19193C 8026305C 03E00008 */ jr $ra
|
||||
/* 191940 80263060 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -7,8 +7,8 @@ glabel func_80263464
|
||||
/* 191D4C 8026346C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 191D50 80263470 1C40000D */ bgtz $v0, .L802634A8
|
||||
/* 191D54 80263474 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 191D58 80263478 3C02800E */ lui $v0, 0x800e
|
||||
/* 191D5C 8026347C 8C42C068 */ lw $v0, -0x3f98($v0)
|
||||
/* 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
|
||||
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802673E4
|
||||
/* 195CC4 802673E4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 195CC8 802673E8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 195CCC 802673EC 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 195CD0 802673F0 2403FFFB */ addiu $v1, $zero, -5
|
||||
/* 195CD4 802673F4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 195CD8 802673F8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 195CDC 802673FC 8E020000 */ lw $v0, ($s0)
|
||||
/* 195CE0 80267400 8E050058 */ lw $a1, 0x58($s0)
|
||||
/* 195CE4 80267404 8E06005C */ lw $a2, 0x5c($s0)
|
||||
/* 195CE8 80267408 8E070060 */ lw $a3, 0x60($s0)
|
||||
/* 195CEC 8026740C 00431024 */ and $v0, $v0, $v1
|
||||
/* 195CF0 80267410 0C044898 */ jal create_shadow_type
|
||||
/* 195CF4 80267414 AE020000 */ sw $v0, ($s0)
|
||||
/* 195CF8 80267418 AE02009C */ sw $v0, 0x9c($s0)
|
||||
/* 195CFC 8026741C 92020072 */ lbu $v0, 0x72($s0)
|
||||
/* 195D00 80267420 3C014038 */ lui $at, 0x4038
|
||||
/* 195D04 80267424 44811800 */ mtc1 $at, $f3
|
||||
/* 195D08 80267428 44801000 */ mtc1 $zero, $f2
|
||||
/* 195D0C 8026742C 44820000 */ mtc1 $v0, $f0
|
||||
/* 195D10 80267430 00000000 */ nop
|
||||
/* 195D14 80267434 46800021 */ cvt.d.w $f0, $f0
|
||||
/* 195D18 80267438 46220003 */ div.d $f0, $f0, $f2
|
||||
/* 195D1C 8026743C 46200020 */ cvt.s.d $f0, $f0
|
||||
/* 195D20 80267440 E60000A0 */ swc1 $f0, 0xa0($s0)
|
||||
/* 195D24 80267444 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 195D28 80267448 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 195D2C 8026744C 03E00008 */ jr $ra
|
||||
/* 195D30 80267450 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel get_actor_part
|
||||
/* 192D3C 8026445C 04A00004 */ bltz $a1, .L80264470
|
||||
/* 192D40 80264460 8C8301F4 */ lw $v1, 0x1f4($a0)
|
||||
/* 192D44 80264464 8C62000C */ lw $v0, 0xc($v1)
|
||||
/* 192D48 80264468 14400003 */ bnez $v0, .L80264478
|
||||
/* 192D4C 8026446C 00000000 */ nop
|
||||
.L80264470:
|
||||
/* 192D50 80264470 03E00008 */ jr $ra
|
||||
/* 192D54 80264474 0060102D */ daddu $v0, $v1, $zero
|
||||
.L80264478:
|
||||
/* 192D58 80264478 10600008 */ beqz $v1, .L8026449C
|
||||
/* 192D5C 8026447C 00000000 */ nop
|
||||
.L80264480:
|
||||
/* 192D60 80264480 8C620008 */ lw $v0, 8($v1)
|
||||
/* 192D64 80264484 80420004 */ lb $v0, 4($v0)
|
||||
/* 192D68 80264488 1045FFF9 */ beq $v0, $a1, .L80264470
|
||||
/* 192D6C 8026448C 00000000 */ nop
|
||||
/* 192D70 80264490 8C63000C */ lw $v1, 0xc($v1)
|
||||
/* 192D74 80264494 1460FFFA */ bnez $v1, .L80264480
|
||||
/* 192D78 80264498 00000000 */ nop
|
||||
.L8026449C:
|
||||
/* 192D7C 8026449C 03E00008 */ jr $ra
|
||||
/* 192D80 802644A0 0000102D */ daddu $v0, $zero, $zero
|
@ -1,155 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel get_defense
|
||||
/* 194B9C 802662BC 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 194BA0 802662C0 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 194BA4 802662C4 00A0882D */ daddu $s1, $a1, $zero
|
||||
/* 194BA8 802662C8 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 194BAC 802662CC 00C0902D */ daddu $s2, $a2, $zero
|
||||
/* 194BB0 802662D0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 194BB4 802662D4 241000FF */ addiu $s0, $zero, 0xff
|
||||
/* 194BB8 802662D8 12200065 */ beqz $s1, .L80266470
|
||||
/* 194BBC 802662DC AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 194BC0 802662E0 32420002 */ andi $v0, $s2, 2
|
||||
/* 194BC4 802662E4 10400007 */ beqz $v0, .L80266304
|
||||
/* 194BC8 802662E8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194BCC 802662EC 0C099791 */ jal lookup_defense
|
||||
/* 194BD0 802662F0 24050002 */ addiu $a1, $zero, 2
|
||||
/* 194BD4 802662F4 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194BD8 802662F8 0070102A */ slt $v0, $v1, $s0
|
||||
/* 194BDC 802662FC 54400001 */ bnel $v0, $zero, .L80266304
|
||||
/* 194BE0 80266300 0060802D */ daddu $s0, $v1, $zero
|
||||
.L80266304:
|
||||
/* 194BE4 80266304 32420004 */ andi $v0, $s2, 4
|
||||
/* 194BE8 80266308 10400007 */ beqz $v0, .L80266328
|
||||
/* 194BEC 8026630C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194BF0 80266310 0C099791 */ jal lookup_defense
|
||||
/* 194BF4 80266314 24050003 */ addiu $a1, $zero, 3
|
||||
/* 194BF8 80266318 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194BFC 8026631C 0070102A */ slt $v0, $v1, $s0
|
||||
/* 194C00 80266320 54400001 */ bnel $v0, $zero, .L80266328
|
||||
/* 194C04 80266324 0060802D */ daddu $s0, $v1, $zero
|
||||
.L80266328:
|
||||
/* 194C08 80266328 32420008 */ andi $v0, $s2, 8
|
||||
/* 194C0C 8026632C 10400007 */ beqz $v0, .L8026634C
|
||||
/* 194C10 80266330 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194C14 80266334 0C099791 */ jal lookup_defense
|
||||
/* 194C18 80266338 24050004 */ addiu $a1, $zero, 4
|
||||
/* 194C1C 8026633C 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194C20 80266340 0070102A */ slt $v0, $v1, $s0
|
||||
/* 194C24 80266344 54400001 */ bnel $v0, $zero, .L8026634C
|
||||
/* 194C28 80266348 0060802D */ daddu $s0, $v1, $zero
|
||||
.L8026634C:
|
||||
/* 194C2C 8026634C 32420010 */ andi $v0, $s2, 0x10
|
||||
/* 194C30 80266350 10400007 */ beqz $v0, .L80266370
|
||||
/* 194C34 80266354 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194C38 80266358 0C099791 */ jal lookup_defense
|
||||
/* 194C3C 8026635C 24050007 */ addiu $a1, $zero, 7
|
||||
/* 194C40 80266360 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194C44 80266364 0070102A */ slt $v0, $v1, $s0
|
||||
/* 194C48 80266368 54400001 */ bnel $v0, $zero, .L80266370
|
||||
/* 194C4C 8026636C 0060802D */ daddu $s0, $v1, $zero
|
||||
.L80266370:
|
||||
/* 194C50 80266370 32420040 */ andi $v0, $s2, 0x40
|
||||
/* 194C54 80266374 10400007 */ beqz $v0, .L80266394
|
||||
/* 194C58 80266378 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194C5C 8026637C 0C099791 */ jal lookup_defense
|
||||
/* 194C60 80266380 24050008 */ addiu $a1, $zero, 8
|
||||
/* 194C64 80266384 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194C68 80266388 0070102A */ slt $v0, $v1, $s0
|
||||
/* 194C6C 8026638C 54400001 */ bnel $v0, $zero, .L80266394
|
||||
/* 194C70 80266390 0060802D */ daddu $s0, $v1, $zero
|
||||
.L80266394:
|
||||
/* 194C74 80266394 32420080 */ andi $v0, $s2, 0x80
|
||||
/* 194C78 80266398 10400007 */ beqz $v0, .L802663B8
|
||||
/* 194C7C 8026639C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194C80 802663A0 0C099791 */ jal lookup_defense
|
||||
/* 194C84 802663A4 24050009 */ addiu $a1, $zero, 9
|
||||
/* 194C88 802663A8 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194C8C 802663AC 0070102A */ slt $v0, $v1, $s0
|
||||
/* 194C90 802663B0 54400001 */ bnel $v0, $zero, .L802663B8
|
||||
/* 194C94 802663B4 0060802D */ daddu $s0, $v1, $zero
|
||||
.L802663B8:
|
||||
/* 194C98 802663B8 32420100 */ andi $v0, $s2, 0x100
|
||||
/* 194C9C 802663BC 10400007 */ beqz $v0, .L802663DC
|
||||
/* 194CA0 802663C0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194CA4 802663C4 0C099791 */ jal lookup_defense
|
||||
/* 194CA8 802663C8 2405000A */ addiu $a1, $zero, 0xa
|
||||
/* 194CAC 802663CC 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194CB0 802663D0 0070102A */ slt $v0, $v1, $s0
|
||||
/* 194CB4 802663D4 54400001 */ bnel $v0, $zero, .L802663DC
|
||||
/* 194CB8 802663D8 0060802D */ daddu $s0, $v1, $zero
|
||||
.L802663DC:
|
||||
/* 194CBC 802663DC 32420200 */ andi $v0, $s2, 0x200
|
||||
/* 194CC0 802663E0 10400007 */ beqz $v0, .L80266400
|
||||
/* 194CC4 802663E4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194CC8 802663E8 0C099791 */ jal lookup_defense
|
||||
/* 194CCC 802663EC 2405000B */ addiu $a1, $zero, 0xb
|
||||
/* 194CD0 802663F0 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194CD4 802663F4 0070102A */ slt $v0, $v1, $s0
|
||||
/* 194CD8 802663F8 54400001 */ bnel $v0, $zero, .L80266400
|
||||
/* 194CDC 802663FC 0060802D */ daddu $s0, $v1, $zero
|
||||
.L80266400:
|
||||
/* 194CE0 80266400 32420020 */ andi $v0, $s2, 0x20
|
||||
/* 194CE4 80266404 10400007 */ beqz $v0, .L80266424
|
||||
/* 194CE8 80266408 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194CEC 8026640C 0C099791 */ jal lookup_defense
|
||||
/* 194CF0 80266410 2405000C */ addiu $a1, $zero, 0xc
|
||||
/* 194CF4 80266414 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194CF8 80266418 0070102A */ slt $v0, $v1, $s0
|
||||
/* 194CFC 8026641C 54400001 */ bnel $v0, $zero, .L80266424
|
||||
/* 194D00 80266420 0060802D */ daddu $s0, $v1, $zero
|
||||
.L80266424:
|
||||
/* 194D04 80266424 32420800 */ andi $v0, $s2, 0x800
|
||||
/* 194D08 80266428 10400007 */ beqz $v0, .L80266448
|
||||
/* 194D0C 8026642C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194D10 80266430 0C099791 */ jal lookup_defense
|
||||
/* 194D14 80266434 2405000D */ addiu $a1, $zero, 0xd
|
||||
/* 194D18 80266438 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194D1C 8026643C 0070102A */ slt $v0, $v1, $s0
|
||||
/* 194D20 80266440 54400001 */ bnel $v0, $zero, .L80266448
|
||||
/* 194D24 80266444 0060802D */ daddu $s0, $v1, $zero
|
||||
.L80266448:
|
||||
/* 194D28 80266448 3C020004 */ lui $v0, 4
|
||||
/* 194D2C 8026644C 02421024 */ and $v0, $s2, $v0
|
||||
/* 194D30 80266450 10400007 */ beqz $v0, .L80266470
|
||||
/* 194D34 80266454 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194D38 80266458 0C099791 */ jal lookup_defense
|
||||
/* 194D3C 8026645C 2405000F */ addiu $a1, $zero, 0xf
|
||||
/* 194D40 80266460 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194D44 80266464 0070102A */ slt $v0, $v1, $s0
|
||||
/* 194D48 80266468 54400001 */ bnel $v0, $zero, .L80266470
|
||||
/* 194D4C 8026646C 0060802D */ daddu $s0, $v1, $zero
|
||||
.L80266470:
|
||||
/* 194D50 80266470 240200FF */ addiu $v0, $zero, 0xff
|
||||
/* 194D54 80266474 16020009 */ bne $s0, $v0, .L8026649C
|
||||
/* 194D58 80266478 3C020800 */ lui $v0, 0x800
|
||||
/* 194D5C 8026647C 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 194D60 80266480 0C099791 */ jal lookup_defense
|
||||
/* 194D64 80266484 24050001 */ addiu $a1, $zero, 1
|
||||
/* 194D68 80266488 0040182D */ daddu $v1, $v0, $zero
|
||||
/* 194D6C 8026648C 286200FF */ slti $v0, $v1, 0xff
|
||||
/* 194D70 80266490 54400001 */ bnel $v0, $zero, .L80266498
|
||||
/* 194D74 80266494 0060802D */ daddu $s0, $v1, $zero
|
||||
.L80266498:
|
||||
/* 194D78 80266498 3C020800 */ lui $v0, 0x800
|
||||
.L8026649C:
|
||||
/* 194D7C 8026649C 02421024 */ and $v0, $s2, $v0
|
||||
/* 194D80 802664A0 10400007 */ beqz $v0, .L802664C0
|
||||
/* 194D84 802664A4 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 194D88 802664A8 16020003 */ bne $s0, $v0, .L802664B8
|
||||
/* 194D8C 802664AC 00000000 */ nop
|
||||
/* 194D90 802664B0 08099930 */ j .L802664C0
|
||||
/* 194D94 802664B4 241003E7 */ addiu $s0, $zero, 0x3e7
|
||||
.L802664B8:
|
||||
/* 194D98 802664B8 5E000001 */ bgtzl $s0, .L802664C0
|
||||
/* 194D9C 802664BC 0000802D */ daddu $s0, $zero, $zero
|
||||
.L802664C0:
|
||||
/* 194DA0 802664C0 0200102D */ daddu $v0, $s0, $zero
|
||||
/* 194DA4 802664C4 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 194DA8 802664C8 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 194DAC 802664CC 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 194DB0 802664D0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 194DB4 802664D4 03E00008 */ jr $ra
|
||||
/* 194DB8 802664D8 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,34 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel heroes_is_ability_active
|
||||
/* 195B8C 802672AC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 195B90 802672B0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 195B94 802672B4 94820192 */ lhu $v0, 0x192($a0)
|
||||
/* 195B98 802672B8 30430700 */ andi $v1, $v0, 0x700
|
||||
/* 195B9C 802672BC 24020100 */ addiu $v0, $zero, 0x100
|
||||
/* 195BA0 802672C0 1062000F */ beq $v1, $v0, .L80267300
|
||||
/* 195BA4 802672C4 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 195BA8 802672C8 28620101 */ slti $v0, $v1, 0x101
|
||||
/* 195BAC 802672CC 1040000F */ beqz $v0, .L8026730C
|
||||
/* 195BB0 802672D0 00000000 */ nop
|
||||
/* 195BB4 802672D4 1460000D */ bnez $v1, .L8026730C
|
||||
/* 195BB8 802672D8 00000000 */ nop
|
||||
/* 195BBC 802672DC 3C02800E */ lui $v0, 0x800e
|
||||
/* 195BC0 802672E0 8C42C074 */ lw $v0, -0x3f8c($v0)
|
||||
/* 195BC4 802672E4 30420040 */ andi $v0, $v0, 0x40
|
||||
/* 195BC8 802672E8 14400008 */ bnez $v0, .L8026730C
|
||||
/* 195BCC 802672EC 00000000 */ nop
|
||||
/* 195BD0 802672F0 0C03A752 */ jal is_ability_active
|
||||
/* 195BD4 802672F4 00A0202D */ daddu $a0, $a1, $zero
|
||||
/* 195BD8 802672F8 08099CC3 */ j .L8026730C
|
||||
/* 195BDC 802672FC 0040202D */ daddu $a0, $v0, $zero
|
||||
.L80267300:
|
||||
/* 195BE0 80267300 0C03A82E */ jal is_partner_ability_active
|
||||
/* 195BE4 80267304 00A0202D */ daddu $a0, $a1, $zero
|
||||
/* 195BE8 80267308 0040202D */ daddu $a0, $v0, $zero
|
||||
.L8026730C:
|
||||
/* 195BEC 8026730C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 195BF0 80267310 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 195BF4 80267314 03E00008 */ jr $ra
|
||||
/* 195BF8 80267318 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 hide_foreground_models
|
||||
/* 196594 80267CB4 3C02800E */ lui $v0, 0x800e
|
||||
/* 196598 80267CB8 8C42C4A8 */ lw $v0, -0x3b58($v0)
|
||||
/* 19659C 80267CBC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1965A0 80267CC0 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 1965A4 80267CC4 10400014 */ beqz $v0, .L80267D18
|
||||
/* 1965A8 80267CC8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1965AC 80267CCC 8C420018 */ lw $v0, 0x18($v0)
|
||||
/* 1965B0 80267CD0 10400011 */ beqz $v0, .L80267D18
|
||||
/* 1965B4 80267CD4 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 1965B8 80267CD8 8E020000 */ lw $v0, ($s0)
|
||||
/* 1965BC 80267CDC 1040000E */ beqz $v0, .L80267D18
|
||||
/* 1965C0 80267CE0 00000000 */ nop
|
||||
.L80267CE4:
|
||||
/* 1965C4 80267CE4 8E040000 */ lw $a0, ($s0)
|
||||
/* 1965C8 80267CE8 0480000B */ bltz $a0, .L80267D18
|
||||
/* 1965CC 80267CEC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1965D0 80267CF0 0C046C04 */ jal get_model_list_index_from_tree_index
|
||||
/* 1965D4 80267CF4 00000000 */ nop
|
||||
/* 1965D8 80267CF8 0C046B4C */ jal get_model_from_list_index
|
||||
/* 1965DC 80267CFC 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 1965E0 80267D00 94430000 */ lhu $v1, ($v0)
|
||||
/* 1965E4 80267D04 34630002 */ ori $v1, $v1, 2
|
||||
/* 1965E8 80267D08 A4430000 */ sh $v1, ($v0)
|
||||
/* 1965EC 80267D0C 8E020000 */ lw $v0, ($s0)
|
||||
/* 1965F0 80267D10 1440FFF4 */ bnez $v0, .L80267CE4
|
||||
/* 1965F4 80267D14 00000000 */ nop
|
||||
.L80267D18:
|
||||
/* 1965F8 80267D18 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 1965FC 80267D1C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 196600 80267D20 03E00008 */ jr $ra
|
||||
/* 196604 80267D24 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel hide_foreground_models_unchecked
|
||||
/* 1964BC 80267BDC 3C02800E */ lui $v0, 0x800e
|
||||
/* 1964C0 80267BE0 8C42C4A8 */ lw $v0, -0x3b58($v0)
|
||||
/* 1964C4 80267BE4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1964C8 80267BE8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 1964CC 80267BEC 10400012 */ beqz $v0, .L80267C38
|
||||
/* 1964D0 80267BF0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 1964D4 80267BF4 8C420018 */ lw $v0, 0x18($v0)
|
||||
/* 1964D8 80267BF8 1040000F */ beqz $v0, .L80267C38
|
||||
/* 1964DC 80267BFC 0040802D */ daddu $s0, $v0, $zero
|
||||
.L80267C00:
|
||||
/* 1964E0 80267C00 8E020000 */ lw $v0, ($s0)
|
||||
/* 1964E4 80267C04 1040000C */ beqz $v0, .L80267C38
|
||||
/* 1964E8 80267C08 00000000 */ nop
|
||||
/* 1964EC 80267C0C 8E040000 */ lw $a0, ($s0)
|
||||
/* 1964F0 80267C10 0480FFFB */ bltz $a0, .L80267C00
|
||||
/* 1964F4 80267C14 26100004 */ addiu $s0, $s0, 4
|
||||
/* 1964F8 80267C18 0C046C04 */ jal get_model_list_index_from_tree_index
|
||||
/* 1964FC 80267C1C 00000000 */ nop
|
||||
/* 196500 80267C20 0C046B4C */ jal get_model_from_list_index
|
||||
/* 196504 80267C24 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 196508 80267C28 94430000 */ lhu $v1, ($v0)
|
||||
/* 19650C 80267C2C 34630002 */ ori $v1, $v1, 2
|
||||
/* 196510 80267C30 08099F00 */ j .L80267C00
|
||||
/* 196514 80267C34 A4430000 */ sh $v1, ($v0)
|
||||
.L80267C38:
|
||||
/* 196518 80267C38 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 19651C 80267C3C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 196520 80267C40 03E00008 */ jr $ra
|
||||
/* 196524 80267C44 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,32 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel inflict_partner_ko
|
||||
/* 194B34 80266254 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 194B38 80266258 2402000D */ addiu $v0, $zero, 0xd
|
||||
/* 194B3C 8026625C 14A20013 */ bne $a1, $v0, .L802662AC
|
||||
/* 194B40 80266260 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 194B44 80266264 80820216 */ lb $v0, 0x216($a0)
|
||||
/* 194B48 80266268 10450007 */ beq $v0, $a1, .L80266288
|
||||
/* 194B4C 8026626C 00000000 */ nop
|
||||
/* 194B50 80266270 0C0997D0 */ jal inflict_status
|
||||
/* 194B54 80266274 2405000D */ addiu $a1, $zero, 0xd
|
||||
/* 194B58 80266278 0C05272D */ jal play_sound
|
||||
/* 194B5C 8026627C 24042107 */ addiu $a0, $zero, 0x2107
|
||||
/* 194B60 80266280 080998AB */ j .L802662AC
|
||||
/* 194B64 80266284 00000000 */ nop
|
||||
.L80266288:
|
||||
/* 194B68 80266288 90820217 */ lbu $v0, 0x217($a0)
|
||||
/* 194B6C 8026628C 00461021 */ addu $v0, $v0, $a2
|
||||
/* 194B70 80266290 A0820217 */ sb $v0, 0x217($a0)
|
||||
/* 194B74 80266294 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 194B78 80266298 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 194B7C 8026629C 2842000A */ slti $v0, $v0, 0xa
|
||||
/* 194B80 802662A0 14400002 */ bnez $v0, .L802662AC
|
||||
/* 194B84 802662A4 24020009 */ addiu $v0, $zero, 9
|
||||
/* 194B88 802662A8 A0820217 */ sb $v0, 0x217($a0)
|
||||
.L802662AC:
|
||||
/* 194B8C 802662AC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 194B90 802662B0 24020001 */ addiu $v0, $zero, 1
|
||||
/* 194B94 802662B4 03E00008 */ jr $ra
|
||||
/* 194B98 802662B8 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,11 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel player_create_target_list
|
||||
/* 19190C 8026302C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 191910 80263030 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 191914 80263034 0C098890 */ jal create_target_list
|
||||
/* 191918 80263038 0000282D */ daddu $a1, $zero, $zero
|
||||
/* 19191C 8026303C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 191920 80263040 03E00008 */ jr $ra
|
||||
/* 191924 80263044 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,37 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel remove_actor_decoration
|
||||
/* 195B14 80267234 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 195B18 80267238 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 195B1C 8026723C AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 195B20 80267240 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 195B24 80267244 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 195B28 80267248 8C9001F4 */ lw $s0, 0x1f4($a0)
|
||||
/* 195B2C 8026724C 12000011 */ beqz $s0, .L80267294
|
||||
/* 195B30 80267250 00A0902D */ daddu $s2, $a1, $zero
|
||||
/* 195B34 80267254 3C110010 */ lui $s1, 0x10
|
||||
/* 195B38 80267258 36310001 */ ori $s1, $s1, 1
|
||||
.L8026725C:
|
||||
/* 195B3C 8026725C 8E030000 */ lw $v1, ($s0)
|
||||
/* 195B40 80267260 00711024 */ and $v0, $v1, $s1
|
||||
/* 195B44 80267264 14400008 */ bnez $v0, .L80267288
|
||||
/* 195B48 80267268 00000000 */ nop
|
||||
/* 195B4C 8026726C 8E020094 */ lw $v0, 0x94($s0)
|
||||
/* 195B50 80267270 10400005 */ beqz $v0, .L80267288
|
||||
/* 195B54 80267274 30620002 */ andi $v0, $v1, 2
|
||||
/* 195B58 80267278 14400003 */ bnez $v0, .L80267288
|
||||
/* 195B5C 8026727C 0200202D */ daddu $a0, $s0, $zero
|
||||
/* 195B60 80267280 0C099C86 */ jal remove_part_decoration
|
||||
/* 195B64 80267284 0240282D */ daddu $a1, $s2, $zero
|
||||
.L80267288:
|
||||
/* 195B68 80267288 8E10000C */ lw $s0, 0xc($s0)
|
||||
/* 195B6C 8026728C 1600FFF3 */ bnez $s0, .L8026725C
|
||||
/* 195B70 80267290 00000000 */ nop
|
||||
.L80267294:
|
||||
/* 195B74 80267294 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 195B78 80267298 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 195B7C 8026729C 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 195B80 802672A0 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 195B84 802672A4 03E00008 */ jr $ra
|
||||
/* 195B88 802672A8 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,11 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel remove_part_decoration
|
||||
/* 195AF8 80267218 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 195AFC 8026721C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 195B00 80267220 0C09740F */ jal _remove_part_decoration
|
||||
/* 195B04 80267224 00000000 */ nop
|
||||
/* 195B08 80267228 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 195B0C 8026722C 03E00008 */ jr $ra
|
||||
/* 195B10 80267230 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,21 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel remove_part_shadow
|
||||
/* 195C80 802673A0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 195C84 802673A4 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 195C88 802673A8 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 195C8C 802673AC 0C09A75B */ jal get_actor
|
||||
/* 195C90 802673B0 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 195C94 802673B4 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 195C98 802673B8 0C099117 */ jal get_actor_part
|
||||
/* 195C9C 802673BC 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 195CA0 802673C0 8C430000 */ lw $v1, ($v0)
|
||||
/* 195CA4 802673C4 8C44009C */ lw $a0, 0x9c($v0)
|
||||
/* 195CA8 802673C8 34630004 */ ori $v1, $v1, 4
|
||||
/* 195CAC 802673CC 0C0448CA */ jal func_80112328
|
||||
/* 195CB0 802673D0 AC430000 */ sw $v1, ($v0)
|
||||
/* 195CB4 802673D4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 195CB8 802673D8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 195CBC 802673DC 03E00008 */ jr $ra
|
||||
/* 195CC0 802673E0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,217 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel remove_player_buffs
|
||||
/* 195D34 80267454 27BDFFB8 */ addiu $sp, $sp, -0x48
|
||||
/* 195D38 80267458 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 195D3C 8026745C 0080982D */ daddu $s3, $a0, $zero
|
||||
/* 195D40 80267460 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 195D44 80267464 3C12800E */ lui $s2, %hi(gBattleStatus)
|
||||
/* 195D48 80267468 2652C070 */ addiu $s2, $s2, %lo(gBattleStatus)
|
||||
/* 195D4C 8026746C 32620001 */ andi $v0, $s3, 1
|
||||
/* 195D50 80267470 AFBF002C */ sw $ra, 0x2c($sp)
|
||||
/* 195D54 80267474 AFB40028 */ sw $s4, 0x28($sp)
|
||||
/* 195D58 80267478 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 195D5C 8026747C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 195D60 80267480 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 195D64 80267484 F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 195D68 80267488 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 195D6C 8026748C 8E5100D8 */ lw $s1, 0xd8($s2)
|
||||
/* 195D70 80267490 8E5400DC */ lw $s4, 0xdc($s2)
|
||||
/* 195D74 80267494 8E3001F4 */ lw $s0, 0x1f4($s1)
|
||||
/* 195D78 80267498 10400006 */ beqz $v0, .L802674B4
|
||||
/* 195D7C 8026749C 3C03DFFF */ lui $v1, 0xdfff
|
||||
/* 195D80 802674A0 8E420000 */ lw $v0, ($s2)
|
||||
/* 195D84 802674A4 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 195D88 802674A8 A2400097 */ sb $zero, 0x97($s2)
|
||||
/* 195D8C 802674AC 00431024 */ and $v0, $v0, $v1
|
||||
/* 195D90 802674B0 AE420000 */ sw $v0, ($s2)
|
||||
.L802674B4:
|
||||
/* 195D94 802674B4 32620002 */ andi $v0, $s3, 2
|
||||
/* 195D98 802674B8 10400006 */ beqz $v0, .L802674D4
|
||||
/* 195D9C 802674BC 3C03EFFF */ lui $v1, 0xefff
|
||||
/* 195DA0 802674C0 8E420000 */ lw $v0, ($s2)
|
||||
/* 195DA4 802674C4 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 195DA8 802674C8 A2400096 */ sb $zero, 0x96($s2)
|
||||
/* 195DAC 802674CC 00431024 */ and $v0, $v0, $v1
|
||||
/* 195DB0 802674D0 AE420000 */ sw $v0, ($s2)
|
||||
.L802674D4:
|
||||
/* 195DB4 802674D4 32620008 */ andi $v0, $s3, 8
|
||||
/* 195DB8 802674D8 10400003 */ beqz $v0, .L802674E8
|
||||
/* 195DBC 802674DC 32620010 */ andi $v0, $s3, 0x10
|
||||
/* 195DC0 802674E0 A2200215 */ sb $zero, 0x215($s1)
|
||||
/* 195DC4 802674E4 A2200214 */ sb $zero, 0x214($s1)
|
||||
.L802674E8:
|
||||
/* 195DC8 802674E8 10400006 */ beqz $v0, .L80267504
|
||||
/* 195DCC 802674EC 3C03FBFF */ lui $v1, 0xfbff
|
||||
/* 195DD0 802674F0 8E420000 */ lw $v0, ($s2)
|
||||
/* 195DD4 802674F4 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 195DD8 802674F8 A240008B */ sb $zero, 0x8b($s2)
|
||||
/* 195DDC 802674FC 00431024 */ and $v0, $v0, $v1
|
||||
/* 195DE0 80267500 AE420000 */ sw $v0, ($s2)
|
||||
.L80267504:
|
||||
/* 195DE4 80267504 32620020 */ andi $v0, $s3, 0x20
|
||||
/* 195DE8 80267508 10400009 */ beqz $v0, .L80267530
|
||||
/* 195DEC 8026750C 32620040 */ andi $v0, $s3, 0x40
|
||||
/* 195DF0 80267510 82220212 */ lb $v0, 0x212($s1)
|
||||
/* 195DF4 80267514 10400006 */ beqz $v0, .L80267530
|
||||
/* 195DF8 80267518 32620040 */ andi $v0, $s3, 0x40
|
||||
/* 195DFC 8026751C 86240436 */ lh $a0, 0x436($s1)
|
||||
/* 195E00 80267520 A2200213 */ sb $zero, 0x213($s1)
|
||||
/* 195E04 80267524 0C011E68 */ jal func_800479A0
|
||||
/* 195E08 80267528 A2200212 */ sb $zero, 0x212($s1)
|
||||
/* 195E0C 8026752C 32620040 */ andi $v0, $s3, 0x40
|
||||
.L80267530:
|
||||
/* 195E10 80267530 1040000C */ beqz $v0, .L80267564
|
||||
/* 195E14 80267534 32620200 */ andi $v0, $s3, 0x200
|
||||
/* 195E18 80267538 82220218 */ lb $v0, 0x218($s1)
|
||||
/* 195E1C 8026753C 10400008 */ beqz $v0, .L80267560
|
||||
/* 195E20 80267540 2403FEFF */ addiu $v1, $zero, -0x101
|
||||
/* 195E24 80267544 A2200219 */ sb $zero, 0x219($s1)
|
||||
/* 195E28 80267548 A2200218 */ sb $zero, 0x218($s1)
|
||||
/* 195E2C 8026754C 8E020000 */ lw $v0, ($s0)
|
||||
/* 195E30 80267550 00431024 */ and $v0, $v0, $v1
|
||||
/* 195E34 80267554 AE020000 */ sw $v0, ($s0)
|
||||
/* 195E38 80267558 0C011EAA */ jal func_80047AA8
|
||||
/* 195E3C 8026755C 86240436 */ lh $a0, 0x436($s1)
|
||||
.L80267560:
|
||||
/* 195E40 80267560 32620200 */ andi $v0, $s3, 0x200
|
||||
.L80267564:
|
||||
/* 195E44 80267564 10400058 */ beqz $v0, .L802676C8
|
||||
/* 195E48 80267568 32620100 */ andi $v0, $s3, 0x100
|
||||
/* 195E4C 8026756C 8242009D */ lb $v0, 0x9d($s2)
|
||||
/* 195E50 80267570 10400055 */ beqz $v0, .L802676C8
|
||||
/* 195E54 80267574 32620100 */ andi $v0, $s3, 0x100
|
||||
/* 195E58 80267578 8E42043C */ lw $v0, 0x43c($s2)
|
||||
/* 195E5C 8026757C 3C013FC0 */ lui $at, 0x3fc0
|
||||
/* 195E60 80267580 44811000 */ mtc1 $at, $f2
|
||||
/* 195E64 80267584 A240009D */ sb $zero, 0x9d($s2)
|
||||
/* 195E68 80267588 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* 195E6C 8026758C A4400010 */ sh $zero, 0x10($v0)
|
||||
/* 195E70 80267590 8E4300A0 */ lw $v1, 0xa0($s2)
|
||||
/* 195E74 80267594 3C014190 */ lui $at, 0x4190
|
||||
/* 195E78 80267598 44810000 */ mtc1 $at, $f0
|
||||
/* 195E7C 8026759C 8C620000 */ lw $v0, ($v1)
|
||||
/* 195E80 802675A0 3C0140A0 */ lui $at, 0x40a0
|
||||
/* 195E84 802675A4 4481A000 */ mtc1 $at, $f20
|
||||
/* 195E88 802675A8 34420010 */ ori $v0, $v0, 0x10
|
||||
/* 195E8C 802675AC AC620000 */ sw $v0, ($v1)
|
||||
/* 195E90 802675B0 2402000A */ addiu $v0, $zero, 0xa
|
||||
/* 195E94 802675B4 C6240148 */ lwc1 $f4, 0x148($s1)
|
||||
/* 195E98 802675B8 C626014C */ lwc1 $f6, 0x14c($s1)
|
||||
/* 195E9C 802675BC 46002100 */ add.s $f4, $f4, $f0
|
||||
/* 195EA0 802675C0 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 195EA4 802675C4 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 195EA8 802675C8 46143180 */ add.s $f6, $f6, $f20
|
||||
/* 195EAC 802675CC 8E250144 */ lw $a1, 0x144($s1)
|
||||
/* 195EB0 802675D0 44062000 */ mfc1 $a2, $f4
|
||||
/* 195EB4 802675D4 44073000 */ mfc1 $a3, $f6
|
||||
/* 195EB8 802675D8 0C01C694 */ jal func_80071A50
|
||||
/* 195EBC 802675DC 24040001 */ addiu $a0, $zero, 1
|
||||
/* 195EC0 802675E0 C6220144 */ lwc1 $f2, 0x144($s1)
|
||||
/* 195EC4 802675E4 3C014120 */ lui $at, 0x4120
|
||||
/* 195EC8 802675E8 44810000 */ mtc1 $at, $f0
|
||||
/* 195ECC 802675EC 00000000 */ nop
|
||||
/* 195ED0 802675F0 46001081 */ sub.s $f2, $f2, $f0
|
||||
/* 195ED4 802675F4 C6200148 */ lwc1 $f0, 0x148($s1)
|
||||
/* 195ED8 802675F8 46140000 */ add.s $f0, $f0, $f20
|
||||
/* 195EDC 802675FC 44060000 */ mfc1 $a2, $f0
|
||||
/* 195EE0 80267600 C620014C */ lwc1 $f0, 0x14c($s1)
|
||||
/* 195EE4 80267604 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 195EE8 80267608 46140000 */ add.s $f0, $f0, $f20
|
||||
/* 195EEC 8026760C 3C013F80 */ lui $at, 0x3f80
|
||||
/* 195EF0 80267610 4481B000 */ mtc1 $at, $f22
|
||||
/* 195EF4 80267614 44051000 */ mfc1 $a1, $f2
|
||||
/* 195EF8 80267618 44070000 */ mfc1 $a3, $f0
|
||||
/* 195EFC 8026761C 24100018 */ addiu $s0, $zero, 0x18
|
||||
/* 195F00 80267620 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 195F04 80267624 0C01C70C */ jal func_80071C30
|
||||
/* 195F08 80267628 AFB00014 */ sw $s0, 0x14($sp)
|
||||
/* 195F0C 8026762C C6200144 */ lwc1 $f0, 0x144($s1)
|
||||
/* 195F10 80267630 3C014170 */ lui $at, 0x4170
|
||||
/* 195F14 80267634 4481C000 */ mtc1 $at, $f24
|
||||
/* 195F18 80267638 00000000 */ nop
|
||||
/* 195F1C 8026763C 46180001 */ sub.s $f0, $f0, $f24
|
||||
/* 195F20 80267640 C6220148 */ lwc1 $f2, 0x148($s1)
|
||||
/* 195F24 80267644 44050000 */ mfc1 $a1, $f0
|
||||
/* 195F28 80267648 3C014200 */ lui $at, 0x4200
|
||||
/* 195F2C 8026764C 44810000 */ mtc1 $at, $f0
|
||||
/* 195F30 80267650 00000000 */ nop
|
||||
/* 195F34 80267654 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 195F38 80267658 C620014C */ lwc1 $f0, 0x14c($s1)
|
||||
/* 195F3C 8026765C 46140000 */ add.s $f0, $f0, $f20
|
||||
/* 195F40 80267660 44061000 */ mfc1 $a2, $f2
|
||||
/* 195F44 80267664 44070000 */ mfc1 $a3, $f0
|
||||
/* 195F48 80267668 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 195F4C 8026766C E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 195F50 80267670 0C01C70C */ jal func_80071C30
|
||||
/* 195F54 80267674 AFB00014 */ sw $s0, 0x14($sp)
|
||||
/* 195F58 80267678 C6200144 */ lwc1 $f0, 0x144($s1)
|
||||
/* 195F5C 8026767C 46180000 */ add.s $f0, $f0, $f24
|
||||
/* 195F60 80267680 C6220148 */ lwc1 $f2, 0x148($s1)
|
||||
/* 195F64 80267684 44050000 */ mfc1 $a1, $f0
|
||||
/* 195F68 80267688 3C0141B0 */ lui $at, 0x41b0
|
||||
/* 195F6C 8026768C 44810000 */ mtc1 $at, $f0
|
||||
/* 195F70 80267690 00000000 */ nop
|
||||
/* 195F74 80267694 46001080 */ add.s $f2, $f2, $f0
|
||||
/* 195F78 80267698 C620014C */ lwc1 $f0, 0x14c($s1)
|
||||
/* 195F7C 8026769C 46140000 */ add.s $f0, $f0, $f20
|
||||
/* 195F80 802676A0 44061000 */ mfc1 $a2, $f2
|
||||
/* 195F84 802676A4 44070000 */ mfc1 $a3, $f0
|
||||
/* 195F88 802676A8 24040001 */ addiu $a0, $zero, 1
|
||||
/* 195F8C 802676AC E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 195F90 802676B0 0C01C70C */ jal func_80071C30
|
||||
/* 195F94 802676B4 AFB00014 */ sw $s0, 0x14($sp)
|
||||
/* 195F98 802676B8 24040299 */ addiu $a0, $zero, 0x299
|
||||
/* 195F9C 802676BC 0C05272D */ jal play_sound
|
||||
/* 195FA0 802676C0 AE4000A0 */ sw $zero, 0xa0($s2)
|
||||
/* 195FA4 802676C4 32620100 */ andi $v0, $s3, 0x100
|
||||
.L802676C8:
|
||||
/* 195FA8 802676C8 10400009 */ beqz $v0, .L802676F0
|
||||
/* 195FAC 802676CC 32620080 */ andi $v0, $s3, 0x80
|
||||
/* 195FB0 802676D0 8242009B */ lb $v0, 0x9b($s2)
|
||||
/* 195FB4 802676D4 10400006 */ beqz $v0, .L802676F0
|
||||
/* 195FB8 802676D8 32620080 */ andi $v0, $s3, 0x80
|
||||
/* 195FBC 802676DC 8E42043C */ lw $v0, 0x43c($s2)
|
||||
/* 195FC0 802676E0 A240009B */ sb $zero, 0x9b($s2)
|
||||
/* 195FC4 802676E4 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* 195FC8 802676E8 A4400024 */ sh $zero, 0x24($v0)
|
||||
/* 195FCC 802676EC 32620080 */ andi $v0, $s3, 0x80
|
||||
.L802676F0:
|
||||
/* 195FD0 802676F0 1040000B */ beqz $v0, .L80267720
|
||||
/* 195FD4 802676F4 00000000 */ nop
|
||||
/* 195FD8 802676F8 824200A4 */ lb $v0, 0xa4($s2)
|
||||
/* 195FDC 802676FC 10400008 */ beqz $v0, .L80267720
|
||||
/* 195FE0 80267700 00000000 */ nop
|
||||
/* 195FE4 80267704 8E42043C */ lw $v0, 0x43c($s2)
|
||||
/* 195FE8 80267708 A24000A4 */ sb $zero, 0xa4($s2)
|
||||
/* 195FEC 8026770C 8C42000C */ lw $v0, 0xc($v0)
|
||||
/* 195FF0 80267710 A440001A */ sh $zero, 0x1a($v0)
|
||||
/* 195FF4 80267714 0C016914 */ jal remove_effect
|
||||
/* 195FF8 80267718 8E4400A8 */ lw $a0, 0xa8($s2)
|
||||
/* 195FFC 8026771C AE4000A8 */ sw $zero, 0xa8($s2)
|
||||
.L80267720:
|
||||
/* 196000 80267720 1280000B */ beqz $s4, .L80267750
|
||||
/* 196004 80267724 3C020001 */ lui $v0, 1
|
||||
/* 196008 80267728 02621024 */ and $v0, $s3, $v0
|
||||
/* 19600C 8026772C 10400008 */ beqz $v0, .L80267750
|
||||
/* 196010 80267730 3C04BFFF */ lui $a0, 0xbfff
|
||||
/* 196014 80267734 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 196018 80267738 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 19601C 8026773C A2800220 */ sb $zero, 0x220($s4)
|
||||
/* 196020 80267740 8C620000 */ lw $v0, ($v1)
|
||||
/* 196024 80267744 3484FFFF */ ori $a0, $a0, 0xffff
|
||||
/* 196028 80267748 00441024 */ and $v0, $v0, $a0
|
||||
/* 19602C 8026774C AC620000 */ sw $v0, ($v1)
|
||||
.L80267750:
|
||||
/* 196030 80267750 8FBF002C */ lw $ra, 0x2c($sp)
|
||||
/* 196034 80267754 8FB40028 */ lw $s4, 0x28($sp)
|
||||
/* 196038 80267758 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 19603C 8026775C 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 196040 80267760 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 196044 80267764 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 196048 80267768 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 19604C 8026776C D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 196050 80267770 D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 196054 80267774 03E00008 */ jr $ra
|
||||
/* 196058 80267778 27BD0048 */ addiu $sp, $sp, 0x48
|
@ -1,17 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel set_actor_yaw
|
||||
/* 192848 80263F68 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19284C 80263F6C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 192850 80263F70 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 192854 80263F74 0C09A75B */ jal get_actor
|
||||
/* 192858 80263F78 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 19285C 80263F7C 44900000 */ mtc1 $s0, $f0
|
||||
/* 192860 80263F80 00000000 */ nop
|
||||
/* 192864 80263F84 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 192868 80263F88 E440018C */ swc1 $f0, 0x18c($v0)
|
||||
/* 19286C 80263F8C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 192870 80263F90 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 192874 80263F94 03E00008 */ jr $ra
|
||||
/* 192878 80263F98 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,23 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel set_part_yaw
|
||||
/* 19287C 80263F9C 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 192880 80263FA0 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 192884 80263FA4 00A0802D */ daddu $s0, $a1, $zero
|
||||
/* 192888 80263FA8 AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 19288C 80263FAC AFBF0018 */ sw $ra, 0x18($sp)
|
||||
/* 192890 80263FB0 0C09A75B */ jal get_actor
|
||||
/* 192894 80263FB4 00C0882D */ daddu $s1, $a2, $zero
|
||||
/* 192898 80263FB8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19289C 80263FBC 0C099117 */ jal get_actor_part
|
||||
/* 1928A0 80263FC0 0200282D */ daddu $a1, $s0, $zero
|
||||
/* 1928A4 80263FC4 44910000 */ mtc1 $s1, $f0
|
||||
/* 1928A8 80263FC8 00000000 */ nop
|
||||
/* 1928AC 80263FCC 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 1928B0 80263FD0 E4400064 */ swc1 $f0, 0x64($v0)
|
||||
/* 1928B4 80263FD4 8FBF0018 */ lw $ra, 0x18($sp)
|
||||
/* 1928B8 80263FD8 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 1928BC 80263FDC 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1928C0 80263FE0 03E00008 */ jr $ra
|
||||
/* 1928C4 80263FE4 27BD0020 */ addiu $sp, $sp, 0x20
|
@ -1,35 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel show_foreground_models
|
||||
/* 196608 80267D28 3C02800E */ lui $v0, 0x800e
|
||||
/* 19660C 80267D2C 8C42C4A8 */ lw $v0, -0x3b58($v0)
|
||||
/* 196610 80267D30 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 196614 80267D34 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 196618 80267D38 10400014 */ beqz $v0, .L80267D8C
|
||||
/* 19661C 80267D3C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 196620 80267D40 8C420018 */ lw $v0, 0x18($v0)
|
||||
/* 196624 80267D44 10400011 */ beqz $v0, .L80267D8C
|
||||
/* 196628 80267D48 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 19662C 80267D4C 8E020000 */ lw $v0, ($s0)
|
||||
/* 196630 80267D50 1040000E */ beqz $v0, .L80267D8C
|
||||
/* 196634 80267D54 00000000 */ nop
|
||||
.L80267D58:
|
||||
/* 196638 80267D58 8E040000 */ lw $a0, ($s0)
|
||||
/* 19663C 80267D5C 0480000B */ bltz $a0, .L80267D8C
|
||||
/* 196640 80267D60 26100004 */ addiu $s0, $s0, 4
|
||||
/* 196644 80267D64 0C046C04 */ jal get_model_list_index_from_tree_index
|
||||
/* 196648 80267D68 00000000 */ nop
|
||||
/* 19664C 80267D6C 0C046B4C */ jal get_model_from_list_index
|
||||
/* 196650 80267D70 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 196654 80267D74 94430000 */ lhu $v1, ($v0)
|
||||
/* 196658 80267D78 3063FFFD */ andi $v1, $v1, 0xfffd
|
||||
/* 19665C 80267D7C A4430000 */ sh $v1, ($v0)
|
||||
/* 196660 80267D80 8E020000 */ lw $v0, ($s0)
|
||||
/* 196664 80267D84 1440FFF4 */ bnez $v0, .L80267D58
|
||||
/* 196668 80267D88 00000000 */ nop
|
||||
.L80267D8C:
|
||||
/* 19666C 80267D8C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 196670 80267D90 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 196674 80267D94 03E00008 */ jr $ra
|
||||
/* 196678 80267D98 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,33 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel show_foreground_models_unchecked
|
||||
/* 196528 80267C48 3C02800E */ lui $v0, 0x800e
|
||||
/* 19652C 80267C4C 8C42C4A8 */ lw $v0, -0x3b58($v0)
|
||||
/* 196530 80267C50 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 196534 80267C54 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 196538 80267C58 10400012 */ beqz $v0, .L80267CA4
|
||||
/* 19653C 80267C5C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 196540 80267C60 8C420018 */ lw $v0, 0x18($v0)
|
||||
/* 196544 80267C64 1040000F */ beqz $v0, .L80267CA4
|
||||
/* 196548 80267C68 0040802D */ daddu $s0, $v0, $zero
|
||||
.L80267C6C:
|
||||
/* 19654C 80267C6C 8E020000 */ lw $v0, ($s0)
|
||||
/* 196550 80267C70 1040000C */ beqz $v0, .L80267CA4
|
||||
/* 196554 80267C74 00000000 */ nop
|
||||
/* 196558 80267C78 8E040000 */ lw $a0, ($s0)
|
||||
/* 19655C 80267C7C 0480FFFB */ bltz $a0, .L80267C6C
|
||||
/* 196560 80267C80 26100004 */ addiu $s0, $s0, 4
|
||||
/* 196564 80267C84 0C046C04 */ jal get_model_list_index_from_tree_index
|
||||
/* 196568 80267C88 00000000 */ nop
|
||||
/* 19656C 80267C8C 0C046B4C */ jal get_model_from_list_index
|
||||
/* 196570 80267C90 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 196574 80267C94 94430000 */ lhu $v1, ($v0)
|
||||
/* 196578 80267C98 3063FFFD */ andi $v1, $v1, 0xfffd
|
||||
/* 19657C 80267C9C 08099F1B */ j .L80267C6C
|
||||
/* 196580 80267CA0 A4430000 */ sh $v1, ($v0)
|
||||
.L80267CA4:
|
||||
/* 196584 80267CA4 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 196588 80267CA8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19658C 80267CAC 03E00008 */ jr $ra
|
||||
/* 196590 80267CB0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,41 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel LoadMoveScript
|
||||
/* 196A10 80268130 27BDFFE0 */ addiu $sp, $sp, -0x20
|
||||
/* 196A14 80268134 AFB20018 */ sw $s2, 0x18($sp)
|
||||
/* 196A18 80268138 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 196A1C 8026813C AFB10014 */ sw $s1, 0x14($sp)
|
||||
/* 196A20 80268140 3C11800E */ lui $s1, %hi(gBattleStatus)
|
||||
/* 196A24 80268144 2631C070 */ addiu $s1, $s1, %lo(gBattleStatus)
|
||||
/* 196A28 80268148 AFBF001C */ sw $ra, 0x1c($sp)
|
||||
/* 196A2C 8026814C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 196A30 80268150 8630017C */ lh $s0, 0x17c($s1)
|
||||
/* 196A34 80268154 3C028029 */ lui $v0, 0x8029
|
||||
/* 196A38 80268158 24423E80 */ addiu $v0, $v0, 0x3e80
|
||||
/* 196A3C 8026815C 00108100 */ sll $s0, $s0, 4
|
||||
/* 196A40 80268160 02028021 */ addu $s0, $s0, $v0
|
||||
/* 196A44 80268164 8E040000 */ lw $a0, ($s0)
|
||||
/* 196A48 80268168 8E050004 */ lw $a1, 4($s0)
|
||||
/* 196A4C 8026816C 0C00A5CF */ jal dma_copy
|
||||
/* 196A50 80268170 8E060008 */ lw $a2, 8($s0)
|
||||
/* 196A54 80268174 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 196A58 80268178 0C098EF2 */ jal deduct_current_move_fp
|
||||
/* 196A5C 8026817C AE420084 */ sw $v0, 0x84($s2)
|
||||
/* 196A60 80268180 8E220004 */ lw $v0, 4($s1)
|
||||
/* 196A64 80268184 3C030800 */ lui $v1, 0x800
|
||||
/* 196A68 80268188 00431024 */ and $v0, $v0, $v1
|
||||
/* 196A6C 8026818C 10400003 */ beqz $v0, .L8026819C
|
||||
/* 196A70 80268190 00000000 */ nop
|
||||
/* 196A74 80268194 0C0951B5 */ jal enable_player_blur
|
||||
/* 196A78 80268198 00000000 */ nop
|
||||
.L8026819C:
|
||||
/* 196A7C 8026819C 8FBF001C */ lw $ra, 0x1c($sp)
|
||||
/* 196A80 802681A0 8FB20018 */ lw $s2, 0x18($sp)
|
||||
/* 196A84 802681A4 8FB10014 */ lw $s1, 0x14($sp)
|
||||
/* 196A88 802681A8 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 196A8C 802681AC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 196A90 802681B0 03E00008 */ jr $ra
|
||||
/* 196A94 802681B4 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 196A98 802681B8 00000000 */ nop
|
||||
/* 196A9C 802681BC 00000000 */ nop
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8026919C
|
||||
/* 197A7C 8026919C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 197A80 802691A0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 197A84 802691A4 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 197A88 802691A8 0C0B1EAF */ jal get_variable
|
||||
/* 197A8C 802691AC 8C450000 */ lw $a1, ($v0)
|
||||
/* 197A90 802691B0 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 197A94 802691B4 3C01800E */ lui $at, 0x800e
|
||||
/* 197A98 802691B8 AC22C4A4 */ sw $v0, -0x3b5c($at)
|
||||
/* 197A9C 802691BC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 197AA0 802691C0 03E00008 */ jr $ra
|
||||
/* 197AA4 802691C4 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802692EC
|
||||
/* 197BCC 802692EC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 197BD0 802692F0 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 197BD4 802692F4 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 197BD8 802692F8 0C0B1EAF */ jal get_variable
|
||||
/* 197BDC 802692FC 8C450000 */ lw $a1, ($v0)
|
||||
/* 197BE0 80269300 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 197BE4 80269304 3C01800E */ lui $at, 0x800e
|
||||
/* 197BE8 80269308 A022C0F3 */ sb $v0, -0x3f0d($at)
|
||||
/* 197BEC 8026930C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 197BF0 80269310 03E00008 */ jr $ra
|
||||
/* 197BF4 80269314 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80269318
|
||||
/* 197BF8 80269318 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 197BFC 8026931C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 197C00 80269320 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 197C04 80269324 3C06800E */ lui $a2, 0x800e
|
||||
/* 197C08 80269328 80C6C0F3 */ lb $a2, -0x3f0d($a2)
|
||||
/* 197C0C 8026932C 0C0B2026 */ jal set_variable
|
||||
/* 197C10 80269330 8C450000 */ lw $a1, ($v0)
|
||||
/* 197C14 80269334 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 197C18 80269338 24020002 */ addiu $v0, $zero, 2
|
||||
/* 197C1C 8026933C 03E00008 */ jr $ra
|
||||
/* 197C20 80269340 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80269524
|
||||
/* 197E04 80269524 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 197E08 80269528 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 197E0C 8026952C 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 197E10 80269530 3C06800E */ lui $a2, 0x800e
|
||||
/* 197E14 80269534 80C6C0F6 */ lb $a2, -0x3f0a($a2)
|
||||
/* 197E18 80269538 0C0B2026 */ jal set_variable
|
||||
/* 197E1C 8026953C 8C450000 */ lw $a1, ($v0)
|
||||
/* 197E20 80269540 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 197E24 80269544 24020002 */ addiu $v0, $zero, 2
|
||||
/* 197E28 80269548 03E00008 */ jr $ra
|
||||
/* 197E2C 8026954C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80269550
|
||||
/* 197E30 80269550 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 197E34 80269554 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 197E38 80269558 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 197E3C 8026955C 0C0B1EAF */ jal get_variable
|
||||
/* 197E40 80269560 8C450000 */ lw $a1, ($v0)
|
||||
/* 197E44 80269564 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 197E48 80269568 3C01800E */ lui $at, 0x800e
|
||||
/* 197E4C 8026956C A022C0F6 */ sb $v0, -0x3f0a($at)
|
||||
/* 197E50 80269570 24020002 */ addiu $v0, $zero, 2
|
||||
/* 197E54 80269574 03E00008 */ jr $ra
|
||||
/* 197E58 80269578 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802695A8
|
||||
/* 197E88 802695A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 197E8C 802695AC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 197E90 802695B0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 197E94 802695B4 3C06800E */ lui $a2, 0x800e
|
||||
/* 197E98 802695B8 80C6C0F4 */ lb $a2, -0x3f0c($a2)
|
||||
/* 197E9C 802695BC 0C0B2026 */ jal set_variable
|
||||
/* 197EA0 802695C0 8C450000 */ lw $a1, ($v0)
|
||||
/* 197EA4 802695C4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 197EA8 802695C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 197EAC 802695CC 03E00008 */ jr $ra
|
||||
/* 197EB0 802695D0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802695D4
|
||||
/* 197EB4 802695D4 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 197EB8 802695D8 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 197EBC 802695DC 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 197EC0 802695E0 0C0B1EAF */ jal get_variable
|
||||
/* 197EC4 802695E4 8C450000 */ lw $a1, ($v0)
|
||||
/* 197EC8 802695E8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 197ECC 802695EC 3C01800E */ lui $at, 0x800e
|
||||
/* 197ED0 802695F0 A022C0F4 */ sb $v0, -0x3f0c($at)
|
||||
/* 197ED4 802695F4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 197ED8 802695F8 03E00008 */ jr $ra
|
||||
/* 197EDC 802695FC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80269600
|
||||
/* 197EE0 80269600 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 197EE4 80269604 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 197EE8 80269608 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 197EEC 8026960C 3C06800E */ lui $a2, 0x800e
|
||||
/* 197EF0 80269610 80C6C0F5 */ lb $a2, -0x3f0b($a2)
|
||||
/* 197EF4 80269614 0C0B2026 */ jal set_variable
|
||||
/* 197EF8 80269618 8C450000 */ lw $a1, ($v0)
|
||||
/* 197EFC 8026961C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 197F00 80269620 24020002 */ addiu $v0, $zero, 2
|
||||
/* 197F04 80269624 03E00008 */ jr $ra
|
||||
/* 197F08 80269628 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,17 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8026962C
|
||||
/* 197F0C 8026962C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 197F10 80269630 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 197F14 80269634 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 197F18 80269638 0C0B1EAF */ jal get_variable
|
||||
/* 197F1C 8026963C 8C450000 */ lw $a1, ($v0)
|
||||
/* 197F20 80269640 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 197F24 80269644 3C01800E */ lui $at, 0x800e
|
||||
/* 197F28 80269648 A022C0F5 */ sb $v0, -0x3f0b($at)
|
||||
/* 197F2C 8026964C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 197F30 80269650 03E00008 */ jr $ra
|
||||
/* 197F34 80269654 27BD0018 */ addiu $sp, $sp, 0x18
|
||||
/* 197F38 80269658 00000000 */ nop
|
||||
/* 197F3C 8026965C 00000000 */ nop
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel CheckButtonDown
|
||||
/* 19C9E8 8026E108 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19C9EC 8026E10C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 19C9F0 8026E110 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19C9F4 8026E114 3C06800E */ lui $a2, 0x800e
|
||||
/* 19C9F8 8026E118 8CC6C280 */ lw $a2, -0x3d80($a2)
|
||||
/* 19C9FC 8026E11C 8C430000 */ lw $v1, ($v0)
|
||||
/* 19CA00 8026E120 8C450004 */ lw $a1, 4($v0)
|
||||
/* 19CA04 8026E124 00C33024 */ and $a2, $a2, $v1
|
||||
/* 19CA08 8026E128 0C0B2026 */ jal set_variable
|
||||
/* 19CA0C 8026E12C 0006302B */ sltu $a2, $zero, $a2
|
||||
/* 19CA10 8026E130 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 19CA14 8026E134 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19CA18 8026E138 03E00008 */ jr $ra
|
||||
/* 19CA1C 8026E13C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel CheckButtonHeld
|
||||
/* 19C9B0 8026E0D0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19C9B4 8026E0D4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 19C9B8 8026E0D8 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19C9BC 8026E0DC 3C06800E */ lui $a2, 0x800e
|
||||
/* 19C9C0 8026E0E0 8CC6C288 */ lw $a2, -0x3d78($a2)
|
||||
/* 19C9C4 8026E0E4 8C430000 */ lw $v1, ($v0)
|
||||
/* 19C9C8 8026E0E8 8C450004 */ lw $a1, 4($v0)
|
||||
/* 19C9CC 8026E0EC 00C33024 */ and $a2, $a2, $v1
|
||||
/* 19C9D0 8026E0F0 0C0B2026 */ jal set_variable
|
||||
/* 19C9D4 8026E0F4 0006302B */ sltu $a2, $zero, $a2
|
||||
/* 19C9D8 8026E0F8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 19C9DC 8026E0FC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19C9E0 8026E100 03E00008 */ jr $ra
|
||||
/* 19C9E4 8026E104 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel CheckButtonPress
|
||||
/* 19C978 8026E098 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19C97C 8026E09C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 19C980 8026E0A0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19C984 8026E0A4 3C06800E */ lui $a2, 0x800e
|
||||
/* 19C988 8026E0A8 8CC6C284 */ lw $a2, -0x3d7c($a2)
|
||||
/* 19C98C 8026E0AC 8C430000 */ lw $v1, ($v0)
|
||||
/* 19C990 8026E0B0 8C450004 */ lw $a1, 4($v0)
|
||||
/* 19C994 8026E0B4 00C33024 */ and $a2, $a2, $v1
|
||||
/* 19C998 8026E0B8 0C0B2026 */ jal set_variable
|
||||
/* 19C99C 8026E0BC 0006302B */ sltu $a2, $zero, $a2
|
||||
/* 19C9A0 8026E0C0 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 19C9A4 8026E0C4 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19C9A8 8026E0C8 03E00008 */ jr $ra
|
||||
/* 19C9AC 8026E0CC 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,21 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel EnemyCreateTargetList
|
||||
/* 19CBF0 8026E310 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19CBF4 8026E314 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 19CBF8 8026E318 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 19CBFC 8026E31C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19CC00 8026E320 8C440148 */ lw $a0, 0x148($v0)
|
||||
/* 19CC04 8026E324 0C09A75B */ jal get_actor
|
||||
/* 19CC08 8026E328 8C50000C */ lw $s0, 0xc($v0)
|
||||
/* 19CC0C 8026E32C 8E030000 */ lw $v1, ($s0)
|
||||
/* 19CC10 8026E330 3C01800E */ lui $at, 0x800e
|
||||
/* 19CC14 8026E334 AC23C1F4 */ sw $v1, -0x3e0c($at)
|
||||
/* 19CC18 8026E338 0C098C12 */ jal enemy_create_target_list
|
||||
/* 19CC1C 8026E33C 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19CC20 8026E340 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 19CC24 8026E344 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19CC28 8026E348 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19CC2C 8026E34C 03E00008 */ jr $ra
|
||||
/* 19CC30 8026E350 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetBattleFlags
|
||||
/* 19B5F0 8026CD10 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19B5F4 8026CD14 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 19B5F8 8026CD18 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19B5FC 8026CD1C 3C06800E */ lui $a2, %hi(gBattleStatus)
|
||||
/* 19B600 8026CD20 8CC6C070 */ lw $a2, %lo(gBattleStatus)($a2)
|
||||
/* 19B604 8026CD24 0C0B2026 */ jal set_variable
|
||||
/* 19B608 8026CD28 8C450000 */ lw $a1, ($v0)
|
||||
/* 19B60C 8026CD2C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 19B610 8026CD30 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19B614 8026CD34 03E00008 */ jr $ra
|
||||
/* 19B618 8026CD38 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetBattleFlags2
|
||||
/* 19B680 8026CDA0 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19B684 8026CDA4 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 19B688 8026CDA8 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19B68C 8026CDAC 3C06800E */ lui $a2, 0x800e
|
||||
/* 19B690 8026CDB0 8CC6C074 */ lw $a2, -0x3f8c($a2)
|
||||
/* 19B694 8026CDB4 0C0B2026 */ jal set_variable
|
||||
/* 19B698 8026CDB8 8C450000 */ lw $a1, ($v0)
|
||||
/* 19B69C 8026CDBC 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 19B6A0 8026CDC0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19B6A4 8026CDC4 03E00008 */ jr $ra
|
||||
/* 19B6A8 8026CDC8 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetBattlePhase
|
||||
/* 198708 80269E28 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19870C 80269E2C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 198710 80269E30 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 198714 80269E34 3C06800E */ lui $a2, 0x800e
|
||||
/* 198718 80269E38 80C6C217 */ lb $a2, -0x3de9($a2)
|
||||
/* 19871C 80269E3C 0C0B2026 */ jal set_variable
|
||||
/* 198720 80269E40 8C450000 */ lw $a1, ($v0)
|
||||
/* 198724 80269E44 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 198728 80269E48 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19872C 80269E4C 03E00008 */ jr $ra
|
||||
/* 198730 80269E50 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetBattleState
|
||||
/* 19CA20 8026E140 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19CA24 8026E144 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 19CA28 8026E148 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19CA2C 8026E14C 3C06800E */ lui $a2, 0x800e
|
||||
/* 19CA30 8026E150 8CC6C068 */ lw $a2, -0x3f98($a2)
|
||||
/* 19CA34 8026E154 0C0B2026 */ jal set_variable
|
||||
/* 19CA38 8026E158 8C450000 */ lw $a1, ($v0)
|
||||
/* 19CA3C 8026E15C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 19CA40 8026E160 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19CA44 8026E164 03E00008 */ jr $ra
|
||||
/* 19CA48 8026E168 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetLastElement
|
||||
/* 198734 80269E54 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 198738 80269E58 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 19873C 80269E5C 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 198740 80269E60 3C06800E */ lui $a2, 0x800e
|
||||
/* 198744 80269E64 8CC6C1F8 */ lw $a2, -0x3e08($a2)
|
||||
/* 198748 80269E68 0C0B2026 */ jal set_variable
|
||||
/* 19874C 80269E6C 8C450000 */ lw $a1, ($v0)
|
||||
/* 198750 80269E70 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 198754 80269E74 24020002 */ addiu $v0, $zero, 2
|
||||
/* 198758 80269E78 03E00008 */ jr $ra
|
||||
/* 19875C 80269E7C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetOwnerID
|
||||
/* 19C6E0 8026DE00 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19C6E4 8026DE04 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 19C6E8 8026DE08 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19C6EC 8026DE0C 8C860148 */ lw $a2, 0x148($a0)
|
||||
/* 19C6F0 8026DE10 0C0B2026 */ jal set_variable
|
||||
/* 19C6F4 8026DE14 8C450000 */ lw $a1, ($v0)
|
||||
/* 19C6F8 8026DE18 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 19C6FC 8026DE1C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19C700 8026DE20 03E00008 */ jr $ra
|
||||
/* 19C704 8026DE24 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPlayerActorID
|
||||
/* 19D254 8026E974 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19D258 8026E978 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 19D25C 8026E97C 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19D260 8026E980 3C06800E */ lui $a2, 0x800e
|
||||
/* 19D264 8026E984 84C6C218 */ lh $a2, -0x3de8($a2)
|
||||
/* 19D268 8026E988 0C0B2026 */ jal set_variable
|
||||
/* 19D26C 8026E98C 8C450000 */ lw $a1, ($v0)
|
||||
/* 19D270 8026E990 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 19D274 8026E994 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19D278 8026E998 03E00008 */ jr $ra
|
||||
/* 19D27C 8026E99C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel GetPlayerHP
|
||||
/* 1A2B14 80274234 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1A2B18 80274238 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1A2B1C 8027423C 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 1A2B20 80274240 3C068011 */ lui $a2, 0x8011
|
||||
/* 1A2B24 80274244 80C6F292 */ lb $a2, -0xd6e($a2)
|
||||
/* 1A2B28 80274248 0C0B2026 */ jal set_variable
|
||||
/* 1A2B2C 8027424C 8C450000 */ lw $a1, ($v0)
|
||||
/* 1A2B30 80274250 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1A2B34 80274254 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1A2B38 80274258 03E00008 */ jr $ra
|
||||
/* 1A2B3C 8027425C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,21 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel PlayerCreateTargetList
|
||||
/* 19CBAC 8026E2CC 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19CBB0 8026E2D0 0080102D */ daddu $v0, $a0, $zero
|
||||
/* 19CBB4 8026E2D4 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 19CBB8 8026E2D8 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19CBBC 8026E2DC 8C440148 */ lw $a0, 0x148($v0)
|
||||
/* 19CBC0 8026E2E0 0C09A75B */ jal get_actor
|
||||
/* 19CBC4 8026E2E4 8C50000C */ lw $s0, 0xc($v0)
|
||||
/* 19CBC8 8026E2E8 8E030000 */ lw $v1, ($s0)
|
||||
/* 19CBCC 8026E2EC 3C01800E */ lui $at, 0x800e
|
||||
/* 19CBD0 8026E2F0 AC23C1F4 */ sw $v1, -0x3e0c($at)
|
||||
/* 19CBD4 8026E2F4 0C098C0B */ jal player_create_target_list
|
||||
/* 19CBD8 8026E2F8 0040202D */ daddu $a0, $v0, $zero
|
||||
/* 19CBDC 8026E2FC 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 19CBE0 8026E300 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19CBE4 8026E304 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19CBE8 8026E308 03E00008 */ jr $ra
|
||||
/* 19CBEC 8026E30C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,13 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel RemovePlayerBuffs
|
||||
/* 19DD2C 8026F44C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19DD30 8026F450 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 19DD34 8026F454 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19DD38 8026F458 0C099D15 */ jal remove_player_buffs
|
||||
/* 19DD3C 8026F45C 8C440000 */ lw $a0, ($v0)
|
||||
/* 19DD40 8026F460 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 19DD44 8026F464 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19DD48 8026F468 03E00008 */ jr $ra
|
||||
/* 19DD4C 8026F46C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetBattleFlagBits
|
||||
/* 19B61C 8026CD3C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19B620 8026CD40 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 19B624 8026CD44 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19B628 8026CD48 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19B62C 8026CD4C 8C450004 */ lw $a1, 4($v0)
|
||||
/* 19B630 8026CD50 0C0B1EAF */ jal get_variable
|
||||
/* 19B634 8026CD54 8C500000 */ lw $s0, ($v0)
|
||||
/* 19B638 8026CD58 10400007 */ beqz $v0, .L8026CD78
|
||||
/* 19B63C 8026CD5C 00102027 */ nor $a0, $zero, $s0
|
||||
/* 19B640 8026CD60 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 19B644 8026CD64 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 19B648 8026CD68 8C620000 */ lw $v0, ($v1)
|
||||
/* 19B64C 8026CD6C 00501025 */ or $v0, $v0, $s0
|
||||
/* 19B650 8026CD70 0809B363 */ j .L8026CD8C
|
||||
/* 19B654 8026CD74 AC620000 */ sw $v0, ($v1)
|
||||
.L8026CD78:
|
||||
/* 19B658 8026CD78 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 19B65C 8026CD7C 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 19B660 8026CD80 8C430000 */ lw $v1, ($v0)
|
||||
/* 19B664 8026CD84 00641824 */ and $v1, $v1, $a0
|
||||
/* 19B668 8026CD88 AC430000 */ sw $v1, ($v0)
|
||||
.L8026CD8C:
|
||||
/* 19B66C 8026CD8C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 19B670 8026CD90 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19B674 8026CD94 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19B678 8026CD98 03E00008 */ jr $ra
|
||||
/* 19B67C 8026CD9C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,16 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetBattleInputButtons
|
||||
/* 19C948 8026E068 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19C94C 8026E06C 8C450000 */ lw $a1, ($v0)
|
||||
/* 19C950 8026E070 24420004 */ addiu $v0, $v0, 4
|
||||
/* 19C954 8026E074 8C430000 */ lw $v1, ($v0)
|
||||
/* 19C958 8026E078 8C440004 */ lw $a0, 4($v0)
|
||||
/* 19C95C 8026E07C 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 19C960 8026E080 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 19C964 8026E084 AC450210 */ sw $a1, 0x210($v0)
|
||||
/* 19C968 8026E088 AC430214 */ sw $v1, 0x214($v0)
|
||||
/* 19C96C 8026E08C AC440218 */ sw $a0, 0x218($v0)
|
||||
/* 19C970 8026E090 03E00008 */ jr $ra
|
||||
/* 19C974 8026E094 24020002 */ addiu $v0, $zero, 2
|
@ -1,10 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetBattleInputMask
|
||||
/* 19C930 8026E050 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19C934 8026E054 8C420000 */ lw $v0, ($v0)
|
||||
/* 19C938 8026E058 3C01800E */ lui $at, 0x800e
|
||||
/* 19C93C 8026E05C AC22C294 */ sw $v0, -0x3d6c($at)
|
||||
/* 19C940 8026E060 03E00008 */ jr $ra
|
||||
/* 19C944 8026E064 24020002 */ addiu $v0, $zero, 2
|
@ -1,17 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel SetOwnerID
|
||||
/* 19C708 8026DE28 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 19C70C 8026DE2C AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 19C710 8026DE30 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 19C714 8026DE34 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 19C718 8026DE38 8E02000C */ lw $v0, 0xc($s0)
|
||||
/* 19C71C 8026DE3C 0C0B1EAF */ jal get_variable
|
||||
/* 19C720 8026DE40 8C450000 */ lw $a1, ($v0)
|
||||
/* 19C724 8026DE44 AE020148 */ sw $v0, 0x148($s0)
|
||||
/* 19C728 8026DE48 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 19C72C 8026DE4C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 19C730 8026DE50 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19C734 8026DE54 03E00008 */ jr $ra
|
||||
/* 19C738 8026DE58 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,18 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel count_targets
|
||||
/* 197F40 80269660 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 197F44 80269664 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 197F48 80269668 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 197F4C 8026966C 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 197F50 80269670 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 197F54 80269674 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 197F58 80269678 A0450197 */ sb $a1, 0x197($v0)
|
||||
/* 197F5C 8026967C 0C098C0B */ jal player_create_target_list
|
||||
/* 197F60 80269680 AC460184 */ sw $a2, 0x184($v0)
|
||||
/* 197F64 80269684 8202040C */ lb $v0, 0x40c($s0)
|
||||
/* 197F68 80269688 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 197F6C 8026968C 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 197F70 80269690 03E00008 */ jr $ra
|
||||
/* 197F74 80269694 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel dispatch_damage_event_player_0
|
||||
/* 1A1C5C 8027337C 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1A1C60 80273380 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 1A1C64 80273384 2442C070 */ addiu $v0, $v0, %lo(gBattleStatus)
|
||||
/* 1A1C68 80273388 0000302D */ daddu $a2, $zero, $zero
|
||||
/* 1A1C6C 8027338C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1A1C70 80273390 AC400188 */ sw $zero, 0x188($v0)
|
||||
/* 1A1C74 80273394 0C09CC6F */ jal dispatch_damage_event_player
|
||||
/* 1A1C78 80273398 A040019A */ sb $zero, 0x19a($v0)
|
||||
/* 1A1C7C 8027339C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1A1C80 802733A0 03E00008 */ jr $ra
|
||||
/* 1A1C84 802733A4 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,11 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel dispatch_damage_event_player_1
|
||||
/* 1A1C88 802733A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 1A1C8C 802733AC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 1A1C90 802733B0 0C09CC6F */ jal dispatch_damage_event_player
|
||||
/* 1A1C94 802733B4 24060001 */ addiu $a2, $zero, 1
|
||||
/* 1A1C98 802733B8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 1A1C9C 802733BC 03E00008 */ jr $ra
|
||||
/* 1A1CA0 802733C0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,10 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_8026E038
|
||||
/* 19C918 8026E038 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 19C91C 8026E03C 8C420000 */ lw $v0, ($v0)
|
||||
/* 19C920 8026E040 3C01800E */ lui $at, 0x800e
|
||||
/* 19C924 8026E044 AC22C0E4 */ sw $v0, -0x3f1c($at)
|
||||
/* 19C928 8026E048 03E00008 */ jr $ra
|
||||
/* 19C92C 8026E04C 24020002 */ addiu $v0, $zero, 2
|
@ -20,8 +20,8 @@ glabel func_8026E198
|
||||
/* 19CAB0 8026E1D0 82030095 */ lb $v1, 0x95($s0)
|
||||
/* 19CAB4 8026E1D4 50600008 */ beql $v1, $zero, .L8026E1F8
|
||||
/* 19CAB8 8026E1D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 19CABC 8026E1DC 3C02800E */ lui $v0, 0x800e
|
||||
/* 19CAC0 8026E1E0 8C42C068 */ lw $v0, -0x3f98($v0)
|
||||
/* 19CABC 8026E1DC 3C02800E */ lui $v0, %hi(gBattleState)
|
||||
/* 19CAC0 8026E1E0 8C42C068 */ lw $v0, %lo(gBattleState)($v0)
|
||||
/* 19CAC4 8026E1E4 00431026 */ xor $v0, $v0, $v1
|
||||
/* 19CAC8 8026E1E8 2C420001 */ sltiu $v0, $v0, 1
|
||||
/* 19CACC 8026E1EC 0809B87E */ j .L8026E1F8
|
||||
|
@ -38,3 +38,7 @@ glabel LoadStarPowerScript
|
||||
/* 1AF2B4 802809D4 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 1AF2B8 802809D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 1AF2BC 802809DC 03E00008 */ jr $ra
|
||||
/* 1AF2C0 802809E0 27BD0020 */ addiu $sp, $sp, 0x20
|
||||
/* 1AF2C4 802809E4 00000000 */ nop
|
||||
/* 1AF2C8 802809E8 00000000 */ nop
|
||||
/* 1AF2CC 802809EC 00000000 */ nop
|
||||
|
@ -6,8 +6,8 @@ glabel func_80072B30
|
||||
/* 4DF34 80072B34 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
|
||||
/* 4DF38 80072B38 A04000AA */ sb $zero, 0xaa($v0)
|
||||
/* 4DF3C 80072B3C 24020001 */ addiu $v0, $zero, 1
|
||||
/* 4DF40 80072B40 3C01800E */ lui $at, 0x800e
|
||||
/* 4DF44 80072B44 AC20C068 */ sw $zero, -0x3f98($at)
|
||||
/* 4DF40 80072B40 3C01800E */ lui $at, %hi(gBattleState)
|
||||
/* 4DF44 80072B44 AC20C068 */ sw $zero, %lo(gBattleState)($at)
|
||||
/* 4DF48 80072B48 3C01800E */ lui $at, 0x800e
|
||||
/* 4DF4C 80072B4C AC22C4E0 */ sw $v0, -0x3b20($at)
|
||||
/* 4DF50 80072B50 3C01800E */ lui $at, 0x800e
|
||||
|
@ -9,8 +9,8 @@ glabel load_battle
|
||||
/* 4E0A0 80072CA0 0C00CD3C */ jal set_game_mode
|
||||
/* 4E0A4 80072CA4 24040008 */ addiu $a0, $zero, 8
|
||||
/* 4E0A8 80072CA8 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 4E0AC 80072CAC 3C01800E */ lui $at, 0x800e
|
||||
/* 4E0B0 80072CB0 AC20C068 */ sw $zero, -0x3f98($at)
|
||||
/* 4E0AC 80072CAC 3C01800E */ lui $at, %hi(gBattleState)
|
||||
/* 4E0B0 80072CB0 AC20C068 */ sw $zero, %lo(gBattleState)($at)
|
||||
/* 4E0B4 80072CB4 3C01800E */ lui $at, 0x800e
|
||||
/* 4E0B8 80072CB8 AC20C4D0 */ sw $zero, -0x3b30($at)
|
||||
/* 4E0BC 80072CBC 3C01800E */ lui $at, 0x800e
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user