mirror of
https://github.com/pret/pmd-sky.git
synced 2026-04-26 16:37:17 -05:00
Decomped GetIqGroup
This commit is contained in:
parent
49e09928c1
commit
c564019044
|
|
@ -1,88 +1,3 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
.public _020A1880
|
|
||||||
.public _020A1884
|
|
||||||
.public _020A189C
|
|
||||||
.public _020A18C0
|
|
||||||
.public _020A3210
|
|
||||||
.public _020A322C
|
|
||||||
.public _020A3248
|
|
||||||
.public _020A3258
|
|
||||||
.public _020A327C
|
|
||||||
.public _020A328C
|
|
||||||
.public _020A32D4
|
|
||||||
.public _020A32F8
|
|
||||||
.public _020A3330
|
|
||||||
.public _020B09C8
|
|
||||||
.public _020B09D0
|
|
||||||
.public _020B12F4_EU
|
|
||||||
.public _020B1308_EU
|
|
||||||
.public _s32_div_f
|
|
||||||
.public Debug_Print0
|
|
||||||
.public DecompressAtNormalVeneer
|
|
||||||
.public DexNumbersEqual
|
|
||||||
.public DirectoryFileMngr_OpenDirectoryFile
|
|
||||||
.public DungeonToGroundMoveset
|
|
||||||
.public EnableAllLearnableIqSkills
|
|
||||||
.public FemaleToMaleForm
|
|
||||||
.public FORBIDDEN_FORGOT_MOVE_LIST
|
|
||||||
.public GetBaseDefensiveStat
|
|
||||||
.public GetBaseHp
|
|
||||||
.public GetBaseOffensiveStat
|
|
||||||
.public GetDexNumber
|
|
||||||
.public GetInfoGroundMoveset
|
|
||||||
.public GetInfoMoveGround
|
|
||||||
.public GetKeyM2NSwitch
|
|
||||||
.public GetKeyN2MSwitch
|
|
||||||
.public GetLanguage
|
|
||||||
.public GetMonsterGender
|
|
||||||
.public GetMonsterPreEvolution
|
|
||||||
.public GetMovesetEggPtr
|
|
||||||
.public GetMovesetHmTmPtr
|
|
||||||
.public GetMovesetIdx__02013CAC
|
|
||||||
.public GetMovesetLevelUpPtr
|
|
||||||
.public GetNameRaw
|
|
||||||
.public GetNameString
|
|
||||||
.public GetNbMoves
|
|
||||||
.public GetSpriteSize
|
|
||||||
.public GroundToDungeonMoveset
|
|
||||||
.public HandleSir0Translation
|
|
||||||
.public HIDDEN_POWER_BASE_POWER_TABLE
|
|
||||||
.public IsShaymin
|
|
||||||
.public IsValidTeamMember
|
|
||||||
.public ItemZInit
|
|
||||||
.public LEVEL_UP_DATA_DECOMPRESS_BUFFER
|
|
||||||
.public LEVEL_UP_DATA_MONSTER_ID
|
|
||||||
.public LoadFileFromRom
|
|
||||||
.public LoadMonsterMd
|
|
||||||
.public MemAlloc
|
|
||||||
.public MemFree
|
|
||||||
.public MONSTER_DATA_TABLE_PTR
|
.public MONSTER_DATA_TABLE_PTR
|
||||||
.public PointsToZero
|
.public _s32_div_f
|
||||||
.public Rand16Bit
|
|
||||||
.public RandIntSafe
|
|
||||||
.public RemoveActiveMembersFromAllTeams
|
|
||||||
.public RemoveActiveMembersFromRescueTeam
|
|
||||||
.public RemoveActiveMembersFromSpecialEpisodeTeam
|
|
||||||
.public SprintfStatic__02052418
|
|
||||||
.public StrcpyName
|
|
||||||
.public StrncmpSimple
|
|
||||||
.public StrncpyName
|
|
||||||
.public StrncpySimple
|
|
||||||
.public sub_01FF8F28
|
|
||||||
.public sub_02015090
|
|
||||||
.public sub_02025304_JP
|
|
||||||
.public sub_02050FF8
|
|
||||||
.public sub_02054FB8
|
|
||||||
.public sub_02054FEC
|
|
||||||
.public sub_02055020
|
|
||||||
.public sub_020550DC
|
|
||||||
.public sub_020550E0
|
|
||||||
.public sub_02055118
|
|
||||||
.public sub_020560B8
|
|
||||||
.public sub_020564B0
|
|
||||||
.public sub_02056504
|
|
||||||
.public TEAM_MEMBER_TABLE
|
|
||||||
.public TEAM_MEMBER_TABLE_PTR
|
|
||||||
.public UnloadFile
|
|
||||||
.public vsprintf
|
|
||||||
.public ZInit8
|
|
||||||
|
|
|
||||||
88
asm/include/main_02052B44.inc
Normal file
88
asm/include/main_02052B44.inc
Normal file
|
|
@ -0,0 +1,88 @@
|
||||||
|
#pragma once
|
||||||
|
.public Debug_Print0
|
||||||
|
.public DecompressAtNormalVeneer
|
||||||
|
.public DexNumbersEqual
|
||||||
|
.public DirectoryFileMngr_OpenDirectoryFile
|
||||||
|
.public DungeonToGroundMoveset
|
||||||
|
.public EnableAllLearnableIqSkills
|
||||||
|
.public FORBIDDEN_FORGOT_MOVE_LIST
|
||||||
|
.public FemaleToMaleForm
|
||||||
|
.public GetBaseDefensiveStat
|
||||||
|
.public GetBaseHp
|
||||||
|
.public GetBaseOffensiveStat
|
||||||
|
.public GetDexNumber
|
||||||
|
.public GetInfoGroundMoveset
|
||||||
|
.public GetInfoMoveGround
|
||||||
|
.public GetKeyM2NSwitch
|
||||||
|
.public GetKeyN2MSwitch
|
||||||
|
.public GetLanguage
|
||||||
|
.public GetMonsterGender
|
||||||
|
.public GetMonsterPreEvolution
|
||||||
|
.public GetMovesetEggPtr
|
||||||
|
.public GetMovesetHmTmPtr
|
||||||
|
.public GetMovesetIdx__02013CAC
|
||||||
|
.public GetMovesetLevelUpPtr
|
||||||
|
.public GetNameRaw
|
||||||
|
.public GetNameString
|
||||||
|
.public GetNbMoves
|
||||||
|
.public GetSpriteSize
|
||||||
|
.public GroundToDungeonMoveset
|
||||||
|
.public HIDDEN_POWER_BASE_POWER_TABLE
|
||||||
|
.public HandleSir0Translation
|
||||||
|
.public IsShaymin
|
||||||
|
.public IsValidTeamMember
|
||||||
|
.public ItemZInit
|
||||||
|
.public LEVEL_UP_DATA_DECOMPRESS_BUFFER
|
||||||
|
.public LEVEL_UP_DATA_MONSTER_ID
|
||||||
|
.public LoadFileFromRom
|
||||||
|
.public LoadMonsterMd
|
||||||
|
.public MONSTER_DATA_TABLE_PTR
|
||||||
|
.public MemAlloc
|
||||||
|
.public MemFree
|
||||||
|
.public PointsToZero
|
||||||
|
.public Rand16Bit
|
||||||
|
.public RandIntSafe
|
||||||
|
.public RemoveActiveMembersFromAllTeams
|
||||||
|
.public RemoveActiveMembersFromRescueTeam
|
||||||
|
.public RemoveActiveMembersFromSpecialEpisodeTeam
|
||||||
|
.public SprintfStatic__02052418
|
||||||
|
.public StrcpyName
|
||||||
|
.public StrncmpSimple
|
||||||
|
.public StrncpyName
|
||||||
|
.public StrncpySimple
|
||||||
|
.public TEAM_MEMBER_TABLE
|
||||||
|
.public TEAM_MEMBER_TABLE_PTR
|
||||||
|
.public UnloadFile
|
||||||
|
.public ZInit8
|
||||||
|
.public _020A1880
|
||||||
|
.public _020A1884
|
||||||
|
.public _020A189C
|
||||||
|
.public _020A18C0
|
||||||
|
.public _020A3210
|
||||||
|
.public _020A322C
|
||||||
|
.public _020A3248
|
||||||
|
.public _020A3258
|
||||||
|
.public _020A327C
|
||||||
|
.public _020A328C
|
||||||
|
.public _020A32D4
|
||||||
|
.public _020A32F8
|
||||||
|
.public _020A3330
|
||||||
|
.public _020B09C8
|
||||||
|
.public _020B09D0
|
||||||
|
.public _020B12F4_EU
|
||||||
|
.public _020B1308_EU
|
||||||
|
.public _s32_div_f
|
||||||
|
.public sub_01FF8F28
|
||||||
|
.public sub_02015090
|
||||||
|
.public sub_02025304_JP
|
||||||
|
.public sub_02050FF8
|
||||||
|
.public sub_02054FB8
|
||||||
|
.public sub_02054FEC
|
||||||
|
.public sub_02055020
|
||||||
|
.public sub_020550DC
|
||||||
|
.public sub_020550E0
|
||||||
|
.public sub_02055118
|
||||||
|
.public sub_020560B8
|
||||||
|
.public sub_020564B0
|
||||||
|
.public sub_02056504
|
||||||
|
.public vsprintf
|
||||||
2459
asm/main_02052A7C.s
2459
asm/main_02052A7C.s
File diff suppressed because it is too large
Load Diff
2451
asm/main_02052B44.s
Normal file
2451
asm/main_02052B44.s
Normal file
File diff suppressed because it is too large
Load Diff
6
include/main_02052B28.h
Normal file
6
include/main_02052B28.h
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef PMDSKY_MAIN_02052B28_H
|
||||||
|
#define PMDSKY_MAIN_02052B28_H
|
||||||
|
|
||||||
|
s32 GetIqGroup(s16 monster_id);
|
||||||
|
|
||||||
|
#endif //PMDSKY_MAIN_02052B28_H
|
||||||
2
main.lsf
2
main.lsf
|
|
@ -120,6 +120,8 @@ Static main
|
||||||
Object asm/main_020527E0.o
|
Object asm/main_020527E0.o
|
||||||
Object src/main_0205283C.o
|
Object src/main_0205283C.o
|
||||||
Object asm/main_02052A7C.o
|
Object asm/main_02052A7C.o
|
||||||
|
Object src/main_02052B28.o
|
||||||
|
Object asm/main_02052B44.o
|
||||||
Object src/main_02054AA4.o
|
Object src/main_02054AA4.o
|
||||||
Object asm/main_02054AD4.o
|
Object asm/main_02054AD4.o
|
||||||
Object src/main_02054BE0.o
|
Object src/main_02054BE0.o
|
||||||
|
|
|
||||||
7
src/main_02052B28.c
Normal file
7
src/main_02052B28.c
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include "main_02052B28.h"
|
||||||
|
#include "monster_data.h"
|
||||||
|
|
||||||
|
s32 GetIqGroup(s16 monster_id)
|
||||||
|
{
|
||||||
|
return MONSTER_DATA_TABLE_PTR->entries[monster_id].iq_group;
|
||||||
|
}
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
#include "main_02058E68.h"
|
#include "main_02058E68.h"
|
||||||
#include "iq_skills.h"
|
#include "iq_skills.h"
|
||||||
|
#include "main_02052B28.h"
|
||||||
extern s32 GetIqGroup(s16 monster_id);
|
|
||||||
|
|
||||||
enum iq_skill_id GetSpeciesIqSkill(s16 monster_id, u8 index)
|
enum iq_skill_id GetSpeciesIqSkill(s16 monster_id, u8 index)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user