diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-10-22 10:01:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-22 10:01:07 -0700 |
commit | 3e5dd1d047bada52ab0dce2fe58b04e39bcaa1cc (patch) | |
tree | 0e40067d711c783ef97667f4a8256f38ab0d4b0a /src/gulpin_shop.c | |
parent | 3f7ee3a806d965fae70fd98f2cd1af13a2e4cf0b (diff) |
Death by 74 files (#65)
* death by 74 files
* 20% reached
* doc move stuff in pokemon
* fix undef reference
* doc more and plumb a few more constanst for num party members and num moves
* that struct is def PokemonMove.. clean up all code with it
Diffstat (limited to 'src/gulpin_shop.c')
-rw-r--r-- | src/gulpin_shop.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gulpin_shop.c b/src/gulpin_shop.c index 69c6a52..d5ebc6b 100644 --- a/src/gulpin_shop.c +++ b/src/gulpin_shop.c @@ -21,16 +21,16 @@ extern void sub_801EA28(); extern void sub_8012CAC(struct UnkTextStruct2 *, struct MenuItem *); extern void sub_801EBC4(); -u32 DisplayGulpinDialogueSprite(s32 param_1,s16 param_2,struct unkStruct_Gulpin *param_3) +u32 DisplayGulpinDialogueSprite(s32 param_1,s16 pokeSpecies,struct unkStruct_Gulpin *param_3) { struct OpenedFile *faceFile; - s32 param2_32; + s32 species_32; - param2_32 = param_2; // dumb cast needed to get lsr/asr combo + species_32 = pokeSpecies; // dumb cast needed to get lsr/asr combo gUnknown_203B26C = MemoryAlloc(sizeof(struct unkStruct_203B26C),8); gUnknown_203B26C->unk0 = param_1; - gUnknown_203B26C->unkC = param2_32; + gUnknown_203B26C->speciesNum = species_32; gUnknown_203B26C->unk10 = param_3; gUnknown_203B26C->unk1C = param_3->unk22; |