merge master

This commit is contained in:
dark-samus 2020-11-07 19:33:16 -05:00
commit 783f0a2f83
365 changed files with 2388 additions and 3992 deletions

16
.gitignore vendored
View File

@ -9,17 +9,17 @@ venv/
ctx.c
expected/
settings.mk
.vscode/launch.json
# Build artifacts
*.ld
*.z64
*.bin
*.i
*.Yay0
bin/
img/
build/
docs/doxygen/
include/ld_addrs.h
/build/
/docs/doxygen/
/include/ld_addrs.h
.vscode/launch.json
# Assets
/bin
/img
/msg

View File

@ -34,7 +34,8 @@ ELF := $(BUILD_DIR)/$(TARGET).elf
LD_SCRIPT := $(TARGET).ld
LD_MAP := $(BUILD_DIR)/$(TARGET).map
ASSETS_BIN := $(BUILD_DIR)/bin/assets/assets.bin
MSG_BIN := $(BUILD_DIR)/msg.bin
GENERATED_HEADERS := include/ld_addrs.h
### Tools ###
@ -91,7 +92,7 @@ clean:
clean-code:
rm -rf $(BUILD_DIR)/src
setup: clean submodules split
setup: clean submodules split $(LD_SCRIPT)
make -C tools
submodules:
@ -99,10 +100,10 @@ submodules:
split:
rm -rf bin img
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS img
$(SPLAT) --modes bin Yay0 PaperMarioMapFS PaperMarioMessages img
split-%:
$(SPLAT) --modes ld $*
$(SPLAT) --modes $* --verbose
split-all:
rm -rf bin img
@ -130,12 +131,12 @@ $(BUILD_DIR)/%.Yay0.o: $(BUILD_DIR)/%.bin.Yay0
$(LD) -r -b binary -o $@ $<
# Compile C files
$(BUILD_DIR)/%.c.o: %.c $(MDEPS)
$(BUILD_DIR)/%.c.o: %.c $(MDEPS) | $(GENERATED_HEADERS)
@mkdir -p $(shell dirname $@)
$(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 $(MDEPS) tools/compile_dsl_macros.py
$(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 - $< $(CPPMFLAGS) | $(PYTHON) tools/compile_dsl_macros.py | iconv --from UTF-8 --to SHIFT-JIS | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
@ -178,23 +179,30 @@ $(BUILD_DIR)/%.i8.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py i8 $< $@ $(IMG_FLAGS)
# Assets
ASSET_FILES := $(foreach asset, $(ASSETS), $(BUILD_DIR)/bin/assets/$(asset))
YAY0_ASSET_FILES := $(foreach asset, $(filter-out %_tex, $(ASSET_FILES)), $(asset).Yay0)
$(BUILD_DIR)/bin/assets/%: bin/assets/%.bin
@mkdir -p $(shell dirname $@)
@cp $< $@
$(ASSETS_BIN): $(ASSET_FILES) $(YAY0_ASSET_FILES) sources.mk
@mkdir -p $(shell dirname $@)
@echo "building $@"
@$(PYTHON) tools/build_assets_bin.py $@ $(ASSET_FILES)
$(ASSETS_BIN:.bin=.o): $(ASSETS_BIN)
$(LD) -r -b binary -o $@ $<
# Messages
$(MSG_BIN): $(MESSAGES)
@mkdir -p $(shell dirname $@)
@echo "building $@"
@$(PYTHON) tools/compile_messages.py $@ /dev/null $(MESSAGES)
$(MSG_BIN:.bin=.o): $(MSG_BIN)
@mkdir -p $(shell dirname $@)
$(LD) -r -b binary -o $@ $<
$(LD_SCRIPT): $(SPLAT_YAML)
@mkdir -p $(shell dirname $@)
$(SPLAT) --modes ld
$(BUILD_DIR)/$(LD_SCRIPT): $(LD_SCRIPT)
@ -213,6 +221,8 @@ $(BUILD_DIR)/$(TARGET).elf: $(BUILD_DIR)/$(LD_SCRIPT) $(OBJECTS)
$(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 ###

View File

@ -1,8 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035D20
/* 11120 80035D20 03E00008 */ jr $ra
/* 11124 80035D24 00000000 */ nop
/* 11128 80035D28 00000000 */ nop
/* 1112C 80035D2C 00000000 */ nop

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

@ -1,13 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035E00
/* 11200 80035E00 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 11204 80035E04 AFBF0010 */ sw $ra, 0x10($sp)
/* 11208 80035E08 3C01800A */ lui $at, 0x800a
/* 1120C 80035E0C A4200948 */ sh $zero, 0x948($at)
/* 11210 80035E10 0C00D795 */ jal func_80035E54
/* 11214 80035E14 00000000 */ nop
/* 11218 80035E18 8FBF0010 */ lw $ra, 0x10($sp)
/* 1121C 80035E1C 03E00008 */ jr $ra
/* 11220 80035E20 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,16 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035E24
/* 11224 80035E24 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 11228 80035E28 24020001 */ addiu $v0, $zero, 1
/* 1122C 80035E2C AFBF0010 */ sw $ra, 0x10($sp)
/* 11230 80035E30 3C01800A */ lui $at, 0x800a
/* 11234 80035E34 A4220948 */ sh $v0, 0x948($at)
/* 11238 80035E38 0C04E0A8 */ jal set_map_transition_effect
/* 1123C 80035E3C 24040008 */ addiu $a0, $zero, 8
/* 11240 80035E40 0C00D795 */ jal func_80035E54
/* 11244 80035E44 00000000 */ nop
/* 11248 80035E48 8FBF0010 */ lw $ra, 0x10($sp)
/* 1124C 80035E4C 03E00008 */ jr $ra
/* 11250 80035E50 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80035E54
/* 11254 80035E54 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 11258 80035E58 24020004 */ addiu $v0, $zero, 4
/* 1125C 80035E5C AFB10014 */ sw $s1, 0x14($sp)
/* 11260 80035E60 3C118007 */ lui $s1, %hi(gGameStatusPtr)
/* 11264 80035E64 2631419C */ addiu $s1, $s1, %lo(gGameStatusPtr)
/* 11268 80035E68 AFB00010 */ sw $s0, 0x10($sp)
/* 1126C 80035E6C 3C10800A */ lui $s0, %hi(D_800A0940)
/* 11270 80035E70 26100940 */ addiu $s0, $s0, %lo(D_800A0940)
/* 11274 80035E74 AFBF0018 */ sw $ra, 0x18($sp)
/* 11278 80035E78 3C01800A */ lui $at, %hi(D_800A0944)
/* 1127C 80035E7C A4200944 */ sh $zero, %lo(D_800A0944)($at)
/* 11280 80035E80 3C01800A */ lui $at, 0x800a
/* 11284 80035E84 A4220946 */ sh $v0, 0x946($at)
/* 11288 80035E88 8E230000 */ lw $v1, ($s1)
/* 1128C 80035E8C 240200FF */ addiu $v0, $zero, 0xff
/* 11290 80035E90 A6020000 */ sh $v0, ($s0)
/* 11294 80035E94 0C018030 */ jal nuContRmbForceStopEnd
/* 11298 80035E98 AC600094 */ sw $zero, 0x94($v1)
/* 1129C 80035E9C 0C04E0AB */ jal func_801382AC
/* 112A0 80035EA0 0200202D */ daddu $a0, $s0, $zero
/* 112A4 80035EA4 0000202D */ daddu $a0, $zero, $zero
/* 112A8 80035EA8 3C05F5DE */ lui $a1, 0xf5de
/* 112AC 80035EAC 3C03800A */ lui $v1, %hi(D_8009A650)
/* 112B0 80035EB0 2463A650 */ addiu $v1, $v1, %lo(D_8009A650)
/* 112B4 80035EB4 8C620000 */ lw $v0, ($v1)
/* 112B8 80035EB8 8E260000 */ lw $a2, ($s1)
/* 112BC 80035EBC 34420008 */ ori $v0, $v0, 8
/* 112C0 80035EC0 AC620000 */ sw $v0, ($v1)
/* 112C4 80035EC4 80C600A9 */ lb $a2, 0xa9($a2)
/* 112C8 80035EC8 0C0B2026 */ jal set_variable
/* 112CC 80035ECC 34A50181 */ ori $a1, $a1, 0x181
/* 112D0 80035ED0 8FBF0018 */ lw $ra, 0x18($sp)
/* 112D4 80035ED4 8FB10014 */ lw $s1, 0x14($sp)
/* 112D8 80035ED8 8FB00010 */ lw $s0, 0x10($sp)
/* 112DC 80035EDC 3C01800A */ lui $at, %hi(D_8009A5D8)
/* 112E0 80035EE0 AC20A5D8 */ sw $zero, %lo(D_8009A5D8)($at)
/* 112E4 80035EE4 03E00008 */ jr $ra
/* 112E8 80035EE8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -23,8 +23,8 @@ glabel func_80035EEC
/* 11330 80035F30 0800D83B */ j .L800360EC
/* 11334 80035F34 00000000 */ nop
.L80035F38:
/* 11338 80035F38 3C04800A */ lui $a0, 0x800a
/* 1133C 80035F3C 24840946 */ addiu $a0, $a0, 0x946
/* 11338 80035F38 3C04800A */ lui $a0, %hi(D_800A0946)
/* 1133C 80035F3C 24840946 */ addiu $a0, $a0, %lo(D_800A0946)
/* 11340 80035F40 84820000 */ lh $v0, ($a0)
/* 11344 80035F44 94830000 */ lhu $v1, ($a0)
/* 11348 80035F48 1440003B */ bnez $v0, .L80036038
@ -35,8 +35,8 @@ glabel func_80035EEC
/* 1135C 80035F5C A0400070 */ sb $zero, 0x70($v0)
/* 11360 80035F60 8C620000 */ lw $v0, ($v1)
/* 11364 80035F64 A0400078 */ sb $zero, 0x78($v0)
/* 11368 80035F68 3C02800A */ lui $v0, 0x800a
/* 1136C 80035F6C 84420948 */ lh $v0, 0x948($v0)
/* 11368 80035F68 3C02800A */ lui $v0, %hi(D_800A0948)
/* 1136C 80035F6C 84420948 */ lh $v0, %lo(D_800A0948)($v0)
/* 11370 80035F70 14400006 */ bnez $v0, .L80035F8C
/* 11374 80035F74 24060001 */ addiu $a2, $zero, 1
/* 11378 80035F78 8C620000 */ lw $v0, ($v1)
@ -71,8 +71,8 @@ glabel func_80035EEC
/* 113E0 80035FE0 24420944 */ addiu $v0, $v0, %lo(D_800A0944)
/* 113E4 80035FE4 94430000 */ lhu $v1, ($v0)
/* 113E8 80035FE8 24040002 */ addiu $a0, $zero, 2
/* 113EC 80035FEC 3C01800A */ lui $at, 0x800a
/* 113F0 80035FF0 A4240946 */ sh $a0, 0x946($at)
/* 113EC 80035FEC 3C01800A */ lui $at, %hi(D_800A0946)
/* 113F0 80035FF0 A4240946 */ sh $a0, %lo(D_800A0946)($at)
/* 113F4 80035FF4 24630001 */ addiu $v1, $v1, 1
/* 113F8 80035FF8 0800D83B */ j .L800360EC
/* 113FC 80035FFC A4430000 */ sh $v1, ($v0)
@ -85,8 +85,8 @@ glabel func_80035EEC
/* 11414 80036014 00000000 */ nop
/* 11418 80036018 0C00B500 */ jal update_cameras
/* 1141C 8003601C 00000000 */ nop
/* 11420 80036020 3C04800A */ lui $a0, 0x800a
/* 11424 80036024 24840946 */ addiu $a0, $a0, 0x946
/* 11420 80036020 3C04800A */ lui $a0, %hi(D_800A0946)
/* 11424 80036024 24840946 */ addiu $a0, $a0, %lo(D_800A0946)
/* 11428 80036028 84820000 */ lh $v0, ($a0)
/* 1142C 8003602C 94830000 */ lhu $v1, ($a0)
/* 11430 80036030 10400003 */ beqz $v0, .L80036040
@ -120,8 +120,8 @@ glabel func_80035EEC
/* 11494 80036094 00000000 */ nop
/* 11498 80036098 0C00B500 */ jal update_cameras
/* 1149C 8003609C 00000000 */ nop
/* 114A0 800360A0 3C04800A */ lui $a0, %hi(D_800A0940)
/* 114A4 800360A4 24840940 */ addiu $a0, $a0, %lo(D_800A0940)
/* 114A0 800360A0 3C04800A */ lui $a0, %hi(gMapTransitionAlpha)
/* 114A4 800360A4 24840940 */ addiu $a0, $a0, %lo(gMapTransitionAlpha)
/* 114A8 800360A8 0C04E175 */ jal func_801385D4
/* 114AC 800360AC 00000000 */ nop
/* 114B0 800360B0 00021400 */ sll $v0, $v0, 0x10

View File

@ -24,8 +24,8 @@ glabel func_8003617C
/* 115C8 800361C8 00000000 */ nop
/* 115CC 800361CC 0C00B500 */ jal update_cameras
/* 115D0 800361D0 00000000 */ nop
/* 115D4 800361D4 3C04800A */ lui $a0, %hi(D_800A0940)
/* 115D8 800361D8 24840940 */ addiu $a0, $a0, %lo(D_800A0940)
/* 115D4 800361D4 3C04800A */ lui $a0, %hi(gMapTransitionAlpha)
/* 115D8 800361D8 24840940 */ addiu $a0, $a0, %lo(gMapTransitionAlpha)
/* 115DC 800361DC 0C04E0AB */ jal func_801382AC
/* 115E0 800361E0 00000000 */ nop
/* 115E4 800361E4 00021400 */ sll $v0, $v0, 0x10
@ -47,8 +47,8 @@ glabel func_8003617C
/* 11624 80036224 24840944 */ addiu $a0, $a0, %lo(D_800A0944)
/* 11628 80036228 94820000 */ lhu $v0, ($a0)
/* 1162C 8003622C 24030004 */ addiu $v1, $zero, 4
/* 11630 80036230 3C01800A */ lui $at, 0x800a
/* 11634 80036234 A4230946 */ sh $v1, 0x946($at)
/* 11630 80036230 3C01800A */ lui $at, %hi(D_800A0946)
/* 11634 80036234 A4230946 */ sh $v1, %lo(D_800A0946)($at)
/* 11638 80036238 24420001 */ addiu $v0, $v0, 1
/* 1163C 8003623C 0800D8FA */ j .L800363E8
/* 11640 80036240 A4820000 */ sh $v0, ($a0)
@ -61,8 +61,8 @@ glabel func_8003617C
/* 1165C 8003625C 0C00CD3C */ jal set_game_mode
/* 11660 80036260 24040011 */ addiu $a0, $zero, 0x11
.L80036264:
/* 11664 80036264 3C11800A */ lui $s1, 0x800a
/* 11668 80036268 26310946 */ addiu $s1, $s1, 0x946
/* 11664 80036264 3C11800A */ lui $s1, %hi(D_800A0946)
/* 11668 80036268 26310946 */ addiu $s1, $s1, %lo(D_800A0946)
/* 1166C 8003626C 86220000 */ lh $v0, ($s1)
/* 11670 80036270 96230000 */ lhu $v1, ($s1)
/* 11674 80036274 10400003 */ beqz $v0, .L80036284
@ -108,8 +108,8 @@ glabel func_8003617C
/* 1170C 8003630C 00000000 */ nop
/* 11710 80036310 0C00B500 */ jal update_cameras
/* 11714 80036314 00000000 */ nop
/* 11718 80036318 3C04800A */ lui $a0, 0x800a
/* 1171C 8003631C 24840946 */ addiu $a0, $a0, 0x946
/* 11718 80036318 3C04800A */ lui $a0, %hi(D_800A0946)
/* 1171C 8003631C 24840946 */ addiu $a0, $a0, %lo(D_800A0946)
/* 11720 80036320 84820000 */ lh $v0, ($a0)
/* 11724 80036324 94830000 */ lhu $v1, ($a0)
/* 11728 80036328 10400003 */ beqz $v0, .L80036338
@ -142,8 +142,8 @@ glabel func_8003617C
/* 11790 80036390 00000000 */ nop
/* 11794 80036394 0C00B500 */ jal update_cameras
/* 11798 80036398 00000000 */ nop
/* 1179C 8003639C 3C04800A */ lui $a0, %hi(D_800A0940)
/* 117A0 800363A0 24840940 */ addiu $a0, $a0, %lo(D_800A0940)
/* 1179C 8003639C 3C04800A */ lui $a0, %hi(gMapTransitionAlpha)
/* 117A0 800363A0 24840940 */ addiu $a0, $a0, %lo(gMapTransitionAlpha)
/* 117A4 800363A4 0C04E175 */ jal func_801385D4
/* 117A8 800363A8 00000000 */ nop
/* 117AC 800363AC 00021400 */ sll $v0, $v0, 0x10

View File

@ -35,13 +35,13 @@ glabel func_8003646C
/* 118DC 800364DC AC620000 */ sw $v0, ($v1)
/* 118E0 800364E0 96020000 */ lhu $v0, ($s0)
/* 118E4 800364E4 24030004 */ addiu $v1, $zero, 4
/* 118E8 800364E8 3C01800A */ lui $at, 0x800a
/* 118EC 800364EC A4230946 */ sh $v1, 0x946($at)
/* 118E8 800364E8 3C01800A */ lui $at, %hi(D_800A0946)
/* 118EC 800364EC A4230946 */ sh $v1, %lo(D_800A0946)($at)
/* 118F0 800364F0 0800D955 */ j .L80036554
/* 118F4 800364F4 24420001 */ addiu $v0, $v0, 1
.L800364F8:
/* 118F8 800364F8 3C04800A */ lui $a0, 0x800a
/* 118FC 800364FC 24840946 */ addiu $a0, $a0, 0x946
/* 118F8 800364F8 3C04800A */ lui $a0, %hi(D_800A0946)
/* 118FC 800364FC 24840946 */ addiu $a0, $a0, %lo(D_800A0946)
/* 11900 80036500 84820000 */ lh $v0, ($a0)
/* 11904 80036504 94830000 */ lhu $v1, ($a0)
/* 11908 80036508 10400003 */ beqz $v0, .L80036518
@ -89,8 +89,8 @@ glabel func_8003646C
/* 119A4 800365A4 0800D984 */ j .L80036610
/* 119A8 800365A8 A6030000 */ sh $v1, ($s0)
.L800365AC:
/* 119AC 800365AC 3C06800A */ lui $a2, %hi(D_800A0940)
/* 119B0 800365B0 24C60940 */ addiu $a2, $a2, %lo(D_800A0940)
/* 119AC 800365AC 3C06800A */ lui $a2, %hi(gMapTransitionAlpha)
/* 119B0 800365B0 24C60940 */ addiu $a2, $a2, %lo(gMapTransitionAlpha)
/* 119B4 800365B4 94C20000 */ lhu $v0, ($a2)
/* 119B8 800365B8 3C03800A */ lui $v1, %hi(D_800A0942)
/* 119BC 800365BC 94630942 */ lhu $v1, %lo(D_800A0942)($v1)
@ -116,8 +116,8 @@ glabel func_8003646C
/* 11A08 80036608 0C00B500 */ jal update_cameras
/* 11A0C 8003660C 00000000 */ nop
.L80036610:
/* 11A10 80036610 3C02800A */ lui $v0, %hi(D_800A0940)
/* 11A14 80036614 84420940 */ lh $v0, %lo(D_800A0940)($v0)
/* 11A10 80036610 3C02800A */ lui $v0, %hi(gMapTransitionAlpha)
/* 11A14 80036614 84420940 */ lh $v0, %lo(gMapTransitionAlpha)($v0)
/* 11A18 80036618 44820000 */ mtc1 $v0, $f0
/* 11A1C 8003661C 00000000 */ nop
/* 11A20 80036620 46800020 */ cvt.s.w $f0, $f0

View File

@ -1,8 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80036DE0
/* 121E0 80036DE0 03E00008 */ jr $ra
/* 121E4 80036DE4 00000000 */ nop
/* 121E8 80036DE8 00000000 */ nop
/* 121EC 80036DEC 00000000 */ nop

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

@ -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,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

@ -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

@ -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

@ -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
@ -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,13 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel alLink
/* 267EC 8004B3EC 8CA20000 */ lw $v0, ($a1)
/* 267F0 8004B3F0 AC850004 */ sw $a1, 4($a0)
/* 267F4 8004B3F4 AC820000 */ sw $v0, ($a0)
/* 267F8 8004B3F8 8CA20000 */ lw $v0, ($a1)
/* 267FC 8004B3FC 54400001 */ bnel $v0, $zero, .L8004B404
/* 26800 8004B400 AC440004 */ sw $a0, 4($v0)
.L8004B404:
/* 26804 8004B404 03E00008 */ jr $ra
/* 26808 8004B408 ACA40000 */ sw $a0, ($a1)

View File

@ -1,19 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel alUnlink
/* 2680C 8004B40C 8C830000 */ lw $v1, ($a0)
/* 26810 8004B410 10600003 */ beqz $v1, .L8004B420
/* 26814 8004B414 00000000 */ nop
/* 26818 8004B418 8C820004 */ lw $v0, 4($a0)
/* 2681C 8004B41C AC620004 */ sw $v0, 4($v1)
.L8004B420:
/* 26820 8004B420 8C830004 */ lw $v1, 4($a0)
/* 26824 8004B424 10600003 */ beqz $v1, .L8004B434
/* 26828 8004B428 00000000 */ nop
/* 2682C 8004B42C 8C820000 */ lw $v0, ($a0)
/* 26830 8004B430 AC620000 */ sw $v0, ($v1)
.L8004B434:
/* 26834 8004B434 03E00008 */ jr $ra
/* 26838 8004B438 00000000 */ nop
/* 2683C 8004B43C 00000000 */ nop

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

@ -1,12 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8005DDF0
/* 391F0 8005DDF0 3C02800B */ lui $v0, 0x800b
/* 391F4 8005DDF4 80420F18 */ lb $v0, 0xf18($v0)
/* 391F8 8005DDF8 00021027 */ nor $v0, $zero, $v0
/* 391FC 8005DDFC 03E00008 */ jr $ra
/* 39200 8005DE00 0002102B */ sltu $v0, $zero, $v0
/* 39204 8005DE04 00000000 */ nop
/* 39208 8005DE08 00000000 */ nop
/* 3920C 8005DE0C 00000000 */ nop

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

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel add_vec2D_polar
/* 539C 80029F9C 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 53A0 80029FA0 AFB00018 */ sw $s0, 0x18($sp)
/* 53A4 80029FA4 0080802D */ daddu $s0, $a0, $zero
/* 53A8 80029FA8 AFB1001C */ sw $s1, 0x1c($sp)
/* 53AC 80029FAC 00A0882D */ daddu $s1, $a1, $zero
/* 53B0 80029FB0 3C0140C9 */ lui $at, 0x40c9
/* 53B4 80029FB4 34210FD0 */ ori $at, $at, 0xfd0
/* 53B8 80029FB8 44810000 */ mtc1 $at, $f0
/* 53BC 80029FBC 44872000 */ mtc1 $a3, $f4
/* 53C0 80029FC0 27A50010 */ addiu $a1, $sp, 0x10
/* 53C4 80029FC4 F7B40028 */ sdc1 $f20, 0x28($sp)
/* 53C8 80029FC8 46002002 */ mul.s $f0, $f4, $f0
/* 53CC 80029FCC 00000000 */ nop
/* 53D0 80029FD0 4486A000 */ mtc1 $a2, $f20
/* 53D4 80029FD4 3C0143B4 */ lui $at, 0x43b4
/* 53D8 80029FD8 44816000 */ mtc1 $at, $f12
/* 53DC 80029FDC 27A60014 */ addiu $a2, $sp, 0x14
/* 53E0 80029FE0 AFBF0020 */ sw $ra, 0x20($sp)
/* 53E4 80029FE4 0C00A82D */ jal sin_cos_rad
/* 53E8 80029FE8 460C0303 */ div.s $f12, $f0, $f12
/* 53EC 80029FEC C7A20010 */ lwc1 $f2, 0x10($sp)
/* 53F0 80029FF0 4602A082 */ mul.s $f2, $f20, $f2
/* 53F4 80029FF4 00000000 */ nop
/* 53F8 80029FF8 C6000000 */ lwc1 $f0, ($s0)
/* 53FC 80029FFC 46020000 */ add.s $f0, $f0, $f2
/* 5400 8002A000 E6000000 */ swc1 $f0, ($s0)
/* 5404 8002A004 C7A00014 */ lwc1 $f0, 0x14($sp)
/* 5408 8002A008 4600A502 */ mul.s $f20, $f20, $f0
/* 540C 8002A00C 00000000 */ nop
/* 5410 8002A010 C6200000 */ lwc1 $f0, ($s1)
/* 5414 8002A014 46140001 */ sub.s $f0, $f0, $f20
/* 5418 8002A018 E6200000 */ swc1 $f0, ($s1)
/* 541C 8002A01C 8FBF0020 */ lw $ra, 0x20($sp)
/* 5420 8002A020 8FB1001C */ lw $s1, 0x1c($sp)
/* 5424 8002A024 8FB00018 */ lw $s0, 0x18($sp)
/* 5428 8002A028 D7B40028 */ ldc1 $f20, 0x28($sp)
/* 542C 8002A02C 03E00008 */ jr $ra
/* 5430 8002A030 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,45 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel dma_copy
/* 4B3C 8002973C 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4B40 80029740 AFB20018 */ sw $s2, 0x18($sp)
/* 4B44 80029744 0080902D */ daddu $s2, $a0, $zero
/* 4B48 80029748 AFB3001C */ sw $s3, 0x1c($sp)
/* 4B4C 8002974C 00C0982D */ daddu $s3, $a2, $zero
/* 4B50 80029750 0260202D */ daddu $a0, $s3, $zero
/* 4B54 80029754 AFB10014 */ sw $s1, 0x14($sp)
/* 4B58 80029758 00B28823 */ subu $s1, $a1, $s2
/* 4B5C 8002975C 0220282D */ daddu $a1, $s1, $zero
/* 4B60 80029760 AFBF0020 */ sw $ra, 0x20($sp)
/* 4B64 80029764 0C0185F4 */ jal osInvalICache
/* 4B68 80029768 AFB00010 */ sw $s0, 0x10($sp)
/* 4B6C 8002976C 24022000 */ addiu $v0, $zero, 0x2000
/* 4B70 80029770 0051102B */ sltu $v0, $v0, $s1
/* 4B74 80029774 1040000A */ beqz $v0, .L800297A0
/* 4B78 80029778 0000802D */ daddu $s0, $zero, $zero
/* 4B7C 8002977C 02502021 */ addu $a0, $s2, $s0
.L80029780:
/* 4B80 80029780 02702821 */ addu $a1, $s3, $s0
/* 4B84 80029784 0C017D24 */ jal nuPiReadRom
/* 4B88 80029788 24062000 */ addiu $a2, $zero, 0x2000
/* 4B8C 8002978C 26102000 */ addiu $s0, $s0, 0x2000
/* 4B90 80029790 26022000 */ addiu $v0, $s0, 0x2000
/* 4B94 80029794 0051102B */ sltu $v0, $v0, $s1
/* 4B98 80029798 1440FFF9 */ bnez $v0, .L80029780
/* 4B9C 8002979C 02502021 */ addu $a0, $s2, $s0
.L800297A0:
/* 4BA0 800297A0 12110004 */ beq $s0, $s1, .L800297B4
/* 4BA4 800297A4 02502021 */ addu $a0, $s2, $s0
/* 4BA8 800297A8 02702821 */ addu $a1, $s3, $s0
/* 4BAC 800297AC 0C017D24 */ jal nuPiReadRom
/* 4BB0 800297B0 02303023 */ subu $a2, $s1, $s0
.L800297B4:
/* 4BB4 800297B4 0220102D */ daddu $v0, $s1, $zero
/* 4BB8 800297B8 8FBF0020 */ lw $ra, 0x20($sp)
/* 4BBC 800297BC 8FB3001C */ lw $s3, 0x1c($sp)
/* 4BC0 800297C0 8FB20018 */ lw $s2, 0x18($sp)
/* 4BC4 800297C4 8FB10014 */ lw $s1, 0x14($sp)
/* 4BC8 800297C8 8FB00010 */ lw $s0, 0x10($sp)
/* 4BCC 800297CC 03E00008 */ jr $ra
/* 4BD0 800297D0 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,42 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_800297D4
/* 4BD4 800297D4 27BDFFD8 */ addiu $sp, $sp, -0x28
/* 4BD8 800297D8 AFB20018 */ sw $s2, 0x18($sp)
/* 4BDC 800297DC 0080902D */ daddu $s2, $a0, $zero
/* 4BE0 800297E0 AFB00010 */ sw $s0, 0x10($sp)
/* 4BE4 800297E4 0000802D */ daddu $s0, $zero, $zero
/* 4BE8 800297E8 AFB3001C */ sw $s3, 0x1c($sp)
/* 4BEC 800297EC 00C0982D */ daddu $s3, $a2, $zero
/* 4BF0 800297F0 AFB10014 */ sw $s1, 0x14($sp)
/* 4BF4 800297F4 00B28823 */ subu $s1, $a1, $s2
/* 4BF8 800297F8 24022000 */ addiu $v0, $zero, 0x2000
/* 4BFC 800297FC 0051102B */ sltu $v0, $v0, $s1
/* 4C00 80029800 1040000A */ beqz $v0, .L8002982C
/* 4C04 80029804 AFBF0020 */ sw $ra, 0x20($sp)
/* 4C08 80029808 02502021 */ addu $a0, $s2, $s0
.L8002980C:
/* 4C0C 8002980C 02702821 */ addu $a1, $s3, $s0
/* 4C10 80029810 0C00A618 */ jal func_80029860
/* 4C14 80029814 24062000 */ addiu $a2, $zero, 0x2000
/* 4C18 80029818 26102000 */ addiu $s0, $s0, 0x2000
/* 4C1C 8002981C 26022000 */ addiu $v0, $s0, 0x2000
/* 4C20 80029820 0051102B */ sltu $v0, $v0, $s1
/* 4C24 80029824 1440FFF9 */ bnez $v0, .L8002980C
/* 4C28 80029828 02502021 */ addu $a0, $s2, $s0
.L8002982C:
/* 4C2C 8002982C 12110004 */ beq $s0, $s1, .L80029840
/* 4C30 80029830 02502021 */ addu $a0, $s2, $s0
/* 4C34 80029834 02702821 */ addu $a1, $s3, $s0
/* 4C38 80029838 0C00A618 */ jal func_80029860
/* 4C3C 8002983C 02303023 */ subu $a2, $s1, $s0
.L80029840:
/* 4C40 80029840 0220102D */ daddu $v0, $s1, $zero
/* 4C44 80029844 8FBF0020 */ lw $ra, 0x20($sp)
/* 4C48 80029848 8FB3001C */ lw $s3, 0x1c($sp)
/* 4C4C 8002984C 8FB20018 */ lw $s2, 0x18($sp)
/* 4C50 80029850 8FB10014 */ lw $s1, 0x14($sp)
/* 4C54 80029854 8FB00010 */ lw $s0, 0x10($sp)
/* 4C58 80029858 03E00008 */ jr $ra
/* 4C5C 8002985C 27BD0028 */ addiu $sp, $sp, 0x28

View File

@ -1,33 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80029994
/* 4D94 80029994 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 4D98 80029998 AFB00010 */ sw $s0, 0x10($sp)
/* 4D9C 8002999C 2410FFFF */ addiu $s0, $zero, -1
/* 4DA0 800299A0 AFB10014 */ sw $s1, 0x14($sp)
/* 4DA4 800299A4 24910001 */ addiu $s1, $a0, 1
/* 4DA8 800299A8 16200002 */ bnez $s1, .L800299B4
/* 4DAC 800299AC 0211001B */ divu $zero, $s0, $s1
/* 4DB0 800299B0 0007000D */ break 7
.L800299B4:
/* 4DB4 800299B4 00008012 */ mflo $s0
/* 4DB8 800299B8 16000002 */ bnez $s0, .L800299C4
/* 4DBC 800299BC AFBF0018 */ sw $ra, 0x18($sp)
/* 4DC0 800299C0 24100001 */ addiu $s0, $zero, 1
.L800299C4:
/* 4DC4 800299C4 0C00A640 */ jal _advance_rng
/* 4DC8 800299C8 00000000 */ nop
/* 4DCC 800299CC 16000002 */ bnez $s0, .L800299D8
/* 4DD0 800299D0 0050001B */ divu $zero, $v0, $s0
/* 4DD4 800299D4 0007000D */ break 7
.L800299D8:
/* 4DD8 800299D8 00001812 */ mflo $v1
/* 4DDC 800299DC 0071102B */ sltu $v0, $v1, $s1
/* 4DE0 800299E0 1040FFF8 */ beqz $v0, .L800299C4
/* 4DE4 800299E4 0060102D */ daddu $v0, $v1, $zero
/* 4DE8 800299E8 8FBF0018 */ lw $ra, 0x18($sp)
/* 4DEC 800299EC 8FB10014 */ lw $s1, 0x14($sp)
/* 4DF0 800299F0 8FB00010 */ lw $s0, 0x10($sp)
/* 4DF4 800299F4 03E00008 */ jr $ra
/* 4DF8 800299F8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,38 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel get_player_normal_pitch
/* 5250 80029E50 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 5254 80029E54 AFB00010 */ sw $s0, 0x10($sp)
/* 5258 80029E58 3C108007 */ lui $s0, %hi(gGameStatusPtr)
/* 525C 80029E5C 2610419C */ addiu $s0, $s0, %lo(gGameStatusPtr)
/* 5260 80029E60 AFBF0014 */ sw $ra, 0x14($sp)
/* 5264 80029E64 8E020000 */ lw $v0, ($s0)
/* 5268 80029E68 C4420128 */ lwc1 $f2, 0x128($v0)
/* 526C 80029E6C 46021082 */ mul.s $f2, $f2, $f2
/* 5270 80029E70 00000000 */ nop
/* 5274 80029E74 C4400130 */ lwc1 $f0, 0x130($v0)
/* 5278 80029E78 46000002 */ mul.s $f0, $f0, $f0
/* 527C 80029E7C 00000000 */ nop
/* 5280 80029E80 46001300 */ add.s $f12, $f2, $f0
/* 5284 80029E84 46006104 */ sqrt.s $f4, $f12
/* 5288 80029E88 46042032 */ c.eq.s $f4, $f4
/* 528C 80029E8C 00000000 */ nop
/* 5290 80029E90 45010005 */ bc1t .L80029EA8
/* 5294 80029E94 00000000 */ nop
/* 5298 80029E98 0C0187BC */ jal sqrtf
/* 529C 80029E9C 00000000 */ nop
/* 52A0 80029EA0 46000106 */ mov.s $f4, $f0
/* 52A4 80029EA4 8E020000 */ lw $v0, ($s0)
.L80029EA8:
/* 52A8 80029EA8 44806000 */ mtc1 $zero, $f12
/* 52AC 80029EAC C440012C */ lwc1 $f0, 0x12c($v0)
/* 52B0 80029EB0 44062000 */ mfc1 $a2, $f4
/* 52B4 80029EB4 46000007 */ neg.s $f0, $f0
/* 52B8 80029EB8 44070000 */ mfc1 $a3, $f0
/* 52BC 80029EBC 0C00A720 */ jal atan2
/* 52C0 80029EC0 46006386 */ mov.s $f14, $f12
/* 52C4 80029EC4 8FBF0014 */ lw $ra, 0x14($sp)
/* 52C8 80029EC8 8FB00010 */ lw $s0, 0x10($sp)
/* 52CC 80029ECC 03E00008 */ jr $ra
/* 52D0 80029ED0 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,75 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel get_spirits_rescued
/* 6240 8002AE40 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 6244 8002AE44 0000202D */ daddu $a0, $zero, $zero
/* 6248 8002AE48 3C05F5DE */ lui $a1, 0xf5de
/* 624C 8002AE4C 34A50180 */ ori $a1, $a1, 0x180
/* 6250 8002AE50 AFBF0018 */ sw $ra, 0x18($sp)
/* 6254 8002AE54 AFB10014 */ sw $s1, 0x14($sp)
/* 6258 8002AE58 0C0B1EAF */ jal get_variable
/* 625C 8002AE5C AFB00010 */ sw $s0, 0x10($sp)
/* 6260 8002AE60 24110007 */ addiu $s1, $zero, 7
/* 6264 8002AE64 0000202D */ daddu $a0, $zero, $zero
/* 6268 8002AE68 2405FFB3 */ addiu $a1, $zero, -0x4d
/* 626C 8002AE6C 0C0B1EAF */ jal get_variable
/* 6270 8002AE70 0040802D */ daddu $s0, $v0, $zero
/* 6274 8002AE74 0202102A */ slt $v0, $s0, $v0
/* 6278 8002AE78 10400003 */ beqz $v0, .L8002AE88
/* 627C 8002AE7C 0000202D */ daddu $a0, $zero, $zero
/* 6280 8002AE80 0800ABCA */ j .L8002AF28
/* 6284 8002AE84 0000882D */ daddu $s1, $zero, $zero
.L8002AE88:
/* 6288 8002AE88 0C0B1EAF */ jal get_variable
/* 628C 8002AE8C 2405FFC9 */ addiu $a1, $zero, -0x37
/* 6290 8002AE90 0202102A */ slt $v0, $s0, $v0
/* 6294 8002AE94 10400003 */ beqz $v0, .L8002AEA4
/* 6298 8002AE98 0000202D */ daddu $a0, $zero, $zero
/* 629C 8002AE9C 0800ABCA */ j .L8002AF28
/* 62A0 8002AEA0 24110001 */ addiu $s1, $zero, 1
.L8002AEA4:
/* 62A4 8002AEA4 0C0B1EAF */ jal get_variable
/* 62A8 8002AEA8 2405FFF1 */ addiu $a1, $zero, -0xf
/* 62AC 8002AEAC 0202102A */ slt $v0, $s0, $v0
/* 62B0 8002AEB0 10400003 */ beqz $v0, .L8002AEC0
/* 62B4 8002AEB4 0000202D */ daddu $a0, $zero, $zero
/* 62B8 8002AEB8 0800ABCA */ j .L8002AF28
/* 62BC 8002AEBC 24110002 */ addiu $s1, $zero, 2
.L8002AEC0:
/* 62C0 8002AEC0 0C0B1EAF */ jal get_variable
/* 62C4 8002AEC4 24050005 */ addiu $a1, $zero, 5
/* 62C8 8002AEC8 0202102A */ slt $v0, $s0, $v0
/* 62CC 8002AECC 10400003 */ beqz $v0, .L8002AEDC
/* 62D0 8002AED0 0000202D */ daddu $a0, $zero, $zero
/* 62D4 8002AED4 0800ABCA */ j .L8002AF28
/* 62D8 8002AED8 24110003 */ addiu $s1, $zero, 3
.L8002AEDC:
/* 62DC 8002AEDC 0C0B1EAF */ jal get_variable
/* 62E0 8002AEE0 24050025 */ addiu $a1, $zero, 0x25
/* 62E4 8002AEE4 0202102A */ slt $v0, $s0, $v0
/* 62E8 8002AEE8 10400003 */ beqz $v0, .L8002AEF8
/* 62EC 8002AEEC 0000202D */ daddu $a0, $zero, $zero
/* 62F0 8002AEF0 0800ABCA */ j .L8002AF28
/* 62F4 8002AEF4 24110004 */ addiu $s1, $zero, 4
.L8002AEF8:
/* 62F8 8002AEF8 0C0B1EAF */ jal get_variable
/* 62FC 8002AEFC 24050039 */ addiu $a1, $zero, 0x39
/* 6300 8002AF00 0202102A */ slt $v0, $s0, $v0
/* 6304 8002AF04 10400003 */ beqz $v0, .L8002AF14
/* 6308 8002AF08 0000202D */ daddu $a0, $zero, $zero
/* 630C 8002AF0C 0800ABCA */ j .L8002AF28
/* 6310 8002AF10 24110005 */ addiu $s1, $zero, 5
.L8002AF14:
/* 6314 8002AF14 0C0B1EAF */ jal get_variable
/* 6318 8002AF18 24050057 */ addiu $a1, $zero, 0x57
/* 631C 8002AF1C 0202102A */ slt $v0, $s0, $v0
/* 6320 8002AF20 54400001 */ bnel $v0, $zero, .L8002AF28
/* 6324 8002AF24 24110006 */ addiu $s1, $zero, 6
.L8002AF28:
/* 6328 8002AF28 0220102D */ daddu $v0, $s1, $zero
/* 632C 8002AF2C 8FBF0018 */ lw $ra, 0x18($sp)
/* 6330 8002AF30 8FB10014 */ lw $s1, 0x14($sp)
/* 6334 8002AF34 8FB00010 */ lw $s0, 0x10($sp)
/* 6338 8002AF38 03E00008 */ jr $ra
/* 633C 8002AF3C 27BD0020 */ addiu $sp, $sp, 0x20

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

@ -1,37 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8002E754
/* 9B54 8002E754 00A0402D */ daddu $t0, $a1, $zero
/* 9B58 8002E758 3C05800B */ lui $a1, %hi(gCameras)
/* 9B5C 8002E75C 24A51D80 */ addiu $a1, $a1, %lo(gCameras)
/* 9B60 8002E760 00041080 */ sll $v0, $a0, 2
/* 9B64 8002E764 00441021 */ addu $v0, $v0, $a0
/* 9B68 8002E768 00021080 */ sll $v0, $v0, 2
/* 9B6C 8002E76C 00441023 */ subu $v0, $v0, $a0
/* 9B70 8002E770 000218C0 */ sll $v1, $v0, 3
/* 9B74 8002E774 00431021 */ addu $v0, $v0, $v1
/* 9B78 8002E778 000210C0 */ sll $v0, $v0, 3
/* 9B7C 8002E77C 00451021 */ addu $v0, $v0, $a1
/* 9B80 8002E780 8443000E */ lh $v1, 0xe($v0)
/* 9B84 8002E784 84450010 */ lh $a1, 0x10($v0)
/* 9B88 8002E788 8444000A */ lh $a0, 0xa($v0)
/* 9B8C 8002E78C 8442000C */ lh $v0, 0xc($v0)
/* 9B90 8002E790 00642021 */ addu $a0, $v1, $a0
/* 9B94 8002E794 0103182A */ slt $v1, $t0, $v1
/* 9B98 8002E798 14600004 */ bnez $v1, .L8002E7AC
/* 9B9C 8002E79C 00A23821 */ addu $a3, $a1, $v0
/* 9BA0 8002E7A0 0088102A */ slt $v0, $a0, $t0
/* 9BA4 8002E7A4 10400003 */ beqz $v0, .L8002E7B4
/* 9BA8 8002E7A8 00C5102A */ slt $v0, $a2, $a1
.L8002E7AC:
/* 9BAC 8002E7AC 03E00008 */ jr $ra
/* 9BB0 8002E7B0 24020001 */ addiu $v0, $zero, 1
.L8002E7B4:
/* 9BB4 8002E7B4 10400003 */ beqz $v0, .L8002E7C4
/* 9BB8 8002E7B8 00E6102A */ slt $v0, $a3, $a2
/* 9BBC 8002E7BC 03E00008 */ jr $ra
/* 9BC0 8002E7C0 24020001 */ addiu $v0, $zero, 1
.L8002E7C4:
/* 9BC4 8002E7C4 03E00008 */ jr $ra
/* 9BC8 8002E7C8 00000000 */ nop

View File

@ -1,28 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_8002E7CC
/* 9BCC 8002E7CC 3C08800B */ lui $t0, %hi(gCameras)
/* 9BD0 8002E7D0 25081D80 */ addiu $t0, $t0, %lo(gCameras)
/* 9BD4 8002E7D4 00041080 */ sll $v0, $a0, 2
/* 9BD8 8002E7D8 00441021 */ addu $v0, $v0, $a0
/* 9BDC 8002E7DC 00021080 */ sll $v0, $v0, 2
/* 9BE0 8002E7E0 00441023 */ subu $v0, $v0, $a0
/* 9BE4 8002E7E4 000218C0 */ sll $v1, $v0, 3
/* 9BE8 8002E7E8 00431021 */ addu $v0, $v0, $v1
/* 9BEC 8002E7EC 000210C0 */ sll $v0, $v0, 3
/* 9BF0 8002E7F0 00481021 */ addu $v0, $v0, $t0
/* 9BF4 8002E7F4 8443000E */ lh $v1, 0xe($v0)
/* 9BF8 8002E7F8 8FA80010 */ lw $t0, 0x10($sp)
/* 9BFC 8002E7FC ACA30000 */ sw $v1, ($a1)
/* 9C00 8002E800 84430010 */ lh $v1, 0x10($v0)
/* 9C04 8002E804 ACC30000 */ sw $v1, ($a2)
/* 9C08 8002E808 8443000E */ lh $v1, 0xe($v0)
/* 9C0C 8002E80C 8444000A */ lh $a0, 0xa($v0)
/* 9C10 8002E810 00641821 */ addu $v1, $v1, $a0
/* 9C14 8002E814 ACE30000 */ sw $v1, ($a3)
/* 9C18 8002E818 84430010 */ lh $v1, 0x10($v0)
/* 9C1C 8002E81C 8442000C */ lh $v0, 0xc($v0)
/* 9C20 8002E820 00621821 */ addu $v1, $v1, $v0
/* 9C24 8002E824 03E00008 */ jr $ra
/* 9C28 8002E828 AD030000 */ sw $v1, ($t0)

View File

@ -1,24 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel get_cam_viewport
/* 98E8 8002E4E8 3C08800B */ lui $t0, %hi(gCameras)
/* 98EC 8002E4EC 25081D80 */ addiu $t0, $t0, %lo(gCameras)
/* 98F0 8002E4F0 00041080 */ sll $v0, $a0, 2
/* 98F4 8002E4F4 00441021 */ addu $v0, $v0, $a0
/* 98F8 8002E4F8 00021080 */ sll $v0, $v0, 2
/* 98FC 8002E4FC 00441023 */ subu $v0, $v0, $a0
/* 9900 8002E500 000218C0 */ sll $v1, $v0, 3
/* 9904 8002E504 00431021 */ addu $v0, $v0, $v1
/* 9908 8002E508 000210C0 */ sll $v0, $v0, 3
/* 990C 8002E50C 00481021 */ addu $v0, $v0, $t0
/* 9910 8002E510 9443000A */ lhu $v1, 0xa($v0)
/* 9914 8002E514 8FA40010 */ lw $a0, 0x10($sp)
/* 9918 8002E518 A4E30000 */ sh $v1, ($a3)
/* 991C 8002E51C 9443000C */ lhu $v1, 0xc($v0)
/* 9920 8002E520 A4830000 */ sh $v1, ($a0)
/* 9924 8002E524 9443000E */ lhu $v1, 0xe($v0)
/* 9928 8002E528 A4A30000 */ sh $v1, ($a1)
/* 992C 8002E52C 94420010 */ lhu $v0, 0x10($v0)
/* 9930 8002E530 03E00008 */ jr $ra
/* 9934 8002E534 A4C20000 */ sh $v0, ($a2)

View File

@ -1,12 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel nuSiMgrStop
/* 838C 8002CF8C 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 8390 8002CF90 24047F00 */ addiu $a0, $zero, 0x7f00
/* 8394 8002CF94 AFBF0010 */ sw $ra, 0x10($sp)
/* 8398 8002CF98 0C00B3CA */ jal nuSiSendMesg
/* 839C 8002CF9C 0000282D */ daddu $a1, $zero, $zero
/* 83A0 8002CFA0 8FBF0010 */ lw $ra, 0x10($sp)
/* 83A4 8002CFA4 03E00008 */ jr $ra
/* 83A8 8002CFA8 27BD0018 */ addiu $sp, $sp, 0x18

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

@ -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

@ -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,20 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802428C0_E07C20
/* E07C20 802428C0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* E07C24 802428C4 2404005B */ addiu $a0, $zero, 0x5b
/* E07C28 802428C8 2405FFFF */ addiu $a1, $zero, -1
/* E07C2C 802428CC 24060001 */ addiu $a2, $zero, 1
/* E07C30 802428D0 AFBF0010 */ sw $ra, 0x10($sp)
/* E07C34 802428D4 0C046E54 */ jal func_8011B950
/* E07C38 802428D8 0000382D */ daddu $a3, $zero, $zero
/* E07C3C 802428DC 0000202D */ daddu $a0, $zero, $zero
/* E07C40 802428E0 0080282D */ daddu $a1, $a0, $zero
/* E07C44 802428E4 0080302D */ daddu $a2, $a0, $zero
/* E07C48 802428E8 0C046F97 */ jal set_background_color_blend
/* E07C4C 802428EC 240700FF */ addiu $a3, $zero, 0xff
/* E07C50 802428F0 8FBF0010 */ lw $ra, 0x10($sp)
/* E07C54 802428F4 24020002 */ addiu $v0, $zero, 2
/* E07C58 802428F8 03E00008 */ jr $ra
/* E07C5C 802428FC 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,37 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242900_E07C60
/* E07C60 80242900 27BDFFE8 */ addiu $sp, $sp, -0x18
/* E07C64 80242904 AFB00010 */ sw $s0, 0x10($sp)
/* E07C68 80242908 0080802D */ daddu $s0, $a0, $zero
/* E07C6C 8024290C 10A00003 */ beqz $a1, .L8024291C
/* E07C70 80242910 AFBF0014 */ sw $ra, 0x14($sp)
/* E07C74 80242914 240200FF */ addiu $v0, $zero, 0xff
/* E07C78 80242918 AE020074 */ sw $v0, 0x74($s0)
.L8024291C:
/* E07C7C 8024291C 8E020074 */ lw $v0, 0x74($s0)
/* E07C80 80242920 2442FFF6 */ addiu $v0, $v0, -0xa
/* E07C84 80242924 04410002 */ bgez $v0, .L80242930
/* E07C88 80242928 AE020074 */ sw $v0, 0x74($s0)
/* E07C8C 8024292C AE000074 */ sw $zero, 0x74($s0)
.L80242930:
/* E07C90 80242930 0000202D */ daddu $a0, $zero, $zero
/* E07C94 80242934 0080282D */ daddu $a1, $a0, $zero
/* E07C98 80242938 92070077 */ lbu $a3, 0x77($s0)
/* E07C9C 8024293C 0C046F97 */ jal set_background_color_blend
/* E07CA0 80242940 0080302D */ daddu $a2, $a0, $zero
/* E07CA4 80242944 8E020074 */ lw $v0, 0x74($s0)
/* E07CA8 80242948 14400007 */ bnez $v0, .L80242968
/* E07CAC 8024294C 0000102D */ daddu $v0, $zero, $zero
/* E07CB0 80242950 2404005B */ addiu $a0, $zero, 0x5b
/* E07CB4 80242954 2405FFFF */ addiu $a1, $zero, -1
/* E07CB8 80242958 0000302D */ daddu $a2, $zero, $zero
/* E07CBC 8024295C 0C046E54 */ jal func_8011B950
/* E07CC0 80242960 00C0382D */ daddu $a3, $a2, $zero
/* E07CC4 80242964 24020002 */ addiu $v0, $zero, 2
.L80242968:
/* E07CC8 80242968 8FBF0014 */ lw $ra, 0x14($sp)
/* E07CCC 8024296C 8FB00010 */ lw $s0, 0x10($sp)
/* E07CD0 80242970 03E00008 */ jr $ra
/* E07CD4 80242974 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,67 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242978_E07CD8
/* E07CD8 80242978 27BDFFD0 */ addiu $sp, $sp, -0x30
/* E07CDC 8024297C AFB20020 */ sw $s2, 0x20($sp)
/* E07CE0 80242980 AFBF0024 */ sw $ra, 0x24($sp)
/* E07CE4 80242984 AFB1001C */ sw $s1, 0x1c($sp)
/* E07CE8 80242988 AFB00018 */ sw $s0, 0x18($sp)
/* E07CEC 8024298C F7B40028 */ sdc1 $f20, 0x28($sp)
/* E07CF0 80242990 10A00006 */ beqz $a1, .L802429AC
/* E07CF4 80242994 0080902D */ daddu $s2, $a0, $zero
/* E07CF8 80242998 8E4400AC */ lw $a0, 0xac($s2)
/* E07CFC 8024299C 0C00EAD2 */ jal get_npc_safe
/* E07D00 802429A0 00000000 */ nop
/* E07D04 802429A4 AE420078 */ sw $v0, 0x78($s2)
/* E07D08 802429A8 AE400070 */ sw $zero, 0x70($s2)
.L802429AC:
/* E07D0C 802429AC 3C05444A */ lui $a1, 0x444a
/* E07D10 802429B0 34A58000 */ ori $a1, $a1, 0x8000
/* E07D14 802429B4 8E510078 */ lw $s1, 0x78($s2)
/* E07D18 802429B8 4480A000 */ mtc1 $zero, $f20
/* E07D1C 802429BC 2410002D */ addiu $s0, $zero, 0x2d
/* E07D20 802429C0 AFB00010 */ sw $s0, 0x10($sp)
/* E07D24 802429C4 8E470070 */ lw $a3, 0x70($s2)
/* E07D28 802429C8 4406A000 */ mfc1 $a2, $f20
/* E07D2C 802429CC 0C00A8ED */ jal update_lerp
/* E07D30 802429D0 24040004 */ addiu $a0, $zero, 4
/* E07D34 802429D4 4405A000 */ mfc1 $a1, $f20
/* E07D38 802429D8 3C06437F */ lui $a2, 0x437f
/* E07D3C 802429DC E6200048 */ swc1 $f0, 0x48($s1)
/* E07D40 802429E0 AFB00010 */ sw $s0, 0x10($sp)
/* E07D44 802429E4 8E470070 */ lw $a3, 0x70($s2)
/* E07D48 802429E8 0C00A8ED */ jal update_lerp
/* E07D4C 802429EC 24040004 */ addiu $a0, $zero, 4
/* E07D50 802429F0 3C014F00 */ lui $at, 0x4f00
/* E07D54 802429F4 44811000 */ mtc1 $at, $f2
/* E07D58 802429F8 00000000 */ nop
/* E07D5C 802429FC 4600103E */ c.le.s $f2, $f0
/* E07D60 80242A00 00000000 */ nop
/* E07D64 80242A04 45010005 */ bc1t .L80242A1C
/* E07D68 80242A08 263100AC */ addiu $s1, $s1, 0xac
/* E07D6C 80242A0C 4600010D */ trunc.w.s $f4, $f0
/* E07D70 80242A10 44032000 */ mfc1 $v1, $f4
/* E07D74 80242A14 08090A8E */ j .L80242A38
/* E07D78 80242A18 A2230000 */ sb $v1, ($s1)
.L80242A1C:
/* E07D7C 80242A1C 46020001 */ sub.s $f0, $f0, $f2
/* E07D80 80242A20 3C028000 */ lui $v0, 0x8000
/* E07D84 80242A24 4600010D */ trunc.w.s $f4, $f0
/* E07D88 80242A28 44032000 */ mfc1 $v1, $f4
/* E07D8C 80242A2C 00000000 */ nop
/* E07D90 80242A30 00621825 */ or $v1, $v1, $v0
/* E07D94 80242A34 A2230000 */ sb $v1, ($s1)
.L80242A38:
/* E07D98 80242A38 8E430070 */ lw $v1, 0x70($s2)
/* E07D9C 80242A3C 24630001 */ addiu $v1, $v1, 1
/* E07DA0 80242A40 2862002E */ slti $v0, $v1, 0x2e
/* E07DA4 80242A44 AE430070 */ sw $v1, 0x70($s2)
/* E07DA8 80242A48 8FBF0024 */ lw $ra, 0x24($sp)
/* E07DAC 80242A4C 8FB20020 */ lw $s2, 0x20($sp)
/* E07DB0 80242A50 8FB1001C */ lw $s1, 0x1c($sp)
/* E07DB4 80242A54 8FB00018 */ lw $s0, 0x18($sp)
/* E07DB8 80242A58 D7B40028 */ ldc1 $f20, 0x28($sp)
/* E07DBC 80242A5C 38420001 */ xori $v0, $v0, 1
/* E07DC0 80242A60 03E00008 */ jr $ra
/* E07DC4 80242A64 27BD0030 */ addiu $sp, $sp, 0x30

View File

@ -1,69 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242A68_E07DC8
/* E07DC8 80242A68 27BDFFE0 */ addiu $sp, $sp, -0x20
/* E07DCC 80242A6C AFB10014 */ sw $s1, 0x14($sp)
/* E07DD0 80242A70 0080882D */ daddu $s1, $a0, $zero
/* E07DD4 80242A74 AFBF0018 */ sw $ra, 0x18($sp)
/* E07DD8 80242A78 AFB00010 */ sw $s0, 0x10($sp)
/* E07DDC 80242A7C 8E22000C */ lw $v0, 0xc($s1)
/* E07DE0 80242A80 00A0802D */ daddu $s0, $a1, $zero
/* E07DE4 80242A84 0C0B1EAF */ jal get_variable
/* E07DE8 80242A88 8C450000 */ lw $a1, ($v0)
/* E07DEC 80242A8C 1200000C */ beqz $s0, .L80242AC0
/* E07DF0 80242A90 0220202D */ daddu $a0, $s1, $zero
/* E07DF4 80242A94 0C0B36B0 */ jal resolve_npc
/* E07DF8 80242A98 0040282D */ daddu $a1, $v0, $zero
/* E07DFC 80242A9C AE220074 */ sw $v0, 0x74($s1)
/* E07E00 80242AA0 C4420038 */ lwc1 $f2, 0x38($v0)
/* E07E04 80242AA4 3C014334 */ lui $at, 0x4334
/* E07E08 80242AA8 44810000 */ mtc1 $at, $f0
/* E07E0C 80242AAC 24020048 */ addiu $v0, $zero, 0x48
/* E07E10 80242AB0 AE220070 */ sw $v0, 0x70($s1)
/* E07E14 80242AB4 4600110D */ trunc.w.s $f4, $f2
/* E07E18 80242AB8 E6240078 */ swc1 $f4, 0x78($s1)
/* E07E1C 80242ABC E620007C */ swc1 $f0, 0x7c($s1)
.L80242AC0:
/* E07E20 80242AC0 C620007C */ lwc1 $f0, 0x7c($s1)
/* E07E24 80242AC4 3C0140A0 */ lui $at, 0x40a0
/* E07E28 80242AC8 44816000 */ mtc1 $at, $f12
/* E07E2C 80242ACC 8E300074 */ lw $s0, 0x74($s1)
/* E07E30 80242AD0 0C00A6C9 */ jal clamp_angle
/* E07E34 80242AD4 460C0301 */ sub.s $f12, $f0, $f12
/* E07E38 80242AD8 46000306 */ mov.s $f12, $f0
/* E07E3C 80242ADC 0C00A8D4 */ jal cos_deg
/* E07E40 80242AE0 E62C007C */ swc1 $f12, 0x7c($s1)
/* E07E44 80242AE4 3C0140C0 */ lui $at, 0x40c0
/* E07E48 80242AE8 44811000 */ mtc1 $at, $f2
/* E07E4C 80242AEC 00000000 */ nop
/* E07E50 80242AF0 46020002 */ mul.s $f0, $f0, $f2
/* E07E54 80242AF4 00000000 */ nop
/* E07E58 80242AF8 C6020038 */ lwc1 $f2, 0x38($s0)
/* E07E5C 80242AFC 46001080 */ add.s $f2, $f2, $f0
/* E07E60 80242B00 E6020038 */ swc1 $f2, 0x38($s0)
/* E07E64 80242B04 0C00A8BB */ jal sin_deg
/* E07E68 80242B08 C62C007C */ lwc1 $f12, 0x7c($s1)
/* E07E6C 80242B0C 3C014020 */ lui $at, 0x4020
/* E07E70 80242B10 44811000 */ mtc1 $at, $f2
/* E07E74 80242B14 00000000 */ nop
/* E07E78 80242B18 46020002 */ mul.s $f0, $f0, $f2
/* E07E7C 80242B1C 00000000 */ nop
/* E07E80 80242B20 C6020040 */ lwc1 $f2, 0x40($s0)
/* E07E84 80242B24 46001080 */ add.s $f2, $f2, $f0
/* E07E88 80242B28 3C014334 */ lui $at, 0x4334
/* E07E8C 80242B2C 44816000 */ mtc1 $at, $f12
/* E07E90 80242B30 E6020040 */ swc1 $f2, 0x40($s0)
/* E07E94 80242B34 C620007C */ lwc1 $f0, 0x7c($s1)
/* E07E98 80242B38 0C00A6C9 */ jal clamp_angle
/* E07E9C 80242B3C 46006301 */ sub.s $f12, $f12, $f0
/* E07EA0 80242B40 E6000034 */ swc1 $f0, 0x34($s0)
/* E07EA4 80242B44 8E230070 */ lw $v1, 0x70($s1)
/* E07EA8 80242B48 2463FFFF */ addiu $v1, $v1, -1
/* E07EAC 80242B4C AE230070 */ sw $v1, 0x70($s1)
/* E07EB0 80242B50 8FBF0018 */ lw $ra, 0x18($sp)
/* E07EB4 80242B54 8FB10014 */ lw $s1, 0x14($sp)
/* E07EB8 80242B58 8FB00010 */ lw $s0, 0x10($sp)
/* E07EBC 80242B5C 2C620001 */ sltiu $v0, $v1, 1
/* E07EC0 80242B60 03E00008 */ jr $ra
/* E07EC4 80242B64 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,69 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242B68_E07EC8
/* E07EC8 80242B68 27BDFFE0 */ addiu $sp, $sp, -0x20
/* E07ECC 80242B6C AFB10014 */ sw $s1, 0x14($sp)
/* E07ED0 80242B70 0080882D */ daddu $s1, $a0, $zero
/* E07ED4 80242B74 AFBF0018 */ sw $ra, 0x18($sp)
/* E07ED8 80242B78 AFB00010 */ sw $s0, 0x10($sp)
/* E07EDC 80242B7C 8E22000C */ lw $v0, 0xc($s1)
/* E07EE0 80242B80 00A0802D */ daddu $s0, $a1, $zero
/* E07EE4 80242B84 0C0B1EAF */ jal get_variable
/* E07EE8 80242B88 8C450000 */ lw $a1, ($v0)
/* E07EEC 80242B8C 1200000C */ beqz $s0, .L80242BC0
/* E07EF0 80242B90 0220202D */ daddu $a0, $s1, $zero
/* E07EF4 80242B94 0C0B36B0 */ jal resolve_npc
/* E07EF8 80242B98 0040282D */ daddu $a1, $v0, $zero
/* E07EFC 80242B9C AE220074 */ sw $v0, 0x74($s1)
/* E07F00 80242BA0 C4420038 */ lwc1 $f2, 0x38($v0)
/* E07F04 80242BA4 3C014334 */ lui $at, 0x4334
/* E07F08 80242BA8 44810000 */ mtc1 $at, $f0
/* E07F0C 80242BAC 24020048 */ addiu $v0, $zero, 0x48
/* E07F10 80242BB0 AE220070 */ sw $v0, 0x70($s1)
/* E07F14 80242BB4 4600110D */ trunc.w.s $f4, $f2
/* E07F18 80242BB8 E6240078 */ swc1 $f4, 0x78($s1)
/* E07F1C 80242BBC E620007C */ swc1 $f0, 0x7c($s1)
.L80242BC0:
/* E07F20 80242BC0 C620007C */ lwc1 $f0, 0x7c($s1)
/* E07F24 80242BC4 3C0140A0 */ lui $at, 0x40a0
/* E07F28 80242BC8 44816000 */ mtc1 $at, $f12
/* E07F2C 80242BCC 8E300074 */ lw $s0, 0x74($s1)
/* E07F30 80242BD0 0C00A6C9 */ jal clamp_angle
/* E07F34 80242BD4 460C0300 */ add.s $f12, $f0, $f12
/* E07F38 80242BD8 46000306 */ mov.s $f12, $f0
/* E07F3C 80242BDC 0C00A8D4 */ jal cos_deg
/* E07F40 80242BE0 E62C007C */ swc1 $f12, 0x7c($s1)
/* E07F44 80242BE4 3C0140C0 */ lui $at, 0x40c0
/* E07F48 80242BE8 44811000 */ mtc1 $at, $f2
/* E07F4C 80242BEC 00000000 */ nop
/* E07F50 80242BF0 46020002 */ mul.s $f0, $f0, $f2
/* E07F54 80242BF4 00000000 */ nop
/* E07F58 80242BF8 C6020038 */ lwc1 $f2, 0x38($s0)
/* E07F5C 80242BFC 46001080 */ add.s $f2, $f2, $f0
/* E07F60 80242C00 E6020038 */ swc1 $f2, 0x38($s0)
/* E07F64 80242C04 0C00A8BB */ jal sin_deg
/* E07F68 80242C08 C62C007C */ lwc1 $f12, 0x7c($s1)
/* E07F6C 80242C0C 3C014020 */ lui $at, 0x4020
/* E07F70 80242C10 44811000 */ mtc1 $at, $f2
/* E07F74 80242C14 00000000 */ nop
/* E07F78 80242C18 46020002 */ mul.s $f0, $f0, $f2
/* E07F7C 80242C1C 00000000 */ nop
/* E07F80 80242C20 C6020040 */ lwc1 $f2, 0x40($s0)
/* E07F84 80242C24 46001080 */ add.s $f2, $f2, $f0
/* E07F88 80242C28 3C014334 */ lui $at, 0x4334
/* E07F8C 80242C2C 44816000 */ mtc1 $at, $f12
/* E07F90 80242C30 E6020040 */ swc1 $f2, 0x40($s0)
/* E07F94 80242C34 C620007C */ lwc1 $f0, 0x7c($s1)
/* E07F98 80242C38 0C00A6C9 */ jal clamp_angle
/* E07F9C 80242C3C 46006301 */ sub.s $f12, $f12, $f0
/* E07FA0 80242C40 E6000034 */ swc1 $f0, 0x34($s0)
/* E07FA4 80242C44 8E230070 */ lw $v1, 0x70($s1)
/* E07FA8 80242C48 2463FFFF */ addiu $v1, $v1, -1
/* E07FAC 80242C4C AE230070 */ sw $v1, 0x70($s1)
/* E07FB0 80242C50 8FBF0018 */ lw $ra, 0x18($sp)
/* E07FB4 80242C54 8FB10014 */ lw $s1, 0x14($sp)
/* E07FB8 80242C58 8FB00010 */ lw $s0, 0x10($sp)
/* E07FBC 80242C5C 2C620001 */ sltiu $v0, $v1, 1
/* E07FC0 80242C60 03E00008 */ jr $ra
/* E07FC4 80242C64 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,15 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242C68_E07FC8
/* E07FC8 80242C68 27BDFFE8 */ addiu $sp, $sp, -0x18
/* E07FCC 80242C6C AFBF0010 */ sw $ra, 0x10($sp)
/* E07FD0 80242C70 8C82000C */ lw $v0, 0xc($a0)
/* E07FD4 80242C74 0C0B1EAF */ jal get_variable
/* E07FD8 80242C78 8C450000 */ lw $a1, ($v0)
/* E07FDC 80242C7C 8FBF0010 */ lw $ra, 0x10($sp)
/* E07FE0 80242C80 3C018024 */ lui $at, 0x8024
/* E07FE4 80242C84 AC225D34 */ sw $v0, 0x5d34($at)
/* E07FE8 80242C88 24020002 */ addiu $v0, $zero, 2
/* E07FEC 80242C8C 03E00008 */ jr $ra
/* E07FF0 80242C90 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_80242C94_E07FF4
/* E07FF4 80242C94 3C06FC12 */ lui $a2, 0xfc12
/* E07FF8 80242C98 34C64624 */ ori $a2, $a2, 0x4624
/* E07FFC 80242C9C 3C05FF8F */ lui $a1, 0xff8f
/* E08000 80242CA0 3C04800A */ lui $a0, 0x800a
/* E08004 80242CA4 2484A66C */ addiu $a0, $a0, -0x5994
/* E08008 80242CA8 8C820000 */ lw $v0, ($a0)
/* E0800C 80242CAC 34A5FFFF */ ori $a1, $a1, 0xffff
/* E08010 80242CB0 0040182D */ daddu $v1, $v0, $zero
/* E08014 80242CB4 24420008 */ addiu $v0, $v0, 8
/* E08018 80242CB8 AC820000 */ sw $v0, ($a0)
/* E0801C 80242CBC AC660000 */ sw $a2, ($v1)
/* E08020 80242CC0 AC650004 */ sw $a1, 4($v1)
/* E08024 80242CC4 24430008 */ addiu $v1, $v0, 8
/* E08028 80242CC8 AC830000 */ sw $v1, ($a0)
/* E0802C 80242CCC 3C048024 */ lui $a0, 0x8024
/* E08030 80242CD0 90845D37 */ lbu $a0, 0x5d37($a0)
/* E08034 80242CD4 3C03FA00 */ lui $v1, 0xfa00
/* E08038 80242CD8 AC430000 */ sw $v1, ($v0)
/* E0803C 80242CDC 03E00008 */ jr $ra
/* E08040 80242CE0 AC440004 */ sw $a0, 4($v0)
/* E08044 80242CE4 00000000 */ nop
/* E08048 80242CE8 00000000 */ nop
/* E0804C 80242CEC 00000000 */ nop

View File

@ -124,15 +124,15 @@ glabel func_80240AD0_A39FB0
/* A3A170 80240C90 AE620088 */ sw $v0, 0x88($s3)
/* A3A174 80240C94 8C620000 */ lw $v0, ($v1)
/* A3A178 80240C98 00021140 */ sll $v0, $v0, 5
/* A3A17C 80240C9C 3C018008 */ lui $at, 0x8008
/* A3A17C 80240C9C 3C018008 */ lui $at, %hi(gItemTable)
/* A3A180 80240CA0 00220821 */ addu $at, $at, $v0
/* A3A184 80240CA4 8C2278E0 */ lw $v0, 0x78e0($at)
/* A3A184 80240CA4 8C2278E0 */ lw $v0, %lo(gItemTable)($at)
/* A3A188 80240CA8 AE620094 */ sw $v0, 0x94($s3)
/* A3A18C 80240CAC 8C620000 */ lw $v0, ($v1)
/* A3A190 80240CB0 00021140 */ sll $v0, $v0, 5
/* A3A194 80240CB4 3C038008 */ lui $v1, 0x8008
/* A3A194 80240CB4 3C038008 */ lui $v1, %hi(gItemTable+0x1A)
/* A3A198 80240CB8 00621821 */ addu $v1, $v1, $v0
/* A3A19C 80240CBC 906378FA */ lbu $v1, 0x78fa($v1)
/* A3A19C 80240CBC 906378FA */ lbu $v1, %lo(gItemTable+0x1A)($v1)
/* A3A1A0 80240CC0 00031080 */ sll $v0, $v1, 2
/* A3A1A4 80240CC4 00431021 */ addu $v0, $v0, $v1
/* A3A1A8 80240CC8 00021080 */ sll $v0, $v0, 2

View File

@ -1,26 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80242238_A3B718
/* A3B718 80242238 27BDFFE8 */ addiu $sp, $sp, -0x18
/* A3B71C 8024223C AFB00010 */ sw $s0, 0x10($sp)
/* A3B720 80242240 0080802D */ daddu $s0, $a0, $zero
/* A3B724 80242244 AFBF0014 */ sw $ra, 0x14($sp)
/* A3B728 80242248 8E02000C */ lw $v0, 0xc($s0)
/* A3B72C 8024224C 0C0B1EAF */ jal get_variable
/* A3B730 80242250 8C450000 */ lw $a1, ($v0)
/* A3B734 80242254 00021140 */ sll $v0, $v0, 5
/* A3B738 80242258 AE000084 */ sw $zero, 0x84($s0)
/* A3B73C 8024225C 3C018008 */ lui $at, 0x8008
/* A3B740 80242260 00220821 */ addu $at, $at, $v0
/* A3B744 80242264 942278F8 */ lhu $v0, 0x78f8($at)
/* A3B748 80242268 30420040 */ andi $v0, $v0, 0x40
/* A3B74C 8024226C 10400002 */ beqz $v0, .L80242278
/* A3B750 80242270 24020001 */ addiu $v0, $zero, 1
/* A3B754 80242274 AE020084 */ sw $v0, 0x84($s0)
.L80242278:
/* A3B758 80242278 8FBF0014 */ lw $ra, 0x14($sp)
/* A3B75C 8024227C 8FB00010 */ lw $s0, 0x10($sp)
/* A3B760 80242280 24020002 */ addiu $v0, $zero, 2
/* A3B764 80242284 03E00008 */ jr $ra
/* A3B768 80242288 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,35 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240040_97B670
/* 97B670 80240040 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 97B674 80240044 AFB20018 */ sw $s2, 0x18($sp)
/* 97B678 80240048 0080902D */ daddu $s2, $a0, $zero
/* 97B67C 8024004C AFBF001C */ sw $ra, 0x1c($sp)
/* 97B680 80240050 AFB10014 */ sw $s1, 0x14($sp)
/* 97B684 80240054 AFB00010 */ sw $s0, 0x10($sp)
/* 97B688 80240058 8E510148 */ lw $s1, 0x148($s2)
/* 97B68C 8024005C 0C00EABB */ jal get_npc_unsafe
/* 97B690 80240060 86240008 */ lh $a0, 8($s1)
/* 97B694 80240064 0040802D */ daddu $s0, $v0, $zero
/* 97B698 80240068 8E2300CC */ lw $v1, 0xcc($s1)
/* 97B69C 8024006C C60C0038 */ lwc1 $f12, 0x38($s0)
/* 97B6A0 80240070 8C630020 */ lw $v1, 0x20($v1)
/* 97B6A4 80240074 AE030028 */ sw $v1, 0x28($s0)
/* 97B6A8 80240078 96220076 */ lhu $v0, 0x76($s1)
/* 97B6AC 8024007C A602008E */ sh $v0, 0x8e($s0)
/* 97B6B0 80240080 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* 97B6B4 80240084 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* 97B6B8 80240088 C60E0040 */ lwc1 $f14, 0x40($s0)
/* 97B6BC 8024008C 8C460028 */ lw $a2, 0x28($v0)
/* 97B6C0 80240090 0C00A720 */ jal atan2
/* 97B6C4 80240094 8C470030 */ lw $a3, 0x30($v0)
/* 97B6C8 80240098 2402000D */ addiu $v0, $zero, 0xd
/* 97B6CC 8024009C E600000C */ swc1 $f0, 0xc($s0)
/* 97B6D0 802400A0 AE420070 */ sw $v0, 0x70($s2)
/* 97B6D4 802400A4 8FBF001C */ lw $ra, 0x1c($sp)
/* 97B6D8 802400A8 8FB20018 */ lw $s2, 0x18($sp)
/* 97B6DC 802400AC 8FB10014 */ lw $s1, 0x14($sp)
/* 97B6E0 802400B0 8FB00010 */ lw $s0, 0x10($sp)
/* 97B6E4 802400B4 03E00008 */ jr $ra
/* 97B6E8 802400B8 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,38 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240354_97B984
/* 97B984 80240354 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 97B988 80240358 AFB10014 */ sw $s1, 0x14($sp)
/* 97B98C 8024035C 0080882D */ daddu $s1, $a0, $zero
/* 97B990 80240360 AFBF0018 */ sw $ra, 0x18($sp)
/* 97B994 80240364 AFB00010 */ sw $s0, 0x10($sp)
/* 97B998 80240368 8E300148 */ lw $s0, 0x148($s1)
/* 97B99C 8024036C 0C00EABB */ jal get_npc_unsafe
/* 97B9A0 80240370 86040008 */ lh $a0, 8($s0)
/* 97B9A4 80240374 0040202D */ daddu $a0, $v0, $zero
/* 97B9A8 80240378 9482008E */ lhu $v0, 0x8e($a0)
/* 97B9AC 8024037C 24030003 */ addiu $v1, $zero, 3
/* 97B9B0 80240380 24420001 */ addiu $v0, $v0, 1
/* 97B9B4 80240384 A482008E */ sh $v0, 0x8e($a0)
/* 97B9B8 80240388 00021400 */ sll $v0, $v0, 0x10
/* 97B9BC 8024038C 00021403 */ sra $v0, $v0, 0x10
/* 97B9C0 80240390 14430003 */ bne $v0, $v1, .L802403A0
/* 97B9C4 80240394 00000000 */ nop
/* 97B9C8 80240398 96020086 */ lhu $v0, 0x86($s0)
/* 97B9CC 8024039C A48200A8 */ sh $v0, 0xa8($a0)
.L802403A0:
/* 97B9D0 802403A0 8482008E */ lh $v0, 0x8e($a0)
/* 97B9D4 802403A4 8E030080 */ lw $v1, 0x80($s0)
/* 97B9D8 802403A8 0043102A */ slt $v0, $v0, $v1
/* 97B9DC 802403AC 14400004 */ bnez $v0, .L802403C0
/* 97B9E0 802403B0 00000000 */ nop
/* 97B9E4 802403B4 96020086 */ lhu $v0, 0x86($s0)
/* 97B9E8 802403B8 A48200A8 */ sh $v0, 0xa8($a0)
/* 97B9EC 802403BC AE200070 */ sw $zero, 0x70($s1)
.L802403C0:
/* 97B9F0 802403C0 8FBF0018 */ lw $ra, 0x18($sp)
/* 97B9F4 802403C4 8FB10014 */ lw $s1, 0x14($sp)
/* 97B9F8 802403C8 8FB00010 */ lw $s0, 0x10($sp)
/* 97B9FC 802403CC 03E00008 */ jr $ra
/* 97BA00 802403D0 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -232,7 +232,7 @@ glabel func_802403D4_97BA04
.L80240724:
/* 97BD54 80240724 0260202D */ daddu $a0, $s3, $zero
/* 97BD58 80240728 0280282D */ daddu $a1, $s4, $zero
/* 97BD5C 8024072C 0C090010 */ jal func_80240040_97B670
/* 97BD5C 8024072C 0C090010 */ jal set_script_owner_npc_anim
/* 97BD60 80240730 02A0302D */ daddu $a2, $s5, $zero
/* 97BD64 80240734 0260202D */ daddu $a0, $s3, $zero
.L80240738:
@ -250,7 +250,7 @@ glabel func_802403D4_97BA04
/* 97BD90 80240760 00000000 */ nop
.L80240764:
/* 97BD94 80240764 0280282D */ daddu $a1, $s4, $zero
/* 97BD98 80240768 0C0900D5 */ jal func_80240354_97B984
/* 97BD98 80240768 0C0900D5 */ jal set_script_owner_npc_col_height
/* 97BD9C 8024076C 02A0302D */ daddu $a2, $s5, $zero
/* 97BDA0 80240770 080901E0 */ j .L80240780
/* 97BDA4 80240774 00000000 */ nop

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240814_97BE44
/* 97BE44 80240814 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 97BE48 80240818 AFBF0010 */ sw $ra, 0x10($sp)
/* 97BE4C 8024081C 0C00EAD2 */ jal get_npc_safe
/* 97BE50 80240820 8C84014C */ lw $a0, 0x14c($a0)
/* 97BE54 80240824 0040182D */ daddu $v1, $v0, $zero
/* 97BE58 80240828 846200A8 */ lh $v0, 0xa8($v1)
/* 97BE5C 8024082C C462003C */ lwc1 $f2, 0x3c($v1)
/* 97BE60 80240830 906400A9 */ lbu $a0, 0xa9($v1)
/* 97BE64 80240834 44820000 */ mtc1 $v0, $f0
/* 97BE68 80240838 00000000 */ nop
/* 97BE6C 8024083C 46800020 */ cvt.s.w $f0, $f0
/* 97BE70 80240840 46001081 */ sub.s $f2, $f2, $f0
/* 97BE74 80240844 A06400AB */ sb $a0, 0xab($v1)
/* 97BE78 80240848 E462003C */ swc1 $f2, 0x3c($v1)
/* 97BE7C 8024084C 8FBF0010 */ lw $ra, 0x10($sp)
/* 97BE80 80240850 24020002 */ addiu $v0, $zero, 2
/* 97BE84 80240854 03E00008 */ jr $ra
/* 97BE88 80240858 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,37 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802408B4_97BEE4
/* 97BEE4 802408B4 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 97BEE8 802408B8 0080102D */ daddu $v0, $a0, $zero
/* 97BEEC 802408BC AFB00010 */ sw $s0, 0x10($sp)
/* 97BEF0 802408C0 AFBF0018 */ sw $ra, 0x18($sp)
/* 97BEF4 802408C4 AFB10014 */ sw $s1, 0x14($sp)
/* 97BEF8 802408C8 8C44014C */ lw $a0, 0x14c($v0)
/* 97BEFC 802408CC 8C510148 */ lw $s1, 0x148($v0)
/* 97BF00 802408D0 0C00EAD2 */ jal get_npc_safe
/* 97BF04 802408D4 00A0802D */ daddu $s0, $a1, $zero
/* 97BF08 802408D8 56000001 */ bnel $s0, $zero, .L802408E0
/* 97BF0C 802408DC A04000AB */ sb $zero, 0xab($v0)
.L802408E0:
/* 97BF10 802408E0 8C420000 */ lw $v0, ($v0)
/* 97BF14 802408E4 30421000 */ andi $v0, $v0, 0x1000
/* 97BF18 802408E8 1040000A */ beqz $v0, .L80240914
/* 97BF1C 802408EC 0000102D */ daddu $v0, $zero, $zero
/* 97BF20 802408F0 82220004 */ lb $v0, 4($s1)
/* 97BF24 802408F4 3C03800B */ lui $v1, %hi(gCurrentEncounter)
/* 97BF28 802408F8 24630F10 */ addiu $v1, $v1, %lo(gCurrentEncounter)
/* 97BF2C 802408FC 00021080 */ sll $v0, $v0, 2
/* 97BF30 80240900 00431021 */ addu $v0, $v0, $v1
/* 97BF34 80240904 8C440028 */ lw $a0, 0x28($v0)
/* 97BF38 80240908 9623006E */ lhu $v1, 0x6e($s1)
/* 97BF3C 8024090C 24020002 */ addiu $v0, $zero, 2
/* 97BF40 80240910 A4830044 */ sh $v1, 0x44($a0)
.L80240914:
/* 97BF44 80240914 8FBF0018 */ lw $ra, 0x18($sp)
/* 97BF48 80240918 8FB10014 */ lw $s1, 0x14($sp)
/* 97BF4C 8024091C 8FB00010 */ lw $s0, 0x10($sp)
/* 97BF50 80240920 03E00008 */ jr $ra
/* 97BF54 80240924 27BD0020 */ addiu $sp, $sp, 0x20
/* 97BF58 80240928 00000000 */ nop
/* 97BF5C 8024092C 00000000 */ nop

View File

@ -1,35 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240000_984E30
/* 984E30 80240000 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 984E34 80240004 AFB20018 */ sw $s2, 0x18($sp)
/* 984E38 80240008 0080902D */ daddu $s2, $a0, $zero
/* 984E3C 8024000C AFBF001C */ sw $ra, 0x1c($sp)
/* 984E40 80240010 AFB10014 */ sw $s1, 0x14($sp)
/* 984E44 80240014 AFB00010 */ sw $s0, 0x10($sp)
/* 984E48 80240018 8E510148 */ lw $s1, 0x148($s2)
/* 984E4C 8024001C 0C00EABB */ jal get_npc_unsafe
/* 984E50 80240020 86240008 */ lh $a0, 8($s1)
/* 984E54 80240024 0040802D */ daddu $s0, $v0, $zero
/* 984E58 80240028 8E2300CC */ lw $v1, 0xcc($s1)
/* 984E5C 8024002C C60C0038 */ lwc1 $f12, 0x38($s0)
/* 984E60 80240030 8C630020 */ lw $v1, 0x20($v1)
/* 984E64 80240034 AE030028 */ sw $v1, 0x28($s0)
/* 984E68 80240038 96220076 */ lhu $v0, 0x76($s1)
/* 984E6C 8024003C A602008E */ sh $v0, 0x8e($s0)
/* 984E70 80240040 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* 984E74 80240044 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* 984E78 80240048 C60E0040 */ lwc1 $f14, 0x40($s0)
/* 984E7C 8024004C 8C460028 */ lw $a2, 0x28($v0)
/* 984E80 80240050 0C00A720 */ jal atan2
/* 984E84 80240054 8C470030 */ lw $a3, 0x30($v0)
/* 984E88 80240058 2402000D */ addiu $v0, $zero, 0xd
/* 984E8C 8024005C E600000C */ swc1 $f0, 0xc($s0)
/* 984E90 80240060 AE420070 */ sw $v0, 0x70($s2)
/* 984E94 80240064 8FBF001C */ lw $ra, 0x1c($sp)
/* 984E98 80240068 8FB20018 */ lw $s2, 0x18($sp)
/* 984E9C 8024006C 8FB10014 */ lw $s1, 0x14($sp)
/* 984EA0 80240070 8FB00010 */ lw $s0, 0x10($sp)
/* 984EA4 80240074 03E00008 */ jr $ra
/* 984EA8 80240078 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,38 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240314_985144
/* 985144 80240314 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 985148 80240318 AFB10014 */ sw $s1, 0x14($sp)
/* 98514C 8024031C 0080882D */ daddu $s1, $a0, $zero
/* 985150 80240320 AFBF0018 */ sw $ra, 0x18($sp)
/* 985154 80240324 AFB00010 */ sw $s0, 0x10($sp)
/* 985158 80240328 8E300148 */ lw $s0, 0x148($s1)
/* 98515C 8024032C 0C00EABB */ jal get_npc_unsafe
/* 985160 80240330 86040008 */ lh $a0, 8($s0)
/* 985164 80240334 0040202D */ daddu $a0, $v0, $zero
/* 985168 80240338 9482008E */ lhu $v0, 0x8e($a0)
/* 98516C 8024033C 24030003 */ addiu $v1, $zero, 3
/* 985170 80240340 24420001 */ addiu $v0, $v0, 1
/* 985174 80240344 A482008E */ sh $v0, 0x8e($a0)
/* 985178 80240348 00021400 */ sll $v0, $v0, 0x10
/* 98517C 8024034C 00021403 */ sra $v0, $v0, 0x10
/* 985180 80240350 14430003 */ bne $v0, $v1, .L80240360
/* 985184 80240354 00000000 */ nop
/* 985188 80240358 96020086 */ lhu $v0, 0x86($s0)
/* 98518C 8024035C A48200A8 */ sh $v0, 0xa8($a0)
.L80240360:
/* 985190 80240360 8482008E */ lh $v0, 0x8e($a0)
/* 985194 80240364 8E030080 */ lw $v1, 0x80($s0)
/* 985198 80240368 0043102A */ slt $v0, $v0, $v1
/* 98519C 8024036C 14400004 */ bnez $v0, .L80240380
/* 9851A0 80240370 00000000 */ nop
/* 9851A4 80240374 96020086 */ lhu $v0, 0x86($s0)
/* 9851A8 80240378 A48200A8 */ sh $v0, 0xa8($a0)
/* 9851AC 8024037C AE200070 */ sw $zero, 0x70($s1)
.L80240380:
/* 9851B0 80240380 8FBF0018 */ lw $ra, 0x18($sp)
/* 9851B4 80240384 8FB10014 */ lw $s1, 0x14($sp)
/* 9851B8 80240388 8FB00010 */ lw $s0, 0x10($sp)
/* 9851BC 8024038C 03E00008 */ jr $ra
/* 9851C0 80240390 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -232,7 +232,7 @@ glabel func_80240394_9851C4
.L802406E4:
/* 985514 802406E4 0260202D */ daddu $a0, $s3, $zero
/* 985518 802406E8 0280282D */ daddu $a1, $s4, $zero
/* 98551C 802406EC 0C090000 */ jal func_80240000_984E30
/* 98551C 802406EC 0C090000 */ jal set_script_owner_npc_anim
/* 985520 802406F0 02A0302D */ daddu $a2, $s5, $zero
/* 985524 802406F4 0260202D */ daddu $a0, $s3, $zero
.L802406F8:
@ -250,7 +250,7 @@ glabel func_80240394_9851C4
/* 985550 80240720 00000000 */ nop
.L80240724:
/* 985554 80240724 0280282D */ daddu $a1, $s4, $zero
/* 985558 80240728 0C0900C5 */ jal func_80240314_985144
/* 985558 80240728 0C0900C5 */ jal set_script_owner_npc_col_height
/* 98555C 8024072C 02A0302D */ daddu $a2, $s5, $zero
/* 985560 80240730 080901D0 */ j .L80240740
/* 985564 80240734 00000000 */ nop

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802407D4_985604
/* 985604 802407D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 985608 802407D8 AFBF0010 */ sw $ra, 0x10($sp)
/* 98560C 802407DC 0C00EAD2 */ jal get_npc_safe
/* 985610 802407E0 8C84014C */ lw $a0, 0x14c($a0)
/* 985614 802407E4 0040182D */ daddu $v1, $v0, $zero
/* 985618 802407E8 846200A8 */ lh $v0, 0xa8($v1)
/* 98561C 802407EC C462003C */ lwc1 $f2, 0x3c($v1)
/* 985620 802407F0 906400A9 */ lbu $a0, 0xa9($v1)
/* 985624 802407F4 44820000 */ mtc1 $v0, $f0
/* 985628 802407F8 00000000 */ nop
/* 98562C 802407FC 46800020 */ cvt.s.w $f0, $f0
/* 985630 80240800 46001081 */ sub.s $f2, $f2, $f0
/* 985634 80240804 A06400AB */ sb $a0, 0xab($v1)
/* 985638 80240808 E462003C */ swc1 $f2, 0x3c($v1)
/* 98563C 8024080C 8FBF0010 */ lw $ra, 0x10($sp)
/* 985640 80240810 24020002 */ addiu $v0, $zero, 2
/* 985644 80240814 03E00008 */ jr $ra
/* 985648 80240818 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,37 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240874_9856A4
/* 9856A4 80240874 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 9856A8 80240878 0080102D */ daddu $v0, $a0, $zero
/* 9856AC 8024087C AFB00010 */ sw $s0, 0x10($sp)
/* 9856B0 80240880 AFBF0018 */ sw $ra, 0x18($sp)
/* 9856B4 80240884 AFB10014 */ sw $s1, 0x14($sp)
/* 9856B8 80240888 8C44014C */ lw $a0, 0x14c($v0)
/* 9856BC 8024088C 8C510148 */ lw $s1, 0x148($v0)
/* 9856C0 80240890 0C00EAD2 */ jal get_npc_safe
/* 9856C4 80240894 00A0802D */ daddu $s0, $a1, $zero
/* 9856C8 80240898 56000001 */ bnel $s0, $zero, .L802408A0
/* 9856CC 8024089C A04000AB */ sb $zero, 0xab($v0)
.L802408A0:
/* 9856D0 802408A0 8C420000 */ lw $v0, ($v0)
/* 9856D4 802408A4 30421000 */ andi $v0, $v0, 0x1000
/* 9856D8 802408A8 1040000A */ beqz $v0, .L802408D4
/* 9856DC 802408AC 0000102D */ daddu $v0, $zero, $zero
/* 9856E0 802408B0 82220004 */ lb $v0, 4($s1)
/* 9856E4 802408B4 3C03800B */ lui $v1, %hi(gCurrentEncounter)
/* 9856E8 802408B8 24630F10 */ addiu $v1, $v1, %lo(gCurrentEncounter)
/* 9856EC 802408BC 00021080 */ sll $v0, $v0, 2
/* 9856F0 802408C0 00431021 */ addu $v0, $v0, $v1
/* 9856F4 802408C4 8C440028 */ lw $a0, 0x28($v0)
/* 9856F8 802408C8 9623006E */ lhu $v1, 0x6e($s1)
/* 9856FC 802408CC 24020002 */ addiu $v0, $zero, 2
/* 985700 802408D0 A4830044 */ sh $v1, 0x44($a0)
.L802408D4:
/* 985704 802408D4 8FBF0018 */ lw $ra, 0x18($sp)
/* 985708 802408D8 8FB10014 */ lw $s1, 0x14($sp)
/* 98570C 802408DC 8FB00010 */ lw $s0, 0x10($sp)
/* 985710 802408E0 03E00008 */ jr $ra
/* 985714 802408E4 27BD0020 */ addiu $sp, $sp, 0x20
/* 985718 802408E8 00000000 */ nop
/* 98571C 802408EC 00000000 */ nop

View File

@ -1,26 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240268_986748
/* 986748 80240268 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 98674C 8024026C AFB00010 */ sw $s0, 0x10($sp)
/* 986750 80240270 0080802D */ daddu $s0, $a0, $zero
/* 986754 80240274 AFBF0014 */ sw $ra, 0x14($sp)
/* 986758 80240278 8E02000C */ lw $v0, 0xc($s0)
/* 98675C 8024027C 0C0B1EAF */ jal get_variable
/* 986760 80240280 8C450000 */ lw $a1, ($v0)
/* 986764 80240284 00021140 */ sll $v0, $v0, 5
/* 986768 80240288 AE000084 */ sw $zero, 0x84($s0)
/* 98676C 8024028C 3C018008 */ lui $at, 0x8008
/* 986770 80240290 00220821 */ addu $at, $at, $v0
/* 986774 80240294 942278F8 */ lhu $v0, 0x78f8($at)
/* 986778 80240298 30420040 */ andi $v0, $v0, 0x40
/* 98677C 8024029C 10400002 */ beqz $v0, .L802402A8
/* 986780 802402A0 24020001 */ addiu $v0, $zero, 1
/* 986784 802402A4 AE020084 */ sw $v0, 0x84($s0)
.L802402A8:
/* 986788 802402A8 8FBF0014 */ lw $ra, 0x14($sp)
/* 98678C 802402AC 8FB00010 */ lw $s0, 0x10($sp)
/* 986790 802402B0 24020002 */ addiu $v0, $zero, 2
/* 986794 802402B4 03E00008 */ jr $ra
/* 986798 802402B8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,35 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240000_997F70
/* 997F70 80240000 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 997F74 80240004 AFB20018 */ sw $s2, 0x18($sp)
/* 997F78 80240008 0080902D */ daddu $s2, $a0, $zero
/* 997F7C 8024000C AFBF001C */ sw $ra, 0x1c($sp)
/* 997F80 80240010 AFB10014 */ sw $s1, 0x14($sp)
/* 997F84 80240014 AFB00010 */ sw $s0, 0x10($sp)
/* 997F88 80240018 8E510148 */ lw $s1, 0x148($s2)
/* 997F8C 8024001C 0C00EABB */ jal get_npc_unsafe
/* 997F90 80240020 86240008 */ lh $a0, 8($s1)
/* 997F94 80240024 0040802D */ daddu $s0, $v0, $zero
/* 997F98 80240028 8E2300CC */ lw $v1, 0xcc($s1)
/* 997F9C 8024002C C60C0038 */ lwc1 $f12, 0x38($s0)
/* 997FA0 80240030 8C630020 */ lw $v1, 0x20($v1)
/* 997FA4 80240034 AE030028 */ sw $v1, 0x28($s0)
/* 997FA8 80240038 96220076 */ lhu $v0, 0x76($s1)
/* 997FAC 8024003C A602008E */ sh $v0, 0x8e($s0)
/* 997FB0 80240040 3C02800F */ lui $v0, %hi(gPlayerStatusPtr)
/* 997FB4 80240044 8C427B30 */ lw $v0, %lo(gPlayerStatusPtr)($v0)
/* 997FB8 80240048 C60E0040 */ lwc1 $f14, 0x40($s0)
/* 997FBC 8024004C 8C460028 */ lw $a2, 0x28($v0)
/* 997FC0 80240050 0C00A720 */ jal atan2
/* 997FC4 80240054 8C470030 */ lw $a3, 0x30($v0)
/* 997FC8 80240058 2402000D */ addiu $v0, $zero, 0xd
/* 997FCC 8024005C E600000C */ swc1 $f0, 0xc($s0)
/* 997FD0 80240060 AE420070 */ sw $v0, 0x70($s2)
/* 997FD4 80240064 8FBF001C */ lw $ra, 0x1c($sp)
/* 997FD8 80240068 8FB20018 */ lw $s2, 0x18($sp)
/* 997FDC 8024006C 8FB10014 */ lw $s1, 0x14($sp)
/* 997FE0 80240070 8FB00010 */ lw $s0, 0x10($sp)
/* 997FE4 80240074 03E00008 */ jr $ra
/* 997FE8 80240078 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -1,38 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240314_998284
/* 998284 80240314 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 998288 80240318 AFB10014 */ sw $s1, 0x14($sp)
/* 99828C 8024031C 0080882D */ daddu $s1, $a0, $zero
/* 998290 80240320 AFBF0018 */ sw $ra, 0x18($sp)
/* 998294 80240324 AFB00010 */ sw $s0, 0x10($sp)
/* 998298 80240328 8E300148 */ lw $s0, 0x148($s1)
/* 99829C 8024032C 0C00EABB */ jal get_npc_unsafe
/* 9982A0 80240330 86040008 */ lh $a0, 8($s0)
/* 9982A4 80240334 0040202D */ daddu $a0, $v0, $zero
/* 9982A8 80240338 9482008E */ lhu $v0, 0x8e($a0)
/* 9982AC 8024033C 24030003 */ addiu $v1, $zero, 3
/* 9982B0 80240340 24420001 */ addiu $v0, $v0, 1
/* 9982B4 80240344 A482008E */ sh $v0, 0x8e($a0)
/* 9982B8 80240348 00021400 */ sll $v0, $v0, 0x10
/* 9982BC 8024034C 00021403 */ sra $v0, $v0, 0x10
/* 9982C0 80240350 14430003 */ bne $v0, $v1, .L80240360
/* 9982C4 80240354 00000000 */ nop
/* 9982C8 80240358 96020086 */ lhu $v0, 0x86($s0)
/* 9982CC 8024035C A48200A8 */ sh $v0, 0xa8($a0)
.L80240360:
/* 9982D0 80240360 8482008E */ lh $v0, 0x8e($a0)
/* 9982D4 80240364 8E030080 */ lw $v1, 0x80($s0)
/* 9982D8 80240368 0043102A */ slt $v0, $v0, $v1
/* 9982DC 8024036C 14400004 */ bnez $v0, .L80240380
/* 9982E0 80240370 00000000 */ nop
/* 9982E4 80240374 96020086 */ lhu $v0, 0x86($s0)
/* 9982E8 80240378 A48200A8 */ sh $v0, 0xa8($a0)
/* 9982EC 8024037C AE200070 */ sw $zero, 0x70($s1)
.L80240380:
/* 9982F0 80240380 8FBF0018 */ lw $ra, 0x18($sp)
/* 9982F4 80240384 8FB10014 */ lw $s1, 0x14($sp)
/* 9982F8 80240388 8FB00010 */ lw $s0, 0x10($sp)
/* 9982FC 8024038C 03E00008 */ jr $ra
/* 998300 80240390 27BD0020 */ addiu $sp, $sp, 0x20

View File

@ -232,7 +232,7 @@ glabel func_80240394_998304
.L802406E4:
/* 998654 802406E4 0260202D */ daddu $a0, $s3, $zero
/* 998658 802406E8 0280282D */ daddu $a1, $s4, $zero
/* 99865C 802406EC 0C090000 */ jal func_80240000_997F70
/* 99865C 802406EC 0C090000 */ jal set_script_owner_npc_anim
/* 998660 802406F0 02A0302D */ daddu $a2, $s5, $zero
/* 998664 802406F4 0260202D */ daddu $a0, $s3, $zero
.L802406F8:
@ -250,7 +250,7 @@ glabel func_80240394_998304
/* 998690 80240720 00000000 */ nop
.L80240724:
/* 998694 80240724 0280282D */ daddu $a1, $s4, $zero
/* 998698 80240728 0C0900C5 */ jal func_80240314_998284
/* 998698 80240728 0C0900C5 */ jal set_script_owner_npc_col_height
/* 99869C 8024072C 02A0302D */ daddu $a2, $s5, $zero
/* 9986A0 80240730 080901D0 */ j .L80240740
/* 9986A4 80240734 00000000 */ nop

View File

@ -1,22 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_802407D4_998744
/* 998744 802407D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 998748 802407D8 AFBF0010 */ sw $ra, 0x10($sp)
/* 99874C 802407DC 0C00EAD2 */ jal get_npc_safe
/* 998750 802407E0 8C84014C */ lw $a0, 0x14c($a0)
/* 998754 802407E4 0040182D */ daddu $v1, $v0, $zero
/* 998758 802407E8 846200A8 */ lh $v0, 0xa8($v1)
/* 99875C 802407EC C462003C */ lwc1 $f2, 0x3c($v1)
/* 998760 802407F0 906400A9 */ lbu $a0, 0xa9($v1)
/* 998764 802407F4 44820000 */ mtc1 $v0, $f0
/* 998768 802407F8 00000000 */ nop
/* 99876C 802407FC 46800020 */ cvt.s.w $f0, $f0
/* 998770 80240800 46001081 */ sub.s $f2, $f2, $f0
/* 998774 80240804 A06400AB */ sb $a0, 0xab($v1)
/* 998778 80240808 E462003C */ swc1 $f2, 0x3c($v1)
/* 99877C 8024080C 8FBF0010 */ lw $ra, 0x10($sp)
/* 998780 80240810 24020002 */ addiu $v0, $zero, 2
/* 998784 80240814 03E00008 */ jr $ra
/* 998788 80240818 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -1,37 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240874_9987E4
/* 9987E4 80240874 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 9987E8 80240878 0080102D */ daddu $v0, $a0, $zero
/* 9987EC 8024087C AFB00010 */ sw $s0, 0x10($sp)
/* 9987F0 80240880 AFBF0018 */ sw $ra, 0x18($sp)
/* 9987F4 80240884 AFB10014 */ sw $s1, 0x14($sp)
/* 9987F8 80240888 8C44014C */ lw $a0, 0x14c($v0)
/* 9987FC 8024088C 8C510148 */ lw $s1, 0x148($v0)
/* 998800 80240890 0C00EAD2 */ jal get_npc_safe
/* 998804 80240894 00A0802D */ daddu $s0, $a1, $zero
/* 998808 80240898 56000001 */ bnel $s0, $zero, .L802408A0
/* 99880C 8024089C A04000AB */ sb $zero, 0xab($v0)
.L802408A0:
/* 998810 802408A0 8C420000 */ lw $v0, ($v0)
/* 998814 802408A4 30421000 */ andi $v0, $v0, 0x1000
/* 998818 802408A8 1040000A */ beqz $v0, .L802408D4
/* 99881C 802408AC 0000102D */ daddu $v0, $zero, $zero
/* 998820 802408B0 82220004 */ lb $v0, 4($s1)
/* 998824 802408B4 3C03800B */ lui $v1, %hi(gCurrentEncounter)
/* 998828 802408B8 24630F10 */ addiu $v1, $v1, %lo(gCurrentEncounter)
/* 99882C 802408BC 00021080 */ sll $v0, $v0, 2
/* 998830 802408C0 00431021 */ addu $v0, $v0, $v1
/* 998834 802408C4 8C440028 */ lw $a0, 0x28($v0)
/* 998838 802408C8 9623006E */ lhu $v1, 0x6e($s1)
/* 99883C 802408CC 24020002 */ addiu $v0, $zero, 2
/* 998840 802408D0 A4830044 */ sh $v1, 0x44($a0)
.L802408D4:
/* 998844 802408D4 8FBF0018 */ lw $ra, 0x18($sp)
/* 998848 802408D8 8FB10014 */ lw $s1, 0x14($sp)
/* 99884C 802408DC 8FB00010 */ lw $s0, 0x10($sp)
/* 998850 802408E0 03E00008 */ jr $ra
/* 998854 802408E4 27BD0020 */ addiu $sp, $sp, 0x20
/* 998858 802408E8 00000000 */ nop
/* 99885C 802408EC 00000000 */ nop

View File

@ -6,8 +6,8 @@ glabel func_8024228C_91193C
/* 911940 80242290 3C05FE36 */ lui $a1, 0xfe36
/* 911944 80242294 AFBF0010 */ sw $ra, 0x10($sp)
/* 911948 80242298 8C820148 */ lw $v0, 0x148($a0)
/* 91194C 8024229C 3C06800B */ lui $a2, 0x800b
/* 911950 802422A0 8CC60F9C */ lw $a2, 0xf9c($a2)
/* 91194C 8024229C 3C06800B */ lui $a2, %hi(gCurrentEncounter+0x8C)
/* 911950 802422A0 8CC60F9C */ lw $a2, %lo(gCurrentEncounter+0x8C)($a2)
/* 911954 802422A4 34A53C80 */ ori $a1, $a1, 0x3c80
/* 911958 802422A8 00C23026 */ xor $a2, $a2, $v0
/* 91195C 802422AC 0C0B2026 */ jal set_variable

View File

@ -1,26 +0,0 @@
.set noat # allow manual use of $at
.set noreorder # don't insert nops after branches
glabel func_80240268_918E18
/* 918E18 80240268 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 918E1C 8024026C AFB00010 */ sw $s0, 0x10($sp)
/* 918E20 80240270 0080802D */ daddu $s0, $a0, $zero
/* 918E24 80240274 AFBF0014 */ sw $ra, 0x14($sp)
/* 918E28 80240278 8E02000C */ lw $v0, 0xc($s0)
/* 918E2C 8024027C 0C0B1EAF */ jal get_variable
/* 918E30 80240280 8C450000 */ lw $a1, ($v0)
/* 918E34 80240284 00021140 */ sll $v0, $v0, 5
/* 918E38 80240288 AE000084 */ sw $zero, 0x84($s0)
/* 918E3C 8024028C 3C018008 */ lui $at, 0x8008
/* 918E40 80240290 00220821 */ addu $at, $at, $v0
/* 918E44 80240294 942278F8 */ lhu $v0, 0x78f8($at)
/* 918E48 80240298 30420040 */ andi $v0, $v0, 0x40
/* 918E4C 8024029C 10400002 */ beqz $v0, .L802402A8
/* 918E50 802402A0 24020001 */ addiu $v0, $zero, 1
/* 918E54 802402A4 AE020084 */ sw $v0, 0x84($s0)
.L802402A8:
/* 918E58 802402A8 8FBF0014 */ lw $ra, 0x14($sp)
/* 918E5C 802402AC 8FB00010 */ lw $s0, 0x10($sp)
/* 918E60 802402B0 24020002 */ addiu $v0, $zero, 2
/* 918E64 802402B4 03E00008 */ jr $ra
/* 918E68 802402B8 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_802405B8_B44D28
/* B44D28 802405B8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B44D2C 802405BC AFB00010 */ sw $s0, 0x10($sp)
/* B44D30 802405C0 0080802D */ daddu $s0, $a0, $zero
/* B44D34 802405C4 AFBF0014 */ sw $ra, 0x14($sp)
/* B44D38 802405C8 8E02000C */ lw $v0, 0xc($s0)
/* B44D3C 802405CC 0C0B1EAF */ jal get_variable
/* B44D40 802405D0 8C450000 */ lw $a1, ($v0)
/* B44D44 802405D4 00021140 */ sll $v0, $v0, 5
/* B44D48 802405D8 AE000084 */ sw $zero, 0x84($s0)
/* B44D4C 802405DC 3C018008 */ lui $at, 0x8008
/* B44D50 802405E0 00220821 */ addu $at, $at, $v0
/* B44D54 802405E4 942278F8 */ lhu $v0, 0x78f8($at)
/* B44D58 802405E8 30420040 */ andi $v0, $v0, 0x40
/* B44D5C 802405EC 10400002 */ beqz $v0, .L802405F8
/* B44D60 802405F0 24020001 */ addiu $v0, $zero, 1
/* B44D64 802405F4 AE020084 */ sw $v0, 0x84($s0)
.L802405F8:
/* B44D68 802405F8 8FBF0014 */ lw $ra, 0x14($sp)
/* B44D6C 802405FC 8FB00010 */ lw $s0, 0x10($sp)
/* B44D70 80240600 24020002 */ addiu $v0, $zero, 2
/* B44D74 80240604 03E00008 */ jr $ra
/* B44D78 80240608 27BD0018 */ addiu $sp, $sp, 0x18
/* B44D7C 8024060C 00000000 */ nop

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