diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/pokedex/pokedex.rkt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pokedex/pokedex.rkt b/src/pokedex/pokedex.rkt index 3f8d840..962d427 100644 --- a/src/pokedex/pokedex.rkt +++ b/src/pokedex/pokedex.rkt @@ -88,6 +88,8 @@ (inspector poke-data)) (displayln (~a "name: " (hash-ref poke-data "name"))) (displayln (~a "id: " (hash-ref poke-data "id"))) - (see-pokemon id)) + (see-pokemon (hash-ref poke-data "name"))) ; using name here prevents duplicate files with different names, id.png v name.png -(poke "zapdos") \ No newline at end of file +(poke "zapdos") +(poke 74) +(poke "charizard") |