This commit is contained in:
JoshDuMan 2020-11-02 18:49:38 -05:00
commit 58e04b19ba
785 changed files with 6173 additions and 13897 deletions

1
.gitignore vendored
View File

@ -17,6 +17,7 @@ settings.mk
*.i
*.Yay0
bin/
img/
build/
docs/doxygen/
include/ld_addrs.h

View File

@ -10,7 +10,6 @@
"-D_LANGUAGE_C",
"-DSCRIPT(...)={}",
],
"python.pythonPath": "/usr/bin/python3",
"git.ignoreLimitWarning": true,
"search.exclude": {
"build": true,

View File

@ -20,6 +20,11 @@ ifeq ($(NON_MATCHING),1)
override COMPARE=0
endif
# PERMUTER=1 implies WATCH_INCLUDES=0
ifeq ($(PERMUTER),1)
override WATCH_INCLUDES=0
endif
### Output ###
@ -38,14 +43,7 @@ N64CKSUM := tools/n64crc
SPLAT_YAML := tools/splat.yaml
SPLAT = $(PYTHON) tools/n64splat/split.py $(BASEROM) $(SPLAT_YAML) .
YAY0COMPRESS = tools/Yay0compress
ifndef EMULATOR
ifneq ($(shell which mupen64plus-gui),)
EMULATOR = mupen64plus-gui
else
EMULATOR = mupen64plus
endif
endif
### Compiler Options ###
@ -58,12 +56,17 @@ CPP := cpp
LD := $(CROSS)ld
OBJCOPY := $(CROSS)objcopy
CPPFLAGS := -Iinclude -Isrc -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2 -D_MIPS_SZLONG=32 -Wundef -Wcomment -MP -MD
CPPFLAGS := -Iinclude -Isrc -D _LANGUAGE_C -ffreestanding -DF3DEX_GBI_2 -D_MIPS_SZLONG=32 -Wundef -Wcomment
ASFLAGS := -EB -Iinclude -march=vr4300 -mtune=vr4300
OLDASFLAGS := -EB -Iinclude -G 0
CFLAGS := -O2 -quiet -G 0 -mcpu=vr4300 -mfix4300 -mips3 -mgp32 -mfp32 -Wimplicit -Wuninitialized -Wshadow
LDFLAGS := -T undefined_syms.txt -T undefined_funcs.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -Map $(LD_MAP) --no-check-sections
ifeq ($(WATCH_INCLUDES),1)
CPPMFLAGS = -MP -MD -MF $@.mk -MT $(BUILD_DIR)/$*.d
MDEPS = $(BUILD_DIR)/%.d
endif
ifeq ($(NON_MATCHING),1)
CPPFLAGS += -DNON_MATCHING
endif
@ -95,22 +98,18 @@ submodules:
git submodule update --init --recursive
split:
rm -rf bin
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS
rm -rf bin img
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS img
split-bin:
$(SPLAT) --modes ld bin
split-%:
$(SPLAT) --modes ld $*
split-all:
rm -rf bin
rm -rf bin img
$(SPLAT) --modes all
test: $(ROM)
ifdef EMULATOR
$(EMULATOR) $<
else
@echo "N64 emulator not detected." && false
endif
# Compressed files
%.Yay0: %
@ -131,20 +130,54 @@ $(BUILD_DIR)/%.Yay0.o: $(BUILD_DIR)/%.bin.Yay0
$(LD) -r -b binary -o $@ $<
# Compile C files
$(BUILD_DIR)/%.c.o: %.c $(BUILD_DIR)/%.d
$(BUILD_DIR)/%.c.o: %.c $(MDEPS) | include/ld_addrs.h
@mkdir -p $(shell dirname $@)
$(CPP) $(CPPFLAGS) -o - $< -MF $@.mk -MT $(BUILD_DIR)/$*.d | $(CC) $(CFLAGS) -o - - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
$(CPP) $(CPPFLAGS) -o - $(CPPMFLAGS) $< | iconv --from UTF-8 --to SHIFT-JIS | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
# Compile C files (with DSL macros)
$(foreach cfile, $(DSL_C_FILES), $(BUILD_DIR)/$(cfile).o): $(BUILD_DIR)/%.c.o: %.c $(BUILD_DIR)/%.d
$(foreach cfile, $(DSL_C_FILES), $(BUILD_DIR)/$(cfile).o): $(BUILD_DIR)/%.c.o: %.c $(MDEPS) tools/compile_dsl_macros.py | include/ld_addrs.h
@mkdir -p $(shell dirname $@)
$(CPP) $(CPPFLAGS) -o - $< -MF $@.mk -MT $(BUILD_DIR)/$*.d | tools/compile_dsl_macros.py | $(CC) $(CFLAGS) -o - - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
$(CPP) $(CPPFLAGS) -o - $< $(CPPMFLAGS) | $(PYTHON) tools/compile_dsl_macros.py | iconv --from UTF-8 --to SHIFT-JIS | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
# Assemble handwritten ASM
$(BUILD_DIR)/%.s.o: %.s
@mkdir -p $(shell dirname $@)
$(AS) $(ASFLAGS) -o $@ $<
# Images
$(BUILD_DIR)/%.png.o: $(BUILD_DIR)/%.png
$(LD) -r -b binary -o $@ $<
$(BUILD_DIR)/%.rgba16.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py rgba16 $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.rgba32.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py rgba32 $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.ci8.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py ci8 $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.ci4.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py ci4 $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.palette.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py palette $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.ia4.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py ia4 $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.ia8.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py ia8 $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.ia16.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py ia16 $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.i4.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py i4 $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.i8.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py i8 $< $@ $(IMG_FLAGS)
ASSET_FILES := $(foreach asset, $(ASSETS), $(BUILD_DIR)/bin/assets/$(asset))
YAY0_ASSET_FILES := $(foreach asset, $(filter-out %_tex, $(ASSET_FILES)), $(asset).Yay0)
@ -152,7 +185,7 @@ $(BUILD_DIR)/bin/assets/%: bin/assets/%.bin
@mkdir -p $(shell dirname $@)
@cp $< $@
$(ASSETS_BIN): $(ASSET_FILES) $(YAY0_ASSET_FILES)
$(ASSETS_BIN): $(ASSET_FILES) $(YAY0_ASSET_FILES) sources.mk
@mkdir -p $(shell dirname $@)
@echo "building $@"
@$(PYTHON) tools/build_assets_bin.py $@ $(ASSET_FILES)
@ -173,12 +206,14 @@ ifeq ($(COMPARE),1)
@sha1sum -c checksum.sha1 || (echo 'The build succeeded, but did not match the base ROM. This is expected if you are making changes to the game. To skip this check, use "make COMPARE=0".' && false)
endif
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
$(OBJCOPY) $< $@ -O binary
$(BUILD_DIR)/$(TARGET).elf: $(BUILD_DIR)/$(LD_SCRIPT) $(OBJECTS)
$(LD) $(LDFLAGS) -o $@
$(BUILD_DIR)/$(TARGET).bin: $(BUILD_DIR)/$(TARGET).elf
$(OBJCOPY) $< $@ -O binary
include/ld_addrs.h: $(BUILD_DIR)/$(LD_SCRIPT)
grep -E "[^ ]+ =" $< -o | sed 's/^/extern void* /; s/ =/;/' > $@
### Make Settings ###
@ -190,3 +225,6 @@ $(BUILD_DIR)/$(TARGET).elf: $(BUILD_DIR)/$(LD_SCRIPT) $(OBJECTS)
# Remove built-in implicit rules to improve performance
MAKEFLAGS += --no-builtin-rules
# Fail targets if any command in the pipe exits with error
SHELL = /bin/bash -e -o pipefail

View File

@ -22,8 +22,8 @@ glabel func_802E1660
/* 102F24 802E16A4 822300B4 */ lb $v1, 0xb4($s1)
/* 102F28 802E16A8 14620009 */ bne $v1, $v0, .L802E16D0
/* 102F2C 802E16AC 2402000D */ addiu $v0, $zero, 0xd
/* 102F30 802E16B0 3C028011 */ lui $v0, 0x8011
/* 102F34 802E16B4 8042F291 */ lb $v0, -0xd6f($v0)
/* 102F30 802E16B0 3C028011 */ lui $v0, %hi(gPlayerData+0x1)
/* 102F34 802E16B4 8042F291 */ lb $v0, %lo(gPlayerData+0x1)($v0)
/* 102F38 802E16B8 0440001A */ bltz $v0, .L802E1724
/* 102F3C 802E16BC 00000000 */ nop
/* 102F40 802E16C0 080B85C2 */ j .L802E1708

View File

@ -97,8 +97,8 @@ glabel func_802E3BA4
/* 105570 802E3CF0 080B8F42 */ j .L802E3D08
/* 105574 802E3CF4 00000000 */ nop
.L802E3CF8:
/* 105578 802E3CF8 3C028011 */ lui $v0, 0x8011
/* 10557C 802E3CFC 8042F291 */ lb $v0, -0xd6f($v0)
/* 105578 802E3CF8 3C028011 */ lui $v0, %hi(gPlayerData+0x1)
/* 10557C 802E3CFC 8042F291 */ lb $v0, %lo(gPlayerData+0x1)($v0)
/* 105580 802E3D00 04430001 */ bgezl $v0, .L802E3D08
/* 105584 802E3D04 24100001 */ addiu $s0, $zero, 1
.L802E3D08:
@ -121,8 +121,8 @@ glabel func_802E3BA4
/* 1055C8 802E3D48 080B8F58 */ j .L802E3D60
/* 1055CC 802E3D4C 00000000 */ nop
.L802E3D50:
/* 1055D0 802E3D50 3C028011 */ lui $v0, 0x8011
/* 1055D4 802E3D54 8042F291 */ lb $v0, -0xd6f($v0)
/* 1055D0 802E3D50 3C028011 */ lui $v0, %hi(gPlayerData+0x1)
/* 1055D4 802E3D54 8042F291 */ lb $v0, %lo(gPlayerData+0x1)($v0)
/* 1055D8 802E3D58 5C400001 */ bgtzl $v0, .L802E3D60
/* 1055DC 802E3D5C 24100001 */ addiu $s0, $zero, 1
.L802E3D60:
@ -135,8 +135,8 @@ glabel func_802E3BA4
/* 1055F8 802E3D78 C6200050 */ lwc1 $f0, 0x50($s1)
/* 1055FC 802E3D7C 080B8F6C */ j .L802E3DB0
/* 105600 802E3D80 24040150 */ addiu $a0, $zero, 0x150
/* 105604 802E3D84 3C028011 */ lui $v0, 0x8011
/* 105608 802E3D88 8042F291 */ lb $v0, -0xd6f($v0)
/* 105604 802E3D84 3C028011 */ lui $v0, %hi(gPlayerData+0x1)
/* 105608 802E3D88 8042F291 */ lb $v0, %lo(gPlayerData+0x1)($v0)
/* 10560C 802E3D8C 28420002 */ slti $v0, $v0, 2
/* 105610 802E3D90 14400015 */ bnez $v0, .L802E3DE8
/* 105614 802E3D94 24020001 */ addiu $v0, $zero, 1

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802E3E9C
/* 10571C 802E3E9C 3C028011 */ lui $v0, 0x8011
/* 105720 802E3EA0 8C42EFCC */ lw $v0, -0x1034($v0)
/* 10571C 802E3E9C 3C028011 */ lui $v0, %hi(gPlayerStatus+0x4)
/* 105720 802E3EA0 8C42EFCC */ lw $v0, %lo(gPlayerStatus+0x4)($v0)
/* 105724 802E3EA4 9083000B */ lbu $v1, 0xb($a0)
/* 105728 802E3EA8 30420001 */ andi $v0, $v0, 1
/* 10572C 802E3EAC 50400007 */ beql $v0, $zero, .L802E3ECC

View File

@ -52,9 +52,9 @@ glabel func_802E3F0C
/* 105844 802E3FC4 3C014034 */ lui $at, 0x4034
/* 105848 802E3FC8 44811800 */ mtc1 $at, $f3
/* 10584C 802E3FCC 44801000 */ mtc1 $zero, $f2
/* 105850 802E3FD0 3C018008 */ lui $at, 0x8008
/* 105850 802E3FD0 3C018008 */ lui $at, %hi(gItemTable+0x18)
/* 105854 802E3FD4 00220821 */ addu $at, $at, $v0
/* 105858 802E3FD8 942278F8 */ lhu $v0, 0x78f8($at)
/* 105858 802E3FD8 942278F8 */ lhu $v0, %lo(gItemTable+0x18)($at)
/* 10585C 802E3FDC 46000021 */ cvt.d.s $f0, $f0
/* 105860 802E3FE0 46220000 */ add.d $f0, $f0, $f2
/* 105864 802E3FE4 26070050 */ addiu $a3, $s0, 0x50

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802E54CC
/* 106D4C 802E54CC 3C028011 */ lui $v0, 0x8011
/* 106D50 802E54D0 9042F2AC */ lbu $v0, -0xd54($v0)
/* 106D4C 802E54CC 3C028011 */ lui $v0, %hi(gPlayerData+0x1C)
/* 106D50 802E54D0 9042F2AC */ lbu $v0, %lo(gPlayerData+0x1C)($v0)
/* 106D54 802E54D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 106D58 802E54D8 AFB00010 */ sw $s0, 0x10($sp)
/* 106D5C 802E54DC 0080802D */ daddu $s0, $a0, $zero

View File

@ -34,16 +34,16 @@ glabel func_802E7AE4
/* 1093D8 802E7B58 A022F290 */ sb $v0, %lo(gPlayerData)($at)
/* 1093DC 802E7B5C 080B9EE2 */ j .L802E7B88
/* 1093E0 802E7B60 00000000 */ nop
/* 1093E4 802E7B64 3C018011 */ lui $at, 0x8011
/* 1093E8 802E7B68 A020F291 */ sb $zero, -0xd6f($at)
/* 1093E4 802E7B64 3C018011 */ lui $at, %hi(gPlayerData+0x1)
/* 1093E8 802E7B68 A020F291 */ sb $zero, %lo(gPlayerData+0x1)($at)
/* 1093EC 802E7B6C 080B9EE2 */ j .L802E7B88
/* 1093F0 802E7B70 00000000 */ nop
/* 1093F4 802E7B74 080B9EE0 */ j .L802E7B80
/* 1093F8 802E7B78 24020001 */ addiu $v0, $zero, 1
/* 1093FC 802E7B7C 24020002 */ addiu $v0, $zero, 2
.L802E7B80:
/* 109400 802E7B80 3C018011 */ lui $at, 0x8011
/* 109404 802E7B84 A022F291 */ sb $v0, -0xd6f($at)
/* 109400 802E7B80 3C018011 */ lui $at, %hi(gPlayerData+0x1)
/* 109404 802E7B84 A022F291 */ sb $v0, %lo(gPlayerData+0x1)($at)
.L802E7B88:
/* 109408 802E7B88 8E020010 */ lw $v0, 0x10($s0)
/* 10940C 802E7B8C 10400027 */ beqz $v0, .L802E7C2C

View File

@ -8,9 +8,9 @@ glabel pause_badges_comparator
/* 13A32C 80246FEC 08091C00 */ j .L80247000
/* 13A330 80246FF0 24037FFF */ addiu $v1, $zero, 0x7fff
.L80246FF4:
/* 13A334 80246FF4 3C038008 */ lui $v1, 0x8008
/* 13A334 80246FF4 3C038008 */ lui $v1, %hi(gItemTable+0x6)
/* 13A338 80246FF8 00621821 */ addu $v1, $v1, $v0
/* 13A33C 80246FFC 946378E6 */ lhu $v1, 0x78e6($v1)
/* 13A33C 80246FFC 946378E6 */ lhu $v1, %lo(gItemTable+0x6)($v1)
.L80247000:
/* 13A340 80247000 84A20000 */ lh $v0, ($a1)
/* 13A344 80247004 14400003 */ bnez $v0, .L80247014
@ -18,9 +18,9 @@ glabel pause_badges_comparator
/* 13A34C 8024700C 08091C08 */ j .L80247020
/* 13A350 80247010 24047FFF */ addiu $a0, $zero, 0x7fff
.L80247014:
/* 13A354 80247014 3C048008 */ lui $a0, 0x8008
/* 13A354 80247014 3C048008 */ lui $a0, %hi(gItemTable+0x6)
/* 13A358 80247018 00822021 */ addu $a0, $a0, $v0
/* 13A35C 8024701C 948478E6 */ lhu $a0, 0x78e6($a0)
/* 13A35C 8024701C 948478E6 */ lhu $a0, %lo(gItemTable+0x6)($a0)
.L80247020:
/* 13A360 80247020 00031400 */ sll $v0, $v1, 0x10
/* 13A364 80247024 00021C03 */ sra $v1, $v0, 0x10

View File

@ -60,8 +60,8 @@ glabel pause_badges_draw_contents
/* 13A91C 802475DC 00005810 */ mfhi $t3
/* 13A920 802475E0 24040004 */ addiu $a0, $zero, 4
/* 13A924 802475E4 8FA700C8 */ lw $a3, 0xc8($sp)
/* 13A928 802475E8 3C088011 */ lui $t0, 0x8011
/* 13A92C 802475EC 8108F298 */ lb $t0, -0xd68($t0)
/* 13A928 802475E8 3C088011 */ lui $t0, %hi(gPlayerData+0x8)
/* 13A92C 802475EC 8108F298 */ lb $t0, %lo(gPlayerData+0x8)($t0)
/* 13A930 802475F0 3C058027 */ lui $a1, 0x8027
/* 13A934 802475F4 24A5FC48 */ addiu $a1, $a1, -0x3b8
/* 13A938 802475F8 AFA00010 */ sw $zero, 0x10($sp)
@ -211,8 +211,8 @@ glabel pause_badges_draw_contents
/* 13AB60 80247820 AFAA0094 */ sw $t2, 0x94($sp)
.L80247824:
/* 13AB64 80247824 8FAB0078 */ lw $t3, 0x78($sp)
/* 13AB68 80247828 3C128011 */ lui $s2, 0x8011
/* 13AB6C 8024782C 2652F498 */ addiu $s2, $s2, -0xb68
/* 13AB68 80247828 3C128011 */ lui $s2, %hi(gPlayerData+0x208)
/* 13AB6C 8024782C 2652F498 */ addiu $s2, $s2, %lo(gPlayerData+0x208)
/* 13AB70 80247830 AFA00084 */ sw $zero, 0x84($sp)
/* 13AB74 80247834 8D620004 */ lw $v0, 4($t3)
/* 13AB78 80247838 24037FFF */ addiu $v1, $zero, 0x7fff
@ -1012,8 +1012,8 @@ glabel pause_badges_draw_contents
/* 13B734 802483F4 24070001 */ addiu $a3, $zero, 1
/* 13B738 802483F8 241500FF */ addiu $s5, $zero, 0xff
/* 13B73C 802483FC 8FAB00C4 */ lw $t3, 0xc4($sp)
/* 13B740 80248400 3C048011 */ lui $a0, 0x8011
/* 13B744 80248404 8084F298 */ lb $a0, -0xd68($a0)
/* 13B740 80248400 3C048011 */ lui $a0, %hi(gPlayerData+0x8)
/* 13B744 80248404 8084F298 */ lb $a0, %lo(gPlayerData+0x8)($a0)
/* 13B748 80248408 24140003 */ addiu $s4, $zero, 3
/* 13B74C 8024840C AFB30010 */ sw $s3, 0x10($sp)
/* 13B750 80248410 AFB50014 */ sw $s5, 0x14($sp)
@ -1023,8 +1023,8 @@ glabel pause_badges_draw_contents
/* 13B760 80248420 0C0911FD */ jal pause_get_total_equipped_bp_cost
/* 13B764 80248424 0000902D */ daddu $s2, $zero, $zero
/* 13B768 80248428 3C056666 */ lui $a1, 0x6666
/* 13B76C 8024842C 3C048011 */ lui $a0, 0x8011
/* 13B770 80248430 8084F298 */ lb $a0, -0xd68($a0)
/* 13B76C 8024842C 3C048011 */ lui $a0, %hi(gPlayerData+0x8)
/* 13B770 80248430 8084F298 */ lb $a0, %lo(gPlayerData+0x8)($a0)
/* 13B774 80248434 34A56667 */ ori $a1, $a1, 0x6667
/* 13B778 80248438 2483FFFF */ addiu $v1, $a0, -1
/* 13B77C 8024843C 00650018 */ mult $v1, $a1
@ -1068,8 +1068,8 @@ glabel pause_badges_draw_contents
/* 13B810 802484D0 0060202D */ daddu $a0, $v1, $zero
/* 13B814 802484D4 24630008 */ addiu $v1, $v1, 8
/* 13B818 802484D8 ACC30000 */ sw $v1, ($a2)
/* 13B81C 802484DC 3C108011 */ lui $s0, 0x8011
/* 13B820 802484E0 8210F298 */ lb $s0, -0xd68($s0)
/* 13B81C 802484DC 3C108011 */ lui $s0, %hi(gPlayerData+0x8)
/* 13B820 802484E0 8210F298 */ lb $s0, %lo(gPlayerData+0x8)($s0)
/* 13B824 802484E4 241E0064 */ addiu $fp, $zero, 0x64
/* 13B828 802484E8 AC820000 */ sw $v0, ($a0)
/* 13B82C 802484EC 3C028027 */ lui $v0, 0x8027

View File

@ -322,9 +322,9 @@ glabel pause_badges_handle_input
/* 13C874 80249534 00000000 */ nop
/* 13C878 80249538 10600008 */ beqz $v1, .L8024955C
/* 13C87C 8024953C 00031140 */ sll $v0, $v1, 5
/* 13C880 80249540 3C018008 */ lui $at, 0x8008
/* 13C880 80249540 3C018008 */ lui $at, %hi(gItemTable+0x10)
/* 13C884 80249544 00220821 */ addu $at, $at, $v0
/* 13C888 80249548 8C2278F0 */ lw $v0, 0x78f0($at)
/* 13C888 80249548 8C2278F0 */ lw $v0, %lo(gItemTable+0x10)($at)
/* 13C88C 8024954C 3C018027 */ lui $at, 0x8027
/* 13C890 80249550 AC2200C8 */ sw $v0, 0xc8($at)
/* 13C894 80249554 08092566 */ j .L80249598

View File

@ -41,9 +41,9 @@ glabel pause_badges_try_equip
/* 13A6FC 802473BC 00021403 */ sra $v0, $v0, 0x10
/* 13A700 802473C0 10400013 */ beqz $v0, .L80247410
/* 13A704 802473C4 00021140 */ sll $v0, $v0, 5
/* 13A708 802473C8 3C038008 */ lui $v1, 0x8008
/* 13A708 802473C8 3C038008 */ lui $v1, %hi(gItemTable+0x1A)
/* 13A70C 802473CC 00621821 */ addu $v1, $v1, $v0
/* 13A710 802473D0 906378FA */ lbu $v1, 0x78fa($v1)
/* 13A710 802473D0 906378FA */ lbu $v1, %lo(gItemTable+0x1A)($v1)
/* 13A714 802473D4 00031080 */ sll $v0, $v1, 2
/* 13A718 802473D8 00431021 */ addu $v0, $v0, $v1
/* 13A71C 802473DC 00021080 */ sll $v0, $v0, 2

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel pause_badges_try_remove
/* 13A5F0 802472B0 3C068011 */ lui $a2, 0x8011
/* 13A5F4 802472B4 24C6F498 */ addiu $a2, $a2, -0xb68
/* 13A5F0 802472B0 3C068011 */ lui $a2, %hi(gPlayerData+0x208)
/* 13A5F4 802472B4 24C6F498 */ addiu $a2, $a2, %lo(gPlayerData+0x208)
/* 13A5F8 802472B8 00C0182D */ daddu $v1, $a2, $zero
/* 13A5FC 802472BC 00042400 */ sll $a0, $a0, 0x10
/* 13A600 802472C0 00042403 */ sra $a0, $a0, 0x10

View File

@ -44,8 +44,8 @@ glabel pause_stats_draw_contents
/* 138D5C 80245A1C 0200302D */ daddu $a2, $s0, $zero
/* 138D60 80245A20 24070001 */ addiu $a3, $zero, 1
/* 138D64 80245A24 8FA80084 */ lw $t0, 0x84($sp)
/* 138D68 80245A28 3C048011 */ lui $a0, 0x8011
/* 138D6C 80245A2C 8484F29C */ lh $a0, -0xd64($a0)
/* 138D68 80245A28 3C048011 */ lui $a0, %hi(gPlayerData+0xC)
/* 138D6C 80245A2C 8484F29C */ lh $a0, %lo(gPlayerData+0xC)($a0)
/* 138D70 80245A30 24120003 */ addiu $s2, $zero, 3
/* 138D74 80245A34 AFB20018 */ sw $s2, 0x18($sp)
/* 138D78 80245A38 25140119 */ addiu $s4, $t0, 0x119
@ -85,8 +85,8 @@ glabel pause_stats_draw_contents
/* 138E00 80245AC0 0280282D */ daddu $a1, $s4, $zero
/* 138E04 80245AC4 0200302D */ daddu $a2, $s0, $zero
/* 138E08 80245AC8 24070001 */ addiu $a3, $zero, 1
/* 138E0C 80245ACC 3C048011 */ lui $a0, 0x8011
/* 138E10 80245AD0 8084F2A0 */ lb $a0, -0xd60($a0)
/* 138E0C 80245ACC 3C048011 */ lui $a0, %hi(gPlayerData+0x10)
/* 138E10 80245AD0 8084F2A0 */ lb $a0, %lo(gPlayerData+0x10)($a0)
/* 138E14 80245AD4 2408000A */ addiu $t0, $zero, 0xa
/* 138E18 80245AD8 AFA80010 */ sw $t0, 0x10($sp)
/* 138E1C 80245ADC 240800FF */ addiu $t0, $zero, 0xff
@ -121,8 +121,8 @@ glabel pause_stats_draw_contents
/* 138E90 80245B50 0280282D */ daddu $a1, $s4, $zero
/* 138E94 80245B54 0200302D */ daddu $a2, $s0, $zero
/* 138E98 80245B58 24070001 */ addiu $a3, $zero, 1
/* 138E9C 80245B5C 3C048011 */ lui $a0, 0x8011
/* 138EA0 80245B60 9084F29F */ lbu $a0, -0xd61($a0)
/* 138E9C 80245B5C 3C048011 */ lui $a0, %hi(gPlayerData+0xF)
/* 138EA0 80245B60 9084F29F */ lbu $a0, %lo(gPlayerData+0xF)($a0)
/* 138EA4 80245B64 2408000A */ addiu $t0, $zero, 0xa
/* 138EA8 80245B68 AFA80010 */ sw $t0, 0x10($sp)
/* 138EAC 80245B6C 240800FF */ addiu $t0, $zero, 0xff
@ -165,8 +165,8 @@ glabel pause_stats_draw_contents
/* 138F40 80245C00 AFA80014 */ sw $t0, 0x14($sp)
/* 138F44 80245C04 0200302D */ daddu $a2, $s0, $zero
/* 138F48 80245C08 8FA80084 */ lw $t0, 0x84($sp)
/* 138F4C 80245C0C 3C048011 */ lui $a0, 0x8011
/* 138F50 80245C10 8084F292 */ lb $a0, -0xd6e($a0)
/* 138F4C 80245C0C 3C048011 */ lui $a0, %hi(gPlayerData+0x2)
/* 138F50 80245C10 8084F292 */ lb $a0, %lo(gPlayerData+0x2)($a0)
/* 138F54 80245C14 24070001 */ addiu $a3, $zero, 1
/* 138F58 80245C18 AFA00010 */ sw $zero, 0x10($sp)
/* 138F5C 80245C1C AFB20018 */ sw $s2, 0x18($sp)
@ -187,8 +187,8 @@ glabel pause_stats_draw_contents
/* 138F98 80245C58 AFA80014 */ sw $t0, 0x14($sp)
/* 138F9C 80245C5C 0200302D */ daddu $a2, $s0, $zero
/* 138FA0 80245C60 8FA80084 */ lw $t0, 0x84($sp)
/* 138FA4 80245C64 3C048011 */ lui $a0, 0x8011
/* 138FA8 80245C68 8084F293 */ lb $a0, -0xd6d($a0)
/* 138FA4 80245C64 3C048011 */ lui $a0, %hi(gPlayerData+0x3)
/* 138FA8 80245C68 8084F293 */ lb $a0, %lo(gPlayerData+0x3)($a0)
/* 138FAC 80245C6C 24070001 */ addiu $a3, $zero, 1
/* 138FB0 80245C70 AFA00010 */ sw $zero, 0x10($sp)
/* 138FB4 80245C74 AFB20018 */ sw $s2, 0x18($sp)
@ -221,8 +221,8 @@ glabel pause_stats_draw_contents
/* 139020 80245CE0 0260282D */ daddu $a1, $s3, $zero
/* 139024 80245CE4 0200302D */ daddu $a2, $s0, $zero
/* 139028 80245CE8 24070001 */ addiu $a3, $zero, 1
/* 13902C 80245CEC 3C048011 */ lui $a0, 0x8011
/* 139030 80245CF0 8084F295 */ lb $a0, -0xd6b($a0)
/* 13902C 80245CEC 3C048011 */ lui $a0, %hi(gPlayerData+0x5)
/* 139030 80245CF0 8084F295 */ lb $a0, %lo(gPlayerData+0x5)($a0)
/* 139034 80245CF4 240800FF */ addiu $t0, $zero, 0xff
/* 139038 80245CF8 AFA00010 */ sw $zero, 0x10($sp)
/* 13903C 80245CFC AFA80014 */ sw $t0, 0x14($sp)
@ -241,8 +241,8 @@ glabel pause_stats_draw_contents
/* 139070 80245D30 02E0282D */ daddu $a1, $s7, $zero
/* 139074 80245D34 0200302D */ daddu $a2, $s0, $zero
/* 139078 80245D38 24070001 */ addiu $a3, $zero, 1
/* 13907C 80245D3C 3C048011 */ lui $a0, 0x8011
/* 139080 80245D40 8084F296 */ lb $a0, -0xd6a($a0)
/* 13907C 80245D3C 3C048011 */ lui $a0, %hi(gPlayerData+0x6)
/* 139080 80245D40 8084F296 */ lb $a0, %lo(gPlayerData+0x6)($a0)
/* 139084 80245D44 240800FF */ addiu $t0, $zero, 0xff
/* 139088 80245D48 AFA00010 */ sw $zero, 0x10($sp)
/* 13908C 80245D4C AFA80014 */ sw $t0, 0x14($sp)
@ -272,8 +272,8 @@ glabel pause_stats_draw_contents
/* 1390EC 80245DAC 0260282D */ daddu $a1, $s3, $zero
/* 1390F0 80245DB0 0200302D */ daddu $a2, $s0, $zero
/* 1390F4 80245DB4 24070001 */ addiu $a3, $zero, 1
/* 1390F8 80245DB8 3C048011 */ lui $a0, 0x8011
/* 1390FC 80245DBC 8084F298 */ lb $a0, -0xd68($a0)
/* 1390F8 80245DB8 3C048011 */ lui $a0, %hi(gPlayerData+0x8)
/* 1390FC 80245DBC 8084F298 */ lb $a0, %lo(gPlayerData+0x8)($a0)
/* 139100 80245DC0 240800FF */ addiu $t0, $zero, 0xff
/* 139104 80245DC4 AFA00010 */ sw $zero, 0x10($sp)
/* 139108 80245DC8 AFA80014 */ sw $t0, 0x14($sp)
@ -298,8 +298,8 @@ glabel pause_stats_draw_contents
/* 139154 80245E14 0C04993B */ jal draw_string
/* 139158 80245E18 AFA80014 */ sw $t0, 0x14($sp)
/* 13915C 80245E1C 3C020149 */ lui $v0, 0x149
/* 139160 80245E20 3C148011 */ lui $s4, 0x8011
/* 139164 80245E24 8E94F54C */ lw $s4, -0xab4($s4)
/* 139160 80245E20 3C148011 */ lui $s4, %hi(gPlayerData+0x2BC)
/* 139164 80245E24 8E94F54C */ lw $s4, %lo(gPlayerData+0x2BC)($s4)
/* 139168 80245E28 344296FF */ ori $v0, $v0, 0x96ff
/* 13916C 80245E2C 0054102A */ slt $v0, $v0, $s4
/* 139170 80245E30 10400003 */ beqz $v0, .L80245E40
@ -423,8 +423,8 @@ glabel pause_stats_draw_contents
/* 139344 80246004 00442023 */ subu $a0, $v0, $a0
/* 139348 80246008 3C028011 */ lui $v0, %hi(gPlayerData)
/* 13934C 8024600C 9042F290 */ lbu $v0, %lo(gPlayerData)($v0)
/* 139350 80246010 3C038011 */ lui $v1, 0x8011
/* 139354 80246014 9063F291 */ lbu $v1, -0xd6f($v1)
/* 139350 80246010 3C038011 */ lui $v1, %hi(gPlayerData+0x1)
/* 139354 80246014 9063F291 */ lbu $v1, %lo(gPlayerData+0x1)($v1)
/* 139358 80246018 8FA80084 */ lw $t0, 0x84($sp)
/* 13935C 8024601C 27C7000C */ addiu $a3, $fp, 0xc
/* 139360 80246020 AFA00010 */ sw $zero, 0x10($sp)
@ -432,8 +432,8 @@ glabel pause_stats_draw_contents
/* 139368 80246028 00029603 */ sra $s2, $v0, 0x18
/* 13936C 8024602C 00031E00 */ sll $v1, $v1, 0x18
/* 139370 80246030 00039E03 */ sra $s3, $v1, 0x18
/* 139374 80246034 3C028011 */ lui $v0, 0x8011
/* 139378 80246038 9042F299 */ lbu $v0, -0xd67($v0)
/* 139374 80246034 3C028011 */ lui $v0, %hi(gPlayerData+0x9)
/* 139378 80246038 9042F299 */ lbu $v0, %lo(gPlayerData+0x9)($v0)
/* 13937C 8024603C 00021600 */ sll $v0, $v0, 0x18
/* 139380 80246040 0002A603 */ sra $s4, $v0, 0x18
/* 139384 80246044 0280102D */ daddu $v0, $s4, $zero

View File

@ -2,7 +2,7 @@
.set noreorder # don't insert nops after branches
glabel func_8003E514
/* 19914 8003E514 3C01800B */ lui $at, 0x800b
/* 19918 8003E518 A0240F18 */ sb $a0, 0xf18($at)
/* 19914 8003E514 3C01800B */ lui $at, %hi(gCurrentEncounter+0x8)
/* 19918 8003E518 A0240F18 */ sb $a0, %lo(gCurrentEncounter+0x8)($at)
/* 1991C 8003E51C 03E00008 */ jr $ra
/* 19920 8003E520 00000000 */ nop

View File

@ -9,9 +9,9 @@ glabel kill_encounter
/* 19B40 8003E740 AFB00010 */ sw $s0, 0x10($sp)
/* 19B44 8003E744 80820004 */ lb $v0, 4($a0)
/* 19B48 8003E748 00021080 */ sll $v0, $v0, 2
/* 19B4C 8003E74C 3C12800B */ lui $s2, 0x800b
/* 19B4C 8003E74C 3C12800B */ lui $s2, %hi(gCurrentEncounter+0x28)
/* 19B50 8003E750 02429021 */ addu $s2, $s2, $v0
/* 19B54 8003E754 8E520F38 */ lw $s2, 0xf38($s2)
/* 19B54 8003E754 8E520F38 */ lw $s2, %lo(gCurrentEncounter+0x28)($s2)
/* 19B58 8003E758 8E420000 */ lw $v0, ($s2)
/* 19B5C 8003E75C 1840000D */ blez $v0, .L8003E794
/* 19B60 8003E760 0000882D */ daddu $s1, $zero, $zero

View File

@ -11,9 +11,9 @@ glabel kill_enemy
/* 19BC4 8003E7C4 AFB10014 */ sw $s1, 0x14($sp)
/* 19BC8 8003E7C8 82020004 */ lb $v0, 4($s0)
/* 19BCC 8003E7CC 00021080 */ sll $v0, $v0, 2
/* 19BD0 8003E7D0 3C13800B */ lui $s3, 0x800b
/* 19BD0 8003E7D0 3C13800B */ lui $s3, %hi(gCurrentEncounter+0x28)
/* 19BD4 8003E7D4 02629821 */ addu $s3, $s3, $v0
/* 19BD8 8003E7D8 8E730F38 */ lw $s3, 0xf38($s3)
/* 19BD8 8003E7D8 8E730F38 */ lw $s3, %lo(gCurrentEncounter+0x28)($s3)
/* 19BDC 8003E7DC 8E640000 */ lw $a0, ($s3)
/* 19BE0 8003E7E0 3C12800B */ lui $s2, %hi(gCurrentEncounter)
/* 19BE4 8003E7E4 26520F10 */ addiu $s2, $s2, %lo(gCurrentEncounter)

View File

@ -262,9 +262,9 @@ glabel pause_items_handle_input
/* 13DED4 8024AB94 00000000 */ nop
/* 13DED8 8024AB98 10600008 */ beqz $v1, .L8024ABBC
/* 13DEDC 8024AB9C 00031140 */ sll $v0, $v1, 5
/* 13DEE0 8024ABA0 3C018008 */ lui $at, 0x8008
/* 13DEE0 8024ABA0 3C018008 */ lui $at, %hi(gItemTable+0x10)
/* 13DEE4 8024ABA4 00220821 */ addu $at, $at, $v0
/* 13DEE8 8024ABA8 8C2278F0 */ lw $v0, 0x78f0($at)
/* 13DEE8 8024ABA8 8C2278F0 */ lw $v0, %lo(gItemTable+0x10)($at)
/* 13DEEC 8024ABAC 3C018027 */ lui $at, 0x8027
/* 13DEF0 8024ABB0 AC2200C8 */ sw $v0, 0xc8($at)
/* 13DEF4 8024ABB4 08092AFE */ j .L8024ABF8

View File

@ -673,9 +673,9 @@ glabel func_802471EC
/* 168448 80247BE8 2C820005 */ sltiu $v0, $a0, 5
/* 16844C 80247BEC 10400043 */ beqz $v0, .L80247CFC
/* 168450 80247BF0 00041080 */ sll $v0, $a0, 2
/* 168454 80247BF4 3C018025 */ lui $at, 0x8025
/* 168454 80247BF4 3C018025 */ lui $at, %hi(pause_partners_draw_movelist_title)
/* 168458 80247BF8 00220821 */ addu $at, $at, $v0
/* 16845C 80247BFC 8C22C048 */ lw $v0, -0x3fb8($at)
/* 16845C 80247BFC 8C22C048 */ lw $v0, %lo(pause_partners_draw_movelist_title)($at)
/* 168460 80247C00 00400008 */ jr $v0
/* 168464 80247C04 00000000 */ nop
/* 168468 80247C08 3C018025 */ lui $at, 0x8025

View File

@ -16,8 +16,8 @@ glabel func_80244D90
/* 17369C 80244DBC 00431021 */ addu $v0, $v0, $v1
/* 1736A0 80244DC0 000210C0 */ sll $v0, $v0, 3
/* 1736A4 80244DC4 00443021 */ addu $a2, $v0, $a0
/* 1736A8 80244DC8 3C03800B */ lui $v1, 0x800b
/* 1736AC 80244DCC 80630F19 */ lb $v1, 0xf19($v1)
/* 1736A8 80244DC8 3C03800B */ lui $v1, %hi(gCurrentEncounter+0x9)
/* 1736AC 80244DCC 80630F19 */ lb $v1, %lo(gCurrentEncounter+0x9)($v1)
/* 1736B0 80244DD0 24020001 */ addiu $v0, $zero, 1
/* 1736B4 80244DD4 1462000E */ bne $v1, $v0, .L80244E10
/* 1736B8 80244DD8 3C030080 */ lui $v1, 0x80

View File

@ -1,6 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80246B2C
/* 17540C 80246B2C 03E00008 */ jr $ra
/* 175410 80246B30 00000000 */ nop

View File

@ -5,8 +5,8 @@ glabel func_80253FB0
/* 182890 80253FB0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 182894 80253FB4 24020003 */ addiu $v0, $zero, 3
/* 182898 80253FB8 AFBF0010 */ sw $ra, 0x10($sp)
/* 18289C 80253FBC 3C01800B */ lui $at, 0x800b
/* 1828A0 80253FC0 A0220F19 */ sb $v0, 0xf19($at)
/* 18289C 80253FBC 3C01800B */ lui $at, %hi(gCurrentEncounter+0x9)
/* 1828A0 80253FC0 A0220F19 */ sb $v0, %lo(gCurrentEncounter+0x9)($at)
/* 1828A4 80253FC4 0C090464 */ jal func_80241190
/* 1828A8 80253FC8 24040020 */ addiu $a0, $zero, 0x20
/* 1828AC 80253FCC 8FBF0010 */ lw $ra, 0x10($sp)

View File

@ -658,8 +658,8 @@ glabel func_80255FE0
.L802569B0:
/* 185290 802569B0 1100000B */ beqz $t0, .L802569E0
/* 185294 802569B4 24020006 */ addiu $v0, $zero, 6
/* 185298 802569B8 3C038011 */ lui $v1, 0x8011
/* 18529C 802569BC 8063F2A2 */ lb $v1, -0xd5e($v1)
/* 185298 802569B8 3C038011 */ lui $v1, %hi(gPlayerData+0x12)
/* 18529C 802569BC 8063F2A2 */ lb $v1, %lo(gPlayerData+0x12)($v1)
/* 1852A0 802569C0 14620007 */ bne $v1, $v0, .L802569E0
/* 1852A4 802569C4 00000000 */ nop
/* 1852A8 802569C8 16000005 */ bnez $s0, .L802569E0

View File

@ -816,8 +816,8 @@ glabel func_8025E190
/* 18D6C4 8025EDE4 2404000C */ addiu $a0, $zero, 0xc
/* 18D6C8 8025EDE8 1040001B */ beqz $v0, .L8025EE58
/* 18D6CC 8025EDEC 00000000 */ nop
/* 18D6D0 8025EDF0 3C028009 */ lui $v0, 0x8009
/* 18D6D4 8025EDF4 844297E4 */ lh $v0, -0x681c($v0)
/* 18D6D0 8025EDF0 3C028009 */ lui $v0, %hi(gItemTable+0x1F04)
/* 18D6D4 8025EDF4 844297E4 */ lh $v0, %lo(gItemTable+0x1F04)($v0)
/* 18D6D8 8025EDF8 3C14802A */ lui $s4, 0x802a
/* 18D6DC 8025EDFC 8E94FAA8 */ lw $s4, -0x558($s4)
/* 18D6E0 8025EE00 000210C0 */ sll $v0, $v0, 3
@ -1062,8 +1062,8 @@ glabel func_8025E190
/* 18DA84 8025F1A4 24040004 */ addiu $a0, $zero, 4
/* 18DA88 8025F1A8 1040001B */ beqz $v0, .L8025F218
/* 18DA8C 8025F1AC 00000000 */ nop
/* 18DA90 8025F1B0 3C028009 */ lui $v0, 0x8009
/* 18DA94 8025F1B4 844295C4 */ lh $v0, -0x6a3c($v0)
/* 18DA90 8025F1B0 3C028009 */ lui $v0, %hi(gItemTable+0x1CE4)
/* 18DA94 8025F1B4 844295C4 */ lh $v0, %lo(gItemTable+0x1CE4)($v0)
/* 18DA98 8025F1B8 3C14802A */ lui $s4, 0x802a
/* 18DA9C 8025F1BC 8E94FAC4 */ lw $s4, -0x53c($s4)
/* 18DAA0 8025F1C0 000210C0 */ sll $v0, $v0, 3

View File

@ -23,9 +23,9 @@ glabel func_80260E90
/* 18F7B8 80260ED8 8442017A */ lh $v0, 0x17a($v0)
/* 18F7BC 80260EDC 0260202D */ daddu $a0, $s3, $zero
/* 18F7C0 80260EE0 00021140 */ sll $v0, $v0, 5
/* 18F7C4 80260EE4 3C128008 */ lui $s2, 0x8008
/* 18F7C4 80260EE4 3C128008 */ lui $s2, %hi(gItemTable+0xC)
/* 18F7C8 80260EE8 02429021 */ addu $s2, $s2, $v0
/* 18F7CC 80260EEC 865278EC */ lh $s2, 0x78ec($s2)
/* 18F7CC 80260EEC 865278EC */ lh $s2, %lo(gItemTable+0xC)($s2)
/* 18F7D0 80260EF0 92620191 */ lbu $v0, 0x191($s3)
/* 18F7D4 80260EF4 C6620148 */ lwc1 $f2, 0x148($s3)
/* 18F7D8 80260EF8 44820000 */ mtc1 $v0, $f0

View File

@ -10,9 +10,9 @@ glabel func_80261064
/* 18F958 80261078 8462017A */ lh $v0, 0x17a($v1)
/* 18F95C 8026107C 8C6400D8 */ lw $a0, 0xd8($v1)
/* 18F960 80261080 00021140 */ sll $v0, $v0, 5
/* 18F964 80261084 3C108008 */ lui $s0, 0x8008
/* 18F964 80261084 3C108008 */ lui $s0, %hi(gItemTable+0xC)
/* 18F968 80261088 02028021 */ addu $s0, $s0, $v0
/* 18F96C 8026108C 861078EC */ lh $s0, 0x78ec($s0)
/* 18F96C 8026108C 861078EC */ lh $s0, %lo(gItemTable+0xC)($s0)
/* 18F970 80261090 0C099CAB */ jal heroes_is_ability_active
/* 18F974 80261094 2405001D */ addiu $a1, $zero, 0x1d
/* 18F978 80261098 10400007 */ beqz $v0, .L802610B8

View File

@ -8,8 +8,8 @@ glabel func_802611E8
/* 18FAD4 802611F4 3C048011 */ lui $a0, %hi(gPlayerData)
/* 18FAD8 802611F8 2484F290 */ addiu $a0, $a0, %lo(gPlayerData)
/* 18FADC 802611FC AFB10014 */ sw $s1, 0x14($sp)
/* 18FAE0 80261200 3C118009 */ lui $s1, 0x8009
/* 18FAE4 80261204 26318B80 */ addiu $s1, $s1, -0x7480
/* 18FAE0 80261200 3C118009 */ lui $s1, %hi(gItemTable+0x12A0)
/* 18FAE4 80261204 26318B80 */ addiu $s1, $s1, %lo(gItemTable+0x12A0)
/* 18FAE8 80261208 AFBF001C */ sw $ra, 0x1c($sp)
/* 18FAEC 8026120C AFB00010 */ sw $s0, 0x10($sp)
/* 18FAF0 80261210 90820002 */ lbu $v0, 2($a0)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80263464
/* 191D44 80263464 3C028011 */ lui $v0, 0x8011
/* 191D48 80263468 8042F292 */ lb $v0, -0xd6e($v0)
/* 191D44 80263464 3C028011 */ lui $v0, %hi(gPlayerData+0x2)
/* 191D48 80263468 8042F292 */ lb $v0, %lo(gPlayerData+0x2)($v0)
/* 191D4C 8026346C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 191D50 80263470 1C40000D */ bgtz $v0, .L802634A8
/* 191D54 80263474 AFBF0010 */ sw $ra, 0x10($sp)

View File

@ -56,8 +56,8 @@ glabel calc_enemy_damage_target
/* 1A5DCC 802774EC 00000000 */ nop
/* 1A5DD0 802774F0 16C00007 */ bnez $s6, .L80277510
/* 1A5DD4 802774F4 00000000 */ nop
/* 1A5DD8 802774F8 3C028011 */ lui $v0, 0x8011
/* 1A5DDC 802774FC 9042F292 */ lbu $v0, -0xd6e($v0)
/* 1A5DD8 802774F8 3C028011 */ lui $v0, %hi(gPlayerData+0x2)
/* 1A5DDC 802774FC 9042F292 */ lbu $v0, %lo(gPlayerData+0x2)($v0)
/* 1A5DE0 80277500 0809DD44 */ j .L80277510
/* 1A5DE4 80277504 A26201B8 */ sb $v0, 0x1b8($s3)
.L80277508:
@ -513,8 +513,8 @@ glabel calc_enemy_damage_target
/* 1A6458 80277B78 00501021 */ addu $v0, $v0, $s0
/* 1A645C 80277B7C A282007B */ sb $v0, 0x7b($s4)
/* 1A6460 80277B80 926201B8 */ lbu $v0, 0x1b8($s3)
/* 1A6464 80277B84 3C018011 */ lui $at, 0x8011
/* 1A6468 80277B88 A022F292 */ sb $v0, -0xd6e($at)
/* 1A6464 80277B84 3C018011 */ lui $at, %hi(gPlayerData+0x2)
/* 1A6468 80277B88 A022F292 */ sb $v0, %lo(gPlayerData+0x2)($at)
.L80277B8C:
/* 1A646C 80277B8C 3C02800E */ lui $v0, %hi(gBattleStatus)
/* 1A6470 80277B90 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0)

View File

@ -5,12 +5,12 @@ glabel create_npcs
/* 1EAB0 800436B0 27BDFFA0 */ addiu $sp, $sp, -0x60
/* 1EAB4 800436B4 AFBE0058 */ sw $fp, 0x58($sp)
/* 1EAB8 800436B8 27BE0010 */ addiu $fp, $sp, 0x10
/* 1EABC 800436BC 3C07800B */ lui $a3, 0x800b
/* 1EAC0 800436C0 8CE70F34 */ lw $a3, 0xf34($a3)
/* 1EABC 800436BC 3C07800B */ lui $a3, %hi(gCurrentEncounter+0x24)
/* 1EAC0 800436C0 8CE70F34 */ lw $a3, %lo(gCurrentEncounter+0x24)($a3)
/* 1EAC4 800436C4 3C03800A */ lui $v1, 0x800a
/* 1EAC8 800436C8 8C63A5D0 */ lw $v1, -0x5a30($v1)
/* 1EACC 800436CC 3C08800B */ lui $t0, 0x800b
/* 1EAD0 800436D0 81080F30 */ lb $t0, 0xf30($t0)
/* 1EACC 800436CC 3C08800B */ lui $t0, %hi(gCurrentEncounter+0x20)
/* 1EAD0 800436D0 81080F30 */ lb $t0, %lo(gCurrentEncounter+0x20)($t0)
/* 1EAD4 800436D4 24040001 */ addiu $a0, $zero, 1
/* 1EAD8 800436D8 AFBF005C */ sw $ra, 0x5c($sp)
/* 1EADC 800436DC AFB70054 */ sw $s7, 0x54($sp)
@ -37,8 +37,8 @@ glabel create_npcs
/* 1EB2C 8004372C 08011044 */ j .L80044110
/* 1EB30 80043730 00000000 */ nop
.L80043734:
/* 1EB34 80043734 3C02800B */ lui $v0, 0x800b
/* 1EB38 80043738 80420F31 */ lb $v0, 0xf31($v0)
/* 1EB34 80043734 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x21)
/* 1EB38 80043738 80420F31 */ lb $v0, %lo(gCurrentEncounter+0x21)($v0)
/* 1EB3C 8004373C 1044002A */ beq $v0, $a0, .L800437E8
/* 1EB40 80043740 00000000 */ nop
/* 1EB44 80043744 0000982D */ daddu $s3, $zero, $zero
@ -479,16 +479,16 @@ glabel create_npcs
/* 1F178 80043D78 AFA7002C */ sw $a3, 0x2c($sp)
.L80043D7C:
/* 1F17C 80043D7C 24020001 */ addiu $v0, $zero, 1
/* 1F180 80043D80 3C01800B */ lui $at, 0x800b
/* 1F184 80043D84 A0360F2C */ sb $s6, 0xf2c($at)
/* 1F180 80043D80 3C01800B */ lui $at, %hi(gCurrentEncounter+0x1C)
/* 1F184 80043D84 A0360F2C */ sb $s6, %lo(gCurrentEncounter+0x1C)($at)
/* 1F188 80043D88 3C01800A */ lui $at, 0x800a
/* 1F18C 80043D8C AC22A5D0 */ sw $v0, -0x5a30($at)
/* 1F190 80043D90 08011044 */ j .L80044110
/* 1F194 80043D94 00000000 */ nop
.L80043D98:
/* 1F198 80043D98 0000A82D */ daddu $s5, $zero, $zero
/* 1F19C 80043D9C 3C02800B */ lui $v0, 0x800b
/* 1F1A0 80043DA0 80420F2C */ lb $v0, 0xf2c($v0)
/* 1F19C 80043D9C 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1F1A0 80043DA0 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
/* 1F1A4 80043DA4 1840001F */ blez $v0, .L80043E24
/* 1F1A8 80043DA8 02A0B02D */ daddu $s6, $s5, $zero
/* 1F1AC 80043DAC 3C12800B */ lui $s2, %hi(gCurrentEncounter)
@ -519,8 +519,8 @@ glabel create_npcs
/* 1F204 80043E04 1440FFF2 */ bnez $v0, .L80043DD0
/* 1F208 80043E08 26310004 */ addiu $s1, $s1, 4
.L80043E0C:
/* 1F20C 80043E0C 3C02800B */ lui $v0, 0x800b
/* 1F210 80043E10 80420F2C */ lb $v0, 0xf2c($v0)
/* 1F20C 80043E0C 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1F210 80043E10 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
/* 1F214 80043E14 26D60001 */ addiu $s6, $s6, 1
/* 1F218 80043E18 02C2102A */ slt $v0, $s6, $v0
/* 1F21C 80043E1C 1440FFE5 */ bnez $v0, .L80043DB4
@ -528,8 +528,8 @@ glabel create_npcs
.L80043E24:
/* 1F224 80043E24 16A000BA */ bnez $s5, .L80044110
/* 1F228 80043E28 00000000 */ nop
/* 1F22C 80043E2C 3C02800B */ lui $v0, 0x800b
/* 1F230 80043E30 80420F2C */ lb $v0, 0xf2c($v0)
/* 1F22C 80043E2C 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1F230 80043E30 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
/* 1F234 80043E34 18400026 */ blez $v0, .L80043ED0
/* 1F238 80043E38 0000B02D */ daddu $s6, $zero, $zero
/* 1F23C 80043E3C 3C12800B */ lui $s2, %hi(gCurrentEncounter)
@ -567,8 +567,8 @@ glabel create_npcs
/* 1F2B0 80043EB0 1440FFEB */ bnez $v0, .L80043E60
/* 1F2B4 80043EB4 26310004 */ addiu $s1, $s1, 4
.L80043EB8:
/* 1F2B8 80043EB8 3C02800B */ lui $v0, 0x800b
/* 1F2BC 80043EBC 80420F2C */ lb $v0, 0xf2c($v0)
/* 1F2B8 80043EB8 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1F2BC 80043EBC 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
/* 1F2C0 80043EC0 26D60001 */ addiu $s6, $s6, 1
/* 1F2C4 80043EC4 02C2102A */ slt $v0, $s6, $v0
/* 1F2C8 80043EC8 1440FFDE */ bnez $v0, .L80043E44
@ -580,8 +580,8 @@ glabel create_npcs
/* 1F2DC 80043EDC 08011044 */ j .L80044110
/* 1F2E0 80043EE0 00000000 */ nop
.L80043EE4:
/* 1F2E4 80043EE4 3C02800B */ lui $v0, 0x800b
/* 1F2E8 80043EE8 80420F2C */ lb $v0, 0xf2c($v0)
/* 1F2E4 80043EE4 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1F2E8 80043EE8 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
/* 1F2EC 80043EEC 18400020 */ blez $v0, .L80043F70
/* 1F2F0 80043EF0 02A0B02D */ daddu $s6, $s5, $zero
/* 1F2F4 80043EF4 3C12800B */ lui $s2, %hi(gCurrentEncounter)
@ -613,8 +613,8 @@ glabel create_npcs
/* 1F350 80043F50 1440FFF1 */ bnez $v0, .L80043F18
/* 1F354 80043F54 26310004 */ addiu $s1, $s1, 4
.L80043F58:
/* 1F358 80043F58 3C02800B */ lui $v0, 0x800b
/* 1F35C 80043F5C 80420F2C */ lb $v0, 0xf2c($v0)
/* 1F358 80043F58 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1F35C 80043F5C 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
/* 1F360 80043F60 26D60001 */ addiu $s6, $s6, 1
/* 1F364 80043F64 02C2102A */ slt $v0, $s6, $v0
/* 1F368 80043F68 1440FFE4 */ bnez $v0, .L80043EFC
@ -622,8 +622,8 @@ glabel create_npcs
.L80043F70:
/* 1F370 80043F70 16A00067 */ bnez $s5, .L80044110
/* 1F374 80043F74 00000000 */ nop
/* 1F378 80043F78 3C02800B */ lui $v0, 0x800b
/* 1F37C 80043F7C 80420F2C */ lb $v0, 0xf2c($v0)
/* 1F378 80043F78 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1F37C 80043F7C 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
/* 1F380 80043F80 1840002E */ blez $v0, .L8004403C
/* 1F384 80043F84 0000B02D */ daddu $s6, $zero, $zero
/* 1F388 80043F88 24150064 */ addiu $s5, $zero, 0x64
@ -667,14 +667,14 @@ glabel create_npcs
/* 1F414 80044014 1440FFE6 */ bnez $v0, .L80043FB0
/* 1F418 80044018 26310004 */ addiu $s1, $s1, 4
.L8004401C:
/* 1F41C 8004401C 3C02800B */ lui $v0, 0x800b
/* 1F420 80044020 80420F2C */ lb $v0, 0xf2c($v0)
/* 1F41C 8004401C 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1F420 80044020 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
/* 1F424 80044024 26D60001 */ addiu $s6, $s6, 1
/* 1F428 80044028 02C2102A */ slt $v0, $s6, $v0
/* 1F42C 8004402C 1440FFD9 */ bnez $v0, .L80043F94
/* 1F430 80044030 26520004 */ addiu $s2, $s2, 4
/* 1F434 80044034 3C02800B */ lui $v0, 0x800b
/* 1F438 80044038 80420F2C */ lb $v0, 0xf2c($v0)
/* 1F434 80044034 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1F438 80044038 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
.L8004403C:
/* 1F43C 8004403C 1840002A */ blez $v0, .L800440E8
/* 1F440 80044040 0000B02D */ daddu $s6, $zero, $zero
@ -717,8 +717,8 @@ glabel create_npcs
/* 1F4C8 800440C8 1440FFE7 */ bnez $v0, .L80044068
/* 1F4CC 800440CC 26310004 */ addiu $s1, $s1, 4
.L800440D0:
/* 1F4D0 800440D0 3C02800B */ lui $v0, 0x800b
/* 1F4D4 800440D4 80420F2C */ lb $v0, 0xf2c($v0)
/* 1F4D0 800440D0 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1F4D4 800440D4 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
/* 1F4D8 800440D8 26D60001 */ addiu $s6, $s6, 1
/* 1F4DC 800440DC 02C2102A */ slt $v0, $s6, $v0
/* 1F4E0 800440E0 1440FFDA */ bnez $v0, .L8004404C

View File

@ -759,8 +759,8 @@ glabel func_8003F7CC
/* 1B6FC 800402FC 0000282D */ daddu $a1, $zero, $zero
/* 1B700 80040300 0C052757 */ jal play_sound_at_position
/* 1B704 80040304 E7A00010 */ swc1 $f0, 0x10($sp)
/* 1B708 80040308 3C038011 */ lui $v1, 0x8011
/* 1B70C 8004030C 9063F291 */ lbu $v1, -0xd6f($v1)
/* 1B708 80040308 3C038011 */ lui $v1, %hi(gPlayerData+0x1)
/* 1B70C 8004030C 9063F291 */ lbu $v1, %lo(gPlayerData+0x1)($v1)
/* 1B710 80040310 24020004 */ addiu $v0, $zero, 4
/* 1B714 80040314 A2620005 */ sb $v0, 5($s3)
/* 1B718 80040318 0801015F */ j .L8004057C
@ -1030,8 +1030,8 @@ glabel func_8003F7CC
/* 1BB14 80040714 1040000A */ beqz $v0, .L80040740
/* 1BB18 80040718 00000000 */ nop
/* 1BB1C 8004071C 8E220018 */ lw $v0, 0x18($s1)
/* 1BB20 80040720 3C038011 */ lui $v1, 0x8011
/* 1BB24 80040724 8063F299 */ lb $v1, -0xd67($v1)
/* 1BB20 80040720 3C038011 */ lui $v1, %hi(gPlayerData+0x9)
/* 1BB24 80040724 8063F299 */ lb $v1, %lo(gPlayerData+0x9)($v1)
/* 1BB28 80040728 84420028 */ lh $v0, 0x28($v0)
/* 1BB2C 8004072C 0062182A */ slt $v1, $v1, $v0
/* 1BB30 80040730 14600003 */ bnez $v1, .L80040740
@ -1126,8 +1126,8 @@ glabel func_8003F7CC
/* 1BC80 80040880 5040001C */ beql $v0, $zero, .L800408F4
/* 1BC84 80040884 A2700004 */ sb $s0, 4($s3)
/* 1BC88 80040888 8E220018 */ lw $v0, 0x18($s1)
/* 1BC8C 8004088C 3C038011 */ lui $v1, 0x8011
/* 1BC90 80040890 8063F299 */ lb $v1, -0xd67($v1)
/* 1BC8C 8004088C 3C038011 */ lui $v1, %hi(gPlayerData+0x9)
/* 1BC90 80040890 8063F299 */ lb $v1, %lo(gPlayerData+0x9)($v1)
/* 1BC94 80040894 84420028 */ lh $v0, 0x28($v0)
/* 1BC98 80040898 0062182A */ slt $v1, $v1, $v0
/* 1BC9C 8004089C 54600015 */ bnel $v1, $zero, .L800408F4

View File

@ -65,8 +65,8 @@ glabel func_800431DC
/* 1E6CC 800432CC E7A60038 */ swc1 $f6, 0x38($sp)
/* 1E6D0 800432D0 0000F02D */ daddu $fp, $zero, $zero
/* 1E6D4 800432D4 03C0A82D */ daddu $s5, $fp, $zero
/* 1E6D8 800432D8 3C02800B */ lui $v0, 0x800b
/* 1E6DC 800432DC 80420F2C */ lb $v0, 0xf2c($v0)
/* 1E6D8 800432D8 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1E6DC 800432DC 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
/* 1E6E0 800432E0 3C01477F */ lui $at, 0x477f
/* 1E6E4 800432E4 3421FF00 */ ori $at, $at, 0xff00
/* 1E6E8 800432E8 44814000 */ mtc1 $at, $f8
@ -260,8 +260,8 @@ glabel func_800431DC
/* 1E9B8 800435B8 1440FF5B */ bnez $v0, .L80043328
/* 1E9BC 800435BC 00121080 */ sll $v0, $s2, 2
.L800435C0:
/* 1E9C0 800435C0 3C02800B */ lui $v0, 0x800b
/* 1E9C4 800435C4 80420F2C */ lb $v0, 0xf2c($v0)
/* 1E9C0 800435C0 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x1C)
/* 1E9C4 800435C4 80420F2C */ lb $v0, %lo(gCurrentEncounter+0x1C)($v0)
/* 1E9C8 800435C8 26B50001 */ addiu $s5, $s5, 1
/* 1E9CC 800435CC 02A2102A */ slt $v0, $s5, $v0
/* 1E9D0 800435D0 1440FF4B */ bnez $v0, .L80043300
@ -289,17 +289,17 @@ glabel func_800431DC
/* 1EA24 80043624 00000000 */ nop
/* 1EA28 80043628 24020001 */ addiu $v0, $zero, 1
/* 1EA2C 8004362C 24030005 */ addiu $v1, $zero, 5
/* 1EA30 80043630 3C01800B */ lui $at, 0x800b
/* 1EA34 80043634 A0230F15 */ sb $v1, 0xf15($at)
/* 1EA30 80043630 3C01800B */ lui $at, %hi(gCurrentEncounter+0x5)
/* 1EA34 80043634 A0230F15 */ sb $v1, %lo(gCurrentEncounter+0x5)($at)
/* 1EA38 80043638 A2C30005 */ sb $v1, 5($s6)
/* 1EA3C 8004363C 8FA8002C */ lw $t0, 0x2c($sp)
/* 1EA40 80043640 0040182D */ daddu $v1, $v0, $zero
/* 1EA44 80043644 3C01800B */ lui $at, 0x800b
/* 1EA48 80043648 AC360F9C */ sw $s6, 0xf9c($at)
/* 1EA4C 8004364C 3C01800B */ lui $at, 0x800b
/* 1EA50 80043650 A0230F14 */ sb $v1, 0xf14($at)
/* 1EA54 80043654 3C01800B */ lui $at, 0x800b
/* 1EA58 80043658 AC280F98 */ sw $t0, 0xf98($at)
/* 1EA44 80043644 3C01800B */ lui $at, %hi(gCurrentEncounter+0x8C)
/* 1EA48 80043648 AC360F9C */ sw $s6, %lo(gCurrentEncounter+0x8C)($at)
/* 1EA4C 8004364C 3C01800B */ lui $at, %hi(gCurrentEncounter+0x4)
/* 1EA50 80043650 A0230F14 */ sb $v1, %lo(gCurrentEncounter+0x4)($at)
/* 1EA54 80043654 3C01800B */ lui $at, %hi(gCurrentEncounter+0x88)
/* 1EA58 80043658 AC280F98 */ sw $t0, %lo(gCurrentEncounter+0x88)($at)
/* 1EA5C 8004365C 08010D9A */ j .L80043668
/* 1EA60 80043660 00000000 */ nop
.L80043664:

View File

@ -192,8 +192,8 @@ glabel spawn_drops
/* 23948 80048548 0C051514 */ jal set_global_flag
/* 2394C 8004854C 24840715 */ addiu $a0, $a0, 0x715
.L80048550:
/* 23950 80048550 3C02800B */ lui $v0, 0x800b
/* 23954 80048554 80420F23 */ lb $v0, 0xf23($v0)
/* 23950 80048550 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x13)
/* 23954 80048554 80420F23 */ lb $v0, %lo(gCurrentEncounter+0x13)($v0)
/* 23958 80048558 10400026 */ beqz $v0, .L800485F4
/* 2395C 8004855C 24040093 */ addiu $a0, $zero, 0x93
/* 23960 80048560 24020004 */ addiu $v0, $zero, 4
@ -208,8 +208,8 @@ glabel spawn_drops
/* 23984 80048584 4407F000 */ mfc1 $a3, $f30
/* 23988 80048588 8FA80024 */ lw $t0, 0x24($sp)
/* 2398C 8004858C 02C21021 */ addu $v0, $s6, $v0
/* 23990 80048590 3C01800B */ lui $at, 0x800b
/* 23994 80048594 A0200F23 */ sb $zero, 0xf23($at)
/* 23990 80048590 3C01800B */ lui $at, %hi(gCurrentEncounter+0x13)
/* 23994 80048594 A0200F23 */ sb $zero, %lo(gCurrentEncounter+0x13)($at)
/* 23998 80048598 AFA20018 */ sw $v0, 0x18($sp)
/* 2399C 8004859C AFA0001C */ sw $zero, 0x1c($sp)
/* 239A0 800485A0 0C04C4FD */ jal make_item_entity
@ -245,10 +245,10 @@ glabel spawn_drops
/* 23A10 80048610 4481D000 */ mtc1 $at, $f26
/* 23A14 80048614 3C0142C8 */ lui $at, 0x42c8
/* 23A18 80048618 4481E000 */ mtc1 $at, $f28
/* 23A1C 8004861C 3C028011 */ lui $v0, 0x8011
/* 23A20 80048620 8042F292 */ lb $v0, -0xd6e($v0)
/* 23A24 80048624 3C038011 */ lui $v1, 0x8011
/* 23A28 80048628 8063F293 */ lb $v1, -0xd6d($v1)
/* 23A1C 8004861C 3C028011 */ lui $v0, %hi(gPlayerData+0x2)
/* 23A20 80048620 8042F292 */ lb $v0, %lo(gPlayerData+0x2)($v0)
/* 23A24 80048624 3C038011 */ lui $v1, %hi(gPlayerData+0x3)
/* 23A28 80048628 8063F293 */ lb $v1, %lo(gPlayerData+0x3)($v1)
/* 23A2C 8004862C 24130002 */ addiu $s3, $zero, 2
/* 23A30 80048630 AFA00030 */ sw $zero, 0x30($sp)
/* 23A34 80048634 44821000 */ mtc1 $v0, $f2
@ -431,10 +431,10 @@ glabel spawn_drops
/* 23CC0 800488C0 4481D000 */ mtc1 $at, $f26
/* 23CC4 800488C4 3C0142C8 */ lui $at, 0x42c8
/* 23CC8 800488C8 4481E000 */ mtc1 $at, $f28
/* 23CCC 800488CC 3C028011 */ lui $v0, 0x8011
/* 23CD0 800488D0 8042F295 */ lb $v0, -0xd6b($v0)
/* 23CD4 800488D4 3C038011 */ lui $v1, 0x8011
/* 23CD8 800488D8 8063F296 */ lb $v1, -0xd6a($v1)
/* 23CCC 800488CC 3C028011 */ lui $v0, %hi(gPlayerData+0x5)
/* 23CD0 800488D0 8042F295 */ lb $v0, %lo(gPlayerData+0x5)($v0)
/* 23CD4 800488D4 3C038011 */ lui $v1, %hi(gPlayerData+0x6)
/* 23CD8 800488D8 8063F296 */ lb $v1, %lo(gPlayerData+0x6)($v1)
/* 23CDC 800488DC 24130002 */ addiu $s3, $zero, 2
/* 23CE0 800488E0 AFA00030 */ sw $zero, 0x30($sp)
/* 23CE4 800488E4 44821000 */ mtc1 $v0, $f2
@ -636,26 +636,26 @@ glabel spawn_drops
/* 23FA8 80048BA8 06220001 */ bltzl $s1, .L80048BB0
/* 23FAC 80048BAC 0000882D */ daddu $s1, $zero, $zero
.L80048BB0:
/* 23FB0 80048BB0 3C02800B */ lui $v0, 0x800b
/* 23FB4 80048BB4 84420F1E */ lh $v0, 0xf1e($v0)
/* 23FB0 80048BB0 3C02800B */ lui $v0, %hi(gCurrentEncounter+0xE)
/* 23FB4 80048BB4 84420F1E */ lh $v0, %lo(gCurrentEncounter+0xE)($v0)
/* 23FB8 80048BB8 24040019 */ addiu $a0, $zero, 0x19
/* 23FBC 80048BBC 0C03A752 */ jal is_ability_active
/* 23FC0 80048BC0 02228821 */ addu $s1, $s1, $v0
/* 23FC4 80048BC4 10400007 */ beqz $v0, .L80048BE4
/* 23FC8 80048BC8 00000000 */ nop
/* 23FCC 80048BCC 3C02800B */ lui $v0, 0x800b
/* 23FD0 80048BD0 90420F1C */ lbu $v0, 0xf1c($v0)
/* 23FD4 80048BD4 3C01800B */ lui $at, 0x800b
/* 23FD8 80048BD8 A0200F1C */ sb $zero, 0xf1c($at)
/* 23FCC 80048BCC 3C02800B */ lui $v0, %hi(gCurrentEncounter+0xC)
/* 23FD0 80048BD0 90420F1C */ lbu $v0, %lo(gCurrentEncounter+0xC)($v0)
/* 23FD4 80048BD4 3C01800B */ lui $at, %hi(gCurrentEncounter+0xC)
/* 23FD8 80048BD8 A0200F1C */ sb $zero, %lo(gCurrentEncounter+0xC)($at)
/* 23FDC 80048BDC 00021042 */ srl $v0, $v0, 1
/* 23FE0 80048BE0 02228821 */ addu $s1, $s1, $v0
.L80048BE4:
/* 23FE4 80048BE4 3C02800B */ lui $v0, 0x800b
/* 23FE8 80048BE8 80420F1B */ lb $v0, 0xf1b($v0)
/* 23FE4 80048BE4 3C02800B */ lui $v0, %hi(gCurrentEncounter+0xB)
/* 23FE8 80048BE8 80420F1B */ lb $v0, %lo(gCurrentEncounter+0xB)($v0)
/* 23FEC 80048BEC 10400004 */ beqz $v0, .L80048C00
/* 23FF0 80048BF0 00111040 */ sll $v0, $s1, 1
/* 23FF4 80048BF4 3C01800B */ lui $at, 0x800b
/* 23FF8 80048BF8 A0200F1B */ sb $zero, 0xf1b($at)
/* 23FF4 80048BF4 3C01800B */ lui $at, %hi(gCurrentEncounter+0xB)
/* 23FF8 80048BF8 A0200F1B */ sb $zero, %lo(gCurrentEncounter+0xB)($at)
/* 23FFC 80048BFC 02228821 */ addu $s1, $s1, $v0
.L80048C00:
/* 24000 80048C00 0C03A752 */ jal is_ability_active

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004DA0C
/* 28E0C 8004DA0C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 28E10 8004DA10 AFB10014 */ sw $s1, 0x14($sp)
/* 28E14 8004DA14 0080882D */ daddu $s1, $a0, $zero
/* 28E18 8004DA18 AFB00010 */ sw $s0, 0x10($sp)
/* 28E1C 8004DA1C 0000802D */ daddu $s0, $zero, $zero
/* 28E20 8004DA20 1220000D */ beqz $s1, .L8004DA58
/* 28E24 8004DA24 AFBF0018 */ sw $ra, 0x18($sp)
/* 28E28 8004DA28 0C0135E5 */ jal func_8004D794
/* 28E2C 8004DA2C 00000000 */ nop
/* 28E30 8004DA30 0040202D */ daddu $a0, $v0, $zero
/* 28E34 8004DA34 50800009 */ beql $a0, $zero, .L8004DA5C
/* 28E38 8004DA38 24100002 */ addiu $s0, $zero, 2
/* 28E3C 8004DA3C 8C82001C */ lw $v0, 0x1c($a0)
/* 28E40 8004DA40 16220007 */ bne $s1, $v0, .L8004DA60
/* 28E44 8004DA44 0200102D */ daddu $v0, $s0, $zero
/* 28E48 8004DA48 0C0136AA */ jal func_8004DAA8
/* 28E4C 8004DA4C 00000000 */ nop
/* 28E50 8004DA50 08013698 */ j .L8004DA60
/* 28E54 8004DA54 0200102D */ daddu $v0, $s0, $zero
.L8004DA58:
/* 28E58 8004DA58 24100003 */ addiu $s0, $zero, 3
.L8004DA5C:
/* 28E5C 8004DA5C 0200102D */ daddu $v0, $s0, $zero
.L8004DA60:
/* 28E60 8004DA60 8FBF0018 */ lw $ra, 0x18($sp)
/* 28E64 8004DA64 8FB10014 */ lw $s1, 0x14($sp)
/* 28E68 8004DA68 8FB00010 */ lw $s0, 0x10($sp)
/* 28E6C 8004DA6C 03E00008 */ jr $ra
/* 28E70 8004DA70 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,19 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8004DAA8
/* 28EA8 8004DAA8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 28EAC 8004DAAC AFBF0010 */ sw $ra, 0x10($sp)
/* 28EB0 8004DAB0 90820221 */ lbu $v0, 0x221($a0)
/* 28EB4 8004DAB4 10400007 */ beqz $v0, .L8004DAD4
/* 28EB8 8004DAB8 24020004 */ addiu $v0, $zero, 4
/* 28EBC 8004DABC A0820221 */ sb $v0, 0x221($a0)
/* 28EC0 8004DAC0 24020001 */ addiu $v0, $zero, 1
/* 28EC4 8004DAC4 AC820010 */ sw $v0, 0x10($a0)
/* 28EC8 8004DAC8 AC820008 */ sw $v0, 8($a0)
/* 28ECC 8004DACC 0C014E86 */ jal func_80053A18
/* 28ED0 8004DAD0 2484002C */ addiu $a0, $a0, 0x2c
.L8004DAD4:
/* 28ED4 8004DAD4 8FBF0010 */ lw $ra, 0x10($sp)
/* 28ED8 8004DAD8 03E00008 */ jr $ra
/* 28EDC 8004DADC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -48,8 +48,8 @@ glabel func_800533D0
/* 2E874 80053474 AE22003C */ sw $v0, 0x3c($s1)
/* 2E878 80053478 A62200BA */ sh $v0, 0xba($s1)
.L8005347C:
/* 2E87C 8005347C 3C118008 */ lui $s1, 0x8008
/* 2E880 80053480 26318DB0 */ addiu $s1, $s1, -0x7250
/* 2E87C 8005347C 3C118008 */ lui $s1, %hi(D_80078DB0)
/* 2E880 80053480 26318DB0 */ addiu $s1, $s1, %lo(D_80078DB0)
/* 2E884 80053484 8E220000 */ lw $v0, ($s1)
/* 2E888 80053488 14400045 */ bnez $v0, .L800535A0
/* 2E88C 8005348C 00000000 */ nop

View File

@ -1,8 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80053A18
/* 2EE18 80053A18 A480000A */ sh $zero, 0xa($a0)
/* 2EE1C 80053A1C AC800004 */ sw $zero, 4($a0)
/* 2EE20 80053A20 03E00008 */ jr $ra
/* 2EE24 80053A24 AC80000C */ sw $zero, 0xc($a0)

View File

@ -6,8 +6,8 @@ glabel func_80055068
/* 3046C 8005506C AFB00010 */ sw $s0, 0x10($sp)
/* 30470 80055070 0080802D */ daddu $s0, $a0, $zero
/* 30474 80055074 3203000F */ andi $v1, $s0, 0xf
/* 30478 80055078 3C048008 */ lui $a0, 0x8008
/* 3047C 8005507C 94848DB4 */ lhu $a0, -0x724c($a0)
/* 30478 80055078 3C048008 */ lui $a0, %hi(D_80078DB4)
/* 3047C 8005507C 94848DB4 */ lhu $a0, %lo(D_80078DB4)($a0)
/* 30480 80055080 24020001 */ addiu $v0, $zero, 1
/* 30484 80055084 1482001E */ bne $a0, $v0, .L80055100
/* 30488 80055088 AFBF0014 */ sw $ra, 0x14($sp)

View File

@ -4,8 +4,8 @@
glabel func_8005591C
/* 30D1C 8005591C 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 30D20 80055920 AFB00030 */ sw $s0, 0x30($sp)
/* 30D24 80055924 3C108008 */ lui $s0, 0x8008
/* 30D28 80055928 26108DB0 */ addiu $s0, $s0, -0x7250
/* 30D24 80055924 3C108008 */ lui $s0, %hi(D_80078DB0)
/* 30D28 80055928 26108DB0 */ addiu $s0, $s0, %lo(D_80078DB0)
/* 30D2C 8005592C 24020001 */ addiu $v0, $zero, 1
/* 30D30 80055930 AFBF0034 */ sw $ra, 0x34($sp)
/* 30D34 80055934 AE020000 */ sw $v0, ($s0)

View File

@ -4,8 +4,8 @@
glabel func_80055970
/* 30D70 80055970 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 30D74 80055974 AFB00030 */ sw $s0, 0x30($sp)
/* 30D78 80055978 3C108008 */ lui $s0, 0x8008
/* 30D7C 8005597C 26108DB0 */ addiu $s0, $s0, -0x7250
/* 30D78 80055978 3C108008 */ lui $s0, %hi(D_80078DB0)
/* 30D7C 8005597C 26108DB0 */ addiu $s0, $s0, %lo(D_80078DB0)
/* 30D80 80055980 24020001 */ addiu $v0, $zero, 1
/* 30D84 80055984 AFBF0034 */ sw $ra, 0x34($sp)
/* 30D88 80055988 AE020000 */ sw $v0, ($s0)

View File

@ -1,11 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800559C4
/* 30DC4 800559C4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 30DC8 800559C8 AFBF0010 */ sw $ra, 0x10($sp)
/* 30DCC 800559CC 0C013683 */ jal func_8004DA0C
/* 30DD0 800559D0 00000000 */ nop
/* 30DD4 800559D4 8FBF0010 */ lw $ra, 0x10($sp)
/* 30DD8 800559D8 03E00008 */ jr $ra
/* 30DDC 800559DC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -4,8 +4,8 @@
glabel func_80055A18
/* 30E18 80055A18 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 30E1C 80055A1C AFB00030 */ sw $s0, 0x30($sp)
/* 30E20 80055A20 3C108008 */ lui $s0, 0x8008
/* 30E24 80055A24 26108DB0 */ addiu $s0, $s0, -0x7250
/* 30E20 80055A20 3C108008 */ lui $s0, %hi(D_80078DB0)
/* 30E24 80055A24 26108DB0 */ addiu $s0, $s0, %lo(D_80078DB0)
/* 30E28 80055A28 8FA30048 */ lw $v1, 0x48($sp)
/* 30E2C 80055A2C 24020001 */ addiu $v0, $zero, 1
/* 30E30 80055A30 AFBF0034 */ sw $ra, 0x34($sp)

View File

@ -4,8 +4,8 @@
glabel func_80055A6C
/* 30E6C 80055A6C 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 30E70 80055A70 AFB00030 */ sw $s0, 0x30($sp)
/* 30E74 80055A74 3C108008 */ lui $s0, 0x8008
/* 30E78 80055A78 26108DB0 */ addiu $s0, $s0, -0x7250
/* 30E74 80055A74 3C108008 */ lui $s0, %hi(D_80078DB0)
/* 30E78 80055A78 26108DB0 */ addiu $s0, $s0, %lo(D_80078DB0)
/* 30E7C 80055A7C 24020001 */ addiu $v0, $zero, 1
/* 30E80 80055A80 AFBF0034 */ sw $ra, 0x34($sp)
/* 30E84 80055A84 AE020000 */ sw $v0, ($s0)

View File

@ -4,8 +4,8 @@
glabel func_80055B28
/* 30F28 80055B28 27BDFFC8 */ addiu $sp, $sp, -0x38
/* 30F2C 80055B2C AFB00030 */ sw $s0, 0x30($sp)
/* 30F30 80055B30 3C108008 */ lui $s0, 0x8008
/* 30F34 80055B34 26108DB0 */ addiu $s0, $s0, -0x7250
/* 30F30 80055B30 3C108008 */ lui $s0, %hi(D_80078DB0)
/* 30F34 80055B34 26108DB0 */ addiu $s0, $s0, %lo(D_80078DB0)
/* 30F38 80055B38 24030001 */ addiu $v1, $zero, 1
/* 30F3C 80055B3C 240207D0 */ addiu $v0, $zero, 0x7d0
/* 30F40 80055B40 AFBF0034 */ sw $ra, 0x34($sp)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802BD758
/* 3184A8 802BD758 3C02800B */ lui $v0, 0x800b
/* 3184AC 802BD75C 80420F18 */ lb $v0, 0xf18($v0)
/* 3184A8 802BD758 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x8)
/* 3184AC 802BD75C 80420F18 */ lb $v0, %lo(gCurrentEncounter+0x8)($v0)
/* 3184B0 802BD760 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 3184B4 802BD764 AFB20038 */ sw $s2, 0x38($sp)
/* 3184B8 802BD768 0080902D */ daddu $s2, $a0, $zero

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802BD660
/* 319BD0 802BD660 3C02800B */ lui $v0, 0x800b
/* 319BD4 802BD664 80420F18 */ lb $v0, 0xf18($v0)
/* 319BD0 802BD660 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x8)
/* 319BD4 802BD664 80420F18 */ lb $v0, %lo(gCurrentEncounter+0x8)($v0)
/* 319BD8 802BD668 27BDFF80 */ addiu $sp, $sp, -0x80
/* 319BDC 802BD66C AFB20040 */ sw $s2, 0x40($sp)
/* 319BE0 802BD670 0080902D */ daddu $s2, $a0, $zero

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_802BD638
/* 31B658 802BD638 3C02800B */ lui $v0, 0x800b
/* 31B65C 802BD63C 80420F18 */ lb $v0, 0xf18($v0)
/* 31B658 802BD638 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x8)
/* 31B65C 802BD63C 80420F18 */ lb $v0, %lo(gCurrentEncounter+0x8)($v0)
/* 31B660 802BD640 27BDFFA8 */ addiu $sp, $sp, -0x58
/* 31B664 802BD644 AFB50044 */ sw $s5, 0x44($sp)
/* 31B668 802BD648 0080A82D */ daddu $s5, $a0, $zero

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_8005DDF0
/* 391F0 8005DDF0 3C02800B */ lui $v0, 0x800b
/* 391F4 8005DDF4 80420F18 */ lb $v0, 0xf18($v0)
/* 391F0 8005DDF0 3C02800B */ lui $v0, %hi(gCurrentEncounter+0x8)
/* 391F4 8005DDF4 80420F18 */ lb $v0, %lo(gCurrentEncounter+0x8)($v0)
/* 391F8 8005DDF8 00021027 */ nor $v0, $zero, $v0
/* 391FC 8005DDFC 03E00008 */ jr $ra
/* 39200 8005DE00 0002102B */ sltu $v0, $zero, $v0

View File

@ -881,9 +881,9 @@ glabel update_partner_menu
/* 41DC4C 802A8EBC A682017A */ sh $v0, 0x17a($s4)
/* 41DC50 802A8EC0 00021400 */ sll $v0, $v0, 0x10
/* 41DC54 802A8EC4 000212C3 */ sra $v0, $v0, 0xb
/* 41DC58 802A8EC8 3C038008 */ lui $v1, 0x8008
/* 41DC58 802A8EC8 3C038008 */ lui $v1, %hi(gItemTable+0x8)
/* 41DC5C 802A8ECC 00621821 */ addu $v1, $v1, $v0
/* 41DC60 802A8ED0 8C6378E8 */ lw $v1, 0x78e8($v1)
/* 41DC60 802A8ED0 8C6378E8 */ lw $v1, %lo(gItemTable+0x8)($v1)
/* 41DC64 802A8ED4 9242032D */ lbu $v0, 0x32d($s2)
/* 41DC68 802A8ED8 AE800188 */ sw $zero, 0x188($s4)
/* 41DC6C 802A8EDC 2442FFFF */ addiu $v0, $v0, -1

View File

@ -1524,9 +1524,9 @@ glabel update_player_menu
/* 41BD14 802A6F84 A6C2017A */ sh $v0, 0x17a($s6)
/* 41BD18 802A6F88 00021400 */ sll $v0, $v0, 0x10
/* 41BD1C 802A6F8C 000212C3 */ sra $v0, $v0, 0xb
/* 41BD20 802A6F90 3C038008 */ lui $v1, 0x8008
/* 41BD20 802A6F90 3C038008 */ lui $v1, %hi(gItemTable+0x8)
/* 41BD24 802A6F94 00621821 */ addu $v1, $v1, $v0
/* 41BD28 802A6F98 8C6378E8 */ lw $v1, 0x78e8($v1)
/* 41BD28 802A6F98 8C6378E8 */ lw $v1, %lo(gItemTable+0x8)($v1)
/* 41BD2C 802A6F9C 3C02802B */ lui $v0, 0x802b
/* 41BD30 802A6FA0 9042CFFD */ lbu $v0, -0x3003($v0)
/* 41BD34 802A6FA4 AEC00188 */ sw $zero, 0x188($s6)
@ -1698,9 +1698,9 @@ glabel update_player_menu
/* 41BFAC 802A721C 24030034 */ addiu $v1, $zero, 0x34
/* 41BFB0 802A7220 A6C3017C */ sh $v1, 0x17c($s6)
/* 41BFB4 802A7224 00021140 */ sll $v0, $v0, 5
/* 41BFB8 802A7228 3C038008 */ lui $v1, 0x8008
/* 41BFB8 802A7228 3C038008 */ lui $v1, %hi(gItemTable+0x8)
/* 41BFBC 802A722C 00621821 */ addu $v1, $v1, $v0
/* 41BFC0 802A7230 8C6378E8 */ lw $v1, 0x78e8($v1)
/* 41BFC0 802A7230 8C6378E8 */ lw $v1, %lo(gItemTable+0x8)($v1)
/* 41BFC4 802A7234 3C02802B */ lui $v0, 0x802b
/* 41BFC8 802A7238 9042CFFD */ lbu $v0, -0x3003($v0)
/* 41BFCC 802A723C AEC00188 */ sw $zero, 0x188($s6)
@ -2116,9 +2116,9 @@ glabel update_player_menu
/* 41C5DC 802A784C A6C2017A */ sh $v0, 0x17a($s6)
/* 41C5E0 802A7850 00021400 */ sll $v0, $v0, 0x10
/* 41C5E4 802A7854 000212C3 */ sra $v0, $v0, 0xb
/* 41C5E8 802A7858 3C038008 */ lui $v1, 0x8008
/* 41C5E8 802A7858 3C038008 */ lui $v1, %hi(gItemTable+0x8)
/* 41C5EC 802A785C 00621821 */ addu $v1, $v1, $v0
/* 41C5F0 802A7860 8C6378E8 */ lw $v1, 0x78e8($v1)
/* 41C5F0 802A7860 8C6378E8 */ lw $v1, %lo(gItemTable+0x8)($v1)
/* 41C5F4 802A7864 3C02802B */ lui $v0, 0x802b
/* 41C5F8 802A7868 9042CFFD */ lbu $v0, -0x3003($v0)
/* 41C5FC 802A786C AEC00188 */ sw $zero, 0x188($s6)

View File

@ -36,9 +36,9 @@ glabel is_ability_active
/* 8326C 800E9DBC 84430208 */ lh $v1, 0x208($v0)
/* 83270 800E9DC0 10600004 */ beqz $v1, .L800E9DD4
/* 83274 800E9DC4 00031140 */ sll $v0, $v1, 5
/* 83278 800E9DC8 3C038008 */ lui $v1, 0x8008
/* 83278 800E9DC8 3C038008 */ lui $v1, %hi(gItemTable+0x1A)
/* 8327C 800E9DCC 00621821 */ addu $v1, $v1, $v0
/* 83280 800E9DD0 906378FA */ lbu $v1, 0x78fa($v1)
/* 83280 800E9DD0 906378FA */ lbu $v1, %lo(gItemTable+0x1A)($v1)
.L800E9DD4:
/* 83284 800E9DD4 2D220038 */ sltiu $v0, $t1, 0x38
/* 83288 800E9DD8 504000A9 */ beql $v0, $zero, .L800EA080

View File

@ -40,16 +40,16 @@ glabel update_status_menu
/* 815F0 800E8140 80420070 */ lb $v0, 0x70($v0)
/* 815F4 800E8144 14400008 */ bnez $v0, .L800E8168
/* 815F8 800E8148 00000000 */ nop
/* 815FC 800E814C 3C038011 */ lui $v1, 0x8011
/* 81600 800E8150 8463F29C */ lh $v1, -0xd64($v1)
/* 815FC 800E814C 3C038011 */ lui $v1, %hi(gPlayerData+0xC)
/* 81600 800E8150 8463F29C */ lh $v1, %lo(gPlayerData+0xC)($v1)
/* 81604 800E8154 86620040 */ lh $v0, 0x40($s3)
/* 81608 800E8158 10620007 */ beq $v1, $v0, .L800E8178
/* 8160C 800E815C 00628023 */ subu $s0, $v1, $v0
/* 81610 800E8160 0C03A67D */ jal status_menu_start_blinking_coins
/* 81614 800E8164 00000000 */ nop
.L800E8168:
/* 81618 800E8168 3C038011 */ lui $v1, 0x8011
/* 8161C 800E816C 8463F29C */ lh $v1, -0xd64($v1)
/* 81618 800E8168 3C038011 */ lui $v1, %hi(gPlayerData+0xC)
/* 8161C 800E816C 8463F29C */ lh $v1, %lo(gPlayerData+0xC)($v1)
/* 81620 800E8170 86620040 */ lh $v0, 0x40($s3)
/* 81624 800E8174 00628023 */ subu $s0, $v1, $v0
.L800E8178:
@ -69,8 +69,8 @@ glabel update_status_menu
/* 81654 800E81A4 00628023 */ subu $s0, $v1, $v0
/* 81658 800E81A8 96620040 */ lhu $v0, 0x40($s3)
/* 8165C 800E81AC 8264003D */ lb $a0, 0x3d($s3)
/* 81660 800E81B0 3C038011 */ lui $v1, 0x8011
/* 81664 800E81B4 8063F292 */ lb $v1, -0xd6e($v1)
/* 81660 800E81B0 3C038011 */ lui $v1, %hi(gPlayerData+0x2)
/* 81664 800E81B4 8063F292 */ lb $v1, %lo(gPlayerData+0x2)($v1)
/* 81668 800E81B8 00501021 */ addu $v0, $v0, $s0
/* 8166C 800E81BC 1083000C */ beq $a0, $v1, .L800E81F0
/* 81670 800E81C0 A6620040 */ sh $v0, 0x40($s3)
@ -88,8 +88,8 @@ glabel update_status_menu
/* 8169C 800E81EC A6620038 */ sh $v0, 0x38($s3)
.L800E81F0:
/* 816A0 800E81F0 8263003E */ lb $v1, 0x3e($s3)
/* 816A4 800E81F4 3C028011 */ lui $v0, 0x8011
/* 816A8 800E81F8 8042F295 */ lb $v0, -0xd6b($v0)
/* 816A4 800E81F4 3C028011 */ lui $v0, %hi(gPlayerData+0x5)
/* 816A8 800E81F8 8042F295 */ lb $v0, %lo(gPlayerData+0x5)($v0)
/* 816AC 800E81FC 1062000C */ beq $v1, $v0, .L800E8230
/* 816B0 800E8200 00000000 */ nop
/* 816B4 800E8204 82620044 */ lb $v0, 0x44($s3)
@ -106,8 +106,8 @@ glabel update_status_menu
/* 816DC 800E822C A6620038 */ sh $v0, 0x38($s3)
.L800E8230:
/* 816E0 800E8230 86630048 */ lh $v1, 0x48($s3)
/* 816E4 800E8234 3C028011 */ lui $v0, 0x8011
/* 816E8 800E8238 8442F520 */ lh $v0, -0xae0($v0)
/* 816E4 800E8234 3C028011 */ lui $v0, %hi(gPlayerData+0x290)
/* 816E8 800E8238 8442F520 */ lh $v0, %lo(gPlayerData+0x290)($v0)
/* 816EC 800E823C 1062000C */ beq $v1, $v0, .L800E8270
/* 816F0 800E8240 00000000 */ nop
/* 816F4 800E8244 82620044 */ lb $v0, 0x44($s3)
@ -124,8 +124,8 @@ glabel update_status_menu
/* 8171C 800E826C A6620038 */ sh $v0, 0x38($s3)
.L800E8270:
/* 81720 800E8270 8264003D */ lb $a0, 0x3d($s3)
/* 81724 800E8274 3C038011 */ lui $v1, 0x8011
/* 81728 800E8278 8063F292 */ lb $v1, -0xd6e($v1)
/* 81724 800E8274 3C038011 */ lui $v1, %hi(gPlayerData+0x2)
/* 81728 800E8278 8063F292 */ lb $v1, %lo(gPlayerData+0x2)($v1)
/* 8172C 800E827C 1083002E */ beq $a0, $v1, .L800E8338
/* 81730 800E8280 00000000 */ nop
/* 81734 800E8284 3C028007 */ lui $v0, %hi(gGameStatusPtr)
@ -139,8 +139,8 @@ glabel update_status_menu
/* 81754 800E82A4 00000000 */ nop
.L800E82A8:
/* 81758 800E82A8 8262003D */ lb $v0, 0x3d($s3)
/* 8175C 800E82AC 3C038011 */ lui $v1, 0x8011
/* 81760 800E82B0 8063F292 */ lb $v1, -0xd6e($v1)
/* 8175C 800E82AC 3C038011 */ lui $v1, %hi(gPlayerData+0x2)
/* 81760 800E82B0 8063F292 */ lb $v1, %lo(gPlayerData+0x2)($v1)
/* 81764 800E82B4 0043102A */ slt $v0, $v0, $v1
/* 81768 800E82B8 10400018 */ beqz $v0, .L800E831C
/* 8176C 800E82BC 9263003D */ lbu $v1, 0x3d($s3)
@ -178,8 +178,8 @@ glabel update_status_menu
/* 817E4 800E8334 A262003D */ sb $v0, 0x3d($s3)
.L800E8338:
/* 817E8 800E8338 8264003E */ lb $a0, 0x3e($s3)
/* 817EC 800E833C 3C038011 */ lui $v1, 0x8011
/* 817F0 800E8340 8063F295 */ lb $v1, -0xd6b($v1)
/* 817EC 800E833C 3C038011 */ lui $v1, %hi(gPlayerData+0x5)
/* 817F0 800E8340 8063F295 */ lb $v1, %lo(gPlayerData+0x5)($v1)
/* 817F4 800E8344 1083002E */ beq $a0, $v1, .L800E8400
/* 817F8 800E8348 00000000 */ nop
/* 817FC 800E834C 3C028007 */ lui $v0, %hi(gGameStatusPtr)
@ -193,8 +193,8 @@ glabel update_status_menu
/* 8181C 800E836C 00000000 */ nop
.L800E8370:
/* 81820 800E8370 8262003E */ lb $v0, 0x3e($s3)
/* 81824 800E8374 3C038011 */ lui $v1, 0x8011
/* 81828 800E8378 8063F295 */ lb $v1, -0xd6b($v1)
/* 81824 800E8374 3C038011 */ lui $v1, %hi(gPlayerData+0x5)
/* 81828 800E8378 8063F295 */ lb $v1, %lo(gPlayerData+0x5)($v1)
/* 8182C 800E837C 0043102A */ slt $v0, $v0, $v1
/* 81830 800E8380 10400018 */ beqz $v0, .L800E83E4
/* 81834 800E8384 9263003E */ lbu $v1, 0x3e($s3)
@ -232,8 +232,8 @@ glabel update_status_menu
/* 818AC 800E83FC A262003E */ sb $v0, 0x3e($s3)
.L800E8400:
/* 818B0 800E8400 86620048 */ lh $v0, 0x48($s3)
/* 818B4 800E8404 3C048011 */ lui $a0, 0x8011
/* 818B8 800E8408 8484F520 */ lh $a0, -0xae0($a0)
/* 818B4 800E8404 3C048011 */ lui $a0, %hi(gPlayerData+0x290)
/* 818B8 800E8408 8484F520 */ lh $a0, %lo(gPlayerData+0x290)($a0)
/* 818BC 800E840C 96630048 */ lhu $v1, 0x48($s3)
/* 818C0 800E8410 1044001A */ beq $v0, $a0, .L800E847C
/* 818C4 800E8414 0044102A */ slt $v0, $v0, $a0
@ -241,12 +241,12 @@ glabel update_status_menu
/* 818CC 800E841C 2462000A */ addiu $v0, $v1, 0xa
/* 818D0 800E8420 A6620048 */ sh $v0, 0x48($s3)
/* 818D4 800E8424 00021400 */ sll $v0, $v0, 0x10
/* 818D8 800E8428 3C038011 */ lui $v1, 0x8011
/* 818DC 800E842C 8463F520 */ lh $v1, -0xae0($v1)
/* 818D8 800E8428 3C038011 */ lui $v1, %hi(gPlayerData+0x290)
/* 818DC 800E842C 8463F520 */ lh $v1, %lo(gPlayerData+0x290)($v1)
/* 818E0 800E8430 00021403 */ sra $v0, $v0, 0x10
/* 818E4 800E8434 0062182A */ slt $v1, $v1, $v0
/* 818E8 800E8438 3C028011 */ lui $v0, 0x8011
/* 818EC 800E843C 9442F520 */ lhu $v0, -0xae0($v0)
/* 818E8 800E8438 3C028011 */ lui $v0, %hi(gPlayerData+0x290)
/* 818EC 800E843C 9442F520 */ lhu $v0, %lo(gPlayerData+0x290)($v0)
/* 818F0 800E8440 5460000E */ bnel $v1, $zero, .L800E847C
/* 818F4 800E8444 A6620048 */ sh $v0, 0x48($s3)
/* 818F8 800E8448 0803A11F */ j .L800E847C
@ -255,12 +255,12 @@ glabel update_status_menu
/* 81900 800E8450 2462FFF6 */ addiu $v0, $v1, -0xa
/* 81904 800E8454 A6620048 */ sh $v0, 0x48($s3)
/* 81908 800E8458 00021400 */ sll $v0, $v0, 0x10
/* 8190C 800E845C 3C038011 */ lui $v1, 0x8011
/* 81910 800E8460 8463F520 */ lh $v1, -0xae0($v1)
/* 8190C 800E845C 3C038011 */ lui $v1, %hi(gPlayerData+0x290)
/* 81910 800E8460 8463F520 */ lh $v1, %lo(gPlayerData+0x290)($v1)
/* 81914 800E8464 00021403 */ sra $v0, $v0, 0x10
/* 81918 800E8468 0043102A */ slt $v0, $v0, $v1
/* 8191C 800E846C 3C038011 */ lui $v1, 0x8011
/* 81920 800E8470 9463F520 */ lhu $v1, -0xae0($v1)
/* 8191C 800E846C 3C038011 */ lui $v1, %hi(gPlayerData+0x290)
/* 81920 800E8470 9463F520 */ lhu $v1, %lo(gPlayerData+0x290)($v1)
/* 81924 800E8474 54400001 */ bnel $v0, $zero, .L800E847C
/* 81928 800E8478 A6630048 */ sh $v1, 0x48($s3)
.L800E847C:
@ -492,8 +492,8 @@ glabel update_status_menu
/* 81C78 800E87C8 86650034 */ lh $a1, 0x34($s3)
/* 81C7C 800E87CC 86660036 */ lh $a2, 0x36($s3)
/* 81C80 800E87D0 8267003D */ lb $a3, 0x3d($s3)
/* 81C84 800E87D4 3C028011 */ lui $v0, 0x8011
/* 81C88 800E87D8 8042F293 */ lb $v0, -0xd6d($v0)
/* 81C84 800E87D4 3C028011 */ lui $v0, %hi(gPlayerData+0x3)
/* 81C88 800E87D8 8042F293 */ lb $v0, %lo(gPlayerData+0x3)($v0)
/* 81C8C 800E87DC 24A50030 */ addiu $a1, $a1, 0x30
/* 81C90 800E87E0 24C60008 */ addiu $a2, $a2, 8
/* 81C94 800E87E4 0C039F8D */ jal status_menu_draw_stat
@ -550,20 +550,20 @@ glabel update_status_menu
/* 81D50 800E88A0 86650034 */ lh $a1, 0x34($s3)
/* 81D54 800E88A4 86660036 */ lh $a2, 0x36($s3)
/* 81D58 800E88A8 8267003E */ lb $a3, 0x3e($s3)
/* 81D5C 800E88AC 3C028011 */ lui $v0, 0x8011
/* 81D60 800E88B0 8042F296 */ lb $v0, -0xd6a($v0)
/* 81D5C 800E88AC 3C028011 */ lui $v0, %hi(gPlayerData+0x6)
/* 81D60 800E88B0 8042F296 */ lb $v0, %lo(gPlayerData+0x6)($v0)
/* 81D64 800E88B4 24A50088 */ addiu $a1, $a1, 0x88
/* 81D68 800E88B8 24C60008 */ addiu $a2, $a2, 8
/* 81D6C 800E88BC 0C039F8D */ jal status_menu_draw_stat
/* 81D70 800E88C0 AFA20010 */ sw $v0, 0x10($sp)
.L800E88C4:
/* 81D74 800E88C4 3C028011 */ lui $v0, 0x8011
/* 81D78 800E88C8 8042F299 */ lb $v0, -0xd67($v0)
/* 81D74 800E88C4 3C028011 */ lui $v0, %hi(gPlayerData+0x9)
/* 81D78 800E88C8 8042F299 */ lb $v0, %lo(gPlayerData+0x9)($v0)
/* 81D7C 800E88CC 2842001B */ slti $v0, $v0, 0x1b
/* 81D80 800E88D0 14400003 */ bnez $v0, .L800E88E0
/* 81D84 800E88D4 00000000 */ nop
/* 81D88 800E88D8 3C018011 */ lui $at, 0x8011
/* 81D8C 800E88DC A020F2A0 */ sb $zero, -0xd60($at)
/* 81D88 800E88D8 3C018011 */ lui $at, %hi(gPlayerData+0x10)
/* 81D8C 800E88DC A020F2A0 */ sb $zero, %lo(gPlayerData+0x10)($at)
.L800E88E0:
/* 81D90 800E88E0 82620052 */ lb $v0, 0x52($s3)
/* 81D94 800E88E4 1040000B */ beqz $v0, .L800E8914
@ -605,8 +605,8 @@ glabel update_status_menu
/* 81E1C 800E896C 24020002 */ addiu $v0, $zero, 2
/* 81E20 800E8970 AFA20010 */ sw $v0, 0x10($sp)
/* 81E24 800E8974 86660036 */ lh $a2, 0x36($s3)
/* 81E28 800E8978 3C078011 */ lui $a3, 0x8011
/* 81E2C 800E897C 80E7F2A0 */ lb $a3, -0xd60($a3)
/* 81E28 800E8978 3C078011 */ lui $a3, %hi(gPlayerData+0x10)
/* 81E2C 800E897C 80E7F2A0 */ lb $a3, %lo(gPlayerData+0x10)($a3)
/* 81E30 800E8980 24A500C8 */ addiu $a1, $a1, 0xc8
/* 81E34 800E8984 0C039F29 */ jal status_menu_draw_number
/* 81E38 800E8988 24C60008 */ addiu $a2, $a2, 8
@ -711,8 +711,8 @@ glabel update_status_menu
/* 81FA0 800E8AF0 24020001 */ addiu $v0, $zero, 1
/* 81FA4 800E8AF4 1462002B */ bne $v1, $v0, .L800E8BA4
/* 81FA8 800E8AF8 00000000 */ nop
/* 81FAC 800E8AFC 3C038011 */ lui $v1, 0x8011
/* 81FB0 800E8B00 8463F520 */ lh $v1, -0xae0($v1)
/* 81FAC 800E8AFC 3C038011 */ lui $v1, %hi(gPlayerData+0x290)
/* 81FB0 800E8B00 8463F520 */ lh $v1, %lo(gPlayerData+0x290)($v1)
/* 81FB4 800E8B04 04610002 */ bgez $v1, .L800E8B10
/* 81FB8 800E8B08 0060102D */ daddu $v0, $v1, $zero
/* 81FBC 800E8B0C 246200FF */ addiu $v0, $v1, 0xff
@ -1064,8 +1064,8 @@ glabel update_status_menu
/* 824C8 800E9018 3C16800F */ lui $s6, 0x800f
/* 824CC 800E901C 26D67FE8 */ addiu $s6, $s6, 0x7fe8
/* 824D0 800E9020 8FA90050 */ lw $t1, 0x50($sp)
/* 824D4 800E9024 3C048011 */ lui $a0, 0x8011
/* 824D8 800E9028 8084F51E */ lb $a0, -0xae2($a0)
/* 824D4 800E9024 3C048011 */ lui $a0, %hi(gPlayerData+0x28E)
/* 824D8 800E9028 8084F51E */ lb $a0, %lo(gPlayerData+0x28E)($a0)
/* 824DC 800E902C 00091080 */ sll $v0, $t1, 2
/* 824E0 800E9030 00491021 */ addu $v0, $v0, $t1
/* 824E4 800E9034 00021080 */ sll $v0, $v0, 2

View File

@ -8,8 +8,8 @@ glabel partner_reset_data
/* 84930 800EB480 2631EBB0 */ addiu $s1, $s1, %lo(D_8010EBB0)
/* 84934 800EB484 0220202D */ daddu $a0, $s1, $zero
/* 84938 800EB488 AFB00010 */ sw $s0, 0x10($sp)
/* 8493C 800EB48C 3C108011 */ lui $s0, 0x8011
/* 84940 800EB490 8210F2A2 */ lb $s0, -0xd5e($s0)
/* 8493C 800EB48C 3C108011 */ lui $s0, %hi(gPlayerData+0x12)
/* 84940 800EB490 8210F2A2 */ lb $s0, %lo(gPlayerData+0x12)($s0)
/* 84944 800EB494 AFBF0018 */ sw $ra, 0x18($sp)
/* 84948 800EB498 0C00A580 */ jal mem_clear
/* 8494C 800EB49C 24050360 */ addiu $a1, $zero, 0x360

View File

@ -16,9 +16,9 @@ glabel use_consumable
/* 838DC 800EA42C 00111040 */ sll $v0, $s1, 1
/* 838E0 800EA430 3C018011 */ lui $at, %hi(D_8010CD20)
/* 838E4 800EA434 AC31CD20 */ sw $s1, %lo(D_8010CD20)($at)
/* 838E8 800EA438 3C118011 */ lui $s1, 0x8011
/* 838E8 800EA438 3C118011 */ lui $s1, %hi(gPlayerData+0x1B4)
/* 838EC 800EA43C 02228821 */ addu $s1, $s1, $v0
/* 838F0 800EA440 8631F444 */ lh $s1, -0xbbc($s1)
/* 838F0 800EA440 8631F444 */ lh $s1, %lo(gPlayerData+0x1B4)($s1)
/* 838F4 800EA444 0C00A5CF */ jal dma_copy
/* 838F8 800EA448 00000000 */ nop
/* 838FC 800EA44C 24050001 */ addiu $a1, $zero, 1

View File

@ -1,122 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel InterpPlayerYaw
/* F62EC 802D193C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* F62F0 802D1940 AFB10014 */ sw $s1, 0x14($sp)
/* F62F4 802D1944 0080882D */ daddu $s1, $a0, $zero
/* F62F8 802D1948 AFB50024 */ sw $s5, 0x24($sp)
/* F62FC 802D194C 3C158011 */ lui $s5, %hi(gPlayerStatus)
/* F6300 802D1950 26B5EFC8 */ addiu $s5, $s5, %lo(gPlayerStatus)
/* F6304 802D1954 AFB60028 */ sw $s6, 0x28($sp)
/* F6308 802D1958 26360074 */ addiu $s6, $s1, 0x74
/* F630C 802D195C AFB40020 */ sw $s4, 0x20($sp)
/* F6310 802D1960 26340078 */ addiu $s4, $s1, 0x78
/* F6314 802D1964 AFB3001C */ sw $s3, 0x1c($sp)
/* F6318 802D1968 AFBF002C */ sw $ra, 0x2c($sp)
/* F631C 802D196C AFB20018 */ sw $s2, 0x18($sp)
/* F6320 802D1970 AFB00010 */ sw $s0, 0x10($sp)
/* F6324 802D1974 8E32000C */ lw $s2, 0xc($s1)
/* F6328 802D1978 10A0002C */ beqz $a1, .L802D1A2C
/* F632C 802D197C 2633007C */ addiu $s3, $s1, 0x7c
/* F6330 802D1980 3C10802E */ lui $s0, %hi(gPlayerNpcPtr)
/* F6334 802D1984 26109D20 */ addiu $s0, $s0, %lo(gPlayerNpcPtr)
/* F6338 802D1988 8E020000 */ lw $v0, ($s0)
/* F633C 802D198C C6A00080 */ lwc1 $f0, 0x80($s5)
/* F6340 802D1990 E440000C */ swc1 $f0, 0xc($v0)
/* F6344 802D1994 E6200074 */ swc1 $f0, 0x74($s1)
/* F6348 802D1998 8E450000 */ lw $a1, ($s2)
/* F634C 802D199C 0C0B210B */ jal get_float_variable
/* F6350 802D19A0 26520004 */ addiu $s2, $s2, 4
/* F6354 802D19A4 C6220074 */ lwc1 $f2, 0x74($s1)
/* F6358 802D19A8 46020001 */ sub.s $f0, $f0, $f2
/* F635C 802D19AC E6200078 */ swc1 $f0, 0x78($s1)
/* F6360 802D19B0 8E450000 */ lw $a1, ($s2)
/* F6364 802D19B4 0C0B1EAF */ jal get_variable
/* F6368 802D19B8 0220202D */ daddu $a0, $s1, $zero
/* F636C 802D19BC AE22007C */ sw $v0, 0x7c($s1)
/* F6370 802D19C0 8E020000 */ lw $v0, ($s0)
/* F6374 802D19C4 3C01C334 */ lui $at, 0xc334
/* F6378 802D19C8 44810000 */ mtc1 $at, $f0
/* F637C 802D19CC A440008E */ sh $zero, 0x8e($v0)
/* F6380 802D19D0 C6220078 */ lwc1 $f2, 0x78($s1)
/* F6384 802D19D4 4600103C */ c.lt.s $f2, $f0
/* F6388 802D19D8 00000000 */ nop
/* F638C 802D19DC 45000007 */ bc1f .L802D19FC
/* F6390 802D19E0 00000000 */ nop
/* F6394 802D19E4 3C0143B4 */ lui $at, 0x43b4
/* F6398 802D19E8 44810000 */ mtc1 $at, $f0
/* F639C 802D19EC 00000000 */ nop
/* F63A0 802D19F0 46001000 */ add.s $f0, $f2, $f0
/* F63A4 802D19F4 E6200078 */ swc1 $f0, 0x78($s1)
/* F63A8 802D19F8 C6220078 */ lwc1 $f2, 0x78($s1)
.L802D19FC:
/* F63AC 802D19FC 3C014334 */ lui $at, 0x4334
/* F63B0 802D1A00 44810000 */ mtc1 $at, $f0
/* F63B4 802D1A04 00000000 */ nop
/* F63B8 802D1A08 4602003C */ c.lt.s $f0, $f2
/* F63BC 802D1A0C 00000000 */ nop
/* F63C0 802D1A10 45000006 */ bc1f .L802D1A2C
/* F63C4 802D1A14 00000000 */ nop
/* F63C8 802D1A18 3C0143B4 */ lui $at, 0x43b4
/* F63CC 802D1A1C 44810000 */ mtc1 $at, $f0
/* F63D0 802D1A20 00000000 */ nop
/* F63D4 802D1A24 46001001 */ sub.s $f0, $f2, $f0
/* F63D8 802D1A28 E6200078 */ swc1 $f0, 0x78($s1)
.L802D1A2C:
/* F63DC 802D1A2C 8E620000 */ lw $v0, ($s3)
/* F63E0 802D1A30 1C40000E */ bgtz $v0, .L802D1A6C
/* F63E4 802D1A34 00000000 */ nop
/* F63E8 802D1A38 3C10802E */ lui $s0, %hi(gPlayerNpcPtr)
/* F63EC 802D1A3C 26109D20 */ addiu $s0, $s0, %lo(gPlayerNpcPtr)
/* F63F0 802D1A40 8E020000 */ lw $v0, ($s0)
/* F63F4 802D1A44 C6800000 */ lwc1 $f0, ($s4)
/* F63F8 802D1A48 C44C000C */ lwc1 $f12, 0xc($v0)
/* F63FC 802D1A4C 46006300 */ add.s $f12, $f12, $f0
/* F6400 802D1A50 0C00A6C9 */ jal clamp_angle
/* F6404 802D1A54 E44C000C */ swc1 $f12, 0xc($v0)
/* F6408 802D1A58 8E030000 */ lw $v1, ($s0)
/* F640C 802D1A5C 24020002 */ addiu $v0, $zero, 2
/* F6410 802D1A60 E460000C */ swc1 $f0, 0xc($v1)
/* F6414 802D1A64 080B46B7 */ j .L802D1ADC
/* F6418 802D1A68 E6A00080 */ swc1 $f0, 0x80($s5)
.L802D1A6C:
/* F641C 802D1A6C 3C10802E */ lui $s0, %hi(gPlayerNpcPtr)
/* F6420 802D1A70 26109D20 */ addiu $s0, $s0, %lo(gPlayerNpcPtr)
/* F6424 802D1A74 8E030000 */ lw $v1, ($s0)
/* F6428 802D1A78 9462008E */ lhu $v0, 0x8e($v1)
/* F642C 802D1A7C 24420001 */ addiu $v0, $v0, 1
/* F6430 802D1A80 A462008E */ sh $v0, 0x8e($v1)
/* F6434 802D1A84 00021400 */ sll $v0, $v0, 0x10
/* F6438 802D1A88 00021403 */ sra $v0, $v0, 0x10
/* F643C 802D1A8C C6800000 */ lwc1 $f0, ($s4)
/* F6440 802D1A90 44821000 */ mtc1 $v0, $f2
/* F6444 802D1A94 00000000 */ nop
/* F6448 802D1A98 468010A0 */ cvt.s.w $f2, $f2
/* F644C 802D1A9C 46020002 */ mul.s $f0, $f0, $f2
/* F6450 802D1AA0 00000000 */ nop
/* F6454 802D1AA4 C6CC0000 */ lwc1 $f12, ($s6)
/* F6458 802D1AA8 C6620000 */ lwc1 $f2, ($s3)
/* F645C 802D1AAC 468010A0 */ cvt.s.w $f2, $f2
/* F6460 802D1AB0 46020003 */ div.s $f0, $f0, $f2
/* F6464 802D1AB4 46006300 */ add.s $f12, $f12, $f0
/* F6468 802D1AB8 0C00A6C9 */ jal clamp_angle
/* F646C 802D1ABC E46C000C */ swc1 $f12, 0xc($v1)
/* F6470 802D1AC0 8E020000 */ lw $v0, ($s0)
/* F6474 802D1AC4 E440000C */ swc1 $f0, 0xc($v0)
/* F6478 802D1AC8 E6A00080 */ swc1 $f0, 0x80($s5)
/* F647C 802D1ACC 8442008E */ lh $v0, 0x8e($v0)
/* F6480 802D1AD0 8E630000 */ lw $v1, ($s3)
/* F6484 802D1AD4 0043102A */ slt $v0, $v0, $v1
/* F6488 802D1AD8 38420001 */ xori $v0, $v0, 1
.L802D1ADC:
/* F648C 802D1ADC 8FBF002C */ lw $ra, 0x2c($sp)
/* F6490 802D1AE0 8FB60028 */ lw $s6, 0x28($sp)
/* F6494 802D1AE4 8FB50024 */ lw $s5, 0x24($sp)
/* F6498 802D1AE8 8FB40020 */ lw $s4, 0x20($sp)
/* F649C 802D1AEC 8FB3001C */ lw $s3, 0x1c($sp)
/* F64A0 802D1AF0 8FB20018 */ lw $s2, 0x18($sp)
/* F64A4 802D1AF4 8FB10014 */ lw $s1, 0x14($sp)
/* F64A8 802D1AF8 8FB00010 */ lw $s0, 0x10($sp)
/* F64AC 802D1AFC 03E00008 */ jr $ra
/* F64B0 802D1B00 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,86 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel PlayerMoveTo
/* F5AE4 802D1134 27BDFFD0 */ addiu $sp, $sp, -0x30
/* F5AE8 802D1138 AFB10014 */ sw $s1, 0x14($sp)
/* F5AEC 802D113C 0080882D */ daddu $s1, $a0, $zero
/* F5AF0 802D1140 AFB20018 */ sw $s2, 0x18($sp)
/* F5AF4 802D1144 3C128011 */ lui $s2, %hi(gPlayerStatus)
/* F5AF8 802D1148 2652EFC8 */ addiu $s2, $s2, %lo(gPlayerStatus)
/* F5AFC 802D114C AFBF001C */ sw $ra, 0x1c($sp)
/* F5B00 802D1150 AFB00010 */ sw $s0, 0x10($sp)
/* F5B04 802D1154 F7B60028 */ sdc1 $f22, 0x28($sp)
/* F5B08 802D1158 F7B40020 */ sdc1 $f20, 0x20($sp)
/* F5B0C 802D115C 10A00038 */ beqz $a1, .L802D1240
/* F5B10 802D1160 8E30000C */ lw $s0, 0xc($s1)
/* F5B14 802D1164 8E050000 */ lw $a1, ($s0)
/* F5B18 802D1168 0C0B1EAF */ jal get_variable
/* F5B1C 802D116C 26100004 */ addiu $s0, $s0, 4
/* F5B20 802D1170 8E050000 */ lw $a1, ($s0)
/* F5B24 802D1174 26100004 */ addiu $s0, $s0, 4
/* F5B28 802D1178 4482B000 */ mtc1 $v0, $f22
/* F5B2C 802D117C 00000000 */ nop
/* F5B30 802D1180 4680B5A0 */ cvt.s.w $f22, $f22
/* F5B34 802D1184 0C0B1EAF */ jal get_variable
/* F5B38 802D1188 0220202D */ daddu $a0, $s1, $zero
/* F5B3C 802D118C 8E050000 */ lw $a1, ($s0)
/* F5B40 802D1190 4482A000 */ mtc1 $v0, $f20
/* F5B44 802D1194 00000000 */ nop
/* F5B48 802D1198 4680A520 */ cvt.s.w $f20, $f20
/* F5B4C 802D119C 0C0B1EAF */ jal get_variable
/* F5B50 802D11A0 0220202D */ daddu $a0, $s1, $zero
/* F5B54 802D11A4 AE220070 */ sw $v0, 0x70($s1)
/* F5B58 802D11A8 C64C0028 */ lwc1 $f12, 0x28($s2)
/* F5B5C 802D11AC C64E0030 */ lwc1 $f14, 0x30($s2)
/* F5B60 802D11B0 4406B000 */ mfc1 $a2, $f22
/* F5B64 802D11B4 4407A000 */ mfc1 $a3, $f20
/* F5B68 802D11B8 0C00A720 */ jal atan2
/* F5B6C 802D11BC 00000000 */ nop
/* F5B70 802D11C0 E6400080 */ swc1 $f0, 0x80($s2)
/* F5B74 802D11C4 8E220070 */ lw $v0, 0x70($s1)
/* F5B78 802D11C8 1440000F */ bnez $v0, .L802D1208
/* F5B7C 802D11CC 00000000 */ nop
/* F5B80 802D11D0 C64C0028 */ lwc1 $f12, 0x28($s2)
/* F5B84 802D11D4 C64E0030 */ lwc1 $f14, 0x30($s2)
/* F5B88 802D11D8 4406B000 */ mfc1 $a2, $f22
/* F5B8C 802D11DC 4407A000 */ mfc1 $a3, $f20
/* F5B90 802D11E0 0C00A7B5 */ jal dist2D
/* F5B94 802D11E4 00000000 */ nop
/* F5B98 802D11E8 3C02802E */ lui $v0, %hi(gPlayerNpcPtr)
/* F5B9C 802D11EC 8C429D20 */ lw $v0, %lo(gPlayerNpcPtr)($v0)
/* F5BA0 802D11F0 C4420018 */ lwc1 $f2, 0x18($v0)
/* F5BA4 802D11F4 46020003 */ div.s $f0, $f0, $f2
/* F5BA8 802D11F8 4600010D */ trunc.w.s $f4, $f0
/* F5BAC 802D11FC E6240070 */ swc1 $f4, 0x70($s1)
/* F5BB0 802D1200 080B448B */ j .L802D122C
/* F5BB4 802D1204 C4400018 */ lwc1 $f0, 0x18($v0)
.L802D1208:
/* F5BB8 802D1208 C64C0028 */ lwc1 $f12, 0x28($s2)
/* F5BBC 802D120C C64E0030 */ lwc1 $f14, 0x30($s2)
/* F5BC0 802D1210 4406B000 */ mfc1 $a2, $f22
/* F5BC4 802D1214 4407A000 */ mfc1 $a3, $f20
/* F5BC8 802D1218 0C00A7B5 */ jal dist2D
/* F5BCC 802D121C 00000000 */ nop
/* F5BD0 802D1220 C6220070 */ lwc1 $f2, 0x70($s1)
/* F5BD4 802D1224 468010A0 */ cvt.s.w $f2, $f2
/* F5BD8 802D1228 46020003 */ div.s $f0, $f0, $f2
.L802D122C:
/* F5BDC 802D122C 8E240070 */ lw $a0, 0x70($s1)
/* F5BE0 802D1230 8E450080 */ lw $a1, 0x80($s2)
/* F5BE4 802D1234 44060000 */ mfc1 $a2, $f0
/* F5BE8 802D1238 0C0389DE */ jal move_player
/* F5BEC 802D123C 00000000 */ nop
.L802D1240:
/* F5BF0 802D1240 8E230070 */ lw $v1, 0x70($s1)
/* F5BF4 802D1244 2463FFFF */ addiu $v1, $v1, -1
/* F5BF8 802D1248 AE230070 */ sw $v1, 0x70($s1)
/* F5BFC 802D124C 8FBF001C */ lw $ra, 0x1c($sp)
/* F5C00 802D1250 8FB20018 */ lw $s2, 0x18($sp)
/* F5C04 802D1254 8FB10014 */ lw $s1, 0x14($sp)
/* F5C08 802D1258 8FB00010 */ lw $s0, 0x10($sp)
/* F5C0C 802D125C D7B60028 */ ldc1 $f22, 0x28($sp)
/* F5C10 802D1260 D7B40020 */ ldc1 $f20, 0x20($sp)
/* F5C14 802D1264 000317C2 */ srl $v0, $v1, 0x1f
/* F5C18 802D1268 03E00008 */ jr $ra
/* F5C1C 802D126C 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,27 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802D249C
/* F6E4C 802D249C 27BDFFE0 */ addiu $sp, $sp, -0x20
/* F6E50 802D24A0 AFB10014 */ sw $s1, 0x14($sp)
/* F6E54 802D24A4 0080882D */ daddu $s1, $a0, $zero
/* F6E58 802D24A8 3C028016 */ lui $v0, 0x8016
/* F6E5C 802D24AC 8442A552 */ lh $v0, -0x5aae($v0)
/* F6E60 802D24B0 AFBF0018 */ sw $ra, 0x18($sp)
/* F6E64 802D24B4 AFB00010 */ sw $s0, 0x10($sp)
/* F6E68 802D24B8 8E30000C */ lw $s0, 0xc($s1)
/* F6E6C 802D24BC 04400004 */ bltz $v0, .L802D24D0
/* F6E70 802D24C0 0000302D */ daddu $a2, $zero, $zero
/* F6E74 802D24C4 0C0B48FE */ jal func_802D23F8
/* F6E78 802D24C8 00000000 */ nop
/* F6E7C 802D24CC 0002302B */ sltu $a2, $zero, $v0
.L802D24D0:
/* F6E80 802D24D0 8E050000 */ lw $a1, ($s0)
/* F6E84 802D24D4 0C0B2026 */ jal set_variable
/* F6E88 802D24D8 0220202D */ daddu $a0, $s1, $zero
/* F6E8C 802D24DC 8FBF0018 */ lw $ra, 0x18($sp)
/* F6E90 802D24E0 8FB10014 */ lw $s1, 0x14($sp)
/* F6E94 802D24E4 8FB00010 */ lw $s0, 0x10($sp)
/* F6E98 802D24E8 24020002 */ addiu $v0, $zero, 2
/* F6E9C 802D24EC 03E00008 */ jr $ra
/* F6EA0 802D24F0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -66,8 +66,8 @@ glabel ShowEmote
/* FC344 802D7994 080B5E9E */ j .L802D7A78
/* FC348 802D7998 4600B106 */ mov.s $f4, $f22
.L802D799C:
/* FC34C 802D799C 3C028011 */ lui $v0, 0x8011
/* FC350 802D79A0 9442F078 */ lhu $v0, -0xf88($v0)
/* FC34C 802D799C 3C028011 */ lui $v0, %hi(gPlayerStatus+0xB0)
/* FC350 802D79A0 9442F078 */ lhu $v0, %lo(gPlayerStatus+0xB0)($v0)
/* FC354 802D79A4 34A55556 */ ori $a1, $a1, 0x5556
/* FC358 802D79A8 00021400 */ sll $v0, $v0, 0x10
/* FC35C 802D79AC 00022403 */ sra $a0, $v0, 0x10

View File

@ -1,72 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802D7CF8
/* FC6A8 802D7CF8 27BDFFD0 */ addiu $sp, $sp, -0x30
/* FC6AC 802D7CFC AFB10014 */ sw $s1, 0x14($sp)
/* FC6B0 802D7D00 0080882D */ daddu $s1, $a0, $zero
/* FC6B4 802D7D04 AFBF002C */ sw $ra, 0x2c($sp)
/* FC6B8 802D7D08 AFB60028 */ sw $s6, 0x28($sp)
/* FC6BC 802D7D0C AFB50024 */ sw $s5, 0x24($sp)
/* FC6C0 802D7D10 AFB40020 */ sw $s4, 0x20($sp)
/* FC6C4 802D7D14 AFB3001C */ sw $s3, 0x1c($sp)
/* FC6C8 802D7D18 AFB20018 */ sw $s2, 0x18($sp)
/* FC6CC 802D7D1C AFB00010 */ sw $s0, 0x10($sp)
/* FC6D0 802D7D20 8E30000C */ lw $s0, 0xc($s1)
/* FC6D4 802D7D24 8E050000 */ lw $a1, ($s0)
/* FC6D8 802D7D28 0C0B1EAF */ jal get_variable
/* FC6DC 802D7D2C 26100004 */ addiu $s0, $s0, 4
/* FC6E0 802D7D30 8E050000 */ lw $a1, ($s0)
/* FC6E4 802D7D34 26100004 */ addiu $s0, $s0, 4
/* FC6E8 802D7D38 0220202D */ daddu $a0, $s1, $zero
/* FC6EC 802D7D3C 0C0B1EAF */ jal get_variable
/* FC6F0 802D7D40 0040B02D */ daddu $s6, $v0, $zero
/* FC6F4 802D7D44 8E050000 */ lw $a1, ($s0)
/* FC6F8 802D7D48 26100004 */ addiu $s0, $s0, 4
/* FC6FC 802D7D4C 0220202D */ daddu $a0, $s1, $zero
/* FC700 802D7D50 0C0B1EAF */ jal get_variable
/* FC704 802D7D54 0040A82D */ daddu $s5, $v0, $zero
/* FC708 802D7D58 8E050000 */ lw $a1, ($s0)
/* FC70C 802D7D5C 26100004 */ addiu $s0, $s0, 4
/* FC710 802D7D60 0220202D */ daddu $a0, $s1, $zero
/* FC714 802D7D64 0C0B1EAF */ jal get_variable
/* FC718 802D7D68 0040A02D */ daddu $s4, $v0, $zero
/* FC71C 802D7D6C 8E050000 */ lw $a1, ($s0)
/* FC720 802D7D70 26100004 */ addiu $s0, $s0, 4
/* FC724 802D7D74 0220202D */ daddu $a0, $s1, $zero
/* FC728 802D7D78 0C0B1EAF */ jal get_variable
/* FC72C 802D7D7C 0040982D */ daddu $s3, $v0, $zero
/* FC730 802D7D80 8E050000 */ lw $a1, ($s0)
/* FC734 802D7D84 26100004 */ addiu $s0, $s0, 4
/* FC738 802D7D88 0220202D */ daddu $a0, $s1, $zero
/* FC73C 802D7D8C 0C0B1EAF */ jal get_variable
/* FC740 802D7D90 0040902D */ daddu $s2, $v0, $zero
/* FC744 802D7D94 0220202D */ daddu $a0, $s1, $zero
/* FC748 802D7D98 8E050000 */ lw $a1, ($s0)
/* FC74C 802D7D9C 0C0B1EAF */ jal get_variable
/* FC750 802D7DA0 0040882D */ daddu $s1, $v0, $zero
/* FC754 802D7DA4 3C04802E */ lui $a0, 0x802e
/* FC758 802D7DA8 24849D50 */ addiu $a0, $a0, -0x62b0
/* FC75C 802D7DAC 24050001 */ addiu $a1, $zero, 1
/* FC760 802D7DB0 0040802D */ daddu $s0, $v0, $zero
/* FC764 802D7DB4 0C0B0CF8 */ jal start_script
/* FC768 802D7DB8 0000302D */ daddu $a2, $zero, $zero
/* FC76C 802D7DBC 0040182D */ daddu $v1, $v0, $zero
/* FC770 802D7DC0 AC760084 */ sw $s6, 0x84($v1)
/* FC774 802D7DC4 AC750088 */ sw $s5, 0x88($v1)
/* FC778 802D7DC8 AC74008C */ sw $s4, 0x8c($v1)
/* FC77C 802D7DCC AC730090 */ sw $s3, 0x90($v1)
/* FC780 802D7DD0 AC720094 */ sw $s2, 0x94($v1)
/* FC784 802D7DD4 AC710098 */ sw $s1, 0x98($v1)
/* FC788 802D7DD8 AC70009C */ sw $s0, 0x9c($v1)
/* FC78C 802D7DDC 8FBF002C */ lw $ra, 0x2c($sp)
/* FC790 802D7DE0 8FB60028 */ lw $s6, 0x28($sp)
/* FC794 802D7DE4 8FB50024 */ lw $s5, 0x24($sp)
/* FC798 802D7DE8 8FB40020 */ lw $s4, 0x20($sp)
/* FC79C 802D7DEC 8FB3001C */ lw $s3, 0x1c($sp)
/* FC7A0 802D7DF0 8FB20018 */ lw $s2, 0x18($sp)
/* FC7A4 802D7DF4 8FB10014 */ lw $s1, 0x14($sp)
/* FC7A8 802D7DF8 8FB00010 */ lw $s0, 0x10($sp)
/* FC7AC 802D7DFC 24020002 */ addiu $v0, $zero, 2
/* FC7B0 802D7E00 03E00008 */ jr $ra
/* FC7B4 802D7E04 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -17,9 +17,9 @@ glabel func_80133A94
/* CA1C4 80133AC4 34424000 */ ori $v0, $v0, 0x4000
/* CA1C8 80133AC8 00431824 */ and $v1, $v0, $v1
/* CA1CC 80133ACC AC830000 */ sw $v1, ($a0)
/* CA1D0 80133AD0 3C028008 */ lui $v0, 0x8008
/* CA1D0 80133AD0 3C028008 */ lui $v0, %hi(gItemTable+0x18)
/* CA1D4 80133AD4 00451021 */ addu $v0, $v0, $a1
/* CA1D8 80133AD8 944278F8 */ lhu $v0, 0x78f8($v0)
/* CA1D8 80133AD8 944278F8 */ lhu $v0, %lo(gItemTable+0x18)($v0)
/* CA1DC 80133ADC 30421000 */ andi $v0, $v0, 0x1000
/* CA1E0 80133AE0 10400005 */ beqz $v0, .L80133AF8
/* CA1E4 80133AE4 3C020004 */ lui $v0, 4

View File

@ -69,9 +69,9 @@ glabel func_801363A0
/* CCB84 80136484 0000282D */ daddu $a1, $zero, $zero
/* CCB88 80136488 86840018 */ lh $a0, 0x18($s4)
/* CCB8C 8013648C 00041140 */ sll $v0, $a0, 5
/* CCB90 80136490 3C038008 */ lui $v1, 0x8008
/* CCB90 80136490 3C038008 */ lui $v1, %hi(gItemTable+0x18)
/* CCB94 80136494 00621821 */ addu $v1, $v1, $v0
/* CCB98 80136498 946378F8 */ lhu $v1, 0x78f8($v1)
/* CCB98 80136498 946378F8 */ lhu $v1, %lo(gItemTable+0x18)($v1)
/* CCB9C 8013649C 30620008 */ andi $v0, $v1, 8
/* CCBA0 801364A0 5440000F */ bnel $v0, $zero, .L801364E0
/* CCBA4 801364A4 0240202D */ daddu $a0, $s2, $zero
@ -160,9 +160,9 @@ glabel func_801363A0
.L801365C8:
/* CCCC8 801365C8 86840018 */ lh $a0, 0x18($s4)
/* CCCCC 801365CC 00041140 */ sll $v0, $a0, 5
/* CCCD0 801365D0 3C038008 */ lui $v1, 0x8008
/* CCCD0 801365D0 3C038008 */ lui $v1, %hi(gItemTable+0x18)
/* CCCD4 801365D4 00621821 */ addu $v1, $v1, $v0
/* CCCD8 801365D8 946378F8 */ lhu $v1, 0x78f8($v1)
/* CCCD8 801365D8 946378F8 */ lhu $v1, %lo(gItemTable+0x18)($v1)
/* CCCDC 801365DC 2404000C */ addiu $a0, $zero, 0xc
/* CCCE0 801365E0 0220282D */ daddu $a1, $s1, $zero
/* CCCE4 801365E4 24C6FFE8 */ addiu $a2, $a2, -0x18

View File

@ -102,9 +102,9 @@ glabel func_8013673C
/* CCF94 80136894 86250018 */ lh $a1, 0x18($s1)
/* CCF98 80136898 00021040 */ sll $v0, $v0, 1
/* CCF9C 8013689C 00051940 */ sll $v1, $a1, 5
/* CCFA0 801368A0 3C048008 */ lui $a0, 0x8008
/* CCFA0 801368A0 3C048008 */ lui $a0, %hi(gItemTable+0x18)
/* CCFA4 801368A4 00832021 */ addu $a0, $a0, $v1
/* CCFA8 801368A8 948478F8 */ lhu $a0, 0x78f8($a0)
/* CCFA8 801368A8 948478F8 */ lhu $a0, %lo(gItemTable+0x18)($a0)
/* CCFAC 801368AC 3C068015 */ lui $a2, 0x8015
/* CCFB0 801368B0 00C23021 */ addu $a2, $a2, $v0
/* CCFB4 801368B4 84C6C6E4 */ lh $a2, -0x391c($a2)

View File

@ -93,9 +93,9 @@ glabel init_got_item
/* C8344 80131C44 AE230000 */ sw $v1, ($s1)
/* C8348 80131C48 E6200030 */ swc1 $f0, 0x30($s1)
/* C834C 80131C4C E6220010 */ swc1 $f2, 0x10($s1)
/* C8350 80131C50 3C018008 */ lui $at, 0x8008
/* C8350 80131C50 3C018008 */ lui $at, %hi(gItemTable+0x18)
/* C8354 80131C54 00220821 */ addu $at, $at, $v0
/* C8358 80131C58 942278F8 */ lhu $v0, 0x78f8($at)
/* C8358 80131C58 942278F8 */ lhu $v0, %lo(gItemTable+0x18)($at)
/* C835C 80131C5C 30421000 */ andi $v0, $v0, 0x1000
/* C8360 80131C60 10400005 */ beqz $v0, .L80131C78
/* C8364 80131C64 3C020004 */ lui $v0, 4

View File

@ -116,9 +116,9 @@ glabel make_item_entity
/* C7C8C 8013158C A6020036 */ sh $v0, 0x36($s0)
/* C7C90 80131590 A6020038 */ sh $v0, 0x38($s0)
/* C7C94 80131594 00121140 */ sll $v0, $s2, 5
/* C7C98 80131598 3C018008 */ lui $at, 0x8008
/* C7C98 80131598 3C018008 */ lui $at, %hi(gItemTable+0x18)
/* C7C9C 8013159C 00220821 */ addu $at, $at, $v0
/* C7CA0 801315A0 942278F8 */ lhu $v0, 0x78f8($at)
/* C7CA0 801315A0 942278F8 */ lhu $v0, %lo(gItemTable+0x18)($at)
/* C7CA4 801315A4 2403001E */ addiu $v1, $zero, 0x1e
/* C7CA8 801315A8 3C018015 */ lui $at, 0x8015
/* C7CAC 801315AC A42365A6 */ sh $v1, 0x65a6($at)

View File

@ -97,9 +97,9 @@ glabel update_item_entity_temp
/* CBF38 80135838 00000000 */ nop
/* CBF3C 8013583C 86240018 */ lh $a0, 0x18($s1)
/* CBF40 80135840 00041140 */ sll $v0, $a0, 5
/* CBF44 80135844 3C038008 */ lui $v1, 0x8008
/* CBF44 80135844 3C038008 */ lui $v1, %hi(gItemTable+0x18)
/* CBF48 80135848 00621821 */ addu $v1, $v1, $v0
/* CBF4C 8013584C 946378F8 */ lhu $v1, 0x78f8($v1)
/* CBF4C 8013584C 946378F8 */ lhu $v1, %lo(gItemTable+0x18)($v1)
/* CBF50 80135850 30620040 */ andi $v0, $v1, 0x40
/* CBF54 80135854 10400003 */ beqz $v0, .L80135864
/* CBF58 80135858 30620008 */ andi $v0, $v1, 8
@ -128,9 +128,9 @@ glabel update_item_entity_temp
.L801358A8:
/* CBFA8 801358A8 86220018 */ lh $v0, 0x18($s1)
/* CBFAC 801358AC 00021140 */ sll $v0, $v0, 5
/* CBFB0 801358B0 3C018008 */ lui $at, 0x8008
/* CBFB0 801358B0 3C018008 */ lui $at, %hi(gItemTable+0x4)
/* CBFB4 801358B4 00220821 */ addu $at, $at, $v0
/* CBFB8 801358B8 842278E4 */ lh $v0, 0x78e4($at)
/* CBFB8 801358B8 842278E4 */ lh $v0, %lo(gItemTable+0x4)($at)
/* CBFBC 801358BC 000210C0 */ sll $v0, $v0, 3
/* CBFC0 801358C0 3C048009 */ lui $a0, 0x8009
/* CBFC4 801358C4 00822021 */ addu $a0, $a0, $v0
@ -182,9 +182,9 @@ glabel update_item_entity_temp
.L80135974:
/* CC074 80135974 86220018 */ lh $v0, 0x18($s1)
/* CC078 80135978 00021140 */ sll $v0, $v0, 5
/* CC07C 8013597C 3C018008 */ lui $at, 0x8008
/* CC07C 8013597C 3C018008 */ lui $at, %hi(gItemTable+0x18)
/* CC080 80135980 00220821 */ addu $at, $at, $v0
/* CC084 80135984 942278F8 */ lhu $v0, 0x78f8($at)
/* CC084 80135984 942278F8 */ lhu $v0, %lo(gItemTable+0x18)($at)
/* CC088 80135988 30420008 */ andi $v0, $v0, 8
/* CC08C 8013598C 1040000F */ beqz $v0, .L801359CC
/* CC090 80135990 0000202D */ daddu $a0, $zero, $zero
@ -207,9 +207,9 @@ glabel update_item_entity_temp
.L801359CC:
/* CC0CC 801359CC 86220018 */ lh $v0, 0x18($s1)
/* CC0D0 801359D0 00021140 */ sll $v0, $v0, 5
/* CC0D4 801359D4 3C018008 */ lui $at, 0x8008
/* CC0D4 801359D4 3C018008 */ lui $at, %hi(gItemTable+0x18)
/* CC0D8 801359D8 00220821 */ addu $at, $at, $v0
/* CC0DC 801359DC 942278F8 */ lhu $v0, 0x78f8($at)
/* CC0DC 801359DC 942278F8 */ lhu $v0, %lo(gItemTable+0x18)($at)
/* CC0E0 801359E0 30420040 */ andi $v0, $v0, 0x40
/* CC0E4 801359E4 10400012 */ beqz $v0, .L80135A30
/* CC0E8 801359E8 0000202D */ daddu $a0, $zero, $zero
@ -310,9 +310,9 @@ glabel update_item_entity_temp
/* CC234 80135B34 00000000 */ nop
/* CC238 80135B38 86240018 */ lh $a0, 0x18($s1)
/* CC23C 80135B3C 00041140 */ sll $v0, $a0, 5
/* CC240 80135B40 3C038008 */ lui $v1, 0x8008
/* CC240 80135B40 3C038008 */ lui $v1, %hi(gItemTable+0x18)
/* CC244 80135B44 00621821 */ addu $v1, $v1, $v0
/* CC248 80135B48 946378F8 */ lhu $v1, 0x78f8($v1)
/* CC248 80135B48 946378F8 */ lhu $v1, %lo(gItemTable+0x18)($v1)
/* CC24C 80135B4C 30620040 */ andi $v0, $v1, 0x40
/* CC250 80135B50 1440000F */ bnez $v0, .L80135B90
/* CC254 80135B54 30620008 */ andi $v0, $v1, 8
@ -348,9 +348,9 @@ glabel update_item_entity_temp
.L80135BC8:
/* CC2C8 80135BC8 86220018 */ lh $v0, 0x18($s1)
/* CC2CC 80135BCC 00021140 */ sll $v0, $v0, 5
/* CC2D0 80135BD0 3C018008 */ lui $at, 0x8008
/* CC2D0 80135BD0 3C018008 */ lui $at, %hi(gItemTable+0x18)
/* CC2D4 80135BD4 00220821 */ addu $at, $at, $v0
/* CC2D8 80135BD8 942278F8 */ lhu $v0, 0x78f8($at)
/* CC2D8 80135BD8 942278F8 */ lhu $v0, %lo(gItemTable+0x18)($at)
/* CC2DC 80135BDC 30420020 */ andi $v0, $v0, 0x20
/* CC2E0 80135BE0 10400010 */ beqz $v0, .L80135C24
/* CC2E4 80135BE4 00000000 */ nop
@ -377,9 +377,9 @@ glabel update_item_entity_temp
/* CC334 80135C34 00000000 */ nop
/* CC338 80135C38 86240018 */ lh $a0, 0x18($s1)
/* CC33C 80135C3C 00041140 */ sll $v0, $a0, 5
/* CC340 80135C40 3C038008 */ lui $v1, 0x8008
/* CC340 80135C40 3C038008 */ lui $v1, %hi(gItemTable+0x18)
/* CC344 80135C44 00621821 */ addu $v1, $v1, $v0
/* CC348 80135C48 946378F8 */ lhu $v1, 0x78f8($v1)
/* CC348 80135C48 946378F8 */ lhu $v1, %lo(gItemTable+0x18)($v1)
/* CC34C 80135C4C 30620040 */ andi $v0, $v1, 0x40
/* CC350 80135C50 54400013 */ bnel $v0, $zero, .L80135CA0
/* CC354 80135C54 3C040006 */ lui $a0, 6
@ -413,9 +413,9 @@ glabel update_item_entity_temp
/* CC3B8 80135CB8 24020006 */ addiu $v0, $zero, 6
/* CC3BC 80135CBC 86240018 */ lh $a0, 0x18($s1)
/* CC3C0 80135CC0 00041140 */ sll $v0, $a0, 5
/* CC3C4 80135CC4 3C038008 */ lui $v1, 0x8008
/* CC3C4 80135CC4 3C038008 */ lui $v1, %hi(gItemTable+0x18)
/* CC3C8 80135CC8 00621821 */ addu $v1, $v1, $v0
/* CC3CC 80135CCC 946378F8 */ lhu $v1, 0x78f8($v1)
/* CC3CC 80135CCC 946378F8 */ lhu $v1, %lo(gItemTable+0x18)($v1)
/* CC3D0 80135CD0 30620040 */ andi $v0, $v1, 0x40
/* CC3D4 80135CD4 1440000F */ bnez $v0, .L80135D14
/* CC3D8 80135CD8 30620008 */ andi $v0, $v1, 8
@ -495,9 +495,9 @@ glabel update_item_entity_temp
.L80135DEC:
/* CC4EC 80135DEC 86220018 */ lh $v0, 0x18($s1)
/* CC4F0 80135DF0 00021140 */ sll $v0, $v0, 5
/* CC4F4 80135DF4 3C018008 */ lui $at, 0x8008
/* CC4F4 80135DF4 3C018008 */ lui $at, %hi(gItemTable+0x18)
/* CC4F8 80135DF8 00220821 */ addu $at, $at, $v0
/* CC4FC 80135DFC 942278F8 */ lhu $v0, 0x78f8($at)
/* CC4FC 80135DFC 942278F8 */ lhu $v0, %lo(gItemTable+0x18)($at)
/* CC500 80135E00 30420020 */ andi $v0, $v0, 0x20
/* CC504 80135E04 10400006 */ beqz $v0, .L80135E20
/* CC508 80135E08 2404000C */ addiu $a0, $zero, 0xc
@ -531,9 +531,9 @@ glabel update_item_entity_temp
/* CC574 80135E74 A222001A */ sb $v0, 0x1a($s1)
/* CC578 80135E78 86220018 */ lh $v0, 0x18($s1)
/* CC57C 80135E7C 00021140 */ sll $v0, $v0, 5
/* CC580 80135E80 3C018008 */ lui $at, 0x8008
/* CC580 80135E80 3C018008 */ lui $at, %hi(gItemTable+0x18)
/* CC584 80135E84 00220821 */ addu $at, $at, $v0
/* CC588 80135E88 942278F8 */ lhu $v0, 0x78f8($at)
/* CC588 80135E88 942278F8 */ lhu $v0, %lo(gItemTable+0x18)($at)
/* CC58C 80135E8C 30420004 */ andi $v0, $v0, 4
/* CC590 80135E90 10400009 */ beqz $v0, .L80135EB8
/* CC594 80135E94 0000202D */ daddu $a0, $zero, $zero
@ -570,9 +570,9 @@ glabel update_item_entity_temp
/* CC604 80135F04 A222001A */ sb $v0, 0x1a($s1)
/* CC608 80135F08 86230018 */ lh $v1, 0x18($s1)
/* CC60C 80135F0C 00031140 */ sll $v0, $v1, 5
/* CC610 80135F10 3C018008 */ lui $at, 0x8008
/* CC610 80135F10 3C018008 */ lui $at, %hi(gItemTable+0x18)
/* CC614 80135F14 00220821 */ addu $at, $at, $v0
/* CC618 80135F18 942278F8 */ lhu $v0, 0x78f8($at)
/* CC618 80135F18 942278F8 */ lhu $v0, %lo(gItemTable+0x18)($at)
/* CC61C 80135F1C 30420004 */ andi $v0, $v0, 4
/* CC620 80135F20 10400003 */ beqz $v0, .L80135F30
/* CC624 80135F24 0000202D */ daddu $a0, $zero, $zero

View File

@ -1,88 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel _set_music_track
/* E0EE0 8014A7E0 27BDFFD0 */ addiu $sp, $sp, -0x30
/* E0EE4 8014A7E4 AFB20018 */ sw $s2, 0x18($sp)
/* E0EE8 8014A7E8 00A0902D */ daddu $s2, $a1, $zero
/* E0EEC 8014A7EC 3C058007 */ lui $a1, %hi(gGameStatusPtr)
/* E0EF0 8014A7F0 8CA5419C */ lw $a1, %lo(gGameStatusPtr)($a1)
/* E0EF4 8014A7F4 AFB3001C */ sw $s3, 0x1c($sp)
/* E0EF8 8014A7F8 8FB30040 */ lw $s3, 0x40($sp)
/* E0EFC 8014A7FC AFB10014 */ sw $s1, 0x14($sp)
/* E0F00 8014A800 00C0882D */ daddu $s1, $a2, $zero
/* E0F04 8014A804 AFB50024 */ sw $s5, 0x24($sp)
/* E0F08 8014A808 00E0A82D */ daddu $s5, $a3, $zero
/* E0F0C 8014A80C AFBF0028 */ sw $ra, 0x28($sp)
/* E0F10 8014A810 AFB40020 */ sw $s4, 0x20($sp)
/* E0F14 8014A814 AFB00010 */ sw $s0, 0x10($sp)
/* E0F18 8014A818 80A20071 */ lb $v0, 0x71($a1)
/* E0F1C 8014A81C 10400003 */ beqz $v0, .L8014A82C
/* E0F20 8014A820 0260A02D */ daddu $s4, $s3, $zero
/* E0F24 8014A824 08052A3D */ j .L8014A8F4
/* E0F28 8014A828 24020001 */ addiu $v0, $zero, 1
.L8014A82C:
/* E0F2C 8014A82C 3C028016 */ lui $v0, 0x8016
/* E0F30 8014A830 24429AF0 */ addiu $v0, $v0, -0x6510
/* E0F34 8014A834 00041840 */ sll $v1, $a0, 1
/* E0F38 8014A838 00641821 */ addu $v1, $v1, $a0
/* E0F3C 8014A83C 00031900 */ sll $v1, $v1, 4
/* E0F40 8014A840 80A4007A */ lb $a0, 0x7a($a1)
/* E0F44 8014A844 14800008 */ bnez $a0, .L8014A868
/* E0F48 8014A848 00628021 */ addu $s0, $v1, $v0
/* E0F4C 8014A84C 8E040018 */ lw $a0, 0x18($s0)
/* E0F50 8014A850 0C015671 */ jal func_800559C4
/* E0F54 8014A854 00000000 */ nop
/* E0F58 8014A858 96030000 */ lhu $v1, ($s0)
/* E0F5C 8014A85C 24020001 */ addiu $v0, $zero, 1
/* E0F60 8014A860 08052A3C */ j .L8014A8F0
/* E0F64 8014A864 3063FFFE */ andi $v1, $v1, 0xfffe
.L8014A868:
/* E0F68 8014A868 0C05290C */ jal get_default_variation_for_song
/* E0F6C 8014A86C 0240202D */ daddu $a0, $s2, $zero
/* E0F70 8014A870 04430001 */ bgezl $v0, .L8014A878
/* E0F74 8014A874 0040882D */ daddu $s1, $v0, $zero
.L8014A878:
/* E0F78 8014A878 8E020010 */ lw $v0, 0x10($s0)
/* E0F7C 8014A87C 14520013 */ bne $v0, $s2, .L8014A8CC
/* E0F80 8014A880 24020001 */ addiu $v0, $zero, 1
/* E0F84 8014A884 8E020014 */ lw $v0, 0x14($s0)
/* E0F88 8014A888 14510010 */ bne $v0, $s1, .L8014A8CC
/* E0F8C 8014A88C 24020001 */ addiu $v0, $zero, 1
/* E0F90 8014A890 00132400 */ sll $a0, $s3, 0x10
/* E0F94 8014A894 0C052B21 */ jal func_8014AC84
/* E0F98 8014A898 00042403 */ sra $a0, $a0, 0x10
/* E0F9C 8014A89C 96020000 */ lhu $v0, ($s0)
/* E0FA0 8014A8A0 30420004 */ andi $v0, $v0, 4
/* E0FA4 8014A8A4 50400013 */ beql $v0, $zero, .L8014A8F4
/* E0FA8 8014A8A8 24020002 */ addiu $v0, $zero, 2
/* E0FAC 8014A8AC 8E040018 */ lw $a0, 0x18($s0)
/* E0FB0 8014A8B0 0C0156E0 */ jal func_80055B80
/* E0FB4 8014A8B4 00000000 */ nop
/* E0FB8 8014A8B8 96020000 */ lhu $v0, ($s0)
/* E0FBC 8014A8BC 3042FFFB */ andi $v0, $v0, 0xfffb
/* E0FC0 8014A8C0 A6020000 */ sh $v0, ($s0)
/* E0FC4 8014A8C4 08052A3D */ j .L8014A8F4
/* E0FC8 8014A8C8 24020002 */ addiu $v0, $zero, 2
.L8014A8CC:
/* E0FCC 8014A8CC 96030000 */ lhu $v1, ($s0)
/* E0FD0 8014A8D0 0040202D */ daddu $a0, $v0, $zero
/* E0FD4 8014A8D4 3C018016 */ lui $at, 0x8016
/* E0FD8 8014A8D8 A4349AE0 */ sh $s4, -0x6520($at)
/* E0FDC 8014A8DC AE120010 */ sw $s2, 0x10($s0)
/* E0FE0 8014A8E0 AE110014 */ sw $s1, 0x14($s0)
/* E0FE4 8014A8E4 AE150004 */ sw $s5, 4($s0)
/* E0FE8 8014A8E8 A6040002 */ sh $a0, 2($s0)
/* E0FEC 8014A8EC 3063FFFD */ andi $v1, $v1, 0xfffd
.L8014A8F0:
/* E0FF0 8014A8F0 A6030000 */ sh $v1, ($s0)
.L8014A8F4:
/* E0FF4 8014A8F4 8FBF0028 */ lw $ra, 0x28($sp)
/* E0FF8 8014A8F8 8FB50024 */ lw $s5, 0x24($sp)
/* E0FFC 8014A8FC 8FB40020 */ lw $s4, 0x20($sp)
/* E1000 8014A900 8FB3001C */ lw $s3, 0x1c($sp)
/* E1004 8014A904 8FB20018 */ lw $s2, 0x18($sp)
/* E1008 8014A908 8FB10014 */ lw $s1, 0x14($sp)
/* E100C 8014A90C 8FB00010 */ lw $s0, 0x10($sp)
/* E1010 8014A910 03E00008 */ jr $ra
/* E1014 8014A914 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,43 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8014A498
/* E0B98 8014A498 27BDFFE8 */ addiu $sp, $sp, -0x18
/* E0B9C 8014A49C AFBF0010 */ sw $ra, 0x10($sp)
/* E0BA0 8014A4A0 0000282D */ daddu $a1, $zero, $zero
/* E0BA4 8014A4A4 3C068015 */ lui $a2, 0x8015
/* E0BA8 8014A4A8 24C6F6F0 */ addiu $a2, $a2, -0x910
/* E0BAC 8014A4AC 24C70030 */ addiu $a3, $a2, 0x30
/* E0BB0 8014A4B0 3C048016 */ lui $a0, 0x8016
/* E0BB4 8014A4B4 24849AF0 */ addiu $a0, $a0, -0x6510
.L8014A4B8:
/* E0BB8 8014A4B8 0080182D */ daddu $v1, $a0, $zero
/* E0BBC 8014A4BC 00C0102D */ daddu $v0, $a2, $zero
.L8014A4C0:
/* E0BC0 8014A4C0 8C480000 */ lw $t0, ($v0)
/* E0BC4 8014A4C4 8C490004 */ lw $t1, 4($v0)
/* E0BC8 8014A4C8 8C4A0008 */ lw $t2, 8($v0)
/* E0BCC 8014A4CC 8C4B000C */ lw $t3, 0xc($v0)
/* E0BD0 8014A4D0 AC680000 */ sw $t0, ($v1)
/* E0BD4 8014A4D4 AC690004 */ sw $t1, 4($v1)
/* E0BD8 8014A4D8 AC6A0008 */ sw $t2, 8($v1)
/* E0BDC 8014A4DC AC6B000C */ sw $t3, 0xc($v1)
/* E0BE0 8014A4E0 24420010 */ addiu $v0, $v0, 0x10
/* E0BE4 8014A4E4 1447FFF6 */ bne $v0, $a3, .L8014A4C0
/* E0BE8 8014A4E8 24630010 */ addiu $v1, $v1, 0x10
/* E0BEC 8014A4EC 24A50001 */ addiu $a1, $a1, 1
/* E0BF0 8014A4F0 28A20002 */ slti $v0, $a1, 2
/* E0BF4 8014A4F4 1440FFF0 */ bnez $v0, .L8014A4B8
/* E0BF8 8014A4F8 24840030 */ addiu $a0, $a0, 0x30
/* E0BFC 8014A4FC 24020008 */ addiu $v0, $zero, 8
/* E0C00 8014A500 3C018016 */ lui $at, %hi(D_80159AE2)
/* E0C04 8014A504 A4229AE2 */ sh $v0, %lo(D_80159AE2)($at)
/* E0C08 8014A508 3C018016 */ lui $at, %hi(D_80159AE4)
/* E0C0C 8014A50C A4229AE4 */ sh $v0, %lo(D_80159AE4)($at)
/* E0C10 8014A510 3C018016 */ lui $at, 0x8016
/* E0C14 8014A514 A4229AE6 */ sh $v0, -0x651a($at)
/* E0C18 8014A518 0C015869 */ jal func_800561A4
/* E0C1C 8014A51C 24040008 */ addiu $a0, $zero, 8
/* E0C20 8014A520 8FBF0010 */ lw $ra, 0x10($sp)
/* E0C24 8014A524 03E00008 */ jr $ra
/* E0C28 8014A528 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -4,8 +4,8 @@
glabel func_8014A548
/* E0C48 8014A548 27BDFFC8 */ addiu $sp, $sp, -0x38
/* E0C4C 8014A54C AFB1001C */ sw $s1, 0x1c($sp)
/* E0C50 8014A550 3C118016 */ lui $s1, 0x8016
/* E0C54 8014A554 26319AF0 */ addiu $s1, $s1, -0x6510
/* E0C50 8014A550 3C118016 */ lui $s1, %hi(gMusicPlayers)
/* E0C54 8014A554 26319AF0 */ addiu $s1, $s1, %lo(gMusicPlayers)
/* E0C58 8014A558 AFB20020 */ sw $s2, 0x20($sp)
/* E0C5C 8014A55C 0000902D */ daddu $s2, $zero, $zero
/* E0C60 8014A560 AFB30024 */ sw $s3, 0x24($sp)
@ -126,9 +126,9 @@ glabel func_8014A548
/* E0E08 8014A708 080529C8 */ j .L8014A720
/* E0E0C 8014A70C A6220000 */ sh $v0, ($s1)
.L8014A710:
/* E0E10 8014A710 3C048016 */ lui $a0, 0x8016
/* E0E14 8014A714 84849AE0 */ lh $a0, -0x6520($a0)
/* E0E18 8014A718 0C052B21 */ jal func_8014AC84
/* E0E10 8014A710 3C048016 */ lui $a0, %hi(gMusicUnkVolume)
/* E0E14 8014A714 84849AE0 */ lh $a0, %lo(gMusicUnkVolume)($a0)
/* E0E18 8014A718 0C052B21 */ jal transition_music_volume_to
/* E0E1C 8014A71C 00000000 */ nop
.L8014A720:
/* E0E20 8014A720 8E040016 */ lw $a0, 0x16($s0)

View File

@ -1,69 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8014A964
/* E1064 8014A964 27BDFFD0 */ addiu $sp, $sp, -0x30
/* E1068 8014A968 AFB40020 */ sw $s4, 0x20($sp)
/* E106C 8014A96C 00A0A02D */ daddu $s4, $a1, $zero
/* E1070 8014A970 3C058007 */ lui $a1, %hi(gGameStatusPtr)
/* E1074 8014A974 8CA5419C */ lw $a1, %lo(gGameStatusPtr)($a1)
/* E1078 8014A978 AFB3001C */ sw $s3, 0x1c($sp)
/* E107C 8014A97C 8FB30040 */ lw $s3, 0x40($sp)
/* E1080 8014A980 AFB10014 */ sw $s1, 0x14($sp)
/* E1084 8014A984 00C0882D */ daddu $s1, $a2, $zero
/* E1088 8014A988 AFB50024 */ sw $s5, 0x24($sp)
/* E108C 8014A98C AFBF0028 */ sw $ra, 0x28($sp)
/* E1090 8014A990 AFB20018 */ sw $s2, 0x18($sp)
/* E1094 8014A994 AFB00010 */ sw $s0, 0x10($sp)
/* E1098 8014A998 80A20071 */ lb $v0, 0x71($a1)
/* E109C 8014A99C 8FB20044 */ lw $s2, 0x44($sp)
/* E10A0 8014A9A0 10400003 */ beqz $v0, .L8014A9B0
/* E10A4 8014A9A4 00E0A82D */ daddu $s5, $a3, $zero
/* E10A8 8014A9A8 08052A8C */ j .L8014AA30
/* E10AC 8014A9AC 24020001 */ addiu $v0, $zero, 1
.L8014A9B0:
/* E10B0 8014A9B0 3C028016 */ lui $v0, 0x8016
/* E10B4 8014A9B4 24429AF0 */ addiu $v0, $v0, -0x6510
/* E10B8 8014A9B8 00041840 */ sll $v1, $a0, 1
/* E10BC 8014A9BC 00641821 */ addu $v1, $v1, $a0
/* E10C0 8014A9C0 00031900 */ sll $v1, $v1, 4
/* E10C4 8014A9C4 80A4007A */ lb $a0, 0x7a($a1)
/* E10C8 8014A9C8 14800008 */ bnez $a0, .L8014A9EC
/* E10CC 8014A9CC 00628021 */ addu $s0, $v1, $v0
/* E10D0 8014A9D0 8E040018 */ lw $a0, 0x18($s0)
/* E10D4 8014A9D4 0C015671 */ jal func_800559C4
/* E10D8 8014A9D8 00000000 */ nop
/* E10DC 8014A9DC 96030000 */ lhu $v1, ($s0)
/* E10E0 8014A9E0 24020001 */ addiu $v0, $zero, 1
/* E10E4 8014A9E4 08052A8B */ j .L8014AA2C
/* E10E8 8014A9E8 3063FFFE */ andi $v1, $v1, 0xfffe
.L8014A9EC:
/* E10EC 8014A9EC 0C05290C */ jal get_default_variation_for_song
/* E10F0 8014A9F0 0280202D */ daddu $a0, $s4, $zero
/* E10F4 8014A9F4 04430001 */ bgezl $v0, .L8014A9FC
/* E10F8 8014A9F8 0040882D */ daddu $s1, $v0, $zero
.L8014A9FC:
/* E10FC 8014A9FC 24020001 */ addiu $v0, $zero, 1
/* E1100 8014AA00 96030000 */ lhu $v1, ($s0)
/* E1104 8014AA04 0040202D */ daddu $a0, $v0, $zero
/* E1108 8014AA08 AE150008 */ sw $s5, 8($s0)
/* E110C 8014AA0C A613000C */ sh $s3, 0xc($s0)
/* E1110 8014AA10 A612000E */ sh $s2, 0xe($s0)
/* E1114 8014AA14 AE140010 */ sw $s4, 0x10($s0)
/* E1118 8014AA18 AE110014 */ sw $s1, 0x14($s0)
/* E111C 8014AA1C A6040002 */ sh $a0, 2($s0)
/* E1120 8014AA20 34630020 */ ori $v1, $v1, 0x20
/* E1124 8014AA24 A6030000 */ sh $v1, ($s0)
/* E1128 8014AA28 3063FFFD */ andi $v1, $v1, 0xfffd
.L8014AA2C:
/* E112C 8014AA2C A6030000 */ sh $v1, ($s0)
.L8014AA30:
/* E1130 8014AA30 8FBF0028 */ lw $ra, 0x28($sp)
/* E1134 8014AA34 8FB50024 */ lw $s5, 0x24($sp)
/* E1138 8014AA38 8FB40020 */ lw $s4, 0x20($sp)
/* E113C 8014AA3C 8FB3001C */ lw $s3, 0x1c($sp)
/* E1140 8014AA40 8FB20018 */ lw $s2, 0x18($sp)
/* E1144 8014AA44 8FB10014 */ lw $s1, 0x14($sp)
/* E1148 8014AA48 8FB00010 */ lw $s0, 0x10($sp)
/* E114C 8014AA4C 03E00008 */ jr $ra
/* E1150 8014AA50 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,57 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8014AA54
/* E1154 8014AA54 27BDFFE8 */ addiu $sp, $sp, -0x18
/* E1158 8014AA58 3C028016 */ lui $v0, 0x8016
/* E115C 8014AA5C 24429AF0 */ addiu $v0, $v0, -0x6510
/* E1160 8014AA60 00041840 */ sll $v1, $a0, 1
/* E1164 8014AA64 00641821 */ addu $v1, $v1, $a0
/* E1168 8014AA68 00031900 */ sll $v1, $v1, 4
/* E116C 8014AA6C 00621821 */ addu $v1, $v1, $v0
/* E1170 8014AA70 AFBF0010 */ sw $ra, 0x10($sp)
/* E1174 8014AA74 94640000 */ lhu $a0, ($v1)
/* E1178 8014AA78 30820001 */ andi $v0, $a0, 1
/* E117C 8014AA7C 10400003 */ beqz $v0, .L8014AA8C
/* E1180 8014AA80 30820002 */ andi $v0, $a0, 2
/* E1184 8014AA84 14400003 */ bnez $v0, .L8014AA94
/* E1188 8014AA88 00061400 */ sll $v0, $a2, 0x10
.L8014AA8C:
/* E118C 8014AA8C 08052AC0 */ j .L8014AB00
/* E1190 8014AA90 0000102D */ daddu $v0, $zero, $zero
.L8014AA94:
/* E1194 8014AA94 00022403 */ sra $a0, $v0, 0x10
/* E1198 8014AA98 24020001 */ addiu $v0, $zero, 1
/* E119C 8014AA9C 1082000F */ beq $a0, $v0, .L8014AADC
/* E11A0 8014AAA0 28820002 */ slti $v0, $a0, 2
/* E11A4 8014AAA4 10400005 */ beqz $v0, .L8014AABC
/* E11A8 8014AAA8 24020002 */ addiu $v0, $zero, 2
/* E11AC 8014AAAC 10800007 */ beqz $a0, .L8014AACC
/* E11B0 8014AAB0 24020001 */ addiu $v0, $zero, 1
/* E11B4 8014AAB4 08052AC0 */ j .L8014AB00
/* E11B8 8014AAB8 00000000 */ nop
.L8014AABC:
/* E11BC 8014AABC 1082000C */ beq $a0, $v0, .L8014AAF0
/* E11C0 8014AAC0 24020001 */ addiu $v0, $zero, 1
/* E11C4 8014AAC4 08052AC0 */ j .L8014AB00
/* E11C8 8014AAC8 00000000 */ nop
.L8014AACC:
/* E11CC 8014AACC 0C01580A */ jal func_80056028
/* E11D0 8014AAD0 8C640018 */ lw $a0, 0x18($v1)
/* E11D4 8014AAD4 08052AC0 */ j .L8014AB00
/* E11D8 8014AAD8 24020001 */ addiu $v0, $zero, 1
.L8014AADC:
/* E11DC 8014AADC 8C640018 */ lw $a0, 0x18($v1)
/* E11E0 8014AAE0 0C015811 */ jal func_80056044
/* E11E4 8014AAE4 00000000 */ nop
/* E11E8 8014AAE8 08052AC0 */ j .L8014AB00
/* E11EC 8014AAEC 24020001 */ addiu $v0, $zero, 1
.L8014AAF0:
/* E11F0 8014AAF0 8C640018 */ lw $a0, 0x18($v1)
/* E11F4 8014AAF4 0C01581A */ jal func_80056068
/* E11F8 8014AAF8 00000000 */ nop
/* E11FC 8014AAFC 24020001 */ addiu $v0, $zero, 1
.L8014AB00:
/* E1200 8014AB00 8FBF0010 */ lw $ra, 0x10($sp)
/* E1204 8014AB04 03E00008 */ jr $ra
/* E1208 8014AB08 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,27 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8014AB0C
/* E120C 8014AB0C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* E1210 8014AB10 3C028016 */ lui $v0, 0x8016
/* E1214 8014AB14 24429AF0 */ addiu $v0, $v0, -0x6510
/* E1218 8014AB18 00041840 */ sll $v1, $a0, 1
/* E121C 8014AB1C 00641821 */ addu $v1, $v1, $a0
/* E1220 8014AB20 00031900 */ sll $v1, $v1, 4
/* E1224 8014AB24 00621821 */ addu $v1, $v1, $v0
/* E1228 8014AB28 AFBF0010 */ sw $ra, 0x10($sp)
/* E122C 8014AB2C 94620000 */ lhu $v0, ($v1)
/* E1230 8014AB30 30420001 */ andi $v0, $v0, 1
/* E1234 8014AB34 10400006 */ beqz $v0, .L8014AB50
/* E1238 8014AB38 00052C00 */ sll $a1, $a1, 0x10
/* E123C 8014AB3C 8C640018 */ lw $a0, 0x18($v1)
/* E1240 8014AB40 0C015777 */ jal func_80055DDC
/* E1244 8014AB44 00052C03 */ sra $a1, $a1, 0x10
/* E1248 8014AB48 08052AD5 */ j .L8014AB54
/* E124C 8014AB4C 00000000 */ nop
.L8014AB50:
/* E1250 8014AB50 0000102D */ daddu $v0, $zero, $zero
.L8014AB54:
/* E1254 8014AB54 8FBF0010 */ lw $ra, 0x10($sp)
/* E1258 8014AB58 03E00008 */ jr $ra
/* E125C 8014AB5C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,27 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8014AB60
/* E1260 8014AB60 27BDFFE8 */ addiu $sp, $sp, -0x18
/* E1264 8014AB64 3C028016 */ lui $v0, 0x8016
/* E1268 8014AB68 24429AF0 */ addiu $v0, $v0, -0x6510
/* E126C 8014AB6C 00041840 */ sll $v1, $a0, 1
/* E1270 8014AB70 00641821 */ addu $v1, $v1, $a0
/* E1274 8014AB74 00031900 */ sll $v1, $v1, 4
/* E1278 8014AB78 00621821 */ addu $v1, $v1, $v0
/* E127C 8014AB7C AFBF0010 */ sw $ra, 0x10($sp)
/* E1280 8014AB80 94620000 */ lhu $v0, ($v1)
/* E1284 8014AB84 30420001 */ andi $v0, $v0, 1
/* E1288 8014AB88 10400006 */ beqz $v0, .L8014ABA4
/* E128C 8014AB8C 00052C00 */ sll $a1, $a1, 0x10
/* E1290 8014AB90 8C640018 */ lw $a0, 0x18($v1)
/* E1294 8014AB94 0C015792 */ jal func_80055E48
/* E1298 8014AB98 00052C03 */ sra $a1, $a1, 0x10
/* E129C 8014AB9C 08052AEA */ j .L8014ABA8
/* E12A0 8014ABA0 00000000 */ nop
.L8014ABA4:
/* E12A4 8014ABA4 0000102D */ daddu $v0, $zero, $zero
.L8014ABA8:
/* E12A8 8014ABA8 8FBF0010 */ lw $ra, 0x10($sp)
/* E12AC 8014ABAC 03E00008 */ jr $ra
/* E12B0 8014ABB0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,27 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8014ABB4
/* E12B4 8014ABB4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* E12B8 8014ABB8 3C028016 */ lui $v0, 0x8016
/* E12BC 8014ABBC 24429AF0 */ addiu $v0, $v0, -0x6510
/* E12C0 8014ABC0 00041840 */ sll $v1, $a0, 1
/* E12C4 8014ABC4 00641821 */ addu $v1, $v1, $a0
/* E12C8 8014ABC8 00031900 */ sll $v1, $v1, 4
/* E12CC 8014ABCC 00621821 */ addu $v1, $v1, $v0
/* E12D0 8014ABD0 AFBF0010 */ sw $ra, 0x10($sp)
/* E12D4 8014ABD4 94620000 */ lhu $v0, ($v1)
/* E12D8 8014ABD8 30420001 */ andi $v0, $v0, 1
/* E12DC 8014ABDC 10400006 */ beqz $v0, .L8014ABF8
/* E12E0 8014ABE0 00052C00 */ sll $a1, $a1, 0x10
/* E12E4 8014ABE4 8C640018 */ lw $a0, 0x18($v1)
/* E12E8 8014ABE8 0C015731 */ jal func_80055CC4
/* E12EC 8014ABEC 00052C03 */ sra $a1, $a1, 0x10
/* E12F0 8014ABF0 08052AFF */ j .L8014ABFC
/* E12F4 8014ABF4 00000000 */ nop
.L8014ABF8:
/* E12F8 8014ABF8 0000102D */ daddu $v0, $zero, $zero
.L8014ABFC:
/* E12FC 8014ABFC 8FBF0010 */ lw $ra, 0x10($sp)
/* E1300 8014AC00 03E00008 */ jr $ra
/* E1304 8014AC04 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,25 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8014AC08
/* E1308 8014AC08 27BDFFE0 */ addiu $sp, $sp, -0x20
/* E130C 8014AC0C 0000202D */ daddu $a0, $zero, $zero
/* E1310 8014AC10 2405FFFF */ addiu $a1, $zero, -1
/* E1314 8014AC14 0080302D */ daddu $a2, $a0, $zero
/* E1318 8014AC18 240700FA */ addiu $a3, $zero, 0xfa
/* E131C 8014AC1C AFB00018 */ sw $s0, 0x18($sp)
/* E1320 8014AC20 24100008 */ addiu $s0, $zero, 8
/* E1324 8014AC24 AFBF001C */ sw $ra, 0x1c($sp)
/* E1328 8014AC28 0C052A46 */ jal set_music_track
/* E132C 8014AC2C AFB00010 */ sw $s0, 0x10($sp)
/* E1330 8014AC30 24040001 */ addiu $a0, $zero, 1
/* E1334 8014AC34 2405FFFF */ addiu $a1, $zero, -1
/* E1338 8014AC38 0000302D */ daddu $a2, $zero, $zero
/* E133C 8014AC3C 240700FA */ addiu $a3, $zero, 0xfa
/* E1340 8014AC40 0C052A46 */ jal set_music_track
/* E1344 8014AC44 AFB00010 */ sw $s0, 0x10($sp)
/* E1348 8014AC48 8FBF001C */ lw $ra, 0x1c($sp)
/* E134C 8014AC4C 8FB00018 */ lw $s0, 0x18($sp)
/* E1350 8014AC50 24020001 */ addiu $v0, $zero, 1
/* E1354 8014AC54 03E00008 */ jr $ra
/* E1358 8014AC58 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,9 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8014AC5C
/* E135C 8014AC5C 24020004 */ addiu $v0, $zero, 4
/* E1360 8014AC60 3C018016 */ lui $at, %hi(D_80159AE4)
/* E1364 8014AC64 A4229AE4 */ sh $v0, %lo(D_80159AE4)($at)
/* E1368 8014AC68 03E00008 */ jr $ra
/* E136C 8014AC6C 00000000 */ nop

View File

@ -1,9 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8014AC70
/* E1370 8014AC70 24020008 */ addiu $v0, $zero, 8
/* E1374 8014AC74 3C018016 */ lui $at, %hi(D_80159AE4)
/* E1378 8014AC78 A4229AE4 */ sh $v0, %lo(D_80159AE4)($at)
/* E137C 8014AC7C 03E00008 */ jr $ra
/* E1380 8014AC80 00000000 */ nop

View File

@ -1,8 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8014AC84
/* E1384 8014AC84 3C018016 */ lui $at, %hi(D_80159AE2)
/* E1388 8014AC88 A4249AE2 */ sh $a0, %lo(D_80159AE2)($at)
/* E138C 8014AC8C 03E00008 */ jr $ra
/* E1390 8014AC90 00000000 */ nop

View File

@ -13,20 +13,20 @@ glabel func_8014AC94
/* E13B4 8014ACB4 08052B4D */ j .L8014AD34
/* E13B8 8014ACB8 A4820000 */ sh $v0, ($a0)
.L8014ACBC:
/* E13BC 8014ACBC 3C038016 */ lui $v1, %hi(D_80159AE2)
/* E13C0 8014ACC0 84639AE2 */ lh $v1, %lo(D_80159AE2)($v1)
/* E13C4 8014ACC4 3C028016 */ lui $v0, %hi(D_80159AE4)
/* E13C8 8014ACC8 84429AE4 */ lh $v0, %lo(D_80159AE4)($v0)
/* E13CC 8014ACCC 3C048016 */ lui $a0, %hi(D_80159AE2)
/* E13D0 8014ACD0 94849AE2 */ lhu $a0, %lo(D_80159AE2)($a0)
/* E13BC 8014ACBC 3C038016 */ lui $v1, %hi(gMusicTargetVolume)
/* E13C0 8014ACC0 84639AE2 */ lh $v1, %lo(gMusicTargetVolume)($v1)
/* E13C4 8014ACC4 3C028016 */ lui $v0, %hi(gMusicUnkVolume2)
/* E13C8 8014ACC8 84429AE4 */ lh $v0, %lo(gMusicUnkVolume2)($v0)
/* E13CC 8014ACCC 3C048016 */ lui $a0, %hi(gMusicTargetVolume)
/* E13D0 8014ACD0 94849AE2 */ lhu $a0, %lo(gMusicTargetVolume)($a0)
/* E13D4 8014ACD4 0043102A */ slt $v0, $v0, $v1
/* E13D8 8014ACD8 3C038016 */ lui $v1, %hi(D_80159AE4)
/* E13DC 8014ACDC 94639AE4 */ lhu $v1, %lo(D_80159AE4)($v1)
/* E13D8 8014ACD8 3C038016 */ lui $v1, %hi(gMusicUnkVolume2)
/* E13DC 8014ACDC 94639AE4 */ lhu $v1, %lo(gMusicUnkVolume2)($v1)
/* E13E0 8014ACE0 54400001 */ bnel $v0, $zero, .L8014ACE8
/* E13E4 8014ACE4 0060202D */ daddu $a0, $v1, $zero
.L8014ACE8:
/* E13E8 8014ACE8 3C058016 */ lui $a1, 0x8016
/* E13EC 8014ACEC 24A59AE6 */ addiu $a1, $a1, -0x651a
/* E13E8 8014ACE8 3C058016 */ lui $a1, %hi(gMusicCurrentVolume)
/* E13EC 8014ACEC 24A59AE6 */ addiu $a1, $a1, %lo(gMusicCurrentVolume)
/* E13F0 8014ACF0 00041400 */ sll $v0, $a0, 0x10
/* E13F4 8014ACF4 00022403 */ sra $a0, $v0, 0x10
/* E13F8 8014ACF8 84A20000 */ lh $v0, ($a1)
@ -38,8 +38,8 @@ glabel func_8014AC94
/* E1410 8014AD10 2462FFFF */ addiu $v0, $v1, -1
.L8014AD14:
/* E1414 8014AD14 A4A20000 */ sh $v0, ($a1)
/* E1418 8014AD18 3C048016 */ lui $a0, 0x8016
/* E141C 8014AD1C 84849AE6 */ lh $a0, -0x651a($a0)
/* E1418 8014AD18 3C048016 */ lui $a0, %hi(gMusicCurrentVolume)
/* E141C 8014AD1C 84849AE6 */ lh $a0, %lo(gMusicCurrentVolume)($a0)
/* E1420 8014AD20 0C015869 */ jal func_800561A4
/* E1424 8014AD24 00000000 */ nop
/* E1428 8014AD28 24020003 */ addiu $v0, $zero, 3

View File

@ -4,8 +4,8 @@
glabel func_8014AD40
/* E1440 8014AD40 27BDFFE0 */ addiu $sp, $sp, -0x20
/* E1444 8014AD44 AFB00010 */ sw $s0, 0x10($sp)
/* E1448 8014AD48 3C108016 */ lui $s0, 0x8016
/* E144C 8014AD4C 26109AF0 */ addiu $s0, $s0, -0x6510
/* E1448 8014AD48 3C108016 */ lui $s0, %hi(gMusicPlayers)
/* E144C 8014AD4C 26109AF0 */ addiu $s0, $s0, %lo(gMusicPlayers)
/* E1450 8014AD50 AFB10014 */ sw $s1, 0x14($sp)
/* E1454 8014AD54 0000882D */ daddu $s1, $zero, $zero
/* E1458 8014AD58 AFBF0018 */ sw $ra, 0x18($sp)

View File

@ -7,8 +7,8 @@ glabel func_8014ADA4
/* E14AC 8014ADAC 27BDFFE0 */ addiu $sp, $sp, -0x20
/* E14B0 8014ADB0 AFBF0018 */ sw $ra, 0x18($sp)
/* E14B4 8014ADB4 80420071 */ lb $v0, 0x71($v0)
/* E14B8 8014ADB8 3C068016 */ lui $a2, 0x8016
/* E14BC 8014ADBC 24C69AF0 */ addiu $a2, $a2, -0x6510
/* E14B8 8014ADB8 3C068016 */ lui $a2, %hi(gMusicPlayers)
/* E14BC 8014ADBC 24C69AF0 */ addiu $a2, $a2, %lo(gMusicPlayers)
/* E14C0 8014ADC0 1440000A */ bnez $v0, .L8014ADEC
/* E14C4 8014ADC4 24030008 */ addiu $v1, $zero, 8
/* E14C8 8014ADC8 94C20000 */ lhu $v0, ($a2)

View File

@ -8,8 +8,8 @@ glabel func_8014ADF8
/* E1504 8014AE04 8C42419C */ lw $v0, %lo(gGameStatusPtr)($v0)
/* E1508 8014AE08 AFBF0018 */ sw $ra, 0x18($sp)
/* E150C 8014AE0C 80420071 */ lb $v0, 0x71($v0)
/* E1510 8014AE10 3C078016 */ lui $a3, 0x8016
/* E1514 8014AE14 24E79AF0 */ addiu $a3, $a3, -0x6510
/* E1510 8014AE10 3C078016 */ lui $a3, %hi(gMusicPlayers)
/* E1514 8014AE14 24E79AF0 */ addiu $a3, $a3, %lo(gMusicPlayers)
/* E1518 8014AE18 14400011 */ bnez $v0, .L8014AE60
/* E151C 8014AE1C 00A0482D */ daddu $t1, $a1, $zero
/* E1520 8014AE20 8CE40010 */ lw $a0, 0x10($a3)

View File

@ -7,8 +7,8 @@ glabel func_8014AE6C
/* E1574 8014AE74 27BDFFE0 */ addiu $sp, $sp, -0x20
/* E1578 8014AE78 AFBF0018 */ sw $ra, 0x18($sp)
/* E157C 8014AE7C 80420071 */ lb $v0, 0x71($v0)
/* E1580 8014AE80 3C068016 */ lui $a2, 0x8016
/* E1584 8014AE84 24C69AF0 */ addiu $a2, $a2, -0x6510
/* E1580 8014AE80 3C068016 */ lui $a2, %hi(gMusicPlayers)
/* E1584 8014AE84 24C69AF0 */ addiu $a2, $a2, %lo(gMusicPlayers)
/* E1588 8014AE88 14400018 */ bnez $v0, .L8014AEEC
/* E158C 8014AE8C 3C020002 */ lui $v0, 2
/* E1590 8014AE90 3C04800A */ lui $a0, %hi(D_8009A650)

View File

@ -8,8 +8,8 @@ glabel func_8014AEF8
/* E1604 8014AF04 AFBF001C */ sw $ra, 0x1c($sp)
/* E1608 8014AF08 AFB00018 */ sw $s0, 0x18($sp)
/* E160C 8014AF0C 80420071 */ lb $v0, 0x71($v0)
/* E1610 8014AF10 3C108016 */ lui $s0, 0x8016
/* E1614 8014AF14 26109AF0 */ addiu $s0, $s0, -0x6510
/* E1610 8014AF10 3C108016 */ lui $s0, %hi(gMusicPlayers)
/* E1614 8014AF14 26109AF0 */ addiu $s0, $s0, %lo(gMusicPlayers)
/* E1618 8014AF18 14400018 */ bnez $v0, .L8014AF7C
/* E161C 8014AF1C 3C030002 */ lui $v1, 2
/* E1620 8014AF20 3C02800A */ lui $v0, %hi(D_8009A650)

View File

@ -1,9 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8014AF8C
/* E168C 8014AF8C 3C028016 */ lui $v0, 0x8016
/* E1690 8014AF90 24429AF0 */ addiu $v0, $v0, -0x6510
/* E1694 8014AF94 AC44001C */ sw $a0, 0x1c($v0)
/* E1698 8014AF98 03E00008 */ jr $ra
/* E169C 8014AF9C AC450020 */ sw $a1, 0x20($v0)

View File

@ -1,32 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel get_default_variation_for_song
/* E0B30 8014A430 0000302D */ daddu $a2, $zero, $zero
/* E0B34 8014A434 3C078009 */ lui $a3, 0x8009
/* E0B38 8014A438 24E734F0 */ addiu $a3, $a3, 0x34f0
/* E0B3C 8014A43C 3C038007 */ lui $v1, %hi(gGameStatusPtr)
/* E0B40 8014A440 2463419C */ addiu $v1, $v1, %lo(gGameStatusPtr)
/* E0B44 8014A444 3C058015 */ lui $a1, 0x8015
/* E0B48 8014A448 24A5F720 */ addiu $a1, $a1, -0x8e0
.L8014A44C:
/* E0B4C 8014A44C 8CA20000 */ lw $v0, ($a1)
/* E0B50 8014A450 1444000C */ bne $v0, $a0, .L8014A484
/* E0B54 8014A454 24C60001 */ addiu $a2, $a2, 1
/* E0B58 8014A458 8C630000 */ lw $v1, ($v1)
/* E0B5C 8014A45C 84620086 */ lh $v0, 0x86($v1)
/* E0B60 8014A460 8463008C */ lh $v1, 0x8c($v1)
/* E0B64 8014A464 00021100 */ sll $v0, $v0, 4
/* E0B68 8014A468 00471021 */ addu $v0, $v0, $a3
/* E0B6C 8014A46C 8C420004 */ lw $v0, 4($v0)
/* E0B70 8014A470 00031940 */ sll $v1, $v1, 5
/* E0B74 8014A474 00431021 */ addu $v0, $v0, $v1
/* E0B78 8014A478 9042001E */ lbu $v0, 0x1e($v0)
/* E0B7C 8014A47C 03E00008 */ jr $ra
/* E0B80 8014A480 30420001 */ andi $v0, $v0, 1
.L8014A484:
/* E0B84 8014A484 2CC20006 */ sltiu $v0, $a2, 6
/* E0B88 8014A488 1440FFF0 */ bnez $v0, .L8014A44C
/* E0B8C 8014A48C 24A50004 */ addiu $a1, $a1, 4
/* E0B90 8014A490 03E00008 */ jr $ra
/* E0B94 8014A494 2402FFFF */ addiu $v0, $zero, -1

View File

@ -1,23 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel set_music_track
/* E1018 8014A918 27BDFFE0 */ addiu $sp, $sp, -0x20
/* E101C 8014A91C 3C038016 */ lui $v1, 0x8016
/* E1020 8014A920 24639AF0 */ addiu $v1, $v1, -0x6510
/* E1024 8014A924 00041040 */ sll $v0, $a0, 1
/* E1028 8014A928 00441021 */ addu $v0, $v0, $a0
/* E102C 8014A92C 00021100 */ sll $v0, $v0, 4
/* E1030 8014A930 00431021 */ addu $v0, $v0, $v1
/* E1034 8014A934 AFBF0018 */ sw $ra, 0x18($sp)
/* E1038 8014A938 94430000 */ lhu $v1, ($v0)
/* E103C 8014A93C 8FA80030 */ lw $t0, 0x30($sp)
/* E1040 8014A940 3063FFF7 */ andi $v1, $v1, 0xfff7
/* E1044 8014A944 00084400 */ sll $t0, $t0, 0x10
/* E1048 8014A948 00084403 */ sra $t0, $t0, 0x10
/* E104C 8014A94C A4430000 */ sh $v1, ($v0)
/* E1050 8014A950 0C0529F8 */ jal _set_music_track
/* E1054 8014A954 AFA80010 */ sw $t0, 0x10($sp)
/* E1058 8014A958 8FBF0018 */ lw $ra, 0x18($sp)
/* E105C 8014A95C 03E00008 */ jr $ra
/* E1060 8014A960 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -106,7 +106,7 @@ glabel func_80033BC0
/* F150 80033D50 2442F290 */ addiu $v0, $v0, %lo(gPlayerData)
/* F154 80033D54 0C03AC80 */ jal func_800EB200
/* F158 80033D58 80440012 */ lb $a0, 0x12($v0)
/* F15C 80033D5C 0C0169B0 */ jal load_map_script_lib
/* F15C 80033D5C 0C0169B0 */ jal load_world_script_api
/* F160 80033D60 00000000 */ nop
/* F164 80033D64 3C04800E */ lui $a0, 0x800e
/* F168 80033D68 24849230 */ addiu $a0, $a0, -0x6dd0

View File

@ -119,7 +119,7 @@ glabel func_80034C3C
/* 101F8 80034DF8 00000000 */ nop
/* 101FC 80034DFC 0C052B1C */ jal func_8014AC70
/* 10200 80034E00 00000000 */ nop
/* 10204 80034E04 0C0169B0 */ jal load_map_script_lib
/* 10204 80034E04 0C0169B0 */ jal load_world_script_api
/* 10208 80034E08 00000000 */ nop
/* 1020C 80034E0C 3C04800E */ lui $a0, 0x800e
/* 10210 80034E10 24849230 */ addiu $a0, $a0, -0x6dd0

View File

@ -1,65 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel LoadPath
/* F9DE0 802D5430 27BDFFD0 */ addiu $sp, $sp, -0x30
/* F9DE4 802D5434 AFB20018 */ sw $s2, 0x18($sp)
/* F9DE8 802D5438 0080902D */ daddu $s2, $a0, $zero
/* F9DEC 802D543C AFBF0028 */ sw $ra, 0x28($sp)
/* F9DF0 802D5440 AFB50024 */ sw $s5, 0x24($sp)
/* F9DF4 802D5444 AFB40020 */ sw $s4, 0x20($sp)
/* F9DF8 802D5448 AFB3001C */ sw $s3, 0x1c($sp)
/* F9DFC 802D544C AFB10014 */ sw $s1, 0x14($sp)
/* F9E00 802D5450 AFB00010 */ sw $s0, 0x10($sp)
/* F9E04 802D5454 8E50000C */ lw $s0, 0xc($s2)
/* F9E08 802D5458 8E050000 */ lw $a1, ($s0)
/* F9E0C 802D545C 0C0B1EAF */ jal get_variable
/* F9E10 802D5460 26100004 */ addiu $s0, $s0, 4
/* F9E14 802D5464 8E050000 */ lw $a1, ($s0)
/* F9E18 802D5468 26100004 */ addiu $s0, $s0, 4
/* F9E1C 802D546C 0240202D */ daddu $a0, $s2, $zero
/* F9E20 802D5470 0C0B1EAF */ jal get_variable
/* F9E24 802D5474 0040982D */ daddu $s3, $v0, $zero
/* F9E28 802D5478 8E050000 */ lw $a1, ($s0)
/* F9E2C 802D547C 26100004 */ addiu $s0, $s0, 4
/* F9E30 802D5480 0240202D */ daddu $a0, $s2, $zero
/* F9E34 802D5484 0C0B1EAF */ jal get_variable
/* F9E38 802D5488 0040A02D */ daddu $s4, $v0, $zero
/* F9E3C 802D548C 0240202D */ daddu $a0, $s2, $zero
/* F9E40 802D5490 8E050000 */ lw $a1, ($s0)
/* F9E44 802D5494 0C0B1EAF */ jal get_variable
/* F9E48 802D5498 0040882D */ daddu $s1, $v0, $zero
/* F9E4C 802D549C 2404001C */ addiu $a0, $zero, 0x1c
/* F9E50 802D54A0 0C00AB39 */ jal heap_malloc
/* F9E54 802D54A4 0040A82D */ daddu $s5, $v0, $zero
/* F9E58 802D54A8 00112080 */ sll $a0, $s1, 2
/* F9E5C 802D54AC 0040802D */ daddu $s0, $v0, $zero
/* F9E60 802D54B0 AE5000C0 */ sw $s0, 0xc0($s2)
/* F9E64 802D54B4 0C00AB39 */ jal heap_malloc
/* F9E68 802D54B8 AE110000 */ sw $s1, ($s0)
/* F9E6C 802D54BC 00112040 */ sll $a0, $s1, 1
/* F9E70 802D54C0 00912021 */ addu $a0, $a0, $s1
/* F9E74 802D54C4 00042080 */ sll $a0, $a0, 2
/* F9E78 802D54C8 AE020004 */ sw $v0, 4($s0)
/* F9E7C 802D54CC 0C00AB39 */ jal heap_malloc
/* F9E80 802D54D0 AE140008 */ sw $s4, 8($s0)
/* F9E84 802D54D4 8E040000 */ lw $a0, ($s0)
/* F9E88 802D54D8 8E050004 */ lw $a1, 4($s0)
/* F9E8C 802D54DC 8E060008 */ lw $a2, 8($s0)
/* F9E90 802D54E0 0040382D */ daddu $a3, $v0, $zero
/* F9E94 802D54E4 0C0B536B */ jal setup_path_data
/* F9E98 802D54E8 AE02000C */ sw $v0, 0xc($s0)
/* F9E9C 802D54EC 2673FFFF */ addiu $s3, $s3, -1
/* F9EA0 802D54F0 AE000010 */ sw $zero, 0x10($s0)
/* F9EA4 802D54F4 AE130014 */ sw $s3, 0x14($s0)
/* F9EA8 802D54F8 AE150018 */ sw $s5, 0x18($s0)
/* F9EAC 802D54FC 8FBF0028 */ lw $ra, 0x28($sp)
/* F9EB0 802D5500 8FB50024 */ lw $s5, 0x24($sp)
/* F9EB4 802D5504 8FB40020 */ lw $s4, 0x20($sp)
/* F9EB8 802D5508 8FB3001C */ lw $s3, 0x1c($sp)
/* F9EBC 802D550C 8FB20018 */ lw $s2, 0x18($sp)
/* F9EC0 802D5510 8FB10014 */ lw $s1, 0x14($sp)
/* F9EC4 802D5514 8FB00010 */ lw $s0, 0x10($sp)
/* F9EC8 802D5518 24020002 */ addiu $v0, $zero, 2
/* F9ECC 802D551C 03E00008 */ jr $ra
/* F9ED0 802D5520 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -7,8 +7,8 @@ glabel func_802D5EE0
/* FA898 802D5EE8 8C82000C */ lw $v0, 0xc($a0)
/* FA89C 802D5EEC 0C0B1EAF */ jal get_variable
/* FA8A0 802D5EF0 8C450000 */ lw $a1, ($v0)
/* FA8A4 802D5EF4 3C048016 */ lui $a0, 0x8016
/* FA8A8 802D5EF8 24849AF0 */ addiu $a0, $a0, -0x6510
/* FA8A4 802D5EF4 3C048016 */ lui $a0, %hi(gMusicPlayers)
/* FA8A8 802D5EF8 24849AF0 */ addiu $a0, $a0, %lo(gMusicPlayers)
/* FA8AC 802D5EFC 00021840 */ sll $v1, $v0, 1
/* FA8B0 802D5F00 00621821 */ addu $v1, $v1, $v0
/* FA8B4 802D5F04 00031900 */ sll $v1, $v1, 4

View File

@ -124,9 +124,9 @@ glabel func_802416B4_C32B94
/* C32D58 80241878 2C620064 */ sltiu $v0, $v1, 0x64
/* C32D5C 8024187C 10400042 */ beqz $v0, .L80241988
/* C32D60 80241880 00031080 */ sll $v0, $v1, 2
/* C32D64 80241884 3C018024 */ lui $at, 0x8024
/* C32D64 80241884 3C018024 */ lui $at, %hi(pause_tabs_draw_stats)
/* C32D68 80241888 00220821 */ addu $at, $at, $v0
/* C32D6C 8024188C 8C224B98 */ lw $v0, 0x4b98($at)
/* C32D6C 8024188C 8C224B98 */ lw $v0, %lo(pause_tabs_draw_stats)($at)
/* C32D70 80241890 00400008 */ jr $v0
/* C32D74 80241894 00000000 */ nop
/* C32D78 80241898 0280202D */ daddu $a0, $s4, $zero

View File

@ -12,8 +12,8 @@ glabel func_802424F0_C38A20
/* C38A3C 8024250C AFB50024 */ sw $s5, 0x24($sp)
/* C38A40 80242510 0200A82D */ daddu $s5, $s0, $zero
/* C38A44 80242514 AFB10014 */ sw $s1, 0x14($sp)
/* C38A48 80242518 3C118011 */ lui $s1, 0x8011
/* C38A4C 8024251C 2631F298 */ addiu $s1, $s1, -0xd68
/* C38A48 80242518 3C118011 */ lui $s1, %hi(gPlayerData+0x8)
/* C38A4C 8024251C 2631F298 */ addiu $s1, $s1, %lo(gPlayerData+0x8)
/* C38A50 80242520 AFBF0028 */ sw $ra, 0x28($sp)
/* C38A54 80242524 AFB20018 */ sw $s2, 0x18($sp)
/* C38A58 80242528 8E6200B4 */ lw $v0, 0xb4($s3)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80242818_C38D48
/* C38D48 80242818 3C028011 */ lui $v0, 0x8011
/* C38D4C 8024281C 8042F2A2 */ lb $v0, -0xd5e($v0)
/* C38D48 80242818 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* C38D4C 8024281C 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* C38D50 80242820 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C38D54 80242824 AFBF0010 */ sw $ra, 0x10($sp)
/* C38D58 80242828 00021100 */ sll $v0, $v0, 4

View File

@ -1,27 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240268_C3D2E8
/* C3D2E8 80240268 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C3D2EC 8024026C AFB00010 */ sw $s0, 0x10($sp)
/* C3D2F0 80240270 0080802D */ daddu $s0, $a0, $zero
/* C3D2F4 80240274 AFBF0014 */ sw $ra, 0x14($sp)
/* C3D2F8 80240278 8E02000C */ lw $v0, 0xc($s0)
/* C3D2FC 8024027C 0C0B1EAF */ jal get_variable
/* C3D300 80240280 8C450000 */ lw $a1, ($v0)
/* C3D304 80240284 00021140 */ sll $v0, $v0, 5
/* C3D308 80240288 AE000084 */ sw $zero, 0x84($s0)
/* C3D30C 8024028C 3C018008 */ lui $at, 0x8008
/* C3D310 80240290 00220821 */ addu $at, $at, $v0
/* C3D314 80240294 942278F8 */ lhu $v0, 0x78f8($at)
/* C3D318 80240298 30420040 */ andi $v0, $v0, 0x40
/* C3D31C 8024029C 10400002 */ beqz $v0, .L802402A8
/* C3D320 802402A0 24020001 */ addiu $v0, $zero, 1
/* C3D324 802402A4 AE020084 */ sw $v0, 0x84($s0)
.L802402A8:
/* C3D328 802402A8 8FBF0014 */ lw $ra, 0x14($sp)
/* C3D32C 802402AC 8FB00010 */ lw $s0, 0x10($sp)
/* C3D330 802402B0 24020002 */ addiu $v0, $zero, 2
/* C3D334 802402B4 03E00008 */ jr $ra
/* C3D338 802402B8 27BD0018 */ addiu $sp, $sp, 0x18
/* C3D33C 802402BC 00000000 */ nop

View File

@ -66,9 +66,9 @@ glabel func_80242730_C49310
/* C493FC 8024281C 2C62000F */ sltiu $v0, $v1, 0xf
/* C49400 80242820 10400034 */ beqz $v0, .L802428F4
/* C49404 80242824 00031080 */ sll $v0, $v1, 2
/* C49408 80242828 3C018024 */ lui $at, 0x8024
/* C49408 80242828 3C018024 */ lui $at, %hi(DisablePartnerBlur)
/* C4940C 8024282C 00220821 */ addu $at, $at, $v0
/* C49410 80242830 8C2256D8 */ lw $v0, 0x56d8($at)
/* C49410 80242830 8C2256D8 */ lw $v0, %lo(DisablePartnerBlur)($at)
/* C49414 80242834 00400008 */ jr $v0
/* C49418 80242838 00000000 */ nop
/* C4941C 8024283C 0280202D */ daddu $a0, $s4, $zero

View File

@ -1,27 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240268_C4E158
/* C4E158 80240268 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C4E15C 8024026C AFB00010 */ sw $s0, 0x10($sp)
/* C4E160 80240270 0080802D */ daddu $s0, $a0, $zero
/* C4E164 80240274 AFBF0014 */ sw $ra, 0x14($sp)
/* C4E168 80240278 8E02000C */ lw $v0, 0xc($s0)
/* C4E16C 8024027C 0C0B1EAF */ jal get_variable
/* C4E170 80240280 8C450000 */ lw $a1, ($v0)
/* C4E174 80240284 00021140 */ sll $v0, $v0, 5
/* C4E178 80240288 AE000084 */ sw $zero, 0x84($s0)
/* C4E17C 8024028C 3C018008 */ lui $at, 0x8008
/* C4E180 80240290 00220821 */ addu $at, $at, $v0
/* C4E184 80240294 942278F8 */ lhu $v0, 0x78f8($at)
/* C4E188 80240298 30420040 */ andi $v0, $v0, 0x40
/* C4E18C 8024029C 10400002 */ beqz $v0, .L802402A8
/* C4E190 802402A0 24020001 */ addiu $v0, $zero, 1
/* C4E194 802402A4 AE020084 */ sw $v0, 0x84($s0)
.L802402A8:
/* C4E198 802402A8 8FBF0014 */ lw $ra, 0x14($sp)
/* C4E19C 802402AC 8FB00010 */ lw $s0, 0x10($sp)
/* C4E1A0 802402B0 24020002 */ addiu $v0, $zero, 2
/* C4E1A4 802402B4 03E00008 */ jr $ra
/* C4E1A8 802402B8 27BD0018 */ addiu $sp, $sp, 0x18
/* C4E1AC 802402BC 00000000 */ nop

View File

@ -1,27 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel begin_battle_C57158
/* C57158 80241218 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C5715C 8024121C AFB00010 */ sw $s0, 0x10($sp)
/* C57160 80241220 0080802D */ daddu $s0, $a0, $zero
/* C57164 80241224 AFBF0014 */ sw $ra, 0x14($sp)
/* C57168 80241228 8E02000C */ lw $v0, 0xc($s0)
/* C5716C 8024122C 0C0B1EAF */ jal get_variable
/* C57170 80241230 8C450000 */ lw $a1, ($v0)
/* C57174 80241234 00021140 */ sll $v0, $v0, 5
/* C57178 80241238 AE000084 */ sw $zero, 0x84($s0)
/* C5717C 8024123C 3C018008 */ lui $at, 0x8008
/* C57180 80241240 00220821 */ addu $at, $at, $v0
/* C57184 80241244 942278F8 */ lhu $v0, 0x78f8($at)
/* C57188 80241248 30420040 */ andi $v0, $v0, 0x40
/* C5718C 8024124C 10400002 */ beqz $v0, .L80241258
/* C57190 80241250 24020001 */ addiu $v0, $zero, 1
/* C57194 80241254 AE020084 */ sw $v0, 0x84($s0)
.L80241258:
/* C57198 80241258 8FBF0014 */ lw $ra, 0x14($sp)
/* C5719C 8024125C 8FB00010 */ lw $s0, 0x10($sp)
/* C571A0 80241260 24020002 */ addiu $v0, $zero, 2
/* C571A4 80241264 03E00008 */ jr $ra
/* C571A8 80241268 27BD0018 */ addiu $sp, $sp, 0x18
/* C571AC 8024126C 00000000 */ nop

View File

@ -1,9 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80241588_95C788
/* 95C788 80241588 24020001 */ addiu $v0, $zero, 1
/* 95C78C 8024158C 3C018015 */ lui $at, %hi(D_80151310)
/* 95C790 80241590 AC221310 */ sw $v0, %lo(D_80151310)($at)
/* 95C794 80241594 03E00008 */ jr $ra
/* 95C798 80241598 24020002 */ addiu $v0, $zero, 2

View File

@ -1,8 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8024159C_95C79C
/* 95C79C 8024159C 3C018015 */ lui $at, %hi(D_80151310)
/* 95C7A0 802415A0 AC201310 */ sw $zero, %lo(D_80151310)($at)
/* 95C7A4 802415A4 03E00008 */ jr $ra
/* 95C7A8 802415A8 24020002 */ addiu $v0, $zero, 2

Some files were not shown because too many files have changed in this diff Show More