Merge branch 'master' of https://github.com/ethteck/papermario into code_102610_funcs

This commit is contained in:
dark-samus 2020-11-02 13:15:27 -05:00
commit bf34fb3706
148 changed files with 3496 additions and 2562 deletions

View File

@ -99,7 +99,7 @@ submodules:
split:
rm -rf bin img
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS rgba16 rgba32 ia4 ia8 ia16 i4 i8 ci4 ci8
$(SPLAT) --modes ld bin Yay0 PaperMarioMapFS img
split-%:
$(SPLAT) --modes ld $*
@ -132,12 +132,12 @@ $(BUILD_DIR)/%.Yay0.o: $(BUILD_DIR)/%.bin.Yay0
# Compile C files
$(BUILD_DIR)/%.c.o: %.c $(MDEPS)
@mkdir -p $(shell dirname $@)
$(CPP) $(CPPFLAGS) -o - $< $(CPPMFLAGS) | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
$(CPP) $(CPPFLAGS) -o - $(CPPMFLAGS) $< | iconv --from UTF-8 --to SHIFT-JIS | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
# Compile C files (with DSL macros)
$(foreach cfile, $(DSL_C_FILES), $(BUILD_DIR)/$(cfile).o): $(BUILD_DIR)/%.c.o: %.c $(MDEPS) tools/compile_dsl_macros.py
@mkdir -p $(shell dirname $@)
$(CPP) $(CPPFLAGS) -o - $< $(CPPMFLAGS) | $(PYTHON) tools/compile_dsl_macros.py | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
$(CPP) $(CPPFLAGS) -o - $< $(CPPMFLAGS) | $(PYTHON) tools/compile_dsl_macros.py | iconv --from UTF-8 --to SHIFT-JIS | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
# Assemble handwritten ASM
$(BUILD_DIR)/%.s.o: %.s
@ -156,15 +156,12 @@ $(BUILD_DIR)/%.rgba32.png: %.png
$(BUILD_DIR)/%.ci8.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py ci8 $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.ci8palette.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py ci8palette $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.ci4.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py ci4 $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.ci4palette.png: %.png
$(BUILD_DIR)/%.palette.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py ci4palette $< $@ $(IMG_FLAGS)
$(PYTHON) tools/convert_image.py palette $< $@ $(IMG_FLAGS)
$(BUILD_DIR)/%.ia4.png: %.png
@mkdir -p $(shell dirname $@)
$(PYTHON) tools/convert_image.py ia4 $< $@ $(IMG_FLAGS)

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -245,10 +245,10 @@ glabel spawn_drops
/* 23A10 80048610 4481D000 */ mtc1 $at, $f26
/* 23A14 80048614 3C0142C8 */ lui $at, 0x42c8
/* 23A18 80048618 4481E000 */ mtc1 $at, $f28
/* 23A1C 8004861C 3C028011 */ lui $v0, 0x8011
/* 23A20 80048620 8042F292 */ lb $v0, -0xd6e($v0)
/* 23A24 80048624 3C038011 */ lui $v1, 0x8011
/* 23A28 80048628 8063F293 */ lb $v1, -0xd6d($v1)
/* 23A1C 8004861C 3C028011 */ lui $v0, %hi(gPlayerData+0x2)
/* 23A20 80048620 8042F292 */ lb $v0, %lo(gPlayerData+0x2)($v0)
/* 23A24 80048624 3C038011 */ lui $v1, %hi(gPlayerData+0x3)
/* 23A28 80048628 8063F293 */ lb $v1, %lo(gPlayerData+0x3)($v1)
/* 23A2C 8004862C 24130002 */ addiu $s3, $zero, 2
/* 23A30 80048630 AFA00030 */ sw $zero, 0x30($sp)
/* 23A34 80048634 44821000 */ mtc1 $v0, $f2
@ -431,10 +431,10 @@ glabel spawn_drops
/* 23CC0 800488C0 4481D000 */ mtc1 $at, $f26
/* 23CC4 800488C4 3C0142C8 */ lui $at, 0x42c8
/* 23CC8 800488C8 4481E000 */ mtc1 $at, $f28
/* 23CCC 800488CC 3C028011 */ lui $v0, 0x8011
/* 23CD0 800488D0 8042F295 */ lb $v0, -0xd6b($v0)
/* 23CD4 800488D4 3C038011 */ lui $v1, 0x8011
/* 23CD8 800488D8 8063F296 */ lb $v1, -0xd6a($v1)
/* 23CCC 800488CC 3C028011 */ lui $v0, %hi(gPlayerData+0x5)
/* 23CD0 800488D0 8042F295 */ lb $v0, %lo(gPlayerData+0x5)($v0)
/* 23CD4 800488D4 3C038011 */ lui $v1, %hi(gPlayerData+0x6)
/* 23CD8 800488D8 8063F296 */ lb $v1, %lo(gPlayerData+0x6)($v1)
/* 23CDC 800488DC 24130002 */ addiu $s3, $zero, 2
/* 23CE0 800488E0 AFA00030 */ sw $zero, 0x30($sp)
/* 23CE4 800488E4 44821000 */ mtc1 $v0, $f2

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -9,8 +9,8 @@ glabel get_map_IDs_by_name
/* 36008 8005AC08 00A0B02D */ daddu $s6, $a1, $zero
/* 3600C 8005AC0C AFB7002C */ sw $s7, 0x2c($sp)
/* 36010 8005AC10 00C0B82D */ daddu $s7, $a2, $zero
/* 36014 8005AC14 3C028009 */ lui $v0, 0x8009
/* 36018 8005AC18 244234F0 */ addiu $v0, $v0, 0x34f0
/* 36014 8005AC14 3C028009 */ lui $v0, %hi(gAreas)
/* 36018 8005AC18 244234F0 */ addiu $v0, $v0, %lo(gAreas)
/* 3601C 8005AC1C AFBF0030 */ sw $ra, 0x30($sp)
/* 36020 8005AC20 AFB40020 */ sw $s4, 0x20($sp)
/* 36024 8005AC24 AFB3001C */ sw $s3, 0x1c($sp)
@ -26,8 +26,8 @@ glabel get_map_IDs_by_name
/* 36048 8005AC48 8C420000 */ lw $v0, ($v0)
/* 3604C 8005AC4C 18400012 */ blez $v0, .L8005AC98
/* 36050 8005AC50 0000802D */ daddu $s0, $zero, $zero
/* 36054 8005AC54 3C028009 */ lui $v0, 0x8009
/* 36058 8005AC58 244234F0 */ addiu $v0, $v0, 0x34f0
/* 36054 8005AC54 3C028009 */ lui $v0, %hi(gAreas)
/* 36058 8005AC58 244234F0 */ addiu $v0, $v0, %lo(gAreas)
/* 3605C 8005AC5C 02429821 */ addu $s3, $s2, $v0
/* 36060 8005AC60 0080882D */ daddu $s1, $a0, $zero
.L8005AC64:
@ -50,8 +50,8 @@ glabel get_map_IDs_by_name
/* 3609C 8005AC9C 3C048009 */ lui $a0, 0x8009
/* 360A0 8005ACA0 00922021 */ addu $a0, $a0, $s2
/* 360A4 8005ACA4 8C8434F4 */ lw $a0, 0x34f4($a0)
/* 360A8 8005ACA8 3C028009 */ lui $v0, 0x8009
/* 360AC 8005ACAC 244234F0 */ addiu $v0, $v0, 0x34f0
/* 360A8 8005ACA8 3C028009 */ lui $v0, %hi(gAreas)
/* 360AC 8005ACAC 244234F0 */ addiu $v0, $v0, %lo(gAreas)
/* 360B0 8005ACB0 1480FFE4 */ bnez $a0, .L8005AC44
/* 360B4 8005ACB4 26940001 */ addiu $s4, $s4, 1
.L8005ACB8:

View File

@ -99,7 +99,7 @@ glabel load_map_by_IDs
/* 35C60 8005A860 0C01BB50 */ jal strcpy
/* 35C64 8005A864 00000000 */ nop
.L8005A868:
/* 35C68 8005A868 0C0169B0 */ jal load_map_script_lib
/* 35C68 8005A868 0C0169B0 */ jal load_world_script_api
/* 35C6C 8005A86C 00000000 */ nop
/* 35C70 8005A870 8E440008 */ lw $a0, 8($s2)
/* 35C74 8005A874 10800004 */ beqz $a0, .L8005A888

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel TeleportPartnerToPlayer
/* 7E46FC 8028387C 3C028011 */ lui $v0, 0x8011
/* 7E4700 80283880 8042F2A2 */ lb $v0, -0xd5e($v0)
/* 7E46FC 8028387C 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* 7E4700 80283880 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* 7E4704 80283884 27BDFFE0 */ addiu $sp, $sp, -0x20
/* 7E4708 80283888 AFB10014 */ sw $s1, 0x14($sp)
/* 7E470C 8028388C 3C118011 */ lui $s1, %hi(gPlayerStatus)

View File

@ -38,8 +38,8 @@ glabel func_80283908
/* 7E480C 8028398C 00431021 */ addu $v0, $v0, $v1
/* 7E4810 80283990 000210C0 */ sll $v0, $v0, 3
/* 7E4814 80283994 E6000030 */ swc1 $f0, 0x30($s0)
/* 7E4818 80283998 3C038011 */ lui $v1, 0x8011
/* 7E481C 8028399C 8063F2A2 */ lb $v1, -0xd5e($v1)
/* 7E4818 80283998 3C038011 */ lui $v1, %hi(gPlayerData+0x12)
/* 7E481C 8028399C 8063F2A2 */ lb $v1, %lo(gPlayerData+0x12)($v1)
/* 7E4820 802839A0 10600022 */ beqz $v1, .L80283A2C
/* 7E4824 802839A4 00449021 */ addu $s2, $v0, $a0
/* 7E4828 802839A8 0C00EABB */ jal get_npc_unsafe

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -25,8 +25,8 @@ glabel func_8014AC94
/* E13E0 8014ACE0 54400001 */ bnel $v0, $zero, .L8014ACE8
/* E13E4 8014ACE4 0060202D */ daddu $a0, $v1, $zero
.L8014ACE8:
/* E13E8 8014ACE8 3C058016 */ lui $a1, 0x8016
/* E13EC 8014ACEC 24A59AE6 */ addiu $a1, $a1, -0x651a
/* E13E8 8014ACE8 3C058016 */ lui $a1, %hi(gMusicCurrentVolume)
/* E13EC 8014ACEC 24A59AE6 */ addiu $a1, $a1, %lo(gMusicCurrentVolume)
/* E13F0 8014ACF0 00041400 */ sll $v0, $a0, 0x10
/* E13F4 8014ACF4 00022403 */ sra $a0, $v0, 0x10
/* E13F8 8014ACF8 84A20000 */ lh $v0, ($a1)
@ -38,8 +38,8 @@ glabel func_8014AC94
/* E1410 8014AD10 2462FFFF */ addiu $v0, $v1, -1
.L8014AD14:
/* E1414 8014AD14 A4A20000 */ sh $v0, ($a1)
/* E1418 8014AD18 3C048016 */ lui $a0, 0x8016
/* E141C 8014AD1C 84849AE6 */ lh $a0, -0x651a($a0)
/* E1418 8014AD18 3C048016 */ lui $a0, %hi(gMusicCurrentVolume)
/* E141C 8014AD1C 84849AE6 */ lh $a0, %lo(gMusicCurrentVolume)($a0)
/* E1420 8014AD20 0C015869 */ jal func_800561A4
/* E1424 8014AD24 00000000 */ nop
/* E1428 8014AD28 24020003 */ addiu $v0, $zero, 3

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,20 @@
.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

@ -0,0 +1,37 @@
.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

@ -0,0 +1,67 @@
.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

@ -0,0 +1,69 @@
.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

@ -0,0 +1,69 @@
.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

@ -0,0 +1,15 @@
.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

@ -0,0 +1,27 @@
.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

@ -12,8 +12,8 @@ glabel func_80240120_CAEE60
/* CAEE7C 8024013C AFB50024 */ sw $s5, 0x24($sp)
/* CAEE80 80240140 0200A82D */ daddu $s5, $s0, $zero
/* CAEE84 80240144 AFB10014 */ sw $s1, 0x14($sp)
/* CAEE88 80240148 3C118011 */ lui $s1, 0x8011
/* CAEE8C 8024014C 2631F298 */ addiu $s1, $s1, -0xd68
/* CAEE88 80240148 3C118011 */ lui $s1, %hi(gPlayerData+0x8)
/* CAEE8C 8024014C 2631F298 */ addiu $s1, $s1, %lo(gPlayerData+0x8)
/* CAEE90 80240150 AFBF0028 */ sw $ra, 0x28($sp)
/* CAEE94 80240154 AFB20018 */ sw $s2, 0x18($sp)
/* CAEE98 80240158 8E6200B4 */ lw $v0, 0xb4($s3)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80240448_CAF188
/* CAF188 80240448 3C028011 */ lui $v0, 0x8011
/* CAF18C 8024044C 8042F2A2 */ lb $v0, -0xd5e($v0)
/* CAF188 80240448 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* CAF18C 8024044C 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* CAF190 80240450 27BDFFE8 */ addiu $sp, $sp, -0x18
/* CAF194 80240454 AFBF0010 */ sw $ra, 0x10($sp)
/* CAF198 80240458 00021100 */ sll $v0, $v0, 4

View File

@ -3,8 +3,8 @@
glabel func_802403D4_CCB6E4
/* CCB6E4 802403D4 27BDFFE8 */ addiu $sp, $sp, -0x18
/* CCB6E8 802403D8 3C028011 */ lui $v0, 0x8011
/* CCB6EC 802403DC 8042F2A2 */ lb $v0, -0xd5e($v0)
/* CCB6E8 802403D8 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* CCB6EC 802403DC 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* CCB6F0 802403E0 0080182D */ daddu $v1, $a0, $zero
/* CCB6F4 802403E4 1040000C */ beqz $v0, .L80240418
/* CCB6F8 802403E8 AFBF0010 */ sw $ra, 0x10($sp)

View File

@ -12,8 +12,8 @@ glabel func_80240200_CD2030
/* CD204C 8024021C AFB50024 */ sw $s5, 0x24($sp)
/* CD2050 80240220 0200A82D */ daddu $s5, $s0, $zero
/* CD2054 80240224 AFB10014 */ sw $s1, 0x14($sp)
/* CD2058 80240228 3C118011 */ lui $s1, 0x8011
/* CD205C 8024022C 2631F298 */ addiu $s1, $s1, -0xd68
/* CD2058 80240228 3C118011 */ lui $s1, %hi(gPlayerData+0x8)
/* CD205C 8024022C 2631F298 */ addiu $s1, $s1, %lo(gPlayerData+0x8)
/* CD2060 80240230 AFBF0028 */ sw $ra, 0x28($sp)
/* CD2064 80240234 AFB20018 */ sw $s2, 0x18($sp)
/* CD2068 80240238 8E6200B4 */ lw $v0, 0xb4($s3)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80240528_CD2358
/* CD2358 80240528 3C028011 */ lui $v0, 0x8011
/* CD235C 8024052C 8042F2A2 */ lb $v0, -0xd5e($v0)
/* CD2358 80240528 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* CD235C 8024052C 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* CD2360 80240530 27BDFFE8 */ addiu $sp, $sp, -0x18
/* CD2364 80240534 AFBF0010 */ sw $ra, 0x10($sp)
/* CD2368 80240538 00021100 */ sll $v0, $v0, 4

View File

@ -8,8 +8,8 @@ glabel func_802407C0_A0C4B0
/* A0C4BC 802407CC 0C0B1EAF */ jal get_variable
/* A0C4C0 802407D0 8C450000 */ lw $a1, ($v0)
/* A0C4C4 802407D4 8FBF0010 */ lw $ra, 0x10($sp)
/* A0C4C8 802407D8 3C018011 */ lui $at, 0x8011
/* A0C4CC 802407DC A022F2A2 */ sb $v0, -0xd5e($at)
/* A0C4C8 802407D8 3C018011 */ lui $at, %hi(gPlayerData+0x12)
/* A0C4CC 802407DC A022F2A2 */ sb $v0, %lo(gPlayerData+0x12)($at)
/* A0C4D0 802407E0 24020002 */ addiu $v0, $zero, 2
/* A0C4D4 802407E4 03E00008 */ jr $ra
/* A0C4D8 802407E8 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -3,7 +3,7 @@
glabel func_80240908_A0C5F8
/* A0C5F8 80240908 24020001 */ addiu $v0, $zero, 1
/* A0C5FC 8024090C 3C018011 */ lui $at, 0x8011
/* A0C600 80240910 A022F29A */ sb $v0, -0xd66($at)
/* A0C5FC 8024090C 3C018011 */ lui $at, %hi(gPlayerData+0xA)
/* A0C600 80240910 A022F29A */ sb $v0, %lo(gPlayerData+0xA)($at)
/* A0C604 80240914 03E00008 */ jr $ra
/* A0C608 80240918 24020002 */ addiu $v0, $zero, 2

View File

@ -5,8 +5,8 @@ glabel func_80240A68_A39F48
/* A39F48 80240A68 27BDFFE8 */ addiu $sp, $sp, -0x18
/* A39F4C 80240A6C AFBF0010 */ sw $ra, 0x10($sp)
/* A39F50 80240A70 8C82000C */ lw $v0, 0xc($a0)
/* A39F54 80240A74 3C068011 */ lui $a2, 0x8011
/* A39F58 80240A78 90C6F29F */ lbu $a2, -0xd61($a2)
/* A39F54 80240A74 3C068011 */ lui $a2, %hi(gPlayerData+0xF)
/* A39F58 80240A78 90C6F29F */ lbu $a2, %lo(gPlayerData+0xF)($a2)
/* A39F5C 80240A7C 0C0B2026 */ jal set_variable
/* A39F60 80240A80 8C450000 */ lw $a1, ($v0)
/* A39F64 80240A84 8FBF0010 */ lw $ra, 0x10($sp)

View File

@ -11,8 +11,8 @@ glabel func_802417EC_A3ACCC
/* A3ACE4 80241804 8E050000 */ lw $a1, ($s0)
/* A3ACE8 80241808 0C0B1EAF */ jal get_variable
/* A3ACEC 8024180C 26100004 */ addiu $s0, $s0, 4
/* A3ACF0 80241810 3C038011 */ lui $v1, 0x8011
/* A3ACF4 80241814 8463F29C */ lh $v1, -0xd64($v1)
/* A3ACF0 80241810 3C038011 */ lui $v1, %hi(gPlayerData+0xC)
/* A3ACF4 80241814 8463F29C */ lh $v1, %lo(gPlayerData+0xC)($v1)
/* A3ACF8 80241818 3C018024 */ lui $at, 0x8024
/* A3ACFC 8024181C 00220821 */ addu $at, $at, $v0
/* A3AD00 80241820 902247D0 */ lbu $v0, 0x47d0($at)

View File

@ -2,7 +2,7 @@
.set noreorder # don't insert nops after branches
glabel func_80240BEC_A4032C
/* A4032C 80240BEC 3C018011 */ lui $at, 0x8011
/* A40330 80240BF0 A020F2A2 */ sb $zero, -0xd5e($at)
/* A4032C 80240BEC 3C018011 */ lui $at, %hi(gPlayerData+0x12)
/* A40330 80240BF0 A020F2A2 */ sb $zero, %lo(gPlayerData+0x12)($at)
/* A40334 80240BF4 03E00008 */ jr $ra
/* A40338 80240BF8 24020002 */ addiu $v0, $zero, 2

View File

@ -12,8 +12,8 @@ glabel func_80240120_988C80
/* 988C9C 8024013C AFB50024 */ sw $s5, 0x24($sp)
/* 988CA0 80240140 0200A82D */ daddu $s5, $s0, $zero
/* 988CA4 80240144 AFB10014 */ sw $s1, 0x14($sp)
/* 988CA8 80240148 3C118011 */ lui $s1, 0x8011
/* 988CAC 8024014C 2631F298 */ addiu $s1, $s1, -0xd68
/* 988CA8 80240148 3C118011 */ lui $s1, %hi(gPlayerData+0x8)
/* 988CAC 8024014C 2631F298 */ addiu $s1, $s1, %lo(gPlayerData+0x8)
/* 988CB0 80240150 AFBF0028 */ sw $ra, 0x28($sp)
/* 988CB4 80240154 AFB20018 */ sw $s2, 0x18($sp)
/* 988CB8 80240158 8E6200B4 */ lw $v0, 0xb4($s3)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80240448_988FA8
/* 988FA8 80240448 3C028011 */ lui $v0, 0x8011
/* 988FAC 8024044C 8042F2A2 */ lb $v0, -0xd5e($v0)
/* 988FA8 80240448 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* 988FAC 8024044C 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* 988FB0 80240450 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 988FB4 80240454 AFBF0010 */ sw $ra, 0x10($sp)
/* 988FB8 80240458 00021100 */ sll $v0, $v0, 4

View File

@ -3,8 +3,8 @@
glabel func_80240D38_989898
/* 989898 80240D38 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 98989C 80240D3C 3C028011 */ lui $v0, 0x8011
/* 9898A0 80240D40 8442EFE0 */ lh $v0, -0x1020($v0)
/* 98989C 80240D3C 3C028011 */ lui $v0, %hi(gPlayerStatus+0x18)
/* 9898A0 80240D40 8442EFE0 */ lh $v0, %lo(gPlayerStatus+0x18)($v0)
/* 9898A4 80240D44 3C018024 */ lui $at, 0x8024
/* 9898A8 80240D48 D4201EA0 */ ldc1 $f0, 0x1ea0($at)
/* 9898AC 80240D4C 2406FFFF */ addiu $a2, $zero, -1

View File

@ -3,8 +3,8 @@
glabel func_802402BC_918E6C
/* 918E6C 802402BC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 918E70 802402C0 3C028011 */ lui $v0, 0x8011
/* 918E74 802402C4 8442EFE0 */ lh $v0, -0x1020($v0)
/* 918E70 802402C0 3C028011 */ lui $v0, %hi(gPlayerStatus+0x18)
/* 918E74 802402C4 8442EFE0 */ lh $v0, %lo(gPlayerStatus+0x18)($v0)
/* 918E78 802402C8 3C014069 */ lui $at, 0x4069
/* 918E7C 802402CC 44810800 */ mtc1 $at, $f1
/* 918E80 802402D0 44800000 */ mtc1 $zero, $f0

View File

@ -3,8 +3,8 @@
glabel func_80240000_91B8E0
/* 91B8E0 80240000 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 91B8E4 80240004 3C028011 */ lui $v0, 0x8011
/* 91B8E8 80240008 8442EFE0 */ lh $v0, -0x1020($v0)
/* 91B8E4 80240004 3C028011 */ lui $v0, %hi(gPlayerStatus+0x18)
/* 91B8E8 80240008 8442EFE0 */ lh $v0, %lo(gPlayerStatus+0x18)($v0)
/* 91B8EC 8024000C 3C01C059 */ lui $at, 0xc059
/* 91B8F0 80240010 44810800 */ mtc1 $at, $f1
/* 91B8F4 80240014 44800000 */ mtc1 $zero, $f0

View File

@ -12,8 +12,8 @@ glabel func_80240410_91E980
/* 91E99C 8024042C AFB50024 */ sw $s5, 0x24($sp)
/* 91E9A0 80240430 0200A82D */ daddu $s5, $s0, $zero
/* 91E9A4 80240434 AFB10014 */ sw $s1, 0x14($sp)
/* 91E9A8 80240438 3C118011 */ lui $s1, 0x8011
/* 91E9AC 8024043C 2631F298 */ addiu $s1, $s1, -0xd68
/* 91E9A8 80240438 3C118011 */ lui $s1, %hi(gPlayerData+0x8)
/* 91E9AC 8024043C 2631F298 */ addiu $s1, $s1, %lo(gPlayerData+0x8)
/* 91E9B0 80240440 AFBF0028 */ sw $ra, 0x28($sp)
/* 91E9B4 80240444 AFB20018 */ sw $s2, 0x18($sp)
/* 91E9B8 80240448 8E6200B4 */ lw $v0, 0xb4($s3)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80240738_91ECA8
/* 91ECA8 80240738 3C028011 */ lui $v0, 0x8011
/* 91ECAC 8024073C 8042F2A2 */ lb $v0, -0xd5e($v0)
/* 91ECA8 80240738 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* 91ECAC 8024073C 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* 91ECB0 80240740 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 91ECB4 80240744 AFBF0010 */ sw $ra, 0x10($sp)
/* 91ECB8 80240748 00021100 */ sll $v0, $v0, 4

View File

@ -12,8 +12,8 @@ glabel func_80240780_B5EA30
/* B5EA4C 8024079C AFB50024 */ sw $s5, 0x24($sp)
/* B5EA50 802407A0 0200A82D */ daddu $s5, $s0, $zero
/* B5EA54 802407A4 AFB10014 */ sw $s1, 0x14($sp)
/* B5EA58 802407A8 3C118011 */ lui $s1, 0x8011
/* B5EA5C 802407AC 2631F298 */ addiu $s1, $s1, -0xd68
/* B5EA58 802407A8 3C118011 */ lui $s1, %hi(gPlayerData+0x8)
/* B5EA5C 802407AC 2631F298 */ addiu $s1, $s1, %lo(gPlayerData+0x8)
/* B5EA60 802407B0 AFBF0028 */ sw $ra, 0x28($sp)
/* B5EA64 802407B4 AFB20018 */ sw $s2, 0x18($sp)
/* B5EA68 802407B8 8E6200B4 */ lw $v0, 0xb4($s3)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80240AA8_B5ED58
/* B5ED58 80240AA8 3C028011 */ lui $v0, 0x8011
/* B5ED5C 80240AAC 8042F2A2 */ lb $v0, -0xd5e($v0)
/* B5ED58 80240AA8 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* B5ED5C 80240AAC 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* B5ED60 80240AB0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B5ED64 80240AB4 AFBF0010 */ sw $ra, 0x10($sp)
/* B5ED68 80240AB8 00021100 */ sll $v0, $v0, 4

View File

@ -11,8 +11,8 @@ glabel func_80240034_ACAB54
/* ACAB6C 8024004C 4600008D */ trunc.w.s $f2, $f0
/* ACAB70 80240050 44021000 */ mfc1 $v0, $f2
/* ACAB74 80240054 00000000 */ nop
/* ACAB78 80240058 3C018011 */ lui $at, 0x8011
/* ACAB7C 8024005C A022EFD5 */ sb $v0, -0x102b($at)
/* ACAB78 80240058 3C018011 */ lui $at, %hi(gPlayerStatus+0xD)
/* ACAB7C 8024005C A022EFD5 */ sb $v0, %lo(gPlayerStatus+0xD)($at)
/* ACAB80 80240060 24020002 */ addiu $v0, $zero, 2
/* ACAB84 80240064 03E00008 */ jr $ra
/* ACAB88 80240068 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -5,8 +5,8 @@ glabel func_80240F18_ACBA38
/* ACBA38 80240F18 27BDFFE8 */ addiu $sp, $sp, -0x18
/* ACBA3C 80240F1C AFBF0010 */ sw $ra, 0x10($sp)
/* ACBA40 80240F20 8C82000C */ lw $v0, 0xc($a0)
/* ACBA44 80240F24 3C068011 */ lui $a2, 0x8011
/* ACBA48 80240F28 80C6EFD4 */ lb $a2, -0x102c($a2)
/* ACBA44 80240F24 3C068011 */ lui $a2, %hi(gPlayerStatus+0xC)
/* ACBA48 80240F28 80C6EFD4 */ lb $a2, %lo(gPlayerStatus+0xC)($a2)
/* ACBA4C 80240F2C 0C0B2026 */ jal set_variable
/* ACBA50 80240F30 8C450000 */ lw $a1, ($v0)
/* ACBA54 80240F34 8FBF0010 */ lw $ra, 0x10($sp)

View File

@ -11,8 +11,8 @@ glabel func_80240034_ACE174
/* ACE18C 8024004C 4600008D */ trunc.w.s $f2, $f0
/* ACE190 80240050 44021000 */ mfc1 $v0, $f2
/* ACE194 80240054 00000000 */ nop
/* ACE198 80240058 3C018011 */ lui $at, 0x8011
/* ACE19C 8024005C A022EFD5 */ sb $v0, -0x102b($at)
/* ACE198 80240058 3C018011 */ lui $at, %hi(gPlayerStatus+0xD)
/* ACE19C 8024005C A022EFD5 */ sb $v0, %lo(gPlayerStatus+0xD)($at)
/* ACE1A0 80240060 24020002 */ addiu $v0, $zero, 2
/* ACE1A4 80240064 03E00008 */ jr $ra
/* ACE1A8 80240068 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -5,8 +5,8 @@ glabel func_80240F18_ACF058
/* ACF058 80240F18 27BDFFE8 */ addiu $sp, $sp, -0x18
/* ACF05C 80240F1C AFBF0010 */ sw $ra, 0x10($sp)
/* ACF060 80240F20 8C82000C */ lw $v0, 0xc($a0)
/* ACF064 80240F24 3C068011 */ lui $a2, 0x8011
/* ACF068 80240F28 80C6EFD4 */ lb $a2, -0x102c($a2)
/* ACF064 80240F24 3C068011 */ lui $a2, %hi(gPlayerStatus+0xC)
/* ACF068 80240F28 80C6EFD4 */ lb $a2, %lo(gPlayerStatus+0xC)($a2)
/* ACF06C 80240F2C 0C0B2026 */ jal set_variable
/* ACF070 80240F30 8C450000 */ lw $a1, ($v0)
/* ACF074 80240F34 8FBF0010 */ lw $ra, 0x10($sp)

View File

@ -11,8 +11,8 @@ glabel func_80240034_AD40C4
/* AD40DC 8024004C 4600008D */ trunc.w.s $f2, $f0
/* AD40E0 80240050 44021000 */ mfc1 $v0, $f2
/* AD40E4 80240054 00000000 */ nop
/* AD40E8 80240058 3C018011 */ lui $at, 0x8011
/* AD40EC 8024005C A022EFD5 */ sb $v0, -0x102b($at)
/* AD40E8 80240058 3C018011 */ lui $at, %hi(gPlayerStatus+0xD)
/* AD40EC 8024005C A022EFD5 */ sb $v0, %lo(gPlayerStatus+0xD)($at)
/* AD40F0 80240060 24020002 */ addiu $v0, $zero, 2
/* AD40F4 80240064 03E00008 */ jr $ra
/* AD40F8 80240068 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -5,8 +5,8 @@ glabel func_802406E8_AD4778
/* AD4778 802406E8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* AD477C 802406EC AFBF0010 */ sw $ra, 0x10($sp)
/* AD4780 802406F0 8C82000C */ lw $v0, 0xc($a0)
/* AD4784 802406F4 3C068011 */ lui $a2, 0x8011
/* AD4788 802406F8 80C6EFD4 */ lb $a2, -0x102c($a2)
/* AD4784 802406F4 3C068011 */ lui $a2, %hi(gPlayerStatus+0xC)
/* AD4788 802406F8 80C6EFD4 */ lb $a2, %lo(gPlayerStatus+0xC)($a2)
/* AD478C 802406FC 0C0B2026 */ jal set_variable
/* AD4790 80240700 8C450000 */ lw $a1, ($v0)
/* AD4794 80240704 8FBF0010 */ lw $ra, 0x10($sp)

View File

@ -8,7 +8,7 @@ glabel func_8024035C_ADB1FC
/* ADB208 80240368 306300FE */ andi $v1, $v1, 0xfe
/* ADB20C 8024036C A043007E */ sb $v1, 0x7e($v0)
/* ADB210 80240370 90820087 */ lbu $v0, 0x87($a0)
/* ADB214 80240374 3C018011 */ lui $at, 0x8011
/* ADB218 80240378 A022F2A2 */ sb $v0, -0xd5e($at)
/* ADB214 80240374 3C018011 */ lui $at, %hi(gPlayerData+0x12)
/* ADB218 80240378 A022F2A2 */ sb $v0, %lo(gPlayerData+0x12)($at)
/* ADB21C 8024037C 03E00008 */ jr $ra
/* ADB220 80240380 24020002 */ addiu $v0, $zero, 2

View File

@ -5,8 +5,8 @@ glabel func_802403A0_ADB240
/* ADB240 802403A0 27BDFFE8 */ addiu $sp, $sp, -0x18
/* ADB244 802403A4 AFBF0010 */ sw $ra, 0x10($sp)
/* ADB248 802403A8 8C82000C */ lw $v0, 0xc($a0)
/* ADB24C 802403AC 3C068011 */ lui $a2, 0x8011
/* ADB250 802403B0 80C6EFD4 */ lb $a2, -0x102c($a2)
/* ADB24C 802403AC 3C068011 */ lui $a2, %hi(gPlayerStatus+0xC)
/* ADB250 802403B0 80C6EFD4 */ lb $a2, %lo(gPlayerStatus+0xC)($a2)
/* ADB254 802403B4 0C0B2026 */ jal set_variable
/* ADB258 802403B8 8C450000 */ lw $a1, ($v0)
/* ADB25C 802403BC 8FBF0010 */ lw $ra, 0x10($sp)

View File

@ -8,8 +8,8 @@ glabel func_8024030C_AE589C
/* AE58A8 80240318 306300FE */ andi $v1, $v1, 0xfe
/* AE58AC 8024031C A043007E */ sb $v1, 0x7e($v0)
/* AE58B0 80240320 90820087 */ lbu $v0, 0x87($a0)
/* AE58B4 80240324 3C018011 */ lui $at, 0x8011
/* AE58B8 80240328 A022F2A2 */ sb $v0, -0xd5e($at)
/* AE58B4 80240324 3C018011 */ lui $at, %hi(gPlayerData+0x12)
/* AE58B8 80240328 A022F2A2 */ sb $v0, %lo(gPlayerData+0x12)($at)
/* AE58BC 8024032C 03E00008 */ jr $ra
/* AE58C0 80240330 24020002 */ addiu $v0, $zero, 2
/* AE58C4 80240334 00000000 */ nop

View File

@ -8,7 +8,7 @@ glabel func_80240000_AED410
/* AED41C 8024000C 306300FE */ andi $v1, $v1, 0xfe
/* AED420 80240010 A043007E */ sb $v1, 0x7e($v0)
/* AED424 80240014 90820087 */ lbu $v0, 0x87($a0)
/* AED428 80240018 3C018011 */ lui $at, 0x8011
/* AED42C 8024001C A022F2A2 */ sb $v0, -0xd5e($at)
/* AED428 80240018 3C018011 */ lui $at, %hi(gPlayerData+0x12)
/* AED42C 8024001C A022F2A2 */ sb $v0, %lo(gPlayerData+0x12)($at)
/* AED430 80240020 03E00008 */ jr $ra
/* AED434 80240024 24020002 */ addiu $v0, $zero, 2

View File

@ -11,8 +11,8 @@ glabel func_80240028_AED438
/* AED450 80240040 4600008D */ trunc.w.s $f2, $f0
/* AED454 80240044 44021000 */ mfc1 $v0, $f2
/* AED458 80240048 00000000 */ nop
/* AED45C 8024004C 3C018011 */ lui $at, 0x8011
/* AED460 80240050 A022EFD5 */ sb $v0, -0x102b($at)
/* AED45C 8024004C 3C018011 */ lui $at, %hi(gPlayerStatus+0xD)
/* AED460 80240050 A022EFD5 */ sb $v0, %lo(gPlayerStatus+0xD)($at)
/* AED464 80240054 24020002 */ addiu $v0, $zero, 2
/* AED468 80240058 03E00008 */ jr $ra
/* AED46C 8024005C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -5,8 +5,8 @@ glabel func_80240EC8_AEE2D8
/* AEE2D8 80240EC8 27BDFFE8 */ addiu $sp, $sp, -0x18
/* AEE2DC 80240ECC AFBF0010 */ sw $ra, 0x10($sp)
/* AEE2E0 80240ED0 8C82000C */ lw $v0, 0xc($a0)
/* AEE2E4 80240ED4 3C068011 */ lui $a2, 0x8011
/* AEE2E8 80240ED8 80C6EFD4 */ lb $a2, -0x102c($a2)
/* AEE2E4 80240ED4 3C068011 */ lui $a2, %hi(gPlayerStatus+0xC)
/* AEE2E8 80240ED8 80C6EFD4 */ lb $a2, %lo(gPlayerStatus+0xC)($a2)
/* AEE2EC 80240EDC 0C0B2026 */ jal set_variable
/* AEE2F0 80240EE0 8C450000 */ lw $a1, ($v0)
/* AEE2F4 80240EE4 8FBF0010 */ lw $ra, 0x10($sp)

View File

@ -8,8 +8,8 @@ glabel func_8024030C_AF2FAC
/* AF2FB8 80240318 306300FE */ andi $v1, $v1, 0xfe
/* AF2FBC 8024031C A043007E */ sb $v1, 0x7e($v0)
/* AF2FC0 80240320 90820087 */ lbu $v0, 0x87($a0)
/* AF2FC4 80240324 3C018011 */ lui $at, 0x8011
/* AF2FC8 80240328 A022F2A2 */ sb $v0, -0xd5e($at)
/* AF2FC4 80240324 3C018011 */ lui $at, %hi(gPlayerData+0x12)
/* AF2FC8 80240328 A022F2A2 */ sb $v0, %lo(gPlayerData+0x12)($at)
/* AF2FCC 8024032C 03E00008 */ jr $ra
/* AF2FD0 80240330 24020002 */ addiu $v0, $zero, 2
/* AF2FD4 80240334 00000000 */ nop

View File

@ -12,8 +12,8 @@ glabel func_80240730_AF33D0
/* AF33EC 8024074C 4600008D */ trunc.w.s $f2, $f0
/* AF33F0 80240750 44021000 */ mfc1 $v0, $f2
/* AF33F4 80240754 00000000 */ nop
/* AF33F8 80240758 3C018011 */ lui $at, 0x8011
/* AF33FC 8024075C A022F08C */ sb $v0, -0xf74($at)
/* AF33F8 80240758 3C018011 */ lui $at, %hi(gPlayerStatus+0xC4)
/* AF33FC 8024075C A022F08C */ sb $v0, %lo(gPlayerStatus+0xC4)($at)
/* AF3400 80240760 A0620080 */ sb $v0, 0x80($v1)
/* AF3404 80240764 8FBF0010 */ lw $ra, 0x10($sp)
/* AF3408 80240768 24020002 */ addiu $v0, $zero, 2

View File

@ -10,8 +10,8 @@ glabel func_80240C10_AF8560
/* AF8574 80240C24 3C048007 */ lui $a0, %hi(gGameStatusPtr)
/* AF8578 80240C28 8C84419C */ lw $a0, %lo(gGameStatusPtr)($a0)
/* AF857C 80240C2C 0040182D */ daddu $v1, $v0, $zero
/* AF8580 80240C30 3C018011 */ lui $at, 0x8011
/* AF8584 80240C34 A023F08C */ sb $v1, -0xf74($at)
/* AF8580 80240C30 3C018011 */ lui $at, %hi(gPlayerStatus+0xC4)
/* AF8584 80240C34 A023F08C */ sb $v1, %lo(gPlayerStatus+0xC4)($at)
/* AF8588 80240C38 A0830080 */ sb $v1, 0x80($a0)
/* AF858C 80240C3C 8FBF0010 */ lw $ra, 0x10($sp)
/* AF8590 80240C40 24020002 */ addiu $v0, $zero, 2

View File

@ -5,8 +5,8 @@ glabel func_802405BC_AFE0FC
/* AFE0FC 802405BC 27BDFFE8 */ addiu $sp, $sp, -0x18
/* AFE100 802405C0 AFBF0010 */ sw $ra, 0x10($sp)
/* AFE104 802405C4 8C82000C */ lw $v0, 0xc($a0)
/* AFE108 802405C8 3C068011 */ lui $a2, 0x8011
/* AFE10C 802405CC 80C6EFD4 */ lb $a2, -0x102c($a2)
/* AFE108 802405C8 3C068011 */ lui $a2, %hi(gPlayerStatus+0xC)
/* AFE10C 802405CC 80C6EFD4 */ lb $a2, %lo(gPlayerStatus+0xC)($a2)
/* AFE110 802405D0 0C0B2026 */ jal set_variable
/* AFE114 802405D4 8C450000 */ lw $a1, ($v0)
/* AFE118 802405D8 8FBF0010 */ lw $ra, 0x10($sp)

View File

@ -8,7 +8,7 @@ glabel func_80240020_B028A0
/* B028AC 8024002C 306300FE */ andi $v1, $v1, 0xfe
/* B028B0 80240030 A043007E */ sb $v1, 0x7e($v0)
/* B028B4 80240034 90820087 */ lbu $v0, 0x87($a0)
/* B028B8 80240038 3C018011 */ lui $at, 0x8011
/* B028BC 8024003C A022F2A2 */ sb $v0, -0xd5e($at)
/* B028B8 80240038 3C018011 */ lui $at, %hi(gPlayerData+0x12)
/* B028BC 8024003C A022F2A2 */ sb $v0, %lo(gPlayerData+0x12)($at)
/* B028C0 80240040 03E00008 */ jr $ra
/* B028C4 80240044 24020002 */ addiu $v0, $zero, 2

View File

@ -11,8 +11,8 @@ glabel func_80240048_B028C8
/* B028E0 80240060 4600008D */ trunc.w.s $f2, $f0
/* B028E4 80240064 44021000 */ mfc1 $v0, $f2
/* B028E8 80240068 00000000 */ nop
/* B028EC 8024006C 3C018011 */ lui $at, 0x8011
/* B028F0 80240070 A022EFD5 */ sb $v0, -0x102b($at)
/* B028EC 8024006C 3C018011 */ lui $at, %hi(gPlayerStatus+0xD)
/* B028F0 80240070 A022EFD5 */ sb $v0, %lo(gPlayerStatus+0xD)($at)
/* B028F4 80240074 24020002 */ addiu $v0, $zero, 2
/* B028F8 80240078 03E00008 */ jr $ra
/* B028FC 8024007C 27BD0018 */ addiu $sp, $sp, 0x18

View File

@ -5,8 +5,8 @@ glabel func_80240758_B02FD8
/* B02FD8 80240758 27BDFFE8 */ addiu $sp, $sp, -0x18
/* B02FDC 8024075C AFBF0010 */ sw $ra, 0x10($sp)
/* B02FE0 80240760 8C82000C */ lw $v0, 0xc($a0)
/* B02FE4 80240764 3C068011 */ lui $a2, 0x8011
/* B02FE8 80240768 80C6EFD4 */ lb $a2, -0x102c($a2)
/* B02FE4 80240764 3C068011 */ lui $a2, %hi(gPlayerStatus+0xC)
/* B02FE8 80240768 80C6EFD4 */ lb $a2, %lo(gPlayerStatus+0xC)($a2)
/* B02FEC 8024076C 0C0B2026 */ jal set_variable
/* B02FF0 80240770 8C450000 */ lw $a1, ($v0)
/* B02FF4 80240774 8FBF0010 */ lw $ra, 0x10($sp)

View File

@ -8,8 +8,8 @@ glabel func_80240000_B13120
/* B1312C 8024000C 306300FE */ andi $v1, $v1, 0xfe
/* B13130 80240010 A043007E */ sb $v1, 0x7e($v0)
/* B13134 80240014 90820087 */ lbu $v0, 0x87($a0)
/* B13138 80240018 3C018011 */ lui $at, 0x8011
/* B1313C 8024001C A022F2A2 */ sb $v0, -0xd5e($at)
/* B13138 80240018 3C018011 */ lui $at, %hi(gPlayerData+0x12)
/* B1313C 8024001C A022F2A2 */ sb $v0, %lo(gPlayerData+0x12)($at)
/* B13140 80240020 03E00008 */ jr $ra
/* B13144 80240024 24020002 */ addiu $v0, $zero, 2
/* B13148 80240028 00000000 */ nop

View File

@ -8,8 +8,8 @@ glabel func_80240000_B150B0
/* B150BC 8024000C 306300FE */ andi $v1, $v1, 0xfe
/* B150C0 80240010 A043007E */ sb $v1, 0x7e($v0)
/* B150C4 80240014 90820087 */ lbu $v0, 0x87($a0)
/* B150C8 80240018 3C018011 */ lui $at, 0x8011
/* B150CC 8024001C A022F2A2 */ sb $v0, -0xd5e($at)
/* B150C8 80240018 3C018011 */ lui $at, %hi(gPlayerData+0x12)
/* B150CC 8024001C A022F2A2 */ sb $v0, %lo(gPlayerData+0x12)($at)
/* B150D0 80240020 03E00008 */ jr $ra
/* B150D4 80240024 24020002 */ addiu $v0, $zero, 2
/* B150D8 80240028 00000000 */ nop

View File

@ -4,8 +4,8 @@
glabel func_80242788_8B27F8
/* 8B27F8 80242788 27BDFFE8 */ addiu $sp, $sp, -0x18
/* 8B27FC 8024278C AFBF0010 */ sw $ra, 0x10($sp)
/* 8B2800 80242790 3C018011 */ lui $at, 0x8011
/* 8B2804 80242794 A020F2CC */ sb $zero, -0xd34($at)
/* 8B2800 80242790 3C018011 */ lui $at, %hi(gPlayerData+0x3C)
/* 8B2804 80242794 A020F2CC */ sb $zero, %lo(gPlayerData+0x3C)($at)
/* 8B2808 80242798 0C03ACA9 */ jal func_800EB2A4
/* 8B280C 8024279C 0000202D */ daddu $a0, $zero, $zero
/* 8B2810 802427A0 8FBF0010 */ lw $ra, 0x10($sp)

View File

@ -2,7 +2,7 @@
.set noreorder # don't insert nops after branches
glabel func_80240434_8CAD34
/* 8CAD34 80240434 3C018011 */ lui $at, 0x8011
/* 8CAD38 80240438 A020F291 */ sb $zero, -0xd6f($at)
/* 8CAD34 80240434 3C018011 */ lui $at, %hi(gPlayerData+0x1)
/* 8CAD38 80240438 A020F291 */ sb $zero, %lo(gPlayerData+0x1)($at)
/* 8CAD3C 8024043C 03E00008 */ jr $ra
/* 8CAD40 80240440 24020002 */ addiu $v0, $zero, 2

View File

@ -51,8 +51,8 @@ glabel func_802406C8_8EC4E8
/* 8EC590 80240770 2402FFFF */ addiu $v0, $zero, -1
/* 8EC594 80240774 1602001F */ bne $s0, $v0, .L802407F4
/* 8EC598 80240778 0000202D */ daddu $a0, $zero, $zero
/* 8EC59C 8024077C 3C028011 */ lui $v0, 0x8011
/* 8EC5A0 80240780 9442F552 */ lhu $v0, -0xaae($v0)
/* 8EC59C 8024077C 3C028011 */ lui $v0, %hi(gPlayerData+0x2C2)
/* 8EC5A0 80240780 9442F552 */ lhu $v0, %lo(gPlayerData+0x2C2)($v0)
/* 8EC5A4 80240784 10400021 */ beqz $v0, .L8024080C
/* 8EC5A8 80240788 00000000 */ nop
/* 8EC5AC 8024078C 08090203 */ j .L8024080C

View File

@ -32,8 +32,8 @@ glabel func_8024037C_A54CCC
/* A54D34 802403E4 2442EFC8 */ addiu $v0, $v0, %lo(gPlayerStatus)
/* A54D38 802403E8 E440001C */ swc1 $f0, 0x1c($v0)
.L802403EC:
/* A54D3C 802403EC 3C028011 */ lui $v0, 0x8011
/* A54D40 802403F0 8042F2A2 */ lb $v0, -0xd5e($v0)
/* A54D3C 802403EC 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* A54D40 802403F0 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* A54D44 802403F4 1040000D */ beqz $v0, .L8024042C
/* A54D48 802403F8 00000000 */ nop
/* A54D4C 802403FC 0C00EABB */ jal get_npc_unsafe

View File

@ -32,8 +32,8 @@ glabel func_8024037C_A5629C
/* A56304 802403E4 2442EFC8 */ addiu $v0, $v0, %lo(gPlayerStatus)
/* A56308 802403E8 E440001C */ swc1 $f0, 0x1c($v0)
.L802403EC:
/* A5630C 802403EC 3C028011 */ lui $v0, 0x8011
/* A56310 802403F0 8042F2A2 */ lb $v0, -0xd5e($v0)
/* A5630C 802403EC 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* A56310 802403F0 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* A56314 802403F4 1040000D */ beqz $v0, .L8024042C
/* A56318 802403F8 00000000 */ nop
/* A5631C 802403FC 0C00EABB */ jal get_npc_unsafe

View File

@ -46,8 +46,8 @@ glabel func_8024073C_A57BEC
/* A57C8C 802407DC 46800020 */ cvt.s.w $f0, $f0
/* A57C90 802407E0 E4A0001C */ swc1 $f0, 0x1c($a1)
.L802407E4:
/* A57C94 802407E4 3C028011 */ lui $v0, 0x8011
/* A57C98 802407E8 8042F2A2 */ lb $v0, -0xd5e($v0)
/* A57C94 802407E4 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* A57C98 802407E8 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* A57C9C 802407EC 1040000D */ beqz $v0, .L80240824
/* A57CA0 802407F0 00000000 */ nop
/* A57CA4 802407F4 0C00EABB */ jal get_npc_unsafe

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80240000_A927C0
/* A927C0 80240000 3C028011 */ lui $v0, 0x8011
/* A927C4 80240004 8442F29C */ lh $v0, -0xd64($v0)
/* A927C0 80240000 3C028011 */ lui $v0, %hi(gPlayerData+0xC)
/* A927C4 80240004 8442F29C */ lh $v0, %lo(gPlayerData+0xC)($v0)
/* A927C8 80240008 18400003 */ blez $v0, .L80240018
/* A927CC 8024000C 24020001 */ addiu $v0, $zero, 1
/* A927D0 80240010 08090007 */ j .L8024001C

View File

@ -42,8 +42,8 @@ glabel func_802403DC_C5AB1C
/* C5ABAC 8024046C 2442EFC8 */ addiu $v0, $v0, %lo(gPlayerStatus)
/* C5ABB0 80240470 E440001C */ swc1 $f0, 0x1c($v0)
.L80240474:
/* C5ABB4 80240474 3C028011 */ lui $v0, 0x8011
/* C5ABB8 80240478 8042F2A2 */ lb $v0, -0xd5e($v0)
/* C5ABB4 80240474 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* C5ABB8 80240478 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* C5ABBC 8024047C 1040000E */ beqz $v0, .L802404B8
/* C5ABC0 80240480 00000000 */ nop
/* C5ABC4 80240484 0C00EABB */ jal get_npc_unsafe

View File

@ -3,8 +3,8 @@
glabel func_80242D38_C63A48
/* C63A48 80242D38 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C63A4C 80242D3C 3C028011 */ lui $v0, 0x8011
/* C63A50 80242D40 8442EFE0 */ lh $v0, -0x1020($v0)
/* C63A4C 80242D3C 3C028011 */ lui $v0, %hi(gPlayerStatus+0x18)
/* C63A50 80242D40 8442EFE0 */ lh $v0, %lo(gPlayerStatus+0x18)($v0)
/* C63A54 80242D44 3C014089 */ lui $at, 0x4089
/* C63A58 80242D48 44810800 */ mtc1 $at, $f1
/* C63A5C 80242D4C 44800000 */ mtc1 $zero, $f0

View File

@ -12,8 +12,8 @@ glabel func_80240430_C68560
/* C6857C 8024044C AFB50024 */ sw $s5, 0x24($sp)
/* C68580 80240450 0200A82D */ daddu $s5, $s0, $zero
/* C68584 80240454 AFB10014 */ sw $s1, 0x14($sp)
/* C68588 80240458 3C118011 */ lui $s1, 0x8011
/* C6858C 8024045C 2631F298 */ addiu $s1, $s1, -0xd68
/* C68588 80240458 3C118011 */ lui $s1, %hi(gPlayerData+0x8)
/* C6858C 8024045C 2631F298 */ addiu $s1, $s1, %lo(gPlayerData+0x8)
/* C68590 80240460 AFBF0028 */ sw $ra, 0x28($sp)
/* C68594 80240464 AFB20018 */ sw $s2, 0x18($sp)
/* C68598 80240468 8E6200B4 */ lw $v0, 0xb4($s3)

View File

@ -2,8 +2,8 @@
.set noreorder # don't insert nops after branches
glabel func_80240758_C68888
/* C68888 80240758 3C028011 */ lui $v0, 0x8011
/* C6888C 8024075C 8042F2A2 */ lb $v0, -0xd5e($v0)
/* C68888 80240758 3C028011 */ lui $v0, %hi(gPlayerData+0x12)
/* C6888C 8024075C 8042F2A2 */ lb $v0, %lo(gPlayerData+0x12)($v0)
/* C68890 80240760 27BDFFE8 */ addiu $sp, $sp, -0x18
/* C68894 80240764 AFBF0010 */ sw $ra, 0x10($sp)
/* C68898 80240768 00021100 */ sll $v0, $v0, 4

View File

@ -12,8 +12,8 @@ glabel func_80240120_C76E00
/* C76E1C 8024013C AFB50024 */ sw $s5, 0x24($sp)
/* C76E20 80240140 0200A82D */ daddu $s5, $s0, $zero
/* C76E24 80240144 AFB10014 */ sw $s1, 0x14($sp)
/* C76E28 80240148 3C118011 */ lui $s1, 0x8011
/* C76E2C 8024014C 2631F298 */ addiu $s1, $s1, -0xd68
/* C76E28 80240148 3C118011 */ lui $s1, %hi(gPlayerData+0x8)
/* C76E2C 8024014C 2631F298 */ addiu $s1, $s1, %lo(gPlayerData+0x8)
/* C76E30 80240150 AFBF0028 */ sw $ra, 0x28($sp)
/* C76E34 80240154 AFB20018 */ sw $s2, 0x18($sp)
/* C76E38 80240158 8E6200B4 */ lw $v0, 0xb4($s3)

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