summaryrefslogtreecommitdiff
path: root/arm9/src
diff options
context:
space:
mode:
authorSNBeast <snburchett@gmail.com>2021-06-27 19:16:57 -0400
committerSNBeast <snburchett@gmail.com>2021-06-27 19:16:57 -0400
commit93c3498a65ff4e47367a5d98bd9c6f8fe1f33f89 (patch)
tree850c591ebc788c96ef4f931c29374e2113962c80 /arm9/src
parent17f024a5179351f68eba823f61f02f2c2f934112 (diff)
Not maybe, if I am wrong let me be corrected
Diffstat (limited to 'arm9/src')
-rw-r--r--arm9/src/scrcmd_24.c4
-rw-r--r--arm9/src/unk_02088DD8.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/arm9/src/scrcmd_24.c b/arm9/src/scrcmd_24.c
index f4330150..bfa737be 100644
--- a/arm9/src/scrcmd_24.c
+++ b/arm9/src/scrcmd_24.c
@@ -53,7 +53,7 @@ THUMB_FUNC BOOL ScrCmd_Unk021F(struct ScriptContext* ctx)
u16 mon_idx = VarGet(ctx->unk80, ScriptReadHalfword(ctx));
struct PlayerParty* party = SavArray_PlayerParty_get(ctx->unk80->saveBlock2);
struct Pokemon* pokemon = GetPartyMonByIndex(party, mon_idx);
- void* unk_ptr = Maybe_GetEligibleLevelUpMoves(pokemon, 32);
+ void* unk_ptr = GetEligibleLevelUpMoves(pokemon, 32);
*ret_ptr = (u16)FUN_02088EF8(unk_ptr);
FreeToHeap(unk_ptr);
@@ -92,7 +92,7 @@ THUMB_FUNC BOOL ScrCmd_Unk0221(struct ScriptContext* ctx)
u16 mon_idx = VarGet(ctx->unk80, ScriptReadHalfword(ctx));
struct PlayerParty* party = SavArray_PlayerParty_get(ctx->unk80->saveBlock2);
struct Pokemon* pokemon = GetPartyMonByIndex(party, mon_idx);
- void* unk_ptr = Maybe_GetEligibleLevelUpMoves(pokemon, 32);
+ void* unk_ptr = GetEligibleLevelUpMoves(pokemon, 32);
FUN_02045E74(ctx, 1, pokemon, unk_ptr);
return TRUE;
diff --git a/arm9/src/unk_02088DD8.c b/arm9/src/unk_02088DD8.c
index acc59701..d0a08f20 100644
--- a/arm9/src/unk_02088DD8.c
+++ b/arm9/src/unk_02088DD8.c
@@ -22,7 +22,7 @@ THUMB_FUNC void FUN_02088DF0(struct UnkStruct_02037CF0 *r0) {
#define WOTBL_LVL(x) (/*(u8)*/(((x) & WOTBL_LVL_MASK) >> WOTBL_LVL_SHIFT))
// i don't know why either.
-THUMB_FUNC void* Maybe_GetEligibleLevelUpMoves(struct Pokemon* pokemon, u32 heap_id) {
+THUMB_FUNC void* GetEligibleLevelUpMoves(struct Pokemon* pokemon, u32 heap_id) {
u16 species = (u16)GetMonData(pokemon, MON_DATA_SPECIES, 0);
u8 forme = (u8)GetMonData(pokemon, MON_DATA_FORME, 0);
u8 level = (u8)GetMonData(pokemon, MON_DATA_LEVEL, 0);