mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
GetSelectedMoveID
This commit is contained in:
parent
c2478cfbf6
commit
6dcb5d8b4b
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802186B8_5B1B68
|
||||
/* 5B1B68 802186B8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5B1B6C 802186BC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 5B1B70 802186C0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B1B74 802186C4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 5B1B78 802186C8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 5B1B7C 802186CC 0C0B2026 */ jal set_variable
|
||||
/* 5B1B80 802186D0 8C450000 */ lw $a1, ($v0)
|
||||
/* 5B1B84 802186D4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 5B1B88 802186D8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B1B8C 802186DC 03E00008 */ jr $ra
|
||||
/* 5B1B90 802186E0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218A28_5B1ED8
|
||||
/* 5B1ED8 80218A28 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5B1EDC 80218A2C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 5B1EE0 80218A30 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B1EE4 80218A34 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 5B1EE8 80218A38 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 5B1EEC 80218A3C 0C0B2026 */ jal set_variable
|
||||
/* 5B1EF0 80218A40 8C450000 */ lw $a1, ($v0)
|
||||
/* 5B1EF4 80218A44 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 5B1EF8 80218A48 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B1EFC 80218A4C 03E00008 */ jr $ra
|
||||
/* 5B1F00 80218A50 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218D98_5B2248
|
||||
/* 5B2248 80218D98 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5B224C 80218D9C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 5B2250 80218DA0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B2254 80218DA4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 5B2258 80218DA8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 5B225C 80218DAC 0C0B2026 */ jal set_variable
|
||||
/* 5B2260 80218DB0 8C450000 */ lw $a1, ($v0)
|
||||
/* 5B2264 80218DB4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 5B2268 80218DB8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B226C 80218DBC 03E00008 */ jr $ra
|
||||
/* 5B2270 80218DC0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219208_5B26B8
|
||||
/* 5B26B8 80219208 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5B26BC 8021920C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 5B26C0 80219210 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5B26C4 80219214 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 5B26C8 80219218 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 5B26CC 8021921C 0C0B2026 */ jal set_variable
|
||||
/* 5B26D0 80219220 8C450000 */ lw $a1, ($v0)
|
||||
/* 5B26D4 80219224 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 5B26D8 80219228 24020002 */ addiu $v0, $zero, 2
|
||||
/* 5B26DC 8021922C 03E00008 */ jr $ra
|
||||
/* 5B26E0 80219230 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802182A8_47F358
|
||||
/* 47F358 802182A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 47F35C 802182AC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 47F360 802182B0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 47F364 802182B4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 47F368 802182B8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 47F36C 802182BC 0C0B2026 */ jal set_variable
|
||||
/* 47F370 802182C0 8C450000 */ lw $a1, ($v0)
|
||||
/* 47F374 802182C4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 47F378 802182C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 47F37C 802182CC 03E00008 */ jr $ra
|
||||
/* 47F380 802182D0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802183A8_584CE8
|
||||
/* 584CE8 802183A8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 584CEC 802183AC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 584CF0 802183B0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 584CF4 802183B4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 584CF8 802183B8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 584CFC 802183BC 0C0B2026 */ jal set_variable
|
||||
/* 584D00 802183C0 8C450000 */ lw $a1, ($v0)
|
||||
/* 584D04 802183C4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 584D08 802183C8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 584D0C 802183CC 03E00008 */ jr $ra
|
||||
/* 584D10 802183D0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802184E8_684F18
|
||||
/* 684F18 802184E8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 684F1C 802184EC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 684F20 802184F0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 684F24 802184F4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 684F28 802184F8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 684F2C 802184FC 0C0B2026 */ jal set_variable
|
||||
/* 684F30 80218500 8C450000 */ lw $a1, ($v0)
|
||||
/* 684F34 80218504 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 684F38 80218508 24020002 */ addiu $v0, $zero, 2
|
||||
/* 684F3C 8021850C 03E00008 */ jr $ra
|
||||
/* 684F40 80218510 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218438_6CC4A8
|
||||
/* 6CC4A8 80218438 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 6CC4AC 8021843C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 6CC4B0 80218440 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 6CC4B4 80218444 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 6CC4B8 80218448 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 6CC4BC 8021844C 0C0B2026 */ jal set_variable
|
||||
/* 6CC4C0 80218450 8C450000 */ lw $a1, ($v0)
|
||||
/* 6CC4C4 80218454 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 6CC4C8 80218458 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6CC4CC 8021845C 03E00008 */ jr $ra
|
||||
/* 6CC4D0 80218460 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218788_58CA78
|
||||
/* 58CA78 80218788 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 58CA7C 8021878C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 58CA80 80218790 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 58CA84 80218794 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 58CA88 80218798 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 58CA8C 8021879C 0C0B2026 */ jal set_variable
|
||||
/* 58CA90 802187A0 8C450000 */ lw $a1, ($v0)
|
||||
/* 58CA94 802187A4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 58CA98 802187A8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 58CA9C 802187AC 03E00008 */ jr $ra
|
||||
/* 58CAA0 802187B0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218AF8_58CDE8
|
||||
/* 58CDE8 80218AF8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 58CDEC 80218AFC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 58CDF0 80218B00 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 58CDF4 80218B04 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 58CDF8 80218B08 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 58CDFC 80218B0C 0C0B2026 */ jal set_variable
|
||||
/* 58CE00 80218B10 8C450000 */ lw $a1, ($v0)
|
||||
/* 58CE04 80218B14 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 58CE08 80218B18 24020002 */ addiu $v0, $zero, 2
|
||||
/* 58CE0C 80218B1C 03E00008 */ jr $ra
|
||||
/* 58CE10 80218B20 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80231000_5483E0
|
||||
/* 5483E0 80231000 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 5483E4 80231004 AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 5483E8 80231008 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 5483EC 8023100C 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 5483F0 80231010 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 5483F4 80231014 0C0B2026 */ jal set_variable
|
||||
/* 5483F8 80231018 8C450000 */ lw $a1, ($v0)
|
||||
/* 5483FC 8023101C 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 548400 80231020 24020002 */ addiu $v0, $zero, 2
|
||||
/* 548404 80231024 03E00008 */ jr $ra
|
||||
/* 548408 80231028 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218458_649268
|
||||
/* 649268 80218458 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 64926C 8021845C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 649270 80218460 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 649274 80218464 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 649278 80218468 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 64927C 8021846C 0C0B2026 */ jal set_variable
|
||||
/* 649280 80218470 8C450000 */ lw $a1, ($v0)
|
||||
/* 649284 80218474 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 649288 80218478 24020002 */ addiu $v0, $zero, 2
|
||||
/* 64928C 8021847C 03E00008 */ jr $ra
|
||||
/* 649290 80218480 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_802187C8_6495D8
|
||||
/* 6495D8 802187C8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 6495DC 802187CC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 6495E0 802187D0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 6495E4 802187D4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 6495E8 802187D8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 6495EC 802187DC 0C0B2026 */ jal set_variable
|
||||
/* 6495F0 802187E0 8C450000 */ lw $a1, ($v0)
|
||||
/* 6495F4 802187E4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 6495F8 802187E8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 6495FC 802187EC 03E00008 */ jr $ra
|
||||
/* 649600 802187F0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218B38_649948
|
||||
/* 649948 80218B38 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 64994C 80218B3C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 649950 80218B40 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 649954 80218B44 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 649958 80218B48 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 64995C 80218B4C 0C0B2026 */ jal set_variable
|
||||
/* 649960 80218B50 8C450000 */ lw $a1, ($v0)
|
||||
/* 649964 80218B54 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 649968 80218B58 24020002 */ addiu $v0, $zero, 2
|
||||
/* 64996C 80218B5C 03E00008 */ jr $ra
|
||||
/* 649970 80218B60 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218EA8_649CB8
|
||||
/* 649CB8 80218EA8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 649CBC 80218EAC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 649CC0 80218EB0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 649CC4 80218EB4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 649CC8 80218EB8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 649CCC 80218EBC 0C0B2026 */ jal set_variable
|
||||
/* 649CD0 80218EC0 8C450000 */ lw $a1, ($v0)
|
||||
/* 649CD4 80218EC4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 649CD8 80218EC8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 649CDC 80218ECC 03E00008 */ jr $ra
|
||||
/* 649CE0 80218ED0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219218_64A028
|
||||
/* 64A028 80219218 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 64A02C 8021921C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 64A030 80219220 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 64A034 80219224 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 64A038 80219228 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 64A03C 8021922C 0C0B2026 */ jal set_variable
|
||||
/* 64A040 80219230 8C450000 */ lw $a1, ($v0)
|
||||
/* 64A044 80219234 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 64A048 80219238 24020002 */ addiu $v0, $zero, 2
|
||||
/* 64A04C 8021923C 03E00008 */ jr $ra
|
||||
/* 64A050 80219240 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219988_66B708
|
||||
/* 66B708 80219988 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 66B70C 8021998C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 66B710 80219990 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 66B714 80219994 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 66B718 80219998 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 66B71C 8021999C 0C0B2026 */ jal set_variable
|
||||
/* 66B720 802199A0 8C450000 */ lw $a1, ($v0)
|
||||
/* 66B724 802199A4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 66B728 802199A8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 66B72C 802199AC 03E00008 */ jr $ra
|
||||
/* 66B730 802199B0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219CF8_66BA78
|
||||
/* 66BA78 80219CF8 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 66BA7C 80219CFC AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 66BA80 80219D00 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 66BA84 80219D04 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 66BA88 80219D08 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 66BA8C 80219D0C 0C0B2026 */ jal set_variable
|
||||
/* 66BA90 80219D10 8C450000 */ lw $a1, ($v0)
|
||||
/* 66BA94 80219D14 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 66BA98 80219D18 24020002 */ addiu $v0, $zero, 2
|
||||
/* 66BA9C 80219D1C 03E00008 */ jr $ra
|
||||
/* 66BAA0 80219D20 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80219998_625538
|
||||
/* 625538 80219998 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 62553C 8021999C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 625540 802199A0 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 625544 802199A4 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 625548 802199A8 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 62554C 802199AC 0C0B2026 */ jal set_variable
|
||||
/* 625550 802199B0 8C450000 */ lw $a1, ($v0)
|
||||
/* 625554 802199B4 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 625558 802199B8 24020002 */ addiu $v0, $zero, 2
|
||||
/* 62555C 802199BC 03E00008 */ jr $ra
|
||||
/* 625560 802199C0 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -1,15 +0,0 @@
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
|
||||
glabel func_80218968_63DB48
|
||||
/* 63DB48 80218968 27BDFFE8 */ addiu $sp, $sp, -0x18
|
||||
/* 63DB4C 8021896C AFBF0010 */ sw $ra, 0x10($sp)
|
||||
/* 63DB50 80218970 8C82000C */ lw $v0, 0xc($a0)
|
||||
/* 63DB54 80218974 3C06800E */ lui $a2, %hi(gBattleStatus+0x17C)
|
||||
/* 63DB58 80218978 84C6C1EC */ lh $a2, %lo(gBattleStatus+0x17C)($a2)
|
||||
/* 63DB5C 8021897C 0C0B2026 */ jal set_variable
|
||||
/* 63DB60 80218980 8C450000 */ lw $a1, ($v0)
|
||||
/* 63DB64 80218984 8FBF0010 */ lw $ra, 0x10($sp)
|
||||
/* 63DB68 80218988 24020002 */ addiu $v0, $zero, 2
|
||||
/* 63DB6C 8021898C 03E00008 */ jr $ra
|
||||
/* 63DB70 80218990 27BD0018 */ addiu $sp, $sp, 0x18
|
@ -4,7 +4,9 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_flo/5B1A10", func_80218560_5B1A10);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_flo/5B1A10", func_802186B8_5B1B68);
|
||||
#define NAMESPACE dup_b_area_flo
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
#define NAMESPACE b_area_flo
|
||||
|
||||
#define NAMESPACE dup2_b_area_flo
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_flo/5B1D80", func_802188D0_5B1D80);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_flo/5B1D80", func_80218A28_5B1ED8);
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
|
||||
#define NAMESPACE dup3_b_area_flo
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -4,7 +4,9 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_80218C40_5B20F0);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_80218D98_5B2248);
|
||||
#define NAMESPACE dup2_b_area_flo
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
#define NAMESPACE b_area_flo
|
||||
|
||||
#define NAMESPACE dup4_b_area_flo
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
@ -22,7 +24,9 @@ INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_8021900C_5B24BC);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_802190B0_5B2560);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_flo/5B20F0", func_80219208_5B26B8);
|
||||
#define NAMESPACE dup3_b_area_flo
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
#define NAMESPACE b_area_flo
|
||||
|
||||
#define NAMESPACE dup5_b_area_flo
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -6,7 +6,7 @@ INCLUDE_ASM(s32, "battle/area_hos/47F0D0", func_80218020_47F0D0);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_hos/47F0D0", func_80218150_47F200);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_hos/47F0D0", func_802182A8_47F358);
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_jan2/584B90", func_80218250_584B90);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_jan2/584B90", func_802183A8_584CE8);
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
||||
|
@ -6,7 +6,7 @@ INCLUDE_ASM(s32, "battle/area_kpa/684C30", func_80218200_684C30);
|
||||
|
||||
#include "common/UnkFloatFunc.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_kpa/684C30", func_802184E8_684F18);
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
|
||||
#define NAMESPACE dup2_b_area_kpa
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -6,7 +6,7 @@ INCLUDE_ASM(s32, "battle/area_kpa4/6CC1C0", func_80218150_6CC1C0);
|
||||
|
||||
#include "common/UnkFloatFunc.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_kpa4/6CC1C0", func_80218438_6CC4A8);
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_kzn/58C920", func_80218630_58C920);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_kzn/58C920", func_80218788_58CA78);
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
|
||||
#define NAMESPACE dup3_b_area_kzn
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -4,7 +4,9 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_kzn/58CC90", func_802189A0_58CC90);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_kzn/58CC90", func_80218AF8_58CDE8);
|
||||
#define NAMESPACE dup_b_area_kzn
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
#define NAMESPACE b_area_kzn
|
||||
|
||||
#define NAMESPACE dup4_b_area_kzn
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
#define NAMESPACE b_area_omo2_2
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_omo2_2/5483E0", func_80231000_5483E0);
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_omo2_2/5483E0", func_8023102C_54840C);
|
||||
|
||||
|
@ -6,7 +6,9 @@ INCLUDE_ASM(s32, "battle/area_pra/649050", func_80218240_649050);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra/649050", func_80218300_649110);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra/649050", func_80218458_649268);
|
||||
#define NAMESPACE dup3_b_area_pra
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
#define NAMESPACE b_area_pra
|
||||
|
||||
#define NAMESPACE dup_b_area_pra
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -4,7 +4,9 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra/649480", func_80218670_649480);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra/649480", func_802187C8_6495D8);
|
||||
#define NAMESPACE dup4_b_area_pra
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
#define NAMESPACE b_area_pra
|
||||
|
||||
#define NAMESPACE dup2_b_area_pra
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -4,7 +4,9 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra/6497F0", func_802189E0_6497F0);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra/6497F0", func_80218B38_649948);
|
||||
#define NAMESPACE dup2_b_area_pra
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
#define NAMESPACE b_area_pra
|
||||
|
||||
#define NAMESPACE dup3_b_area_pra
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra/649B60", func_80218D50_649B60);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra/649B60", func_80218EA8_649CB8);
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
|
||||
#define NAMESPACE dup4_b_area_pra
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -4,7 +4,9 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra/649ED0", func_802190C0_649ED0);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra/649ED0", func_80219218_64A028);
|
||||
#define NAMESPACE dup_b_area_pra
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
#define NAMESPACE b_area_pra
|
||||
|
||||
#define NAMESPACE dup5_b_area_pra
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra3/66B5B0", func_80219830_66B5B0);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra3/66B5B0", func_80219988_66B708);
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
||||
|
@ -4,7 +4,9 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra3/66B920", func_80219BA0_66B920);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_pra3/66B920", func_80219CF8_66BA78);
|
||||
#define NAMESPACE dup_b_area_pra3
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
#define NAMESPACE b_area_pra3
|
||||
|
||||
#define NAMESPACE dup_b_area_pra3
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_sam/6253E0", func_80219840_6253E0);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_sam/6253E0", func_80219998_625538);
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
|
||||
#define NAMESPACE dup2_b_area_sam
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_sam2/63D9F0", func_80218810_63D9F0);
|
||||
|
||||
INCLUDE_ASM(s32, "battle/area_sam2/63D9F0", func_80218968_63DB48);
|
||||
#include "common/GetSelectedMoveID.inc.c"
|
||||
|
||||
#include "common/UnkBattleFunc1.inc.c"
|
||||
|
||||
|
7
src/common/GetSelectedMoveID.inc.c
Normal file
7
src/common/GetSelectedMoveID.inc.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include "common.h"
|
||||
#include "map.h"
|
||||
|
||||
ApiStatus N(GetSelectedMoveID)(ScriptInstance* script, s32 isInitialCall) {
|
||||
set_variable(script, *script->ptrReadPos, gBattleStatus.selectedMoveID);
|
||||
return ApiStatus_DONE2;
|
||||
}
|
Loading…
Reference in New Issue
Block a user