mirror of
https://github.com/pmret/papermario.git
synced 2024-11-09 12:32:38 +01:00
Merge pull request #182 from Brotenko/second-try
Decompiled various functions
This commit is contained in:
commit
e26a4b2491
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/auto_jump_765D10.data.s
Normal file
6
asm/data/battle/move/auto_jump_765D10.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/auto_smash_7635F0.data.s
Normal file
6
asm/data/battle/move/auto_smash_7635F0.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/dizzy_stomp_748EC0.data.s
Normal file
6
asm/data/battle/move/dizzy_stomp_748EC0.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/earthquake_jump_785C20.data.s
Normal file
6
asm/data/battle/move/earthquake_jump_785C20.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/hammer_throw_752500.data.s
Normal file
6
asm/data/battle/move/hammer_throw_752500.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/mega_jump_771020.data.s
Normal file
6
asm/data/battle/move/mega_jump_771020.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/mega_smash_777740.data.s
Normal file
6
asm/data/battle/move/mega_smash_777740.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/multibounce_740DB0.data.s
Normal file
6
asm/data/battle/move/multibounce_740DB0.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/power_jump_76D850.data.s
Normal file
6
asm/data/battle/move/power_jump_76D850.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/power_quake_767D40.data.s
Normal file
6
asm/data/battle/move/power_quake_767D40.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/power_smash_772C50.data.s
Normal file
6
asm/data/battle/move/power_smash_772C50.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/quake_hammer_73AF80.data.s
Normal file
6
asm/data/battle/move/quake_hammer_73AF80.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/shrink_smash_77CC30.data.s
Normal file
6
asm/data/battle/move/shrink_smash_77CC30.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/shrink_stomp_783C90.data.s
Normal file
6
asm/data/battle/move/shrink_stomp_783C90.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/sleep_stomp_746F00.data.s
Normal file
6
asm/data/battle/move/sleep_stomp_746F00.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/super_jump_76F420.data.s
Normal file
6
asm/data/battle/move/super_jump_76F420.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
asm/data/battle/move/super_smash_7751B0.data.s
Normal file
6
asm/data/battle/move/super_smash_7751B0.data.s
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -241,7 +241,7 @@ glabel D_80293B80
|
||||
|
||||
glabel gBattleItemTable
|
||||
# dma start, dma end, dma vaddr, Script*
|
||||
.word 0x007330D0, 0x007345A0, func_802A1000_752450, 0x802A20FC, 0x00715850, 0x00716C60, func_802A1000_752450, 0x802A20CC, 0x00716C60, 0x007179D0, func_802A1000_752450, 0x802A19BC, 0x007179D0, 0x00718850, func_802A1000_752450, 0x802A1B6C, 0x00718850, 0x00719970, func_802A1000_752450, 0x802A195C, 0x00719970, 0x0071A7F0, func_802A1000_752450, 0x802A1B6C, 0x0071A7F0, 0x0071B1A0, func_802A1000_752450, 0x802A183C, 0x0071B1A0, 0x0071BE30, func_802A1000_752450, 0x802A1A5C, 0x0071BE30, 0x0071CCE0, func_802A1000_752450, 0x802A19FC, 0x00715850, 0x00716C60, func_802A1000_752450, 0x802A20CC, 0x0071D770, 0x0071E650, func_802A1000_752450, 0x802A1B0C, 0x0071E650, 0x007215A0, func_802A1000_752450, 0x802A3320, 0x007215A0, 0x00722000, func_802A1000_752450, 0x802A198C, 0x00722000, 0x00722B40, func_802A1000_752450, 0x802A189C, 0x00722B40, 0x00723780, func_802A1000_752450, 0x802A1A5C, 0x00715850, 0x00716C60, func_802A1000_752450, 0x802A20CC, 0x00715850, 0x00716C60, func_802A1000_752450, 0x802A20CC, 0x00724CE0, 0x00725F60, func_802A1000_752450, 0x802A1FFC, 0x00725F60, 0x00726DD0, func_802A1000_752450, 0x802A189C, 0x00726DD0, 0x00727910, func_802A1000_752450, 0x802A191C, 0x00727910, 0x007285E0, func_802A1000_752450, 0x802A198C, 0x007285E0, 0x00728EC0, func_802A1000_752450, 0x802A17FC, 0x00728EC0, 0x0072A750, func_802A1000_752450, 0x802A25A0, 0x0072A750, 0x0072B910, func_802A1000_752450, 0x802A1D4C, 0x0072B910, 0x0072C5B0, func_802A1000_752450, 0x802A191C, 0x0072C5B0, 0x0072DB70, func_802A1000_752450, 0x802A22BC, 0x0072DB70, 0x0072E530, func_802A1000_752450, 0x802A185C, 0x0072E530, 0x0072F720, func_802A1000_752450, 0x802A1FCC, battle_item_coconut_ROM_START, battle_item_coconut_ROM_END, battle_item_coconut_VRAM, battle_item_coconut_main, 0x007305A0, 0x00731300, func_802A1000_752450, 0x802A1AFC, 0x00731300, 0x007330D0, func_802A1000_752450, 0x802A2870, 0x00731300, 0x007330D0, func_802A1000_752450, 0x802A2870, 0x0001001F, 0x00010005, 0x00010002, 0x00090003, 0x00090003, 0x00090001, 0x000A0006, 0x000A0006, 0x000A0004, 0x000B0008, 0x000B0008, 0x000B0004, 0x000C0003, 0x000C0003, 0x000C0001
|
||||
.word 0x007330D0, 0x007345A0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A20FC, 0x00715850, 0x00716C60, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A20CC, 0x00716C60, 0x007179D0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A19BC, 0x007179D0, 0x00718850, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A1B6C, 0x00718850, 0x00719970, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A195C, 0x00719970, 0x0071A7F0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A1B6C, 0x0071A7F0, 0x0071B1A0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A183C, 0x0071B1A0, 0x0071BE30, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A1A5C, 0x0071BE30, 0x0071CCE0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A19FC, 0x00715850, 0x00716C60, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A20CC, 0x0071D770, 0x0071E650, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A1B0C, 0x0071E650, 0x007215A0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A3320, 0x007215A0, 0x00722000, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A198C, 0x00722000, 0x00722B40, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A189C, 0x00722B40, 0x00723780, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A1A5C, 0x00715850, 0x00716C60, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A20CC, 0x00715850, 0x00716C60, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A20CC, 0x00724CE0, 0x00725F60, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A1FFC, 0x00725F60, 0x00726DD0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A189C, 0x00726DD0, 0x00727910, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A191C, 0x00727910, 0x007285E0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A198C, 0x007285E0, 0x00728EC0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A17FC, 0x00728EC0, 0x0072A750, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A25A0, 0x0072A750, 0x0072B910, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A1D4C, 0x0072B910, 0x0072C5B0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A191C, 0x0072C5B0, 0x0072DB70, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A22BC, 0x0072DB70, 0x0072E530, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A185C, 0x0072E530, 0x0072F720, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A1FCC, battle_item_coconut_ROM_START, battle_item_coconut_ROM_END, battle_item_coconut_VRAM, battle_item_coconut_main, 0x007305A0, 0x00731300, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A1AFC, 0x00731300, 0x007330D0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A2870, 0x00731300, 0x007330D0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A2870, 0x0001001F, 0x00010005, 0x00010002, 0x00090003, 0x00090003, 0x00090001, 0x000A0006, 0x000A0006, 0x000A0004, 0x000B0008, 0x000B0008, 0x000B0004, 0x000C0003, 0x000C0003, 0x000C0001
|
||||
|
||||
glabel UseMystery
|
||||
.word 0x00000008, 0x00000001, 0x00000002, 0x00000043, 0x00000001, LoadFreeItemScript, 0x00000046, 0x00000001, 0xFE363C80, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||
@ -374,4 +374,4 @@ glabel DoBlowAway
|
||||
.word 0x00000043, 0x00000003, GetStatusFlags, 0xFFFFFF81, 0xFE363C85, 0x00000011, 0x00000002, 0xFE363C85, 0x0035D000, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000012, 0x00000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000000, 0x00000010, 0x00000002, 0xFE363C82, 0x00001000, 0x00000010, 0x00000002, 0xFE363C85, 0x00001000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C82, 0x00002000, 0x00000010, 0x00000002, 0xFE363C85, 0x00002000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C82, 0x00004000, 0x00000010, 0x00000002, 0xFE363C85, 0x00004000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C82, 0x00008000, 0x00000010, 0x00000002, 0xFE363C85, 0x00008000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C82, 0x00010000, 0x00000010, 0x00000002, 0xFE363C85, 0x00010000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C82, 0x00020000, 0x00000010, 0x00000002, 0xFE363C85, 0x00020000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C82, 0x00040000, 0x00000010, 0x00000002, 0xFE363C85, 0x00040000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C85, 0x00080000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C82, 0x00100000, 0x00000010, 0x00000002, 0xFE363C85, 0x00100000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000010, 0x00000002, 0xFE363C82, 0x01000000, 0x00000010, 0x00000002, 0xFE363C85, 0x01000000, 0x00000024, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x0000000A, 0x00000002, 0xFBD3E280, 0x00000001, 0x00000043, 0x00000004, SetAnimation, 0xFFFFFF81, 0xFE363C80, 0xFE363C81, 0x00000013, 0x00000000, 0x00000013, 0x00000000, 0x00000046, 0x00000001, ForceNextTarget, 0x00000008, 0x00000001, 0x000003E8, 0x00000002, 0x00000000, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000
|
||||
|
||||
glabel D_8029C7D0
|
||||
.word 0x00789E60, 0x0078B600, func_802A1000_752450, 0x802A24E8, 0x0078B600, 0x0078D150, func_802A1000_752450, 0x802A2928, 0x0078D150, 0x0078E7D0, func_802A1000_752450, 0x802A24D8, 0x0078E7D0, 0x007900D0, func_802A1000_752450, 0x802A25A8, 0x007900D0, 0x00791D90, func_802A1000_752450, 0x802A27A8, 0x00791D90, 0x00793D20, func_802A1000_752450, 0x802A2510, 0x00793D20, 0x007952E0, func_802A1000_752450, 0x802A23D8, 0x007952E0, 0x00796FC0, func_802A1000_752450, 0x802A2588, 0x00796FC0, 0x007997B0, func_802A1000_752450, 0x802A35B4, 0x007997B0, 0x0079BFA0, func_802A1000_752450, 0x802A35B4, 0x0079BFA0, 0x0079D8A0, func_802A1000_752450, 0x802A23E8, 0x0079D8A0, 0x0079EF40, func_802A1000_752450, func_802A2468_79AC18, 0x0001001F, 0x0001002C, 0x0001002A, 0x00010005, 0x00000000, 0x00090003, 0x00090013, 0x00090013, 0x00090003, 0x00090001, 0x000A0006, 0x000A001B, 0x000A001B, 0x000A0006, 0x000A0004, 0x000B0008, 0x000B001D, 0x000B001D, 0x000B0008, 0x000B0004, 0x000C0003, 0x000C0018, 0x000C0018, 0x000C0003, 0x000C0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000E0003, 0x000E000A, 0x000E000A, 0x000E0003, 0x000C0001, 0x000F0003, 0x000F0013, 0x000F0013, 0x000F0003, 0x000F0001, 0x00100003, 0x00100009, 0x00100009, 0x00100003, 0x00100001, 0x000D0003, 0x000D0013, 0x000D0013, 0x000D0003, 0x000D0001, 0x00000000, 0x00000000
|
||||
.word 0x00789E60, 0x0078B600, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A24E8, 0x0078B600, 0x0078D150, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A2928, 0x0078D150, 0x0078E7D0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A24D8, 0x0078E7D0, 0x007900D0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A25A8, 0x007900D0, 0x00791D90, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A27A8, 0x00791D90, 0x00793D20, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A2510, 0x00793D20, 0x007952E0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A23D8, 0x007952E0, 0x00796FC0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A2588, 0x00796FC0, 0x007997B0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A35B4, 0x007997B0, 0x0079BFA0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A35B4, 0x0079BFA0, 0x0079D8A0, battle_move_hammer_throw_IsBerserkerEquipped, 0x802A23E8, 0x0079D8A0, 0x0079EF40, battle_move_hammer_throw_IsBerserkerEquipped, func_802A2468_79AC18, 0x0001001F, 0x0001002C, 0x0001002A, 0x00010005, 0x00000000, 0x00090003, 0x00090013, 0x00090013, 0x00090003, 0x00090001, 0x000A0006, 0x000A001B, 0x000A001B, 0x000A0006, 0x000A0004, 0x000B0008, 0x000B001D, 0x000B001D, 0x000B0008, 0x000B0004, 0x000C0003, 0x000C0018, 0x000C0018, 0x000C0003, 0x000C0001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000E0003, 0x000E000A, 0x000E000A, 0x000E0003, 0x000C0001, 0x000F0003, 0x000F0013, 0x000F0013, 0x000F0003, 0x000F0001, 0x00100003, 0x00100009, 0x00100009, 0x00100003, 0x00100001, 0x000D0003, 0x000D0013, 0x000D0013, 0x000D0003, 0x000D0001, 0x00000000, 0x00000000
|
||||
|
@ -1,63 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_765C20
|
||||
/* 765C20 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 765C24 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 765C28 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 765C2C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 765C30 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 765C34 802A1014 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 765C38 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
|
||||
/* 765C3C 802A101C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 765C40 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
|
||||
/* 765C44 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
|
||||
/* 765C48 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
|
||||
/* 765C4C 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 765C50 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
|
||||
/* 765C54 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
|
||||
/* 765C58 802A1038 44062000 */ mfc1 $a2, $f4
|
||||
/* 765C5C 802A103C 44073000 */ mfc1 $a3, $f6
|
||||
/* 765C60 802A1040 0060882D */ daddu $s1, $v1, $zero
|
||||
/* 765C64 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 765C68 802A1048 0C00A7CB */ jal dist3D
|
||||
/* 765C6C 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 765C70 802A1050 3C014170 */ lui $at, 0x4170
|
||||
/* 765C74 802A1054 44811000 */ mtc1 $at, $f2
|
||||
/* 765C78 802A1058 00000000 */ nop
|
||||
/* 765C7C 802A105C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 765C80 802A1060 00000000 */ nop
|
||||
/* 765C84 802A1064 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 765C88 802A1068 44811000 */ mtc1 $at, $f2
|
||||
/* 765C8C 802A106C 00000000 */ nop
|
||||
/* 765C90 802A1070 46020003 */ div.s $f0, $f0, $f2
|
||||
/* 765C94 802A1074 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 765C98 802A1078 44024000 */ mfc1 $v0, $f8
|
||||
/* 765C9C 802A107C 00000000 */ nop
|
||||
/* 765CA0 802A1080 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 765CA4 802A1084 28420015 */ slti $v0, $v0, 0x15
|
||||
/* 765CA8 802A1088 14400002 */ bnez $v0, .L802A1094
|
||||
/* 765CAC 802A108C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 765CB0 802A1090 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1094:
|
||||
/* 765CB4 802A1094 82220083 */ lb $v0, 0x83($s1)
|
||||
/* 765CB8 802A1098 10400007 */ beqz $v0, .L802A10B8
|
||||
/* 765CBC 802A109C 00000000 */ nop
|
||||
/* 765CC0 802A10A0 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 765CC4 802A10A4 28420006 */ slti $v0, $v0, 6
|
||||
/* 765CC8 802A10A8 10400008 */ beqz $v0, .L802A10CC
|
||||
/* 765CCC 802A10AC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 765CD0 802A10B0 080A8433 */ j .L802A10CC
|
||||
/* 765CD4 802A10B4 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10B8:
|
||||
/* 765CD8 802A10B8 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 765CDC 802A10BC 2842000C */ slti $v0, $v0, 0xc
|
||||
/* 765CE0 802A10C0 10400002 */ beqz $v0, .L802A10CC
|
||||
/* 765CE4 802A10C4 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 765CE8 802A10C8 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10CC:
|
||||
/* 765CEC 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 765CF0 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 765CF4 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 765CF8 802A10D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 765CFC 802A10DC 03E00008 */ jr $ra
|
@ -1,63 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_76A830
|
||||
/* 76A830 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 76A834 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 76A838 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 76A83C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 76A840 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 76A844 802A1014 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 76A848 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
|
||||
/* 76A84C 802A101C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 76A850 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
|
||||
/* 76A854 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
|
||||
/* 76A858 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
|
||||
/* 76A85C 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 76A860 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
|
||||
/* 76A864 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
|
||||
/* 76A868 802A1038 44062000 */ mfc1 $a2, $f4
|
||||
/* 76A86C 802A103C 44073000 */ mfc1 $a3, $f6
|
||||
/* 76A870 802A1040 0060882D */ daddu $s1, $v1, $zero
|
||||
/* 76A874 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 76A878 802A1048 0C00A7CB */ jal dist3D
|
||||
/* 76A87C 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 76A880 802A1050 3C014170 */ lui $at, 0x4170
|
||||
/* 76A884 802A1054 44811000 */ mtc1 $at, $f2
|
||||
/* 76A888 802A1058 00000000 */ nop
|
||||
/* 76A88C 802A105C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 76A890 802A1060 00000000 */ nop
|
||||
/* 76A894 802A1064 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 76A898 802A1068 44811000 */ mtc1 $at, $f2
|
||||
/* 76A89C 802A106C 00000000 */ nop
|
||||
/* 76A8A0 802A1070 46020003 */ div.s $f0, $f0, $f2
|
||||
/* 76A8A4 802A1074 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 76A8A8 802A1078 44024000 */ mfc1 $v0, $f8
|
||||
/* 76A8AC 802A107C 00000000 */ nop
|
||||
/* 76A8B0 802A1080 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 76A8B4 802A1084 28420015 */ slti $v0, $v0, 0x15
|
||||
/* 76A8B8 802A1088 14400002 */ bnez $v0, .L802A1094
|
||||
/* 76A8BC 802A108C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 76A8C0 802A1090 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1094:
|
||||
/* 76A8C4 802A1094 82220083 */ lb $v0, 0x83($s1)
|
||||
/* 76A8C8 802A1098 10400007 */ beqz $v0, .L802A10B8
|
||||
/* 76A8CC 802A109C 00000000 */ nop
|
||||
/* 76A8D0 802A10A0 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 76A8D4 802A10A4 28420006 */ slti $v0, $v0, 6
|
||||
/* 76A8D8 802A10A8 10400008 */ beqz $v0, .L802A10CC
|
||||
/* 76A8DC 802A10AC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 76A8E0 802A10B0 080A8433 */ j .L802A10CC
|
||||
/* 76A8E4 802A10B4 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10B8:
|
||||
/* 76A8E8 802A10B8 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 76A8EC 802A10BC 2842000C */ slti $v0, $v0, 0xc
|
||||
/* 76A8F0 802A10C0 10400002 */ beqz $v0, .L802A10CC
|
||||
/* 76A8F4 802A10C4 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 76A8F8 802A10C8 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10CC:
|
||||
/* 76A8FC 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 76A900 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 76A904 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 76A908 802A10D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 76A90C 802A10DC 03E00008 */ jr $ra
|
@ -1,25 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_763540
|
||||
/* 763540 802A1000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 763544 802A1004 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 763548 802A1008 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 76354C 802A100C 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 763550 802A1010 3C03800E */ lui $v1, %hi(gBattleStatus+0x83)
|
||||
/* 763554 802A1014 8063C0F3 */ lb $v1, %lo(gBattleStatus+0x83)($v1)
|
||||
/* 763558 802A1018 24040015 */ addiu $a0, $zero, 0x15
|
||||
/* 76355C 802A101C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 763560 802A1020 AE020088 */ sw $v0, 0x88($s0)
|
||||
/* 763564 802A1024 0C03A752 */ jal is_ability_active
|
||||
/* 763568 802A1028 AE030084 */ sw $v1, 0x84($s0)
|
||||
/* 76356C 802A102C 10400003 */ beqz $v0, .L802A103C
|
||||
/* 763570 802A1030 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* 763574 802A1034 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 763578 802A1038 AE020088 */ sw $v0, 0x88($s0)
|
||||
.L802A103C:
|
||||
/* 76357C 802A103C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 763580 802A1040 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 763584 802A1044 24020002 */ addiu $v0, $zero, 2
|
||||
/* 763588 802A1048 03E00008 */ jr $ra
|
||||
/* 76358C 802A104C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1050_763590
|
||||
/* 763590 802A1050 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 763594 802A1054 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 763598 802A1058 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 76359C 802A105C 24040016 */ addiu $a0, $zero, 0x16
|
||||
/* 7635A0 802A1060 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7635A4 802A1064 0C03A752 */ jal is_ability_active
|
||||
/* 7635A8 802A1068 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 7635AC 802A106C 10400002 */ beqz $v0, .L802A1078
|
||||
/* 7635B0 802A1070 24020001 */ addiu $v0, $zero, 1
|
||||
/* 7635B4 802A1074 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1078:
|
||||
/* 7635B8 802A1078 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 7635BC 802A107C 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0)
|
||||
/* 7635C0 802A1080 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* 7635C4 802A1084 10400002 */ beqz $v0, .L802A1090
|
||||
/* 7635C8 802A1088 24020001 */ addiu $v0, $zero, 1
|
||||
/* 7635CC 802A108C AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1090:
|
||||
/* 7635D0 802A1090 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7635D4 802A1094 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7635D8 802A1098 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7635DC 802A109C 03E00008 */ jr $ra
|
@ -1,64 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_781920
|
||||
/* 781920 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 781924 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 781928 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 78192C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 781930 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 781934 802A1014 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 781938 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
|
||||
/* 78193C 802A101C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 781940 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
|
||||
/* 781944 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
|
||||
/* 781948 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
|
||||
/* 78194C 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 781950 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
|
||||
/* 781954 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
|
||||
/* 781958 802A1038 44062000 */ mfc1 $a2, $f4
|
||||
/* 78195C 802A103C 44073000 */ mfc1 $a3, $f6
|
||||
/* 781960 802A1040 0060882D */ daddu $s1, $v1, $zero
|
||||
/* 781964 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 781968 802A1048 0C00A7CB */ jal dist3D
|
||||
/* 78196C 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 781970 802A1050 3C014170 */ lui $at, 0x4170
|
||||
/* 781974 802A1054 44811000 */ mtc1 $at, $f2
|
||||
/* 781978 802A1058 00000000 */ nop
|
||||
/* 78197C 802A105C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 781980 802A1060 00000000 */ nop
|
||||
/* 781984 802A1064 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 781988 802A1068 44811000 */ mtc1 $at, $f2
|
||||
/* 78198C 802A106C 00000000 */ nop
|
||||
/* 781990 802A1070 46020003 */ div.s $f0, $f0, $f2
|
||||
/* 781994 802A1074 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 781998 802A1078 44024000 */ mfc1 $v0, $f8
|
||||
/* 78199C 802A107C 00000000 */ nop
|
||||
/* 7819A0 802A1080 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 7819A4 802A1084 28420015 */ slti $v0, $v0, 0x15
|
||||
/* 7819A8 802A1088 14400002 */ bnez $v0, .L802A1094
|
||||
/* 7819AC 802A108C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 7819B0 802A1090 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1094:
|
||||
/* 7819B4 802A1094 82220083 */ lb $v0, 0x83($s1)
|
||||
/* 7819B8 802A1098 10400007 */ beqz $v0, .L802A10B8
|
||||
/* 7819BC 802A109C 00000000 */ nop
|
||||
/* 7819C0 802A10A0 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 7819C4 802A10A4 28420006 */ slti $v0, $v0, 6
|
||||
/* 7819C8 802A10A8 10400008 */ beqz $v0, .L802A10CC
|
||||
/* 7819CC 802A10AC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 7819D0 802A10B0 080A8433 */ j .L802A10CC
|
||||
/* 7819D4 802A10B4 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10B8:
|
||||
/* 7819D8 802A10B8 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 7819DC 802A10BC 2842000C */ slti $v0, $v0, 0xc
|
||||
/* 7819E0 802A10C0 10400002 */ beqz $v0, .L802A10CC
|
||||
/* 7819E4 802A10C4 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 7819E8 802A10C8 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10CC:
|
||||
/* 7819EC 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 7819F0 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 7819F4 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 7819F8 802A10D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7819FC 802A10DC 03E00008 */ jr $ra
|
||||
/* 781A00 802A10E0 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,65 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10E4_781A04
|
||||
/* 781A04 802A10E4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 781A08 802A10E8 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 781A0C 802A10EC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 781A10 802A10F0 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 781A14 802A10F4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 781A18 802A10F8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 781A1C 802A10FC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 781A20 802A1100 8E050000 */ lw $a1, ($s0)
|
||||
/* 781A24 802A1104 0C0B1EAF */ jal get_variable
|
||||
/* 781A28 802A1108 26100004 */ addiu $s0, $s0, 4
|
||||
/* 781A2C 802A110C 8E050000 */ lw $a1, ($s0)
|
||||
/* 781A30 802A1110 26100004 */ addiu $s0, $s0, 4
|
||||
/* 781A34 802A1114 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 781A38 802A1118 0C0B1EAF */ jal get_variable
|
||||
/* 781A3C 802A111C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 781A40 802A1120 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 781A44 802A1124 8E050000 */ lw $a1, ($s0)
|
||||
/* 781A48 802A1128 0C0B1EAF */ jal get_variable
|
||||
/* 781A4C 802A112C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 781A50 802A1130 8E2300AC */ lw $v1, 0xac($s1)
|
||||
/* 781A54 802A1134 1460000F */ bnez $v1, .L802A1174
|
||||
/* 781A58 802A1138 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 781A5C 802A113C 44920000 */ mtc1 $s2, $f0
|
||||
/* 781A60 802A1140 00000000 */ nop
|
||||
/* 781A64 802A1144 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 781A68 802A1148 44050000 */ mfc1 $a1, $f0
|
||||
/* 781A6C 802A114C 44900000 */ mtc1 $s0, $f0
|
||||
/* 781A70 802A1150 00000000 */ nop
|
||||
/* 781A74 802A1154 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 781A78 802A1158 44060000 */ mfc1 $a2, $f0
|
||||
/* 781A7C 802A115C 44820000 */ mtc1 $v0, $f0
|
||||
/* 781A80 802A1160 00000000 */ nop
|
||||
/* 781A84 802A1164 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 781A88 802A1168 44070000 */ mfc1 $a3, $f0
|
||||
/* 781A8C 802A116C 080A8469 */ j .L802A11A4
|
||||
/* 781A90 802A1170 24040001 */ addiu $a0, $zero, 1
|
||||
.L802A1174:
|
||||
/* 781A94 802A1174 44920000 */ mtc1 $s2, $f0
|
||||
/* 781A98 802A1178 00000000 */ nop
|
||||
/* 781A9C 802A117C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 781AA0 802A1180 44050000 */ mfc1 $a1, $f0
|
||||
/* 781AA4 802A1184 44900000 */ mtc1 $s0, $f0
|
||||
/* 781AA8 802A1188 00000000 */ nop
|
||||
/* 781AAC 802A118C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 781AB0 802A1190 44060000 */ mfc1 $a2, $f0
|
||||
/* 781AB4 802A1194 44820000 */ mtc1 $v0, $f0
|
||||
/* 781AB8 802A1198 00000000 */ nop
|
||||
/* 781ABC 802A119C 46800020 */ cvt.s.w $f0, $f0
|
||||
/* 781AC0 802A11A0 44070000 */ mfc1 $a3, $f0
|
||||
.L802A11A4:
|
||||
/* 781AC4 802A11A4 0C01C2D4 */ jal func_80070B50
|
||||
/* 781AC8 802A11A8 AFA00010 */ sw $zero, 0x10($sp)
|
||||
/* 781ACC 802A11AC 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 781AD0 802A11B0 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 781AD4 802A11B4 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 781AD8 802A11B8 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 781ADC 802A11BC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 781AE0 802A11C0 03E00008 */ jr $ra
|
||||
/* 781AE4 802A11C4 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
/* 781AE8 802A11C8 00000000 */ nop
|
||||
/* 781AEC 802A11CC 00000000 */ nop
|
@ -1,25 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_74AD90
|
||||
/* 74AD90 802A1000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 74AD94 802A1004 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 74AD98 802A1008 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 74AD9C 802A100C 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 74ADA0 802A1010 3C03800E */ lui $v1, %hi(gBattleStatus+0x83)
|
||||
/* 74ADA4 802A1014 8063C0F3 */ lb $v1, %lo(gBattleStatus+0x83)($v1)
|
||||
/* 74ADA8 802A1018 24040015 */ addiu $a0, $zero, 0x15
|
||||
/* 74ADAC 802A101C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 74ADB0 802A1020 AE020088 */ sw $v0, 0x88($s0)
|
||||
/* 74ADB4 802A1024 0C03A752 */ jal is_ability_active
|
||||
/* 74ADB8 802A1028 AE030084 */ sw $v1, 0x84($s0)
|
||||
/* 74ADBC 802A102C 10400003 */ beqz $v0, .L802A103C
|
||||
/* 74ADC0 802A1030 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* 74ADC4 802A1034 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 74ADC8 802A1038 AE020088 */ sw $v0, 0x88($s0)
|
||||
.L802A103C:
|
||||
/* 74ADCC 802A103C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 74ADD0 802A1040 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 74ADD4 802A1044 24020002 */ addiu $v0, $zero, 2
|
||||
/* 74ADD8 802A1048 03E00008 */ jr $ra
|
||||
/* 74ADDC 802A104C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,27 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1050_74ADE0
|
||||
/* 74ADE0 802A1050 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 74ADE4 802A1054 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 74ADE8 802A1058 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 74ADEC 802A105C 24040016 */ addiu $a0, $zero, 0x16
|
||||
/* 74ADF0 802A1060 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 74ADF4 802A1064 0C03A752 */ jal is_ability_active
|
||||
/* 74ADF8 802A1068 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 74ADFC 802A106C 10400002 */ beqz $v0, .L802A1078
|
||||
/* 74AE00 802A1070 24020001 */ addiu $v0, $zero, 1
|
||||
/* 74AE04 802A1074 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1078:
|
||||
/* 74AE08 802A1078 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 74AE0C 802A107C 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0)
|
||||
/* 74AE10 802A1080 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* 74AE14 802A1084 10400002 */ beqz $v0, .L802A1090
|
||||
/* 74AE18 802A1088 24020001 */ addiu $v0, $zero, 1
|
||||
/* 74AE1C 802A108C AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1090:
|
||||
/* 74AE20 802A1090 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 74AE24 802A1094 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 74AE28 802A1098 24020002 */ addiu $v0, $zero, 2
|
||||
/* 74AE2C 802A109C 03E00008 */ jr $ra
|
||||
/* 74AE30 802A10A0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,73 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10A4_74AE34
|
||||
/* 74AE34 802A10A4 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 74AE38 802A10A8 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 74AE3C 802A10AC 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 74AE40 802A10B0 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 74AE44 802A10B4 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 74AE48 802A10B8 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 74AE4C 802A10BC 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 74AE50 802A10C0 8E050000 */ lw $a1, ($s0)
|
||||
/* 74AE54 802A10C4 0C0B1EAF */ jal get_variable
|
||||
/* 74AE58 802A10C8 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74AE5C 802A10CC 8E050000 */ lw $a1, ($s0)
|
||||
/* 74AE60 802A10D0 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74AE64 802A10D4 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74AE68 802A10D8 0C0B1EAF */ jal get_variable
|
||||
/* 74AE6C 802A10DC 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 74AE70 802A10E0 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74AE74 802A10E4 8E050000 */ lw $a1, ($s0)
|
||||
/* 74AE78 802A10E8 0C0B1EAF */ jal get_variable
|
||||
/* 74AE7C 802A10EC 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 74AE80 802A10F0 8E2300AC */ lw $v1, 0xac($s1)
|
||||
/* 74AE84 802A10F4 14600013 */ bnez $v1, .L802A1144
|
||||
/* 74AE88 802A10F8 0040382D */ daddu $a3, $v0, $zero
|
||||
/* 74AE8C 802A10FC 2642001E */ addiu $v0, $s2, 0x1e
|
||||
/* 74AE90 802A1100 44821000 */ mtc1 $v0, $f2
|
||||
/* 74AE94 802A1104 00000000 */ nop
|
||||
/* 74AE98 802A1108 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74AE9C 802A110C 26020019 */ addiu $v0, $s0, 0x19
|
||||
/* 74AEA0 802A1110 44051000 */ mfc1 $a1, $f2
|
||||
/* 74AEA4 802A1114 44821000 */ mtc1 $v0, $f2
|
||||
/* 74AEA8 802A1118 00000000 */ nop
|
||||
/* 74AEAC 802A111C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74AEB0 802A1120 44061000 */ mfc1 $a2, $f2
|
||||
/* 74AEB4 802A1124 44871000 */ mtc1 $a3, $f2
|
||||
/* 74AEB8 802A1128 00000000 */ nop
|
||||
/* 74AEBC 802A112C 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74AEC0 802A1130 3C014234 */ lui $at, 0x4234
|
||||
/* 74AEC4 802A1134 44810000 */ mtc1 $at, $f0
|
||||
/* 74AEC8 802A1138 44071000 */ mfc1 $a3, $f2
|
||||
/* 74AECC 802A113C 080A8462 */ j .L802A1188
|
||||
/* 74AED0 802A1140 24040001 */ addiu $a0, $zero, 1
|
||||
.L802A1144:
|
||||
/* 74AED4 802A1144 2642001E */ addiu $v0, $s2, 0x1e
|
||||
/* 74AED8 802A1148 44821000 */ mtc1 $v0, $f2
|
||||
/* 74AEDC 802A114C 00000000 */ nop
|
||||
/* 74AEE0 802A1150 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74AEE4 802A1154 26020019 */ addiu $v0, $s0, 0x19
|
||||
/* 74AEE8 802A1158 44051000 */ mfc1 $a1, $f2
|
||||
/* 74AEEC 802A115C 44821000 */ mtc1 $v0, $f2
|
||||
/* 74AEF0 802A1160 00000000 */ nop
|
||||
/* 74AEF4 802A1164 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74AEF8 802A1168 44061000 */ mfc1 $a2, $f2
|
||||
/* 74AEFC 802A116C 44871000 */ mtc1 $a3, $f2
|
||||
/* 74AF00 802A1170 00000000 */ nop
|
||||
/* 74AF04 802A1174 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74AF08 802A1178 3C014234 */ lui $at, 0x4234
|
||||
/* 74AF0C 802A117C 44810000 */ mtc1 $at, $f0
|
||||
/* 74AF10 802A1180 44071000 */ mfc1 $a3, $f2
|
||||
/* 74AF14 802A1184 0000202D */ daddu $a0, $zero, $zero
|
||||
.L802A1188:
|
||||
/* 74AF18 802A1188 0C01C2D4 */ jal func_80070B50
|
||||
/* 74AF1C 802A118C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 74AF20 802A1190 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 74AF24 802A1194 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 74AF28 802A1198 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 74AF2C 802A119C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 74AF30 802A11A0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 74AF34 802A11A4 03E00008 */ jr $ra
|
||||
/* 74AF38 802A11A8 27BD0028 */ addiu $sp, $sp, 0x28
|
||||
/* 74AF3C 802A11AC 00000000 */ nop
|
@ -1,63 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_748DD0
|
||||
/* 748DD0 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 748DD4 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 748DD8 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 748DDC 802A100C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 748DE0 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 748DE4 802A1014 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 748DE8 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
|
||||
/* 748DEC 802A101C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 748DF0 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
|
||||
/* 748DF4 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
|
||||
/* 748DF8 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
|
||||
/* 748DFC 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 748E00 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
|
||||
/* 748E04 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
|
||||
/* 748E08 802A1038 44062000 */ mfc1 $a2, $f4
|
||||
/* 748E0C 802A103C 44073000 */ mfc1 $a3, $f6
|
||||
/* 748E10 802A1040 0060882D */ daddu $s1, $v1, $zero
|
||||
/* 748E14 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 748E18 802A1048 0C00A7CB */ jal dist3D
|
||||
/* 748E1C 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 748E20 802A1050 3C014170 */ lui $at, 0x4170
|
||||
/* 748E24 802A1054 44811000 */ mtc1 $at, $f2
|
||||
/* 748E28 802A1058 00000000 */ nop
|
||||
/* 748E2C 802A105C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 748E30 802A1060 00000000 */ nop
|
||||
/* 748E34 802A1064 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 748E38 802A1068 44811000 */ mtc1 $at, $f2
|
||||
/* 748E3C 802A106C 00000000 */ nop
|
||||
/* 748E40 802A1070 46020003 */ div.s $f0, $f0, $f2
|
||||
/* 748E44 802A1074 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 748E48 802A1078 44024000 */ mfc1 $v0, $f8
|
||||
/* 748E4C 802A107C 00000000 */ nop
|
||||
/* 748E50 802A1080 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 748E54 802A1084 28420015 */ slti $v0, $v0, 0x15
|
||||
/* 748E58 802A1088 14400002 */ bnez $v0, .L802A1094
|
||||
/* 748E5C 802A108C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 748E60 802A1090 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1094:
|
||||
/* 748E64 802A1094 82220083 */ lb $v0, 0x83($s1)
|
||||
/* 748E68 802A1098 10400007 */ beqz $v0, .L802A10B8
|
||||
/* 748E6C 802A109C 00000000 */ nop
|
||||
/* 748E70 802A10A0 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 748E74 802A10A4 28420006 */ slti $v0, $v0, 6
|
||||
/* 748E78 802A10A8 10400008 */ beqz $v0, .L802A10CC
|
||||
/* 748E7C 802A10AC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 748E80 802A10B0 080A8433 */ j .L802A10CC
|
||||
/* 748E84 802A10B4 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10B8:
|
||||
/* 748E88 802A10B8 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 748E8C 802A10BC 2842000C */ slti $v0, $v0, 0xc
|
||||
/* 748E90 802A10C0 10400002 */ beqz $v0, .L802A10CC
|
||||
/* 748E94 802A10C4 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 748E98 802A10C8 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10CC:
|
||||
/* 748E9C 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 748EA0 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 748EA4 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 748EA8 802A10D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 748EAC 802A10DC 03E00008 */ jr $ra
|
@ -1,64 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_785B20
|
||||
/* 785B20 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 785B24 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 785B28 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 785B2C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 785B30 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 785B34 802A1014 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 785B38 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
|
||||
/* 785B3C 802A101C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 785B40 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
|
||||
/* 785B44 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
|
||||
/* 785B48 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
|
||||
/* 785B4C 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 785B50 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
|
||||
/* 785B54 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
|
||||
/* 785B58 802A1038 44062000 */ mfc1 $a2, $f4
|
||||
/* 785B5C 802A103C 44073000 */ mfc1 $a3, $f6
|
||||
/* 785B60 802A1040 0060882D */ daddu $s1, $v1, $zero
|
||||
/* 785B64 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 785B68 802A1048 0C00A7CB */ jal dist3D
|
||||
/* 785B6C 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 785B70 802A1050 3C014170 */ lui $at, 0x4170
|
||||
/* 785B74 802A1054 44811000 */ mtc1 $at, $f2
|
||||
/* 785B78 802A1058 00000000 */ nop
|
||||
/* 785B7C 802A105C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 785B80 802A1060 00000000 */ nop
|
||||
/* 785B84 802A1064 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 785B88 802A1068 44811000 */ mtc1 $at, $f2
|
||||
/* 785B8C 802A106C 00000000 */ nop
|
||||
/* 785B90 802A1070 46020003 */ div.s $f0, $f0, $f2
|
||||
/* 785B94 802A1074 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 785B98 802A1078 44024000 */ mfc1 $v0, $f8
|
||||
/* 785B9C 802A107C 00000000 */ nop
|
||||
/* 785BA0 802A1080 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 785BA4 802A1084 28420015 */ slti $v0, $v0, 0x15
|
||||
/* 785BA8 802A1088 14400002 */ bnez $v0, .L802A1094
|
||||
/* 785BAC 802A108C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 785BB0 802A1090 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1094:
|
||||
/* 785BB4 802A1094 82220083 */ lb $v0, 0x83($s1)
|
||||
/* 785BB8 802A1098 10400007 */ beqz $v0, .L802A10B8
|
||||
/* 785BBC 802A109C 00000000 */ nop
|
||||
/* 785BC0 802A10A0 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 785BC4 802A10A4 28420006 */ slti $v0, $v0, 6
|
||||
/* 785BC8 802A10A8 10400008 */ beqz $v0, .L802A10CC
|
||||
/* 785BCC 802A10AC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 785BD0 802A10B0 080A8433 */ j .L802A10CC
|
||||
/* 785BD4 802A10B4 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10B8:
|
||||
/* 785BD8 802A10B8 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 785BDC 802A10BC 2842000C */ slti $v0, $v0, 0xc
|
||||
/* 785BE0 802A10C0 10400002 */ beqz $v0, .L802A10CC
|
||||
/* 785BE4 802A10C4 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 785BE8 802A10C8 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10CC:
|
||||
/* 785BEC 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 785BF0 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 785BF4 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 785BF8 802A10D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 785BFC 802A10DC 03E00008 */ jr $ra
|
||||
/* 785C00 802A10E0 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,7 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10E4_785C04
|
||||
/* 785C04 802A10E4 24020003 */ addiu $v0, $zero, 3
|
||||
/* 785C08 802A10E8 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 785C0C 802A10EC 03E00008 */ jr $ra
|
@ -1,25 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_74F130
|
||||
/* 74F130 802A1000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 74F134 802A1004 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 74F138 802A1008 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 74F13C 802A100C 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 74F140 802A1010 3C03800E */ lui $v1, %hi(gBattleStatus+0x83)
|
||||
/* 74F144 802A1014 8063C0F3 */ lb $v1, %lo(gBattleStatus+0x83)($v1)
|
||||
/* 74F148 802A1018 24040015 */ addiu $a0, $zero, 0x15
|
||||
/* 74F14C 802A101C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 74F150 802A1020 AE020088 */ sw $v0, 0x88($s0)
|
||||
/* 74F154 802A1024 0C03A752 */ jal is_ability_active
|
||||
/* 74F158 802A1028 AE030084 */ sw $v1, 0x84($s0)
|
||||
/* 74F15C 802A102C 10400003 */ beqz $v0, .L802A103C
|
||||
/* 74F160 802A1030 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* 74F164 802A1034 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 74F168 802A1038 AE020088 */ sw $v0, 0x88($s0)
|
||||
.L802A103C:
|
||||
/* 74F16C 802A103C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 74F170 802A1040 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 74F174 802A1044 24020002 */ addiu $v0, $zero, 2
|
||||
/* 74F178 802A1048 03E00008 */ jr $ra
|
||||
/* 74F17C 802A104C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,27 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1050_74F180
|
||||
/* 74F180 802A1050 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 74F184 802A1054 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 74F188 802A1058 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 74F18C 802A105C 24040016 */ addiu $a0, $zero, 0x16
|
||||
/* 74F190 802A1060 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 74F194 802A1064 0C03A752 */ jal is_ability_active
|
||||
/* 74F198 802A1068 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 74F19C 802A106C 10400002 */ beqz $v0, .L802A1078
|
||||
/* 74F1A0 802A1070 24020001 */ addiu $v0, $zero, 1
|
||||
/* 74F1A4 802A1074 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1078:
|
||||
/* 74F1A8 802A1078 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 74F1AC 802A107C 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0)
|
||||
/* 74F1B0 802A1080 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* 74F1B4 802A1084 10400002 */ beqz $v0, .L802A1090
|
||||
/* 74F1B8 802A1088 24020001 */ addiu $v0, $zero, 1
|
||||
/* 74F1BC 802A108C AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1090:
|
||||
/* 74F1C0 802A1090 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 74F1C4 802A1094 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 74F1C8 802A1098 24020002 */ addiu $v0, $zero, 2
|
||||
/* 74F1CC 802A109C 03E00008 */ jr $ra
|
||||
/* 74F1D0 802A10A0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10A4_74F1D4
|
||||
/* 74F1D4 802A10A4 AC800084 */ sw $zero, 0x84($a0)
|
||||
/* 74F1D8 802A10A8 3C02800E */ lui $v0, %hi(gBattleStatus+0x96)
|
||||
/* 74F1DC 802A10AC 8042C106 */ lb $v0, %lo(gBattleStatus+0x96)($v0)
|
||||
/* 74F1E0 802A10B0 28420063 */ slti $v0, $v0, 0x63
|
||||
/* 74F1E4 802A10B4 14400002 */ bnez $v0, .L802A10C0
|
||||
/* 74F1E8 802A10B8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 74F1EC 802A10BC AC820084 */ sw $v0, 0x84($a0)
|
||||
.L802A10C0:
|
||||
/* 74F1F0 802A10C0 03E00008 */ jr $ra
|
||||
/* 74F1F4 802A10C4 24020002 */ addiu $v0, $zero, 2
|
@ -1,70 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10C8_74F1F8
|
||||
/* 74F1F8 802A10C8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 74F1FC 802A10CC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 74F200 802A10D0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 74F204 802A10D4 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 74F208 802A10D8 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 74F20C 802A10DC AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 74F210 802A10E0 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 74F214 802A10E4 8E050000 */ lw $a1, ($s0)
|
||||
/* 74F218 802A10E8 0C0B1EAF */ jal get_variable
|
||||
/* 74F21C 802A10EC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74F220 802A10F0 8E050000 */ lw $a1, ($s0)
|
||||
/* 74F224 802A10F4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74F228 802A10F8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74F22C 802A10FC 0C0B1EAF */ jal get_variable
|
||||
/* 74F230 802A1100 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 74F234 802A1104 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74F238 802A1108 8E050000 */ lw $a1, ($s0)
|
||||
/* 74F23C 802A110C 0C0B1EAF */ jal get_variable
|
||||
/* 74F240 802A1110 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 74F244 802A1114 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 74F248 802A1118 44921000 */ mtc1 $s2, $f2
|
||||
/* 74F24C 802A111C 00000000 */ nop
|
||||
/* 74F250 802A1120 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74F254 802A1124 44051000 */ mfc1 $a1, $f2
|
||||
/* 74F258 802A1128 44901000 */ mtc1 $s0, $f2
|
||||
/* 74F25C 802A112C 00000000 */ nop
|
||||
/* 74F260 802A1130 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74F264 802A1134 44061000 */ mfc1 $a2, $f2
|
||||
/* 74F268 802A1138 44821000 */ mtc1 $v0, $f2
|
||||
/* 74F26C 802A113C 00000000 */ nop
|
||||
/* 74F270 802A1140 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74F274 802A1144 3C013F80 */ lui $at, 0x3f80
|
||||
/* 74F278 802A1148 44810000 */ mtc1 $at, $f0
|
||||
/* 74F27C 802A114C 44071000 */ mfc1 $a3, $f2
|
||||
/* 74F280 802A1150 2403003C */ addiu $v1, $zero, 0x3c
|
||||
/* 74F284 802A1154 AFA30014 */ sw $v1, 0x14($sp)
|
||||
/* 74F288 802A1158 0C01C634 */ jal func_800718D0
|
||||
/* 74F28C 802A115C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 74F290 802A1160 3C10800E */ lui $s0, %hi(gBattleStatus)
|
||||
/* 74F294 802A1164 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
|
||||
/* 74F298 802A1168 92020096 */ lbu $v0, 0x96($s0)
|
||||
/* 74F29C 802A116C 24420001 */ addiu $v0, $v0, 1
|
||||
/* 74F2A0 802A1170 A2020096 */ sb $v0, 0x96($s0)
|
||||
/* 74F2A4 802A1174 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 74F2A8 802A1178 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 74F2AC 802A117C 28420064 */ slti $v0, $v0, 0x64
|
||||
/* 74F2B0 802A1180 14400003 */ bnez $v0, .L802A1190
|
||||
/* 74F2B4 802A1184 0200882D */ daddu $s1, $s0, $zero
|
||||
/* 74F2B8 802A1188 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 74F2BC 802A118C A2020096 */ sb $v0, 0x96($s0)
|
||||
.L802A1190:
|
||||
/* 74F2C0 802A1190 3C03DFFF */ lui $v1, 0xdfff
|
||||
/* 74F2C4 802A1194 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 74F2C8 802A1198 8E240000 */ lw $a0, ($s1)
|
||||
/* 74F2CC 802A119C 3C051000 */ lui $a1, 0x1000
|
||||
/* 74F2D0 802A11A0 A2200097 */ sb $zero, 0x97($s1)
|
||||
/* 74F2D4 802A11A4 00852025 */ or $a0, $a0, $a1
|
||||
/* 74F2D8 802A11A8 00832024 */ and $a0, $a0, $v1
|
||||
/* 74F2DC 802A11AC AE240000 */ sw $a0, ($s1)
|
||||
/* 74F2E0 802A11B0 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 74F2E4 802A11B4 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 74F2E8 802A11B8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 74F2EC 802A11BC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 74F2F0 802A11C0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 74F2F4 802A11C4 03E00008 */ jr $ra
|
||||
/* 74F2F8 802A11C8 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,57 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11CC_74F2FC
|
||||
/* 74F2FC 802A11CC 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 74F300 802A11D0 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 74F304 802A11D4 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 74F308 802A11D8 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 74F30C 802A11DC AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 74F310 802A11E0 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 74F314 802A11E4 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 74F318 802A11E8 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 74F31C 802A11EC 8E050000 */ lw $a1, ($s0)
|
||||
/* 74F320 802A11F0 0C0B1EAF */ jal get_variable
|
||||
/* 74F324 802A11F4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74F328 802A11F8 8E050000 */ lw $a1, ($s0)
|
||||
/* 74F32C 802A11FC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74F330 802A1200 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74F334 802A1204 0C0B1EAF */ jal get_variable
|
||||
/* 74F338 802A1208 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 74F33C 802A120C 8E050000 */ lw $a1, ($s0)
|
||||
/* 74F340 802A1210 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74F344 802A1214 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74F348 802A1218 0C0B1EAF */ jal get_variable
|
||||
/* 74F34C 802A121C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 74F350 802A1220 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74F354 802A1224 8E050000 */ lw $a1, ($s0)
|
||||
/* 74F358 802A1228 0C0B210B */ jal get_float_variable
|
||||
/* 74F35C 802A122C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 74F360 802A1230 24040006 */ addiu $a0, $zero, 6
|
||||
/* 74F364 802A1234 2673000A */ addiu $s3, $s3, 0xa
|
||||
/* 74F368 802A1238 44931000 */ mtc1 $s3, $f2
|
||||
/* 74F36C 802A123C 00000000 */ nop
|
||||
/* 74F370 802A1240 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74F374 802A1244 26520012 */ addiu $s2, $s2, 0x12
|
||||
/* 74F378 802A1248 44051000 */ mfc1 $a1, $f2
|
||||
/* 74F37C 802A124C 44921000 */ mtc1 $s2, $f2
|
||||
/* 74F380 802A1250 00000000 */ nop
|
||||
/* 74F384 802A1254 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74F388 802A1258 44061000 */ mfc1 $a2, $f2
|
||||
/* 74F38C 802A125C 44901000 */ mtc1 $s0, $f2
|
||||
/* 74F390 802A1260 00000000 */ nop
|
||||
/* 74F394 802A1264 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74F398 802A1268 44071000 */ mfc1 $a3, $f2
|
||||
/* 74F39C 802A126C 2402002D */ addiu $v0, $zero, 0x2d
|
||||
/* 74F3A0 802A1270 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 74F3A4 802A1274 0C01C82C */ jal func_800720B0
|
||||
/* 74F3A8 802A1278 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 74F3AC 802A127C 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 74F3B0 802A1280 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 74F3B4 802A1284 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 74F3B8 802A1288 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 74F3BC 802A128C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 74F3C0 802A1290 24020002 */ addiu $v0, $zero, 2
|
||||
/* 74F3C4 802A1294 03E00008 */ jr $ra
|
||||
/* 74F3C8 802A1298 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
/* 74F3CC 802A129C 00000000 */ nop
|
@ -1,25 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_7595B0
|
||||
/* 7595B0 802A1000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7595B4 802A1004 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7595B8 802A1008 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 7595BC 802A100C 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 7595C0 802A1010 3C03800E */ lui $v1, %hi(gBattleStatus+0x83)
|
||||
/* 7595C4 802A1014 8063C0F3 */ lb $v1, %lo(gBattleStatus+0x83)($v1)
|
||||
/* 7595C8 802A1018 24040015 */ addiu $a0, $zero, 0x15
|
||||
/* 7595CC 802A101C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7595D0 802A1020 AE020088 */ sw $v0, 0x88($s0)
|
||||
/* 7595D4 802A1024 0C03A752 */ jal is_ability_active
|
||||
/* 7595D8 802A1028 AE030084 */ sw $v1, 0x84($s0)
|
||||
/* 7595DC 802A102C 10400003 */ beqz $v0, .L802A103C
|
||||
/* 7595E0 802A1030 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* 7595E4 802A1034 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 7595E8 802A1038 AE020088 */ sw $v0, 0x88($s0)
|
||||
.L802A103C:
|
||||
/* 7595EC 802A103C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7595F0 802A1040 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7595F4 802A1044 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7595F8 802A1048 03E00008 */ jr $ra
|
||||
/* 7595FC 802A104C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,27 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1050_759600
|
||||
/* 759600 802A1050 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 759604 802A1054 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 759608 802A1058 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 75960C 802A105C 24040016 */ addiu $a0, $zero, 0x16
|
||||
/* 759610 802A1060 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 759614 802A1064 0C03A752 */ jal is_ability_active
|
||||
/* 759618 802A1068 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 75961C 802A106C 10400002 */ beqz $v0, .L802A1078
|
||||
/* 759620 802A1070 24020001 */ addiu $v0, $zero, 1
|
||||
/* 759624 802A1074 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1078:
|
||||
/* 759628 802A1078 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 75962C 802A107C 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0)
|
||||
/* 759630 802A1080 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* 759634 802A1084 10400002 */ beqz $v0, .L802A1090
|
||||
/* 759638 802A1088 24020001 */ addiu $v0, $zero, 1
|
||||
/* 75963C 802A108C AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1090:
|
||||
/* 759640 802A1090 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 759644 802A1094 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 759648 802A1098 24020002 */ addiu $v0, $zero, 2
|
||||
/* 75964C 802A109C 03E00008 */ jr $ra
|
||||
/* 759650 802A10A0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10A4_759654
|
||||
/* 759654 802A10A4 AC800084 */ sw $zero, 0x84($a0)
|
||||
/* 759658 802A10A8 3C02800E */ lui $v0, %hi(gBattleStatus+0x96)
|
||||
/* 75965C 802A10AC 8042C106 */ lb $v0, %lo(gBattleStatus+0x96)($v0)
|
||||
/* 759660 802A10B0 28420063 */ slti $v0, $v0, 0x63
|
||||
/* 759664 802A10B4 14400002 */ bnez $v0, .L802A10C0
|
||||
/* 759668 802A10B8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 75966C 802A10BC AC820084 */ sw $v0, 0x84($a0)
|
||||
.L802A10C0:
|
||||
/* 759670 802A10C0 03E00008 */ jr $ra
|
||||
/* 759674 802A10C4 24020002 */ addiu $v0, $zero, 2
|
@ -1,78 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10C8_759678
|
||||
/* 759678 802A10C8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 75967C 802A10CC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 759680 802A10D0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 759684 802A10D4 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 759688 802A10D8 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 75968C 802A10DC AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 759690 802A10E0 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 759694 802A10E4 8E050000 */ lw $a1, ($s0)
|
||||
/* 759698 802A10E8 0C0B1EAF */ jal get_variable
|
||||
/* 75969C 802A10EC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7596A0 802A10F0 8E050000 */ lw $a1, ($s0)
|
||||
/* 7596A4 802A10F4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7596A8 802A10F8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7596AC 802A10FC 0C0B1EAF */ jal get_variable
|
||||
/* 7596B0 802A1100 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 7596B4 802A1104 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 7596B8 802A1108 8E050000 */ lw $a1, ($s0)
|
||||
/* 7596BC 802A110C 0C0B1EAF */ jal get_variable
|
||||
/* 7596C0 802A1110 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 7596C4 802A1114 24040001 */ addiu $a0, $zero, 1
|
||||
/* 7596C8 802A1118 44921000 */ mtc1 $s2, $f2
|
||||
/* 7596CC 802A111C 00000000 */ nop
|
||||
/* 7596D0 802A1120 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 7596D4 802A1124 44051000 */ mfc1 $a1, $f2
|
||||
/* 7596D8 802A1128 44901000 */ mtc1 $s0, $f2
|
||||
/* 7596DC 802A112C 00000000 */ nop
|
||||
/* 7596E0 802A1130 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 7596E4 802A1134 44061000 */ mfc1 $a2, $f2
|
||||
/* 7596E8 802A1138 44821000 */ mtc1 $v0, $f2
|
||||
/* 7596EC 802A113C 00000000 */ nop
|
||||
/* 7596F0 802A1140 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 7596F4 802A1144 3C013F80 */ lui $at, 0x3f80
|
||||
/* 7596F8 802A1148 44810000 */ mtc1 $at, $f0
|
||||
/* 7596FC 802A114C 44071000 */ mfc1 $a3, $f2
|
||||
/* 759700 802A1150 2403003C */ addiu $v1, $zero, 0x3c
|
||||
/* 759704 802A1154 AFA30014 */ sw $v1, 0x14($sp)
|
||||
/* 759708 802A1158 0C01C634 */ jal func_800718D0
|
||||
/* 75970C 802A115C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 759710 802A1160 3C04802A */ lui $a0, %hi(D_802A43D0)
|
||||
/* 759714 802A1164 248443D0 */ addiu $a0, $a0, %lo(D_802A43D0)
|
||||
/* 759718 802A1168 3C10800E */ lui $s0, %hi(gBattleStatus)
|
||||
/* 75971C 802A116C 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
|
||||
/* 759720 802A1170 AC800000 */ sw $zero, ($a0)
|
||||
/* 759724 802A1174 82020096 */ lb $v0, 0x96($s0)
|
||||
/* 759728 802A1178 92030096 */ lbu $v1, 0x96($s0)
|
||||
/* 75972C 802A117C 18400003 */ blez $v0, .L802A118C
|
||||
/* 759730 802A1180 0200882D */ daddu $s1, $s0, $zero
|
||||
/* 759734 802A1184 24020001 */ addiu $v0, $zero, 1
|
||||
/* 759738 802A1188 AC820000 */ sw $v0, ($a0)
|
||||
.L802A118C:
|
||||
/* 75973C 802A118C 24620002 */ addiu $v0, $v1, 2
|
||||
/* 759740 802A1190 A2020096 */ sb $v0, 0x96($s0)
|
||||
/* 759744 802A1194 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 759748 802A1198 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 75974C 802A119C 28420064 */ slti $v0, $v0, 0x64
|
||||
/* 759750 802A11A0 14400003 */ bnez $v0, .L802A11B0
|
||||
/* 759754 802A11A4 3C03DFFF */ lui $v1, 0xdfff
|
||||
/* 759758 802A11A8 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 75975C 802A11AC A2020096 */ sb $v0, 0x96($s0)
|
||||
.L802A11B0:
|
||||
/* 759760 802A11B0 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 759764 802A11B4 8E240000 */ lw $a0, ($s1)
|
||||
/* 759768 802A11B8 3C051000 */ lui $a1, 0x1000
|
||||
/* 75976C 802A11BC A2200097 */ sb $zero, 0x97($s1)
|
||||
/* 759770 802A11C0 00852025 */ or $a0, $a0, $a1
|
||||
/* 759774 802A11C4 00832024 */ and $a0, $a0, $v1
|
||||
/* 759778 802A11C8 AE240000 */ sw $a0, ($s1)
|
||||
/* 75977C 802A11CC 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 759780 802A11D0 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 759784 802A11D4 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 759788 802A11D8 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 75978C 802A11DC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 759790 802A11E0 03E00008 */ jr $ra
|
||||
/* 759794 802A11E4 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,73 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11E8_759798
|
||||
/* 759798 802A11E8 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 75979C 802A11EC AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 7597A0 802A11F0 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 7597A4 802A11F4 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 7597A8 802A11F8 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 7597AC 802A11FC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 7597B0 802A1200 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 7597B4 802A1204 F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 7597B8 802A1208 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 7597BC 802A120C F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 7597C0 802A1210 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 7597C4 802A1214 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 7597C8 802A1218 8E050000 */ lw $a1, ($s0)
|
||||
/* 7597CC 802A121C 0C0B1EAF */ jal get_variable
|
||||
/* 7597D0 802A1220 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7597D4 802A1224 8E050000 */ lw $a1, ($s0)
|
||||
/* 7597D8 802A1228 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7597DC 802A122C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 7597E0 802A1230 0C0B1EAF */ jal get_variable
|
||||
/* 7597E4 802A1234 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 7597E8 802A1238 8E050000 */ lw $a1, ($s0)
|
||||
/* 7597EC 802A123C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 7597F0 802A1240 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 7597F4 802A1244 0C0B1EAF */ jal get_variable
|
||||
/* 7597F8 802A1248 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 7597FC 802A124C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 759800 802A1250 8E050000 */ lw $a1, ($s0)
|
||||
/* 759804 802A1254 0C0B210B */ jal get_float_variable
|
||||
/* 759808 802A1258 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 75980C 802A125C 24040006 */ addiu $a0, $zero, 6
|
||||
/* 759810 802A1260 2673000A */ addiu $s3, $s3, 0xa
|
||||
/* 759814 802A1264 4493D000 */ mtc1 $s3, $f26
|
||||
/* 759818 802A1268 00000000 */ nop
|
||||
/* 75981C 802A126C 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 759820 802A1270 26310012 */ addiu $s1, $s1, 0x12
|
||||
/* 759824 802A1274 4491C000 */ mtc1 $s1, $f24
|
||||
/* 759828 802A1278 00000000 */ nop
|
||||
/* 75982C 802A127C 4680C620 */ cvt.s.w $f24, $f24
|
||||
/* 759830 802A1280 4490A000 */ mtc1 $s0, $f20
|
||||
/* 759834 802A1284 00000000 */ nop
|
||||
/* 759838 802A1288 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 75983C 802A128C 46000586 */ mov.s $f22, $f0
|
||||
/* 759840 802A1290 4405D000 */ mfc1 $a1, $f26
|
||||
/* 759844 802A1294 4406C000 */ mfc1 $a2, $f24
|
||||
/* 759848 802A1298 4407A000 */ mfc1 $a3, $f20
|
||||
/* 75984C 802A129C 2402002D */ addiu $v0, $zero, 0x2d
|
||||
/* 759850 802A12A0 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 759854 802A12A4 0C01C82C */ jal func_800720B0
|
||||
/* 759858 802A12A8 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 75985C 802A12AC 2404000C */ addiu $a0, $zero, 0xc
|
||||
/* 759860 802A12B0 4405D000 */ mfc1 $a1, $f26
|
||||
/* 759864 802A12B4 4406C000 */ mfc1 $a2, $f24
|
||||
/* 759868 802A12B8 4407A000 */ mfc1 $a3, $f20
|
||||
/* 75986C 802A12BC 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 759870 802A12C0 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 759874 802A12C4 0C01C2EC */ jal func_80070BB0
|
||||
/* 759878 802A12C8 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 75987C 802A12CC 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 759880 802A12D0 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 759884 802A12D4 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 759888 802A12D8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 75988C 802A12DC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 759890 802A12E0 D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 759894 802A12E4 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 759898 802A12E8 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 75989C 802A12EC D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 7598A0 802A12F0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7598A4 802A12F4 03E00008 */ jr $ra
|
||||
/* 7598A8 802A12F8 27BD0050 */ addiu $sp, $sp, 0x50
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12FC_7598AC
|
||||
/* 7598AC 802A12FC 3C02802A */ lui $v0, %hi(D_802A43D0)
|
||||
/* 7598B0 802A1300 8C4243D0 */ lw $v0, %lo(D_802A43D0)($v0)
|
||||
/* 7598B4 802A1304 54400002 */ bnel $v0, $zero, .L802A1310
|
||||
/* 7598B8 802A1308 24020005 */ addiu $v0, $zero, 5
|
||||
/* 7598BC 802A130C 24020004 */ addiu $v0, $zero, 4
|
||||
.L802A1310:
|
||||
/* 7598C0 802A1310 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 7598C4 802A1314 03E00008 */ jr $ra
|
||||
/* 7598C8 802A1318 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7598CC 802A131C 00000000 */ nop
|
@ -1,25 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_75E5D0
|
||||
/* 75E5D0 802A1000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 75E5D4 802A1004 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 75E5D8 802A1008 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 75E5DC 802A100C 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 75E5E0 802A1010 3C03800E */ lui $v1, %hi(gBattleStatus+0x83)
|
||||
/* 75E5E4 802A1014 8063C0F3 */ lb $v1, %lo(gBattleStatus+0x83)($v1)
|
||||
/* 75E5E8 802A1018 24040015 */ addiu $a0, $zero, 0x15
|
||||
/* 75E5EC 802A101C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 75E5F0 802A1020 AE020088 */ sw $v0, 0x88($s0)
|
||||
/* 75E5F4 802A1024 0C03A752 */ jal is_ability_active
|
||||
/* 75E5F8 802A1028 AE030084 */ sw $v1, 0x84($s0)
|
||||
/* 75E5FC 802A102C 10400003 */ beqz $v0, .L802A103C
|
||||
/* 75E600 802A1030 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* 75E604 802A1034 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 75E608 802A1038 AE020088 */ sw $v0, 0x88($s0)
|
||||
.L802A103C:
|
||||
/* 75E60C 802A103C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 75E610 802A1040 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 75E614 802A1044 24020002 */ addiu $v0, $zero, 2
|
||||
/* 75E618 802A1048 03E00008 */ jr $ra
|
||||
/* 75E61C 802A104C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,27 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1050_75E620
|
||||
/* 75E620 802A1050 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 75E624 802A1054 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 75E628 802A1058 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 75E62C 802A105C 24040016 */ addiu $a0, $zero, 0x16
|
||||
/* 75E630 802A1060 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 75E634 802A1064 0C03A752 */ jal is_ability_active
|
||||
/* 75E638 802A1068 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 75E63C 802A106C 10400002 */ beqz $v0, .L802A1078
|
||||
/* 75E640 802A1070 24020001 */ addiu $v0, $zero, 1
|
||||
/* 75E644 802A1074 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1078:
|
||||
/* 75E648 802A1078 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 75E64C 802A107C 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0)
|
||||
/* 75E650 802A1080 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* 75E654 802A1084 10400002 */ beqz $v0, .L802A1090
|
||||
/* 75E658 802A1088 24020001 */ addiu $v0, $zero, 1
|
||||
/* 75E65C 802A108C AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1090:
|
||||
/* 75E660 802A1090 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 75E664 802A1094 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 75E668 802A1098 24020002 */ addiu $v0, $zero, 2
|
||||
/* 75E66C 802A109C 03E00008 */ jr $ra
|
||||
/* 75E670 802A10A0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10A4_75E674
|
||||
/* 75E674 802A10A4 AC800084 */ sw $zero, 0x84($a0)
|
||||
/* 75E678 802A10A8 3C02800E */ lui $v0, %hi(gBattleStatus+0x96)
|
||||
/* 75E67C 802A10AC 8042C106 */ lb $v0, %lo(gBattleStatus+0x96)($v0)
|
||||
/* 75E680 802A10B0 28420063 */ slti $v0, $v0, 0x63
|
||||
/* 75E684 802A10B4 14400002 */ bnez $v0, .L802A10C0
|
||||
/* 75E688 802A10B8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 75E68C 802A10BC AC820084 */ sw $v0, 0x84($a0)
|
||||
.L802A10C0:
|
||||
/* 75E690 802A10C0 03E00008 */ jr $ra
|
||||
/* 75E694 802A10C4 24020002 */ addiu $v0, $zero, 2
|
@ -1,78 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10C8_75E698
|
||||
/* 75E698 802A10C8 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 75E69C 802A10CC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 75E6A0 802A10D0 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 75E6A4 802A10D4 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 75E6A8 802A10D8 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 75E6AC 802A10DC AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 75E6B0 802A10E0 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 75E6B4 802A10E4 8E050000 */ lw $a1, ($s0)
|
||||
/* 75E6B8 802A10E8 0C0B1EAF */ jal get_variable
|
||||
/* 75E6BC 802A10EC 26100004 */ addiu $s0, $s0, 4
|
||||
/* 75E6C0 802A10F0 8E050000 */ lw $a1, ($s0)
|
||||
/* 75E6C4 802A10F4 26100004 */ addiu $s0, $s0, 4
|
||||
/* 75E6C8 802A10F8 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 75E6CC 802A10FC 0C0B1EAF */ jal get_variable
|
||||
/* 75E6D0 802A1100 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 75E6D4 802A1104 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 75E6D8 802A1108 8E050000 */ lw $a1, ($s0)
|
||||
/* 75E6DC 802A110C 0C0B1EAF */ jal get_variable
|
||||
/* 75E6E0 802A1110 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 75E6E4 802A1114 24040002 */ addiu $a0, $zero, 2
|
||||
/* 75E6E8 802A1118 44921000 */ mtc1 $s2, $f2
|
||||
/* 75E6EC 802A111C 00000000 */ nop
|
||||
/* 75E6F0 802A1120 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 75E6F4 802A1124 44051000 */ mfc1 $a1, $f2
|
||||
/* 75E6F8 802A1128 44901000 */ mtc1 $s0, $f2
|
||||
/* 75E6FC 802A112C 00000000 */ nop
|
||||
/* 75E700 802A1130 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 75E704 802A1134 44061000 */ mfc1 $a2, $f2
|
||||
/* 75E708 802A1138 44821000 */ mtc1 $v0, $f2
|
||||
/* 75E70C 802A113C 00000000 */ nop
|
||||
/* 75E710 802A1140 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 75E714 802A1144 3C013F80 */ lui $at, 0x3f80
|
||||
/* 75E718 802A1148 44810000 */ mtc1 $at, $f0
|
||||
/* 75E71C 802A114C 44071000 */ mfc1 $a3, $f2
|
||||
/* 75E720 802A1150 2403003C */ addiu $v1, $zero, 0x3c
|
||||
/* 75E724 802A1154 AFA30014 */ sw $v1, 0x14($sp)
|
||||
/* 75E728 802A1158 0C01C634 */ jal func_800718D0
|
||||
/* 75E72C 802A115C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 75E730 802A1160 3C04802A */ lui $a0, %hi(D_802A4350)
|
||||
/* 75E734 802A1164 24844350 */ addiu $a0, $a0, %lo(D_802A4350)
|
||||
/* 75E738 802A1168 3C10800E */ lui $s0, %hi(gBattleStatus)
|
||||
/* 75E73C 802A116C 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
|
||||
/* 75E740 802A1170 AC800000 */ sw $zero, ($a0)
|
||||
/* 75E744 802A1174 82020096 */ lb $v0, 0x96($s0)
|
||||
/* 75E748 802A1178 92030096 */ lbu $v1, 0x96($s0)
|
||||
/* 75E74C 802A117C 18400003 */ blez $v0, .L802A118C
|
||||
/* 75E750 802A1180 0200882D */ daddu $s1, $s0, $zero
|
||||
/* 75E754 802A1184 24020001 */ addiu $v0, $zero, 1
|
||||
/* 75E758 802A1188 AC820000 */ sw $v0, ($a0)
|
||||
.L802A118C:
|
||||
/* 75E75C 802A118C 24620003 */ addiu $v0, $v1, 3
|
||||
/* 75E760 802A1190 A2020096 */ sb $v0, 0x96($s0)
|
||||
/* 75E764 802A1194 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 75E768 802A1198 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 75E76C 802A119C 28420064 */ slti $v0, $v0, 0x64
|
||||
/* 75E770 802A11A0 14400003 */ bnez $v0, .L802A11B0
|
||||
/* 75E774 802A11A4 3C03DFFF */ lui $v1, 0xdfff
|
||||
/* 75E778 802A11A8 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 75E77C 802A11AC A2020096 */ sb $v0, 0x96($s0)
|
||||
.L802A11B0:
|
||||
/* 75E780 802A11B0 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 75E784 802A11B4 8E240000 */ lw $a0, ($s1)
|
||||
/* 75E788 802A11B8 3C051000 */ lui $a1, 0x1000
|
||||
/* 75E78C 802A11BC A2200097 */ sb $zero, 0x97($s1)
|
||||
/* 75E790 802A11C0 00852025 */ or $a0, $a0, $a1
|
||||
/* 75E794 802A11C4 00832024 */ and $a0, $a0, $v1
|
||||
/* 75E798 802A11C8 AE240000 */ sw $a0, ($s1)
|
||||
/* 75E79C 802A11CC 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 75E7A0 802A11D0 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 75E7A4 802A11D4 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 75E7A8 802A11D8 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 75E7AC 802A11DC 24020002 */ addiu $v0, $zero, 2
|
||||
/* 75E7B0 802A11E0 03E00008 */ jr $ra
|
||||
/* 75E7B4 802A11E4 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,73 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A11E8_75E7B8
|
||||
/* 75E7B8 802A11E8 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 75E7BC 802A11EC AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 75E7C0 802A11F0 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 75E7C4 802A11F4 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 75E7C8 802A11F8 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 75E7CC 802A11FC AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 75E7D0 802A1200 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 75E7D4 802A1204 F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 75E7D8 802A1208 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 75E7DC 802A120C F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 75E7E0 802A1210 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 75E7E4 802A1214 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 75E7E8 802A1218 8E050000 */ lw $a1, ($s0)
|
||||
/* 75E7EC 802A121C 0C0B1EAF */ jal get_variable
|
||||
/* 75E7F0 802A1220 26100004 */ addiu $s0, $s0, 4
|
||||
/* 75E7F4 802A1224 8E050000 */ lw $a1, ($s0)
|
||||
/* 75E7F8 802A1228 26100004 */ addiu $s0, $s0, 4
|
||||
/* 75E7FC 802A122C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 75E800 802A1230 0C0B1EAF */ jal get_variable
|
||||
/* 75E804 802A1234 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 75E808 802A1238 8E050000 */ lw $a1, ($s0)
|
||||
/* 75E80C 802A123C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 75E810 802A1240 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 75E814 802A1244 0C0B1EAF */ jal get_variable
|
||||
/* 75E818 802A1248 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 75E81C 802A124C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 75E820 802A1250 8E050000 */ lw $a1, ($s0)
|
||||
/* 75E824 802A1254 0C0B210B */ jal get_float_variable
|
||||
/* 75E828 802A1258 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 75E82C 802A125C 24040006 */ addiu $a0, $zero, 6
|
||||
/* 75E830 802A1260 2673000A */ addiu $s3, $s3, 0xa
|
||||
/* 75E834 802A1264 4493D000 */ mtc1 $s3, $f26
|
||||
/* 75E838 802A1268 00000000 */ nop
|
||||
/* 75E83C 802A126C 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 75E840 802A1270 26310012 */ addiu $s1, $s1, 0x12
|
||||
/* 75E844 802A1274 4491C000 */ mtc1 $s1, $f24
|
||||
/* 75E848 802A1278 00000000 */ nop
|
||||
/* 75E84C 802A127C 4680C620 */ cvt.s.w $f24, $f24
|
||||
/* 75E850 802A1280 4490A000 */ mtc1 $s0, $f20
|
||||
/* 75E854 802A1284 00000000 */ nop
|
||||
/* 75E858 802A1288 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 75E85C 802A128C 46000586 */ mov.s $f22, $f0
|
||||
/* 75E860 802A1290 4405D000 */ mfc1 $a1, $f26
|
||||
/* 75E864 802A1294 4406C000 */ mfc1 $a2, $f24
|
||||
/* 75E868 802A1298 4407A000 */ mfc1 $a3, $f20
|
||||
/* 75E86C 802A129C 2402002D */ addiu $v0, $zero, 0x2d
|
||||
/* 75E870 802A12A0 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 75E874 802A12A4 0C01C82C */ jal func_800720B0
|
||||
/* 75E878 802A12A8 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 75E87C 802A12AC 2404000D */ addiu $a0, $zero, 0xd
|
||||
/* 75E880 802A12B0 4405D000 */ mfc1 $a1, $f26
|
||||
/* 75E884 802A12B4 4406C000 */ mfc1 $a2, $f24
|
||||
/* 75E888 802A12B8 4407A000 */ mfc1 $a3, $f20
|
||||
/* 75E88C 802A12BC 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 75E890 802A12C0 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 75E894 802A12C4 0C01C2EC */ jal func_80070BB0
|
||||
/* 75E898 802A12C8 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 75E89C 802A12CC 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 75E8A0 802A12D0 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 75E8A4 802A12D4 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 75E8A8 802A12D8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 75E8AC 802A12DC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 75E8B0 802A12E0 D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 75E8B4 802A12E4 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 75E8B8 802A12E8 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 75E8BC 802A12EC D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 75E8C0 802A12F0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 75E8C4 802A12F4 03E00008 */ jr $ra
|
||||
/* 75E8C8 802A12F8 27BD0050 */ addiu $sp, $sp, 0x50
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A12FC_75E8CC
|
||||
/* 75E8CC 802A12FC 3C02802A */ lui $v0, %hi(D_802A4350)
|
||||
/* 75E8D0 802A1300 8C424350 */ lw $v0, %lo(D_802A4350)($v0)
|
||||
/* 75E8D4 802A1304 54400002 */ bnel $v0, $zero, .L802A1310
|
||||
/* 75E8D8 802A1308 24020005 */ addiu $v0, $zero, 5
|
||||
/* 75E8DC 802A130C 24020004 */ addiu $v0, $zero, 4
|
||||
.L802A1310:
|
||||
/* 75E8E0 802A1310 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 75E8E4 802A1314 03E00008 */ jr $ra
|
||||
/* 75E8E8 802A1318 24020002 */ addiu $v0, $zero, 2
|
||||
/* 75E8EC 802A131C 00000000 */ nop
|
@ -1,25 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_752450
|
||||
/* 752450 802A1000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 752454 802A1004 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 752458 802A1008 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 75245C 802A100C 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 752460 802A1010 3C03800E */ lui $v1, %hi(gBattleStatus+0x83)
|
||||
/* 752464 802A1014 8063C0F3 */ lb $v1, %lo(gBattleStatus+0x83)($v1)
|
||||
/* 752468 802A1018 24040015 */ addiu $a0, $zero, 0x15
|
||||
/* 75246C 802A101C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 752470 802A1020 AE020088 */ sw $v0, 0x88($s0)
|
||||
/* 752474 802A1024 0C03A752 */ jal is_ability_active
|
||||
/* 752478 802A1028 AE030084 */ sw $v1, 0x84($s0)
|
||||
/* 75247C 802A102C 10400003 */ beqz $v0, .L802A103C
|
||||
/* 752480 802A1030 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* 752484 802A1034 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 752488 802A1038 AE020088 */ sw $v0, 0x88($s0)
|
||||
.L802A103C:
|
||||
/* 75248C 802A103C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 752490 802A1040 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 752494 802A1044 24020002 */ addiu $v0, $zero, 2
|
||||
/* 752498 802A1048 03E00008 */ jr $ra
|
||||
/* 75249C 802A104C 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,26 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1050_7524A0
|
||||
/* 7524A0 802A1050 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 7524A4 802A1054 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 7524A8 802A1058 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 7524AC 802A105C 24040016 */ addiu $a0, $zero, 0x16
|
||||
/* 7524B0 802A1060 AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7524B4 802A1064 0C03A752 */ jal is_ability_active
|
||||
/* 7524B8 802A1068 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 7524BC 802A106C 10400002 */ beqz $v0, .L802A1078
|
||||
/* 7524C0 802A1070 24020001 */ addiu $v0, $zero, 1
|
||||
/* 7524C4 802A1074 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1078:
|
||||
/* 7524C8 802A1078 3C02800E */ lui $v0, %hi(gBattleStatus)
|
||||
/* 7524CC 802A107C 8C42C070 */ lw $v0, %lo(gBattleStatus)($v0)
|
||||
/* 7524D0 802A1080 30421000 */ andi $v0, $v0, 0x1000
|
||||
/* 7524D4 802A1084 10400002 */ beqz $v0, .L802A1090
|
||||
/* 7524D8 802A1088 24020001 */ addiu $v0, $zero, 1
|
||||
/* 7524DC 802A108C AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1090:
|
||||
/* 7524E0 802A1090 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7524E4 802A1094 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7524E8 802A1098 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7524EC 802A109C 03E00008 */ jr $ra
|
@ -1,64 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_73D860
|
||||
/* 73D860 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 73D864 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 73D868 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 73D86C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 73D870 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 73D874 802A1014 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 73D878 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
|
||||
/* 73D87C 802A101C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 73D880 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
|
||||
/* 73D884 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
|
||||
/* 73D888 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
|
||||
/* 73D88C 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 73D890 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
|
||||
/* 73D894 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
|
||||
/* 73D898 802A1038 44062000 */ mfc1 $a2, $f4
|
||||
/* 73D89C 802A103C 44073000 */ mfc1 $a3, $f6
|
||||
/* 73D8A0 802A1040 0060882D */ daddu $s1, $v1, $zero
|
||||
/* 73D8A4 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 73D8A8 802A1048 0C00A7CB */ jal dist3D
|
||||
/* 73D8AC 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 73D8B0 802A1050 3C014170 */ lui $at, 0x4170
|
||||
/* 73D8B4 802A1054 44811000 */ mtc1 $at, $f2
|
||||
/* 73D8B8 802A1058 00000000 */ nop
|
||||
/* 73D8BC 802A105C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 73D8C0 802A1060 00000000 */ nop
|
||||
/* 73D8C4 802A1064 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 73D8C8 802A1068 44811000 */ mtc1 $at, $f2
|
||||
/* 73D8CC 802A106C 00000000 */ nop
|
||||
/* 73D8D0 802A1070 46020003 */ div.s $f0, $f0, $f2
|
||||
/* 73D8D4 802A1074 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 73D8D8 802A1078 44024000 */ mfc1 $v0, $f8
|
||||
/* 73D8DC 802A107C 00000000 */ nop
|
||||
/* 73D8E0 802A1080 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 73D8E4 802A1084 28420015 */ slti $v0, $v0, 0x15
|
||||
/* 73D8E8 802A1088 14400002 */ bnez $v0, .L802A1094
|
||||
/* 73D8EC 802A108C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 73D8F0 802A1090 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1094:
|
||||
/* 73D8F4 802A1094 82220083 */ lb $v0, 0x83($s1)
|
||||
/* 73D8F8 802A1098 10400007 */ beqz $v0, .L802A10B8
|
||||
/* 73D8FC 802A109C 00000000 */ nop
|
||||
/* 73D900 802A10A0 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 73D904 802A10A4 28420006 */ slti $v0, $v0, 6
|
||||
/* 73D908 802A10A8 10400008 */ beqz $v0, .L802A10CC
|
||||
/* 73D90C 802A10AC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 73D910 802A10B0 080A8433 */ j .L802A10CC
|
||||
/* 73D914 802A10B4 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10B8:
|
||||
/* 73D918 802A10B8 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 73D91C 802A10BC 2842000C */ slti $v0, $v0, 0xc
|
||||
/* 73D920 802A10C0 10400002 */ beqz $v0, .L802A10CC
|
||||
/* 73D924 802A10C4 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 73D928 802A10C8 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10CC:
|
||||
/* 73D92C 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 73D930 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 73D934 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 73D938 802A10D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 73D93C 802A10DC 03E00008 */ jr $ra
|
||||
/* 73D940 802A10E0 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,31 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10E4_73D944
|
||||
/* 73D944 802A10E4 24050001 */ addiu $a1, $zero, 1
|
||||
/* 73D948 802A10E8 AC8500C0 */ sw $a1, 0xc0($a0)
|
||||
/* 73D94C 802A10EC 3C038011 */ lui $v1, %hi(gPlayerData)
|
||||
/* 73D950 802A10F0 8063F290 */ lb $v1, %lo(gPlayerData)($v1)
|
||||
/* 73D954 802A10F4 1065000B */ beq $v1, $a1, .L802A1124
|
||||
/* 73D958 802A10F8 28620002 */ slti $v0, $v1, 2
|
||||
/* 73D95C 802A10FC 10400005 */ beqz $v0, .L802A1114
|
||||
/* 73D960 802A1100 24020002 */ addiu $v0, $zero, 2
|
||||
/* 73D964 802A1104 1060000A */ beqz $v1, .L802A1130
|
||||
/* 73D968 802A1108 00000000 */ nop
|
||||
/* 73D96C 802A110C 080A844C */ j .L802A1130
|
||||
/* 73D970 802A1110 00000000 */ nop
|
||||
.L802A1114:
|
||||
/* 73D974 802A1114 50620004 */ beql $v1, $v0, .L802A1128
|
||||
/* 73D978 802A1118 24020003 */ addiu $v0, $zero, 3
|
||||
/* 73D97C 802A111C 080A844C */ j .L802A1130
|
||||
/* 73D980 802A1120 00000000 */ nop
|
||||
.L802A1124:
|
||||
/* 73D984 802A1124 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1128:
|
||||
/* 73D988 802A1128 AC8200C0 */ sw $v0, 0xc0($a0)
|
||||
/* 73D98C 802A112C 24020002 */ addiu $v0, $zero, 2
|
||||
.L802A1130:
|
||||
/* 73D990 802A1130 03E00008 */ jr $ra
|
||||
/* 73D994 802A1134 00000000 */ nop
|
||||
/* 73D998 802A1138 00000000 */ nop
|
||||
/* 73D99C 802A113C 00000000 */ nop
|
@ -1,64 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_74D570
|
||||
/* 74D570 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 74D574 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 74D578 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 74D57C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 74D580 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 74D584 802A1014 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 74D588 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
|
||||
/* 74D58C 802A101C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 74D590 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
|
||||
/* 74D594 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
|
||||
/* 74D598 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
|
||||
/* 74D59C 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 74D5A0 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
|
||||
/* 74D5A4 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
|
||||
/* 74D5A8 802A1038 44062000 */ mfc1 $a2, $f4
|
||||
/* 74D5AC 802A103C 44073000 */ mfc1 $a3, $f6
|
||||
/* 74D5B0 802A1040 0060882D */ daddu $s1, $v1, $zero
|
||||
/* 74D5B4 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 74D5B8 802A1048 0C00A7CB */ jal dist3D
|
||||
/* 74D5BC 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 74D5C0 802A1050 3C014170 */ lui $at, 0x4170
|
||||
/* 74D5C4 802A1054 44811000 */ mtc1 $at, $f2
|
||||
/* 74D5C8 802A1058 00000000 */ nop
|
||||
/* 74D5CC 802A105C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 74D5D0 802A1060 00000000 */ nop
|
||||
/* 74D5D4 802A1064 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 74D5D8 802A1068 44811000 */ mtc1 $at, $f2
|
||||
/* 74D5DC 802A106C 00000000 */ nop
|
||||
/* 74D5E0 802A1070 46020003 */ div.s $f0, $f0, $f2
|
||||
/* 74D5E4 802A1074 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 74D5E8 802A1078 44024000 */ mfc1 $v0, $f8
|
||||
/* 74D5EC 802A107C 00000000 */ nop
|
||||
/* 74D5F0 802A1080 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 74D5F4 802A1084 28420015 */ slti $v0, $v0, 0x15
|
||||
/* 74D5F8 802A1088 14400002 */ bnez $v0, .L802A1094
|
||||
/* 74D5FC 802A108C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 74D600 802A1090 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1094:
|
||||
/* 74D604 802A1094 82220083 */ lb $v0, 0x83($s1)
|
||||
/* 74D608 802A1098 10400007 */ beqz $v0, .L802A10B8
|
||||
/* 74D60C 802A109C 00000000 */ nop
|
||||
/* 74D610 802A10A0 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 74D614 802A10A4 28420006 */ slti $v0, $v0, 6
|
||||
/* 74D618 802A10A8 10400008 */ beqz $v0, .L802A10CC
|
||||
/* 74D61C 802A10AC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 74D620 802A10B0 080A8433 */ j .L802A10CC
|
||||
/* 74D624 802A10B4 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10B8:
|
||||
/* 74D628 802A10B8 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 74D62C 802A10BC 2842000C */ slti $v0, $v0, 0xc
|
||||
/* 74D630 802A10C0 10400002 */ beqz $v0, .L802A10CC
|
||||
/* 74D634 802A10C4 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 74D638 802A10C8 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10CC:
|
||||
/* 74D63C 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 74D640 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 74D644 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 74D648 802A10D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 74D64C 802A10DC 03E00008 */ jr $ra
|
||||
/* 74D650 802A10E0 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10E4_74D654
|
||||
/* 74D654 802A10E4 AC800084 */ sw $zero, 0x84($a0)
|
||||
/* 74D658 802A10E8 3C02800E */ lui $v0, %hi(gBattleStatus+0x97)
|
||||
/* 74D65C 802A10EC 8042C107 */ lb $v0, %lo(gBattleStatus+0x97)($v0)
|
||||
/* 74D660 802A10F0 28420063 */ slti $v0, $v0, 0x63
|
||||
/* 74D664 802A10F4 14400002 */ bnez $v0, .L802A1100
|
||||
/* 74D668 802A10F8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 74D66C 802A10FC AC820084 */ sw $v0, 0x84($a0)
|
||||
.L802A1100:
|
||||
/* 74D670 802A1100 03E00008 */ jr $ra
|
||||
/* 74D674 802A1104 24020002 */ addiu $v0, $zero, 2
|
@ -1,70 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1108_74D678
|
||||
/* 74D678 802A1108 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 74D67C 802A110C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 74D680 802A1110 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 74D684 802A1114 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 74D688 802A1118 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 74D68C 802A111C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 74D690 802A1120 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 74D694 802A1124 8E050000 */ lw $a1, ($s0)
|
||||
/* 74D698 802A1128 0C0B1EAF */ jal get_variable
|
||||
/* 74D69C 802A112C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74D6A0 802A1130 8E050000 */ lw $a1, ($s0)
|
||||
/* 74D6A4 802A1134 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74D6A8 802A1138 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74D6AC 802A113C 0C0B1EAF */ jal get_variable
|
||||
/* 74D6B0 802A1140 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 74D6B4 802A1144 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74D6B8 802A1148 8E050000 */ lw $a1, ($s0)
|
||||
/* 74D6BC 802A114C 0C0B1EAF */ jal get_variable
|
||||
/* 74D6C0 802A1150 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 74D6C4 802A1154 0000202D */ daddu $a0, $zero, $zero
|
||||
/* 74D6C8 802A1158 44921000 */ mtc1 $s2, $f2
|
||||
/* 74D6CC 802A115C 00000000 */ nop
|
||||
/* 74D6D0 802A1160 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74D6D4 802A1164 44051000 */ mfc1 $a1, $f2
|
||||
/* 74D6D8 802A1168 44901000 */ mtc1 $s0, $f2
|
||||
/* 74D6DC 802A116C 00000000 */ nop
|
||||
/* 74D6E0 802A1170 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74D6E4 802A1174 44061000 */ mfc1 $a2, $f2
|
||||
/* 74D6E8 802A1178 44821000 */ mtc1 $v0, $f2
|
||||
/* 74D6EC 802A117C 00000000 */ nop
|
||||
/* 74D6F0 802A1180 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74D6F4 802A1184 3C013F80 */ lui $at, 0x3f80
|
||||
/* 74D6F8 802A1188 44810000 */ mtc1 $at, $f0
|
||||
/* 74D6FC 802A118C 44071000 */ mfc1 $a3, $f2
|
||||
/* 74D700 802A1190 2403003C */ addiu $v1, $zero, 0x3c
|
||||
/* 74D704 802A1194 AFA30014 */ sw $v1, 0x14($sp)
|
||||
/* 74D708 802A1198 0C01C634 */ jal func_800718D0
|
||||
/* 74D70C 802A119C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 74D710 802A11A0 3C10800E */ lui $s0, %hi(gBattleStatus)
|
||||
/* 74D714 802A11A4 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
|
||||
/* 74D718 802A11A8 92020097 */ lbu $v0, 0x97($s0)
|
||||
/* 74D71C 802A11AC 24420001 */ addiu $v0, $v0, 1
|
||||
/* 74D720 802A11B0 A2020097 */ sb $v0, 0x97($s0)
|
||||
/* 74D724 802A11B4 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 74D728 802A11B8 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 74D72C 802A11BC 28420064 */ slti $v0, $v0, 0x64
|
||||
/* 74D730 802A11C0 14400003 */ bnez $v0, .L802A11D0
|
||||
/* 74D734 802A11C4 0200882D */ daddu $s1, $s0, $zero
|
||||
/* 74D738 802A11C8 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 74D73C 802A11CC A2020097 */ sb $v0, 0x97($s0)
|
||||
.L802A11D0:
|
||||
/* 74D740 802A11D0 3C03EFFF */ lui $v1, 0xefff
|
||||
/* 74D744 802A11D4 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 74D748 802A11D8 8E240000 */ lw $a0, ($s1)
|
||||
/* 74D74C 802A11DC 3C052000 */ lui $a1, 0x2000
|
||||
/* 74D750 802A11E0 A2200096 */ sb $zero, 0x96($s1)
|
||||
/* 74D754 802A11E4 00852025 */ or $a0, $a0, $a1
|
||||
/* 74D758 802A11E8 00832024 */ and $a0, $a0, $v1
|
||||
/* 74D75C 802A11EC AE240000 */ sw $a0, ($s1)
|
||||
/* 74D760 802A11F0 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 74D764 802A11F4 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 74D768 802A11F8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 74D76C 802A11FC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 74D770 802A1200 24020002 */ addiu $v0, $zero, 2
|
||||
/* 74D774 802A1204 03E00008 */ jr $ra
|
||||
/* 74D778 802A1208 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,57 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A120C_74D77C
|
||||
/* 74D77C 802A120C 27BDFFD0 */ addiu $sp, $sp, -0x30
|
||||
/* 74D780 802A1210 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 74D784 802A1214 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 74D788 802A1218 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 74D78C 802A121C AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 74D790 802A1220 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 74D794 802A1224 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 74D798 802A1228 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 74D79C 802A122C 8E050000 */ lw $a1, ($s0)
|
||||
/* 74D7A0 802A1230 0C0B1EAF */ jal get_variable
|
||||
/* 74D7A4 802A1234 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74D7A8 802A1238 8E050000 */ lw $a1, ($s0)
|
||||
/* 74D7AC 802A123C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74D7B0 802A1240 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74D7B4 802A1244 0C0B1EAF */ jal get_variable
|
||||
/* 74D7B8 802A1248 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 74D7BC 802A124C 8E050000 */ lw $a1, ($s0)
|
||||
/* 74D7C0 802A1250 26100004 */ addiu $s0, $s0, 4
|
||||
/* 74D7C4 802A1254 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74D7C8 802A1258 0C0B1EAF */ jal get_variable
|
||||
/* 74D7CC 802A125C 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 74D7D0 802A1260 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 74D7D4 802A1264 8E050000 */ lw $a1, ($s0)
|
||||
/* 74D7D8 802A1268 0C0B210B */ jal get_float_variable
|
||||
/* 74D7DC 802A126C 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 74D7E0 802A1270 24040006 */ addiu $a0, $zero, 6
|
||||
/* 74D7E4 802A1274 2673000A */ addiu $s3, $s3, 0xa
|
||||
/* 74D7E8 802A1278 44931000 */ mtc1 $s3, $f2
|
||||
/* 74D7EC 802A127C 00000000 */ nop
|
||||
/* 74D7F0 802A1280 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74D7F4 802A1284 26520012 */ addiu $s2, $s2, 0x12
|
||||
/* 74D7F8 802A1288 44051000 */ mfc1 $a1, $f2
|
||||
/* 74D7FC 802A128C 44921000 */ mtc1 $s2, $f2
|
||||
/* 74D800 802A1290 00000000 */ nop
|
||||
/* 74D804 802A1294 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74D808 802A1298 44061000 */ mfc1 $a2, $f2
|
||||
/* 74D80C 802A129C 44901000 */ mtc1 $s0, $f2
|
||||
/* 74D810 802A12A0 00000000 */ nop
|
||||
/* 74D814 802A12A4 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 74D818 802A12A8 44071000 */ mfc1 $a3, $f2
|
||||
/* 74D81C 802A12AC 2402002D */ addiu $v0, $zero, 0x2d
|
||||
/* 74D820 802A12B0 E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 74D824 802A12B4 0C01C82C */ jal func_800720B0
|
||||
/* 74D828 802A12B8 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 74D82C 802A12BC 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 74D830 802A12C0 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 74D834 802A12C4 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 74D838 802A12C8 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 74D83C 802A12CC 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 74D840 802A12D0 24020002 */ addiu $v0, $zero, 2
|
||||
/* 74D844 802A12D4 03E00008 */ jr $ra
|
||||
/* 74D848 802A12D8 27BD0030 */ addiu $sp, $sp, 0x30
|
||||
/* 74D84C 802A12DC 00000000 */ nop
|
@ -1,64 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_75C980
|
||||
/* 75C980 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 75C984 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 75C988 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 75C98C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 75C990 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 75C994 802A1014 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 75C998 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
|
||||
/* 75C99C 802A101C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 75C9A0 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
|
||||
/* 75C9A4 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
|
||||
/* 75C9A8 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
|
||||
/* 75C9AC 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 75C9B0 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
|
||||
/* 75C9B4 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
|
||||
/* 75C9B8 802A1038 44062000 */ mfc1 $a2, $f4
|
||||
/* 75C9BC 802A103C 44073000 */ mfc1 $a3, $f6
|
||||
/* 75C9C0 802A1040 0060882D */ daddu $s1, $v1, $zero
|
||||
/* 75C9C4 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 75C9C8 802A1048 0C00A7CB */ jal dist3D
|
||||
/* 75C9CC 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 75C9D0 802A1050 3C014170 */ lui $at, 0x4170
|
||||
/* 75C9D4 802A1054 44811000 */ mtc1 $at, $f2
|
||||
/* 75C9D8 802A1058 00000000 */ nop
|
||||
/* 75C9DC 802A105C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 75C9E0 802A1060 00000000 */ nop
|
||||
/* 75C9E4 802A1064 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 75C9E8 802A1068 44811000 */ mtc1 $at, $f2
|
||||
/* 75C9EC 802A106C 00000000 */ nop
|
||||
/* 75C9F0 802A1070 46020003 */ div.s $f0, $f0, $f2
|
||||
/* 75C9F4 802A1074 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 75C9F8 802A1078 44024000 */ mfc1 $v0, $f8
|
||||
/* 75C9FC 802A107C 00000000 */ nop
|
||||
/* 75CA00 802A1080 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 75CA04 802A1084 28420015 */ slti $v0, $v0, 0x15
|
||||
/* 75CA08 802A1088 14400002 */ bnez $v0, .L802A1094
|
||||
/* 75CA0C 802A108C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 75CA10 802A1090 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1094:
|
||||
/* 75CA14 802A1094 82220083 */ lb $v0, 0x83($s1)
|
||||
/* 75CA18 802A1098 10400007 */ beqz $v0, .L802A10B8
|
||||
/* 75CA1C 802A109C 00000000 */ nop
|
||||
/* 75CA20 802A10A0 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 75CA24 802A10A4 28420006 */ slti $v0, $v0, 6
|
||||
/* 75CA28 802A10A8 10400008 */ beqz $v0, .L802A10CC
|
||||
/* 75CA2C 802A10AC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 75CA30 802A10B0 080A8433 */ j .L802A10CC
|
||||
/* 75CA34 802A10B4 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10B8:
|
||||
/* 75CA38 802A10B8 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 75CA3C 802A10BC 2842000C */ slti $v0, $v0, 0xc
|
||||
/* 75CA40 802A10C0 10400002 */ beqz $v0, .L802A10CC
|
||||
/* 75CA44 802A10C4 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 75CA48 802A10C8 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10CC:
|
||||
/* 75CA4C 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 75CA50 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 75CA54 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 75CA58 802A10D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 75CA5C 802A10DC 03E00008 */ jr $ra
|
||||
/* 75CA60 802A10E0 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10E4_75CA64
|
||||
/* 75CA64 802A10E4 AC800084 */ sw $zero, 0x84($a0)
|
||||
/* 75CA68 802A10E8 3C02800E */ lui $v0, %hi(gBattleStatus+0x97)
|
||||
/* 75CA6C 802A10EC 8042C107 */ lb $v0, %lo(gBattleStatus+0x97)($v0)
|
||||
/* 75CA70 802A10F0 28420063 */ slti $v0, $v0, 0x63
|
||||
/* 75CA74 802A10F4 14400002 */ bnez $v0, .L802A1100
|
||||
/* 75CA78 802A10F8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 75CA7C 802A10FC AC820084 */ sw $v0, 0x84($a0)
|
||||
.L802A1100:
|
||||
/* 75CA80 802A1100 03E00008 */ jr $ra
|
||||
/* 75CA84 802A1104 24020002 */ addiu $v0, $zero, 2
|
@ -1,78 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1108_75CA88
|
||||
/* 75CA88 802A1108 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 75CA8C 802A110C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 75CA90 802A1110 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 75CA94 802A1114 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 75CA98 802A1118 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 75CA9C 802A111C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 75CAA0 802A1120 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 75CAA4 802A1124 8E050000 */ lw $a1, ($s0)
|
||||
/* 75CAA8 802A1128 0C0B1EAF */ jal get_variable
|
||||
/* 75CAAC 802A112C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 75CAB0 802A1130 8E050000 */ lw $a1, ($s0)
|
||||
/* 75CAB4 802A1134 26100004 */ addiu $s0, $s0, 4
|
||||
/* 75CAB8 802A1138 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 75CABC 802A113C 0C0B1EAF */ jal get_variable
|
||||
/* 75CAC0 802A1140 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 75CAC4 802A1144 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 75CAC8 802A1148 8E050000 */ lw $a1, ($s0)
|
||||
/* 75CACC 802A114C 0C0B1EAF */ jal get_variable
|
||||
/* 75CAD0 802A1150 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 75CAD4 802A1154 24040001 */ addiu $a0, $zero, 1
|
||||
/* 75CAD8 802A1158 44921000 */ mtc1 $s2, $f2
|
||||
/* 75CADC 802A115C 00000000 */ nop
|
||||
/* 75CAE0 802A1160 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 75CAE4 802A1164 44051000 */ mfc1 $a1, $f2
|
||||
/* 75CAE8 802A1168 44901000 */ mtc1 $s0, $f2
|
||||
/* 75CAEC 802A116C 00000000 */ nop
|
||||
/* 75CAF0 802A1170 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 75CAF4 802A1174 44061000 */ mfc1 $a2, $f2
|
||||
/* 75CAF8 802A1178 44821000 */ mtc1 $v0, $f2
|
||||
/* 75CAFC 802A117C 00000000 */ nop
|
||||
/* 75CB00 802A1180 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 75CB04 802A1184 3C013F80 */ lui $at, 0x3f80
|
||||
/* 75CB08 802A1188 44810000 */ mtc1 $at, $f0
|
||||
/* 75CB0C 802A118C 44071000 */ mfc1 $a3, $f2
|
||||
/* 75CB10 802A1190 2403003C */ addiu $v1, $zero, 0x3c
|
||||
/* 75CB14 802A1194 AFA30014 */ sw $v1, 0x14($sp)
|
||||
/* 75CB18 802A1198 0C01C634 */ jal func_800718D0
|
||||
/* 75CB1C 802A119C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 75CB20 802A11A0 3C04802A */ lui $a0, %hi(D_802A2C50)
|
||||
/* 75CB24 802A11A4 24842C50 */ addiu $a0, $a0, %lo(D_802A2C50)
|
||||
/* 75CB28 802A11A8 3C10800E */ lui $s0, %hi(gBattleStatus)
|
||||
/* 75CB2C 802A11AC 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
|
||||
/* 75CB30 802A11B0 AC800000 */ sw $zero, ($a0)
|
||||
/* 75CB34 802A11B4 82020097 */ lb $v0, 0x97($s0)
|
||||
/* 75CB38 802A11B8 92030097 */ lbu $v1, 0x97($s0)
|
||||
/* 75CB3C 802A11BC 18400003 */ blez $v0, .L802A11CC
|
||||
/* 75CB40 802A11C0 0200882D */ daddu $s1, $s0, $zero
|
||||
/* 75CB44 802A11C4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 75CB48 802A11C8 AC820000 */ sw $v0, ($a0)
|
||||
.L802A11CC:
|
||||
/* 75CB4C 802A11CC 24620002 */ addiu $v0, $v1, 2
|
||||
/* 75CB50 802A11D0 A2020097 */ sb $v0, 0x97($s0)
|
||||
/* 75CB54 802A11D4 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 75CB58 802A11D8 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 75CB5C 802A11DC 28420064 */ slti $v0, $v0, 0x64
|
||||
/* 75CB60 802A11E0 14400003 */ bnez $v0, .L802A11F0
|
||||
/* 75CB64 802A11E4 3C03EFFF */ lui $v1, 0xefff
|
||||
/* 75CB68 802A11E8 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 75CB6C 802A11EC A2020097 */ sb $v0, 0x97($s0)
|
||||
.L802A11F0:
|
||||
/* 75CB70 802A11F0 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 75CB74 802A11F4 8E240000 */ lw $a0, ($s1)
|
||||
/* 75CB78 802A11F8 3C052000 */ lui $a1, 0x2000
|
||||
/* 75CB7C 802A11FC A2200096 */ sb $zero, 0x96($s1)
|
||||
/* 75CB80 802A1200 00852025 */ or $a0, $a0, $a1
|
||||
/* 75CB84 802A1204 00832024 */ and $a0, $a0, $v1
|
||||
/* 75CB88 802A1208 AE240000 */ sw $a0, ($s1)
|
||||
/* 75CB8C 802A120C 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 75CB90 802A1210 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 75CB94 802A1214 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 75CB98 802A1218 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 75CB9C 802A121C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 75CBA0 802A1220 03E00008 */ jr $ra
|
||||
/* 75CBA4 802A1224 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,73 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1228_75CBA8
|
||||
/* 75CBA8 802A1228 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 75CBAC 802A122C AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 75CBB0 802A1230 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 75CBB4 802A1234 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 75CBB8 802A1238 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 75CBBC 802A123C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 75CBC0 802A1240 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 75CBC4 802A1244 F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 75CBC8 802A1248 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 75CBCC 802A124C F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 75CBD0 802A1250 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 75CBD4 802A1254 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 75CBD8 802A1258 8E050000 */ lw $a1, ($s0)
|
||||
/* 75CBDC 802A125C 0C0B1EAF */ jal get_variable
|
||||
/* 75CBE0 802A1260 26100004 */ addiu $s0, $s0, 4
|
||||
/* 75CBE4 802A1264 8E050000 */ lw $a1, ($s0)
|
||||
/* 75CBE8 802A1268 26100004 */ addiu $s0, $s0, 4
|
||||
/* 75CBEC 802A126C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 75CBF0 802A1270 0C0B1EAF */ jal get_variable
|
||||
/* 75CBF4 802A1274 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 75CBF8 802A1278 8E050000 */ lw $a1, ($s0)
|
||||
/* 75CBFC 802A127C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 75CC00 802A1280 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 75CC04 802A1284 0C0B1EAF */ jal get_variable
|
||||
/* 75CC08 802A1288 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 75CC0C 802A128C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 75CC10 802A1290 8E050000 */ lw $a1, ($s0)
|
||||
/* 75CC14 802A1294 0C0B210B */ jal get_float_variable
|
||||
/* 75CC18 802A1298 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 75CC1C 802A129C 24040006 */ addiu $a0, $zero, 6
|
||||
/* 75CC20 802A12A0 2673000A */ addiu $s3, $s3, 0xa
|
||||
/* 75CC24 802A12A4 4493D000 */ mtc1 $s3, $f26
|
||||
/* 75CC28 802A12A8 00000000 */ nop
|
||||
/* 75CC2C 802A12AC 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 75CC30 802A12B0 26310012 */ addiu $s1, $s1, 0x12
|
||||
/* 75CC34 802A12B4 4491C000 */ mtc1 $s1, $f24
|
||||
/* 75CC38 802A12B8 00000000 */ nop
|
||||
/* 75CC3C 802A12BC 4680C620 */ cvt.s.w $f24, $f24
|
||||
/* 75CC40 802A12C0 4490A000 */ mtc1 $s0, $f20
|
||||
/* 75CC44 802A12C4 00000000 */ nop
|
||||
/* 75CC48 802A12C8 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 75CC4C 802A12CC 46000586 */ mov.s $f22, $f0
|
||||
/* 75CC50 802A12D0 4405D000 */ mfc1 $a1, $f26
|
||||
/* 75CC54 802A12D4 4406C000 */ mfc1 $a2, $f24
|
||||
/* 75CC58 802A12D8 4407A000 */ mfc1 $a3, $f20
|
||||
/* 75CC5C 802A12DC 2402002D */ addiu $v0, $zero, 0x2d
|
||||
/* 75CC60 802A12E0 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 75CC64 802A12E4 0C01C82C */ jal func_800720B0
|
||||
/* 75CC68 802A12E8 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 75CC6C 802A12EC 2404000C */ addiu $a0, $zero, 0xc
|
||||
/* 75CC70 802A12F0 4405D000 */ mfc1 $a1, $f26
|
||||
/* 75CC74 802A12F4 4406C000 */ mfc1 $a2, $f24
|
||||
/* 75CC78 802A12F8 4407A000 */ mfc1 $a3, $f20
|
||||
/* 75CC7C 802A12FC 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 75CC80 802A1300 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 75CC84 802A1304 0C01C2EC */ jal func_80070BB0
|
||||
/* 75CC88 802A1308 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 75CC8C 802A130C 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 75CC90 802A1310 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 75CC94 802A1314 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 75CC98 802A1318 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 75CC9C 802A131C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 75CCA0 802A1320 D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 75CCA4 802A1324 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 75CCA8 802A1328 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 75CCAC 802A132C D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 75CCB0 802A1330 24020002 */ addiu $v0, $zero, 2
|
||||
/* 75CCB4 802A1334 03E00008 */ jr $ra
|
||||
/* 75CCB8 802A1338 27BD0050 */ addiu $sp, $sp, 0x50
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A133C_75CCBC
|
||||
/* 75CCBC 802A133C 3C02802A */ lui $v0, %hi(D_802A2C50)
|
||||
/* 75CCC0 802A1340 8C422C50 */ lw $v0, %lo(D_802A2C50)($v0)
|
||||
/* 75CCC4 802A1344 54400002 */ bnel $v0, $zero, .L802A1350
|
||||
/* 75CCC8 802A1348 24020007 */ addiu $v0, $zero, 7
|
||||
/* 75CCCC 802A134C 24020006 */ addiu $v0, $zero, 6
|
||||
.L802A1350:
|
||||
/* 75CCD0 802A1350 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 75CCD4 802A1354 03E00008 */ jr $ra
|
||||
/* 75CCD8 802A1358 24020002 */ addiu $v0, $zero, 2
|
||||
/* 75CCDC 802A135C 00000000 */ nop
|
@ -1,64 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_761920
|
||||
/* 761920 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 761924 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 761928 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 76192C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 761930 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 761934 802A1014 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 761938 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
|
||||
/* 76193C 802A101C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 761940 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
|
||||
/* 761944 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
|
||||
/* 761948 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
|
||||
/* 76194C 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 761950 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
|
||||
/* 761954 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
|
||||
/* 761958 802A1038 44062000 */ mfc1 $a2, $f4
|
||||
/* 76195C 802A103C 44073000 */ mfc1 $a3, $f6
|
||||
/* 761960 802A1040 0060882D */ daddu $s1, $v1, $zero
|
||||
/* 761964 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 761968 802A1048 0C00A7CB */ jal dist3D
|
||||
/* 76196C 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 761970 802A1050 3C014170 */ lui $at, 0x4170
|
||||
/* 761974 802A1054 44811000 */ mtc1 $at, $f2
|
||||
/* 761978 802A1058 00000000 */ nop
|
||||
/* 76197C 802A105C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 761980 802A1060 00000000 */ nop
|
||||
/* 761984 802A1064 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 761988 802A1068 44811000 */ mtc1 $at, $f2
|
||||
/* 76198C 802A106C 00000000 */ nop
|
||||
/* 761990 802A1070 46020003 */ div.s $f0, $f0, $f2
|
||||
/* 761994 802A1074 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 761998 802A1078 44024000 */ mfc1 $v0, $f8
|
||||
/* 76199C 802A107C 00000000 */ nop
|
||||
/* 7619A0 802A1080 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 7619A4 802A1084 28420015 */ slti $v0, $v0, 0x15
|
||||
/* 7619A8 802A1088 14400002 */ bnez $v0, .L802A1094
|
||||
/* 7619AC 802A108C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 7619B0 802A1090 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1094:
|
||||
/* 7619B4 802A1094 82220083 */ lb $v0, 0x83($s1)
|
||||
/* 7619B8 802A1098 10400007 */ beqz $v0, .L802A10B8
|
||||
/* 7619BC 802A109C 00000000 */ nop
|
||||
/* 7619C0 802A10A0 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 7619C4 802A10A4 28420006 */ slti $v0, $v0, 6
|
||||
/* 7619C8 802A10A8 10400008 */ beqz $v0, .L802A10CC
|
||||
/* 7619CC 802A10AC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 7619D0 802A10B0 080A8433 */ j .L802A10CC
|
||||
/* 7619D4 802A10B4 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10B8:
|
||||
/* 7619D8 802A10B8 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 7619DC 802A10BC 2842000C */ slti $v0, $v0, 0xc
|
||||
/* 7619E0 802A10C0 10400002 */ beqz $v0, .L802A10CC
|
||||
/* 7619E4 802A10C4 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 7619E8 802A10C8 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10CC:
|
||||
/* 7619EC 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 7619F0 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 7619F4 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 7619F8 802A10D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7619FC 802A10DC 03E00008 */ jr $ra
|
||||
/* 761A00 802A10E0 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A10E4_761A04
|
||||
/* 761A04 802A10E4 AC800084 */ sw $zero, 0x84($a0)
|
||||
/* 761A08 802A10E8 3C02800E */ lui $v0, %hi(gBattleStatus+0x97)
|
||||
/* 761A0C 802A10EC 8042C107 */ lb $v0, %lo(gBattleStatus+0x97)($v0)
|
||||
/* 761A10 802A10F0 28420063 */ slti $v0, $v0, 0x63
|
||||
/* 761A14 802A10F4 14400002 */ bnez $v0, .L802A1100
|
||||
/* 761A18 802A10F8 24020001 */ addiu $v0, $zero, 1
|
||||
/* 761A1C 802A10FC AC820084 */ sw $v0, 0x84($a0)
|
||||
.L802A1100:
|
||||
/* 761A20 802A1100 03E00008 */ jr $ra
|
||||
/* 761A24 802A1104 24020002 */ addiu $v0, $zero, 2
|
@ -1,78 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1108_761A28
|
||||
/* 761A28 802A1108 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 761A2C 802A110C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 761A30 802A1110 0080882D */ daddu $s1, $a0, $zero
|
||||
/* 761A34 802A1114 AFBF0024 */ sw $ra, 0x24($sp)
|
||||
/* 761A38 802A1118 AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 761A3C 802A111C AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 761A40 802A1120 8E30000C */ lw $s0, 0xc($s1)
|
||||
/* 761A44 802A1124 8E050000 */ lw $a1, ($s0)
|
||||
/* 761A48 802A1128 0C0B1EAF */ jal get_variable
|
||||
/* 761A4C 802A112C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 761A50 802A1130 8E050000 */ lw $a1, ($s0)
|
||||
/* 761A54 802A1134 26100004 */ addiu $s0, $s0, 4
|
||||
/* 761A58 802A1138 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 761A5C 802A113C 0C0B1EAF */ jal get_variable
|
||||
/* 761A60 802A1140 0040902D */ daddu $s2, $v0, $zero
|
||||
/* 761A64 802A1144 0220202D */ daddu $a0, $s1, $zero
|
||||
/* 761A68 802A1148 8E050000 */ lw $a1, ($s0)
|
||||
/* 761A6C 802A114C 0C0B1EAF */ jal get_variable
|
||||
/* 761A70 802A1150 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 761A74 802A1154 24040002 */ addiu $a0, $zero, 2
|
||||
/* 761A78 802A1158 44921000 */ mtc1 $s2, $f2
|
||||
/* 761A7C 802A115C 00000000 */ nop
|
||||
/* 761A80 802A1160 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 761A84 802A1164 44051000 */ mfc1 $a1, $f2
|
||||
/* 761A88 802A1168 44901000 */ mtc1 $s0, $f2
|
||||
/* 761A8C 802A116C 00000000 */ nop
|
||||
/* 761A90 802A1170 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 761A94 802A1174 44061000 */ mfc1 $a2, $f2
|
||||
/* 761A98 802A1178 44821000 */ mtc1 $v0, $f2
|
||||
/* 761A9C 802A117C 00000000 */ nop
|
||||
/* 761AA0 802A1180 468010A0 */ cvt.s.w $f2, $f2
|
||||
/* 761AA4 802A1184 3C013F80 */ lui $at, 0x3f80
|
||||
/* 761AA8 802A1188 44810000 */ mtc1 $at, $f0
|
||||
/* 761AAC 802A118C 44071000 */ mfc1 $a3, $f2
|
||||
/* 761AB0 802A1190 2403003C */ addiu $v1, $zero, 0x3c
|
||||
/* 761AB4 802A1194 AFA30014 */ sw $v1, 0x14($sp)
|
||||
/* 761AB8 802A1198 0C01C634 */ jal func_800718D0
|
||||
/* 761ABC 802A119C E7A00010 */ swc1 $f0, 0x10($sp)
|
||||
/* 761AC0 802A11A0 3C04802A */ lui $a0, %hi(D_802A2C20)
|
||||
/* 761AC4 802A11A4 24842C20 */ addiu $a0, $a0, %lo(D_802A2C20)
|
||||
/* 761AC8 802A11A8 3C10800E */ lui $s0, %hi(gBattleStatus)
|
||||
/* 761ACC 802A11AC 2610C070 */ addiu $s0, $s0, %lo(gBattleStatus)
|
||||
/* 761AD0 802A11B0 AC800000 */ sw $zero, ($a0)
|
||||
/* 761AD4 802A11B4 82020097 */ lb $v0, 0x97($s0)
|
||||
/* 761AD8 802A11B8 92030097 */ lbu $v1, 0x97($s0)
|
||||
/* 761ADC 802A11BC 18400003 */ blez $v0, .L802A11CC
|
||||
/* 761AE0 802A11C0 0200882D */ daddu $s1, $s0, $zero
|
||||
/* 761AE4 802A11C4 24020001 */ addiu $v0, $zero, 1
|
||||
/* 761AE8 802A11C8 AC820000 */ sw $v0, ($a0)
|
||||
.L802A11CC:
|
||||
/* 761AEC 802A11CC 24620003 */ addiu $v0, $v1, 3
|
||||
/* 761AF0 802A11D0 A2020097 */ sb $v0, 0x97($s0)
|
||||
/* 761AF4 802A11D4 00021600 */ sll $v0, $v0, 0x18
|
||||
/* 761AF8 802A11D8 00021603 */ sra $v0, $v0, 0x18
|
||||
/* 761AFC 802A11DC 28420064 */ slti $v0, $v0, 0x64
|
||||
/* 761B00 802A11E0 14400003 */ bnez $v0, .L802A11F0
|
||||
/* 761B04 802A11E4 3C03EFFF */ lui $v1, 0xefff
|
||||
/* 761B08 802A11E8 24020063 */ addiu $v0, $zero, 0x63
|
||||
/* 761B0C 802A11EC A2020097 */ sb $v0, 0x97($s0)
|
||||
.L802A11F0:
|
||||
/* 761B10 802A11F0 3463FFFF */ ori $v1, $v1, 0xffff
|
||||
/* 761B14 802A11F4 8E240000 */ lw $a0, ($s1)
|
||||
/* 761B18 802A11F8 3C052000 */ lui $a1, 0x2000
|
||||
/* 761B1C 802A11FC A2200096 */ sb $zero, 0x96($s1)
|
||||
/* 761B20 802A1200 00852025 */ or $a0, $a0, $a1
|
||||
/* 761B24 802A1204 00832024 */ and $a0, $a0, $v1
|
||||
/* 761B28 802A1208 AE240000 */ sw $a0, ($s1)
|
||||
/* 761B2C 802A120C 8FBF0024 */ lw $ra, 0x24($sp)
|
||||
/* 761B30 802A1210 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 761B34 802A1214 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 761B38 802A1218 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 761B3C 802A121C 24020002 */ addiu $v0, $zero, 2
|
||||
/* 761B40 802A1220 03E00008 */ jr $ra
|
||||
/* 761B44 802A1224 27BD0028 */ addiu $sp, $sp, 0x28
|
@ -1,73 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1228_761B48
|
||||
/* 761B48 802A1228 27BDFFB0 */ addiu $sp, $sp, -0x50
|
||||
/* 761B4C 802A122C AFB20020 */ sw $s2, 0x20($sp)
|
||||
/* 761B50 802A1230 0080902D */ daddu $s2, $a0, $zero
|
||||
/* 761B54 802A1234 AFBF0028 */ sw $ra, 0x28($sp)
|
||||
/* 761B58 802A1238 AFB30024 */ sw $s3, 0x24($sp)
|
||||
/* 761B5C 802A123C AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 761B60 802A1240 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 761B64 802A1244 F7BA0048 */ sdc1 $f26, 0x48($sp)
|
||||
/* 761B68 802A1248 F7B80040 */ sdc1 $f24, 0x40($sp)
|
||||
/* 761B6C 802A124C F7B60038 */ sdc1 $f22, 0x38($sp)
|
||||
/* 761B70 802A1250 F7B40030 */ sdc1 $f20, 0x30($sp)
|
||||
/* 761B74 802A1254 8E50000C */ lw $s0, 0xc($s2)
|
||||
/* 761B78 802A1258 8E050000 */ lw $a1, ($s0)
|
||||
/* 761B7C 802A125C 0C0B1EAF */ jal get_variable
|
||||
/* 761B80 802A1260 26100004 */ addiu $s0, $s0, 4
|
||||
/* 761B84 802A1264 8E050000 */ lw $a1, ($s0)
|
||||
/* 761B88 802A1268 26100004 */ addiu $s0, $s0, 4
|
||||
/* 761B8C 802A126C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 761B90 802A1270 0C0B1EAF */ jal get_variable
|
||||
/* 761B94 802A1274 0040982D */ daddu $s3, $v0, $zero
|
||||
/* 761B98 802A1278 8E050000 */ lw $a1, ($s0)
|
||||
/* 761B9C 802A127C 26100004 */ addiu $s0, $s0, 4
|
||||
/* 761BA0 802A1280 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 761BA4 802A1284 0C0B1EAF */ jal get_variable
|
||||
/* 761BA8 802A1288 0040882D */ daddu $s1, $v0, $zero
|
||||
/* 761BAC 802A128C 0240202D */ daddu $a0, $s2, $zero
|
||||
/* 761BB0 802A1290 8E050000 */ lw $a1, ($s0)
|
||||
/* 761BB4 802A1294 0C0B210B */ jal get_float_variable
|
||||
/* 761BB8 802A1298 0040802D */ daddu $s0, $v0, $zero
|
||||
/* 761BBC 802A129C 24040006 */ addiu $a0, $zero, 6
|
||||
/* 761BC0 802A12A0 2673000A */ addiu $s3, $s3, 0xa
|
||||
/* 761BC4 802A12A4 4493D000 */ mtc1 $s3, $f26
|
||||
/* 761BC8 802A12A8 00000000 */ nop
|
||||
/* 761BCC 802A12AC 4680D6A0 */ cvt.s.w $f26, $f26
|
||||
/* 761BD0 802A12B0 26310012 */ addiu $s1, $s1, 0x12
|
||||
/* 761BD4 802A12B4 4491C000 */ mtc1 $s1, $f24
|
||||
/* 761BD8 802A12B8 00000000 */ nop
|
||||
/* 761BDC 802A12BC 4680C620 */ cvt.s.w $f24, $f24
|
||||
/* 761BE0 802A12C0 4490A000 */ mtc1 $s0, $f20
|
||||
/* 761BE4 802A12C4 00000000 */ nop
|
||||
/* 761BE8 802A12C8 4680A520 */ cvt.s.w $f20, $f20
|
||||
/* 761BEC 802A12CC 46000586 */ mov.s $f22, $f0
|
||||
/* 761BF0 802A12D0 4405D000 */ mfc1 $a1, $f26
|
||||
/* 761BF4 802A12D4 4406C000 */ mfc1 $a2, $f24
|
||||
/* 761BF8 802A12D8 4407A000 */ mfc1 $a3, $f20
|
||||
/* 761BFC 802A12DC 2402002D */ addiu $v0, $zero, 0x2d
|
||||
/* 761C00 802A12E0 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 761C04 802A12E4 0C01C82C */ jal func_800720B0
|
||||
/* 761C08 802A12E8 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 761C0C 802A12EC 2404000D */ addiu $a0, $zero, 0xd
|
||||
/* 761C10 802A12F0 4405D000 */ mfc1 $a1, $f26
|
||||
/* 761C14 802A12F4 4406C000 */ mfc1 $a2, $f24
|
||||
/* 761C18 802A12F8 4407A000 */ mfc1 $a3, $f20
|
||||
/* 761C1C 802A12FC 2402001E */ addiu $v0, $zero, 0x1e
|
||||
/* 761C20 802A1300 E7B60010 */ swc1 $f22, 0x10($sp)
|
||||
/* 761C24 802A1304 0C01C2EC */ jal func_80070BB0
|
||||
/* 761C28 802A1308 AFA20014 */ sw $v0, 0x14($sp)
|
||||
/* 761C2C 802A130C 8FBF0028 */ lw $ra, 0x28($sp)
|
||||
/* 761C30 802A1310 8FB30024 */ lw $s3, 0x24($sp)
|
||||
/* 761C34 802A1314 8FB20020 */ lw $s2, 0x20($sp)
|
||||
/* 761C38 802A1318 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 761C3C 802A131C 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 761C40 802A1320 D7BA0048 */ ldc1 $f26, 0x48($sp)
|
||||
/* 761C44 802A1324 D7B80040 */ ldc1 $f24, 0x40($sp)
|
||||
/* 761C48 802A1328 D7B60038 */ ldc1 $f22, 0x38($sp)
|
||||
/* 761C4C 802A132C D7B40030 */ ldc1 $f20, 0x30($sp)
|
||||
/* 761C50 802A1330 24020002 */ addiu $v0, $zero, 2
|
||||
/* 761C54 802A1334 03E00008 */ jr $ra
|
||||
/* 761C58 802A1338 27BD0050 */ addiu $sp, $sp, 0x50
|
@ -1,14 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A133C_761C5C
|
||||
/* 761C5C 802A133C 3C02802A */ lui $v0, %hi(D_802A2C20)
|
||||
/* 761C60 802A1340 8C422C20 */ lw $v0, %lo(D_802A2C20)($v0)
|
||||
/* 761C64 802A1344 54400002 */ bnel $v0, $zero, .L802A1350
|
||||
/* 761C68 802A1348 24020007 */ addiu $v0, $zero, 7
|
||||
/* 761C6C 802A134C 24020006 */ addiu $v0, $zero, 6
|
||||
.L802A1350:
|
||||
/* 761C70 802A1350 AC820084 */ sw $v0, 0x84($a0)
|
||||
/* 761C74 802A1354 03E00008 */ jr $ra
|
||||
/* 761C78 802A1358 24020002 */ addiu $v0, $zero, 2
|
||||
/* 761C7C 802A135C 00000000 */ nop
|
@ -1,63 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_770F30
|
||||
/* 770F30 802A1000 27BDFFD8 */ addiu $sp, $sp, -0x28
|
||||
/* 770F34 802A1004 3C03800E */ lui $v1, %hi(gBattleStatus)
|
||||
/* 770F38 802A1008 2463C070 */ addiu $v1, $v1, %lo(gBattleStatus)
|
||||
/* 770F3C 802A100C AFBF0020 */ sw $ra, 0x20($sp)
|
||||
/* 770F40 802A1010 AFB1001C */ sw $s1, 0x1c($sp)
|
||||
/* 770F44 802A1014 AFB00018 */ sw $s0, 0x18($sp)
|
||||
/* 770F48 802A1018 8C6200D8 */ lw $v0, 0xd8($v1)
|
||||
/* 770F4C 802A101C 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 770F50 802A1020 C442001C */ lwc1 $f2, 0x1c($v0)
|
||||
/* 770F54 802A1024 C44C0144 */ lwc1 $f12, 0x144($v0)
|
||||
/* 770F58 802A1028 C44E0148 */ lwc1 $f14, 0x148($v0)
|
||||
/* 770F5C 802A102C C444014C */ lwc1 $f4, 0x14c($v0)
|
||||
/* 770F60 802A1030 C4460018 */ lwc1 $f6, 0x18($v0)
|
||||
/* 770F64 802A1034 C4400020 */ lwc1 $f0, 0x20($v0)
|
||||
/* 770F68 802A1038 44062000 */ mfc1 $a2, $f4
|
||||
/* 770F6C 802A103C 44073000 */ mfc1 $a3, $f6
|
||||
/* 770F70 802A1040 0060882D */ daddu $s1, $v1, $zero
|
||||
/* 770F74 802A1044 E7A20010 */ swc1 $f2, 0x10($sp)
|
||||
/* 770F78 802A1048 0C00A7CB */ jal dist3D
|
||||
/* 770F7C 802A104C E7A00014 */ swc1 $f0, 0x14($sp)
|
||||
/* 770F80 802A1050 3C014170 */ lui $at, 0x4170
|
||||
/* 770F84 802A1054 44811000 */ mtc1 $at, $f2
|
||||
/* 770F88 802A1058 00000000 */ nop
|
||||
/* 770F8C 802A105C 46020002 */ mul.s $f0, $f0, $f2
|
||||
/* 770F90 802A1060 00000000 */ nop
|
||||
/* 770F94 802A1064 3C0142C8 */ lui $at, 0x42c8
|
||||
/* 770F98 802A1068 44811000 */ mtc1 $at, $f2
|
||||
/* 770F9C 802A106C 00000000 */ nop
|
||||
/* 770FA0 802A1070 46020003 */ div.s $f0, $f0, $f2
|
||||
/* 770FA4 802A1074 4600020D */ trunc.w.s $f8, $f0
|
||||
/* 770FA8 802A1078 44024000 */ mfc1 $v0, $f8
|
||||
/* 770FAC 802A107C 00000000 */ nop
|
||||
/* 770FB0 802A1080 AE020084 */ sw $v0, 0x84($s0)
|
||||
/* 770FB4 802A1084 28420015 */ slti $v0, $v0, 0x15
|
||||
/* 770FB8 802A1088 14400002 */ bnez $v0, .L802A1094
|
||||
/* 770FBC 802A108C 24020014 */ addiu $v0, $zero, 0x14
|
||||
/* 770FC0 802A1090 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A1094:
|
||||
/* 770FC4 802A1094 82220083 */ lb $v0, 0x83($s1)
|
||||
/* 770FC8 802A1098 10400007 */ beqz $v0, .L802A10B8
|
||||
/* 770FCC 802A109C 00000000 */ nop
|
||||
/* 770FD0 802A10A0 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 770FD4 802A10A4 28420006 */ slti $v0, $v0, 6
|
||||
/* 770FD8 802A10A8 10400008 */ beqz $v0, .L802A10CC
|
||||
/* 770FDC 802A10AC 24020006 */ addiu $v0, $zero, 6
|
||||
/* 770FE0 802A10B0 080A8433 */ j .L802A10CC
|
||||
/* 770FE4 802A10B4 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10B8:
|
||||
/* 770FE8 802A10B8 8E020084 */ lw $v0, 0x84($s0)
|
||||
/* 770FEC 802A10BC 2842000C */ slti $v0, $v0, 0xc
|
||||
/* 770FF0 802A10C0 10400002 */ beqz $v0, .L802A10CC
|
||||
/* 770FF4 802A10C4 2402000C */ addiu $v0, $zero, 0xc
|
||||
/* 770FF8 802A10C8 AE020084 */ sw $v0, 0x84($s0)
|
||||
.L802A10CC:
|
||||
/* 770FFC 802A10CC 8FBF0020 */ lw $ra, 0x20($sp)
|
||||
/* 771000 802A10D0 8FB1001C */ lw $s1, 0x1c($sp)
|
||||
/* 771004 802A10D4 8FB00018 */ lw $s0, 0x18($sp)
|
||||
/* 771008 802A10D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 77100C 802A10DC 03E00008 */ jr $ra
|
@ -1,25 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802A1000_756780
|
||||
/* 756780 802A1000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 756784 802A1004 AFB00010 */ sw $s0, 0x10($sp)
|
||||
/* 756788 802A1008 0080802D */ daddu $s0, $a0, $zero
|
||||
/* 75678C 802A100C 2402000F */ addiu $v0, $zero, 0xf
|
||||
/* 756790 802A1010 3C03800E */ lui $v1, %hi(gBattleStatus+0x83)
|
||||
/* 756794 802A1014 8063C0F3 */ lb $v1, %lo(gBattleStatus+0x83)($v1)
|
||||
/* 756798 802A1018 24040015 */ addiu $a0, $zero, 0x15
|
||||
/* 75679C 802A101C AFBF0014 */ sw $ra, 0x14($sp)
|
||||
/* 7567A0 802A1020 AE020088 */ sw $v0, 0x88($s0)
|
||||
/* 7567A4 802A1024 0C03A752 */ jal is_ability_active
|
||||
/* 7567A8 802A1028 AE030084 */ sw $v1, 0x84($s0)
|
||||
/* 7567AC 802A102C 10400003 */ beqz $v0, .L802A103C
|
||||
/* 7567B0 802A1030 24020028 */ addiu $v0, $zero, 0x28
|
||||
/* 7567B4 802A1034 AE000084 */ sw $zero, 0x84($s0)
|
||||
/* 7567B8 802A1038 AE020088 */ sw $v0, 0x88($s0)
|
||||
.L802A103C:
|
||||
/* 7567BC 802A103C 8FBF0014 */ lw $ra, 0x14($sp)
|
||||
/* 7567C0 802A1040 8FB00010 */ lw $s0, 0x10($sp)
|
||||
/* 7567C4 802A1044 24020002 */ addiu $v0, $zero, 2
|
||||
/* 7567C8 802A1048 03E00008 */ jr $ra
|
||||
/* 7567CC 802A104C 27BD0018 */ addiu $sp, $sp, 0x18
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user