Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Pokedex
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sam.pople
Pokedex
Commits
36f26d24
Commit
36f26d24
authored
Feb 07, 2023
by
sam.pople
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update2
parent
4e382470
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mainpokedex.c
mainpokedex.c
+2
-2
mainpokedex.exe
mainpokedex.exe
+0
-0
No files found.
mainpokedex.c
View file @
36f26d24
...
...
@@ -85,7 +85,7 @@ PlayerNode* FindPlayer(PlayerNode* playerhead, char playername[20])
return
current
;
}
}
return
0
;
return
NULL
;
}
//This adds a new Pokemon to the Pokemon list
void
AddPokemonToList
(
Pokedex
*
pokedexpointer
,
char
pokename
[
20
],
char
poketype
[
20
],
char
pokeability
[
50
])
...
...
@@ -173,7 +173,7 @@ void DisplayPlayerDetails(Pokedex* pokedexpointer, char playername[20])
{
if
(
current
->
numofpokemon
>
0
)
{
for
(
int
x
=
0
;
x
<
current
->
numofpokemon
;
x
++
)
for
(
int
x
=
0
;
x
<
current
->
numofpokemon
;
x
++
)
{
printf
(
" %s
\n
"
,
current
->
PokemonArray
[
x
]
->
name
);
}
...
...
mainpokedex.exe
View file @
36f26d24
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment